1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200 | 2017-05-01 16:16:57 [ERROR] 2017-05-01 16:16:21 INFO install Fetched 2434 kB in 0s (4764 kB/s)
2017-05-01 16:16:21 INFO install Selecting previously unselected package augeas-lenses.
(Reading database ... 87583 files and directories currently installed.)
2017-05-01 16:16:21 INFO install Preparing to unpack .../augeas-lenses_1.4.0-0ubuntu1_all.deb ...
2017-05-01 16:16:21 INFO install Unpacking augeas-lenses (1.4.0-0ubuntu1) ...
2017-05-01 16:16:21 INFO install Selecting previously unselected package bc.
2017-05-01 16:16:21 INFO install Preparing to unpack .../bc_1.06.95-9build1_amd64.deb ...
2017-05-01 16:16:21 INFO install Unpacking bc (1.06.95-9build1) ...
2017-05-01 16:16:21 INFO install Selecting previously unselected package ruby-deep-merge.
2017-05-01 16:16:21 INFO install Preparing to unpack .../ruby-deep-merge_1.0.1+gitf9df6fdb-1_all.deb ...
2017-05-01 16:16:21 INFO install Unpacking ruby-deep-merge (1.0.1+gitf9df6fdb-1) ...
2017-05-01 16:16:21 INFO install Selecting previously unselected package hiera.
2017-05-01 16:16:21 INFO install Preparing to unpack .../archives/hiera_2.0.0-2_all.deb ...
2017-05-01 16:16:21 INFO install Unpacking hiera (2.0.0-2) ...
2017-05-01 16:16:21 INFO install Selecting previously unselected package libaugeas0.
2017-05-01 16:16:21 INFO install Preparing to unpack .../libaugeas0_1.4.0-0ubuntu1_amd64.deb ...
2017-05-01 16:16:21 INFO install Unpacking libaugeas0 (1.4.0-0ubuntu1) ...
2017-05-01 16:16:21 INFO install Selecting previously unselected package libquadmath0:amd64.
2017-05-01 16:16:21 INFO install Preparing to unpack .../libquadmath0_5.4.0-6ubuntu1~16.04.4_amd64.deb ...
2017-05-01 16:16:21 INFO install Unpacking libquadmath0:amd64 (5.4.0-6ubuntu1~16.04.4) ...
2017-05-01 16:16:21 INFO install Selecting previously unselected package libgfortran3:amd64.
2017-05-01 16:16:21 INFO install Preparing to unpack .../libgfortran3_5.4.0-6ubuntu1~16.04.4_amd64.deb ...
2017-05-01 16:16:21 INFO install Unpacking libgfortran3:amd64 (5.4.0-6ubuntu1~16.04.4) ...
2017-05-01 16:16:22 INFO install Selecting previously unselected package libxslt1.1:amd64.
2017-05-01 16:16:22 INFO install Preparing to unpack .../libxslt1.1_1.1.28-2.1ubuntu0.1_amd64.deb ...
2017-05-01 16:16:22 INFO install Unpacking libxslt1.1:amd64 (1.1.28-2.1ubuntu0.1) ...
2017-05-01 16:16:22 INFO install Selecting previously unselected package ruby-augeas.
2017-05-01 16:16:22 INFO install Preparing to unpack .../ruby-augeas_1%3a0.5.0-3build4_amd64.deb ...
2017-05-01 16:16:22 INFO install Unpacking ruby-augeas (1:0.5.0-3build4) ...
2017-05-01 16:16:22 INFO install Selecting previously unselected package ruby-nokogiri.
2017-05-01 16:16:22 INFO install Preparing to unpack .../ruby-nokogiri_1.6.7.2-3build1_amd64.deb ...
2017-05-01 16:16:22 INFO install Unpacking ruby-nokogiri (1.6.7.2-3build1) ...
2017-05-01 16:16:22 INFO install Selecting previously unselected package ruby-rgen.
2017-05-01 16:16:22 INFO install Preparing to unpack .../ruby-rgen_0.7.0-2_all.deb ...
2017-05-01 16:16:22 INFO install Unpacking ruby-rgen (0.7.0-2) ...
2017-05-01 16:16:22 INFO install Selecting previously unselected package ruby-safe-yaml.
2017-05-01 16:16:22 INFO install Preparing to unpack .../ruby-safe-yaml_1.0.4-1_all.deb ...
2017-05-01 16:16:22 INFO install Unpacking ruby-safe-yaml (1.0.4-1) ...
2017-05-01 16:16:22 INFO install Selecting previously unselected package ruby-shadow.
2017-05-01 16:16:22 INFO install Preparing to unpack .../ruby-shadow_2.4.1-1build4_amd64.deb ...
2017-05-01 16:16:22 INFO install Unpacking ruby-shadow (2.4.1-1build4) ...
2017-05-01 16:16:22 INFO install Selecting previously unselected package puppet-common.
2017-05-01 16:16:22 INFO install Preparing to unpack .../puppet-common_3.8.5-2ubuntu0.1_all.deb ...
2017-05-01 16:16:22 INFO install Unpacking puppet-common (3.8.5-2ubuntu0.1) ...
2017-05-01 16:16:23 INFO install Selecting previously unselected package unzip.
2017-05-01 16:16:23 INFO install Preparing to unpack .../unzip_6.0-20ubuntu1_amd64.deb ...
2017-05-01 16:16:23 INFO install Unpacking unzip (6.0-20ubuntu1) ...
2017-05-01 16:16:23 INFO install Processing triggers for man-db (2.7.5-1) ...
2017-05-01 16:16:24 INFO install Processing triggers for install-info (6.1.0.dfsg.1-5) ...
2017-05-01 16:16:24 INFO install Processing triggers for libc-bin (2.23-0ubuntu7) ...
2017-05-01 16:16:24 INFO install Processing triggers for mime-support (3.59ubuntu1) ...
2017-05-01 16:16:24 INFO install Setting up augeas-lenses (1.4.0-0ubuntu1) ...
2017-05-01 16:16:24 INFO install Setting up bc (1.06.95-9build1) ...
2017-05-01 16:16:24 INFO install Setting up ruby-deep-merge (1.0.1+gitf9df6fdb-1) ...
2017-05-01 16:16:24 INFO install Setting up hiera (2.0.0-2) ...
2017-05-01 16:16:24 INFO install Setting up libaugeas0 (1.4.0-0ubuntu1) ...
2017-05-01 16:16:24 INFO install Setting up libquadmath0:amd64 (5.4.0-6ubuntu1~16.04.4) ...
2017-05-01 16:16:24 INFO install Setting up libgfortran3:amd64 (5.4.0-6ubuntu1~16.04.4) ...
2017-05-01 16:16:24 INFO install Setting up libxslt1.1:amd64 (1.1.28-2.1ubuntu0.1) ...
2017-05-01 16:16:24 INFO install Setting up ruby-augeas (1:0.5.0-3build4) ...
2017-05-01 16:16:24 INFO install Setting up ruby-nokogiri (1.6.7.2-3build1) ...
2017-05-01 16:16:24 INFO install Setting up ruby-rgen (0.7.0-2) ...
2017-05-01 16:16:24 INFO install Setting up ruby-safe-yaml (1.0.4-1) ...
2017-05-01 16:16:24 INFO install Setting up ruby-shadow (2.4.1-1build4) ...
2017-05-01 16:16:24 INFO install Setting up puppet-common (3.8.5-2ubuntu0.1) ...
2017-05-01 16:16:24 INFO install Setting up unzip (6.0-20ubuntu1) ...
2017-05-01 16:16:24 INFO install Processing triggers for libc-bin (2.23-0ubuntu7) ...
2017-05-01 16:16:25 INFO install modified:
2017-05-01 16:16:25 INFO install group
2017-05-01 16:16:25 INFO install gshadow
2017-05-01 16:16:25 INFO install mailcap
2017-05-01 16:16:25 INFO install passwd
2017-05-01 16:16:25 INFO install shadow
2017-05-01 16:16:25 INFO install unknown:
2017-05-01 16:16:25 INFO install puppet/
2017-05-01 16:16:25 INFO install ldap/schema/
2017-05-01 16:16:25 INFO install logcheck/ignore.d.server/puppet-common
2017-05-01 16:16:27 INFO install Ignoring indexes: https://pypi.python.org/simple
2017-05-01 16:16:27 INFO install Collecting pip
2017-05-01 16:16:27 INFO install Building wheels for collected packages: pip
2017-05-01 16:16:27 INFO install Running setup.py bdist_wheel for pip: started
2017-05-01 16:16:28 INFO install Running setup.py bdist_wheel for pip: finished with status 'error'
2017-05-01 16:16:28 INFO install Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-_pbc8yph/pip/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /tmp/tmppsv57kz6pip-wheel- --python-tag cp35:
2017-05-01 16:16:28 INFO install usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
2017-05-01 16:16:28 INFO install or: -c --help [cmd1 cmd2 ...]
2017-05-01 16:16:28 INFO install or: -c --help-commands
2017-05-01 16:16:28 INFO install or: -c cmd --help
2017-05-01 16:16:28 INFO install
2017-05-01 16:16:28 INFO install error: invalid command 'bdist_wheel'
2017-05-01 16:16:28 INFO install
2017-05-01 16:16:28 INFO install ----------------------------------------
2017-05-01 16:16:28 INFO install Failed building wheel for pip
2017-05-01 16:16:28 INFO install Running setup.py clean for pip
2017-05-01 16:16:28 INFO install Failed to build pip
2017-05-01 16:16:28 INFO install Installing collected packages: pip
2017-05-01 16:16:28 INFO install Found existing installation: pip 8.1.1
2017-05-01 16:16:28 INFO install Not uninstalling pip at /usr/lib/python3/dist-packages, outside environment /usr
2017-05-01 16:16:28 INFO install Running setup.py install for pip: started
2017-05-01 16:16:30 INFO install Running setup.py install for pip: finished with status 'done'
2017-05-01 16:16:30 INFO install Successfully installed pip-8.1.2
2017-05-01 16:16:30 INFO install Ignoring indexes: https://pypi.python.org/simple
2017-05-01 16:16:30 INFO install Processing ./wheelhouse/Jinja2-2.9.6.tar.gz
2017-05-01 16:16:31 INFO install Processing ./wheelhouse/charms.benchmark-1.0.5.tar.gz
2017-05-01 16:16:31 INFO install Processing ./wheelhouse/path.py-10.3.1.tar.gz
2017-05-01 16:16:32 INFO install Processing ./wheelhouse/MarkupSafe-1.0.tar.gz
2017-05-01 16:16:32 INFO install Processing ./wheelhouse/jujubigdata-7.1.2.tar.gz
2017-05-01 16:16:32 INFO install Processing ./wheelhouse/pip-8.1.2.tar.gz
2017-05-01 16:16:33 INFO install Processing ./wheelhouse/netaddr-0.7.19.tar.gz
2017-05-01 16:16:34 INFO install Processing ./wheelhouse/netifaces-0.10.4.tar.gz
2017-05-01 16:16:34 INFO install Processing ./wheelhouse/pyaml-16.12.2.tar.gz
2017-05-01 16:16:34 INFO install Processing ./wheelhouse/Tempita-0.5.2.tar.gz
2017-05-01 16:16:35 INFO install Processing ./wheelhouse/setuptools_scm-1.15.5.tar.gz
2017-05-01 16:16:35 INFO install Processing ./wheelhouse/PyYAML-3.12.tar.gz
2017-05-01 16:16:36 INFO install Processing ./wheelhouse/charmhelpers-0.15.0.tar.gz
2017-05-01 16:16:36 INFO install Processing ./wheelhouse/charms.reactive-0.4.5.tar.gz
2017-05-01 16:16:36 INFO install Processing ./wheelhouse/jujuresources-0.4.0.tar.gz
2017-05-01 16:16:37 INFO install Processing ./wheelhouse/jujubigdata-6.4.4.tar.gz
2017-05-01 16:16:37 INFO install Processing ./wheelhouse/six-1.10.0.tar.gz
2017-05-01 16:16:38 INFO install Processing ./wheelhouse/charms.templating.jinja2-1.0.2.tar.gz
2017-05-01 16:16:38 INFO install Collecting MarkupSafe>=0.23 (from Jinja2==2.9.6)
2017-05-01 16:16:38 INFO install Collecting PyYAML (from charms.benchmark==1.0.5)
2017-05-01 16:16:39 INFO install Collecting charmhelpers>=0.5.0 (from charms.benchmark==1.0.5)
2017-05-01 16:16:39 INFO install Requirement already up-to-date: six in /usr/lib/python3/dist-packages (from jujubigdata==7.1.2)
2017-05-01 16:16:39 INFO install Collecting pyaml (from jujubigdata==7.1.2)
2017-05-01 16:16:40 INFO install Collecting jujuresources>=0.2.5 (from jujubigdata==7.1.2)
2017-05-01 16:16:40 INFO install Collecting setuptools-scm<2.0.0,>=1.0.0 (from jujubigdata==7.1.2)
2017-05-01 16:16:41 INFO install Collecting charms.templating.jinja2<2.0.0,>=1.0.0 (from jujubigdata==7.1.2)
2017-05-01 16:16:41 INFO install Installing collected packages: MarkupSafe, Jinja2, PyYAML, netaddr, Tempita, charmhelpers, charms.benchmark, path.py, pyaml, jujuresources, setuptools-scm, charms.templating.jinja2, jujubigdata, pip, netifaces, charms.reactive
2017-05-01 16:16:41 INFO install Found existing installation: MarkupSafe 0.23
2017-05-01 16:16:41 INFO install Uninstalling MarkupSafe-0.23:
2017-05-01 16:16:41 INFO install Successfully uninstalled MarkupSafe-0.23
2017-05-01 16:16:41 INFO install Running setup.py install for MarkupSafe: started
2017-05-01 16:16:41 INFO install Running setup.py install for MarkupSafe: finished with status 'done'
2017-05-01 16:16:41 INFO install Found existing installation: Jinja2 2.8
2017-05-01 16:16:41 INFO install Uninstalling Jinja2-2.8:
2017-05-01 16:16:41 INFO install Successfully uninstalled Jinja2-2.8
2017-05-01 16:16:41 INFO install Running setup.py install for Jinja2: started
2017-05-01 16:16:42 INFO install Running setup.py install for Jinja2: finished with status 'done'
2017-05-01 16:16:42 INFO install Found existing installation: PyYAML 3.11
2017-05-01 16:16:42 INFO install DEPRECATION: Uninstalling a distutils installed project (PyYAML) has been deprecated and will be removed in a future version. This is due to the fact that uninstalling a distutils project will only partially uninstall the project.
2017-05-01 16:16:42 INFO install Uninstalling PyYAML-3.11:
2017-05-01 16:16:42 INFO install Successfully uninstalled PyYAML-3.11
2017-05-01 16:16:42 INFO install Running setup.py install for PyYAML: started
2017-05-01 16:16:42 INFO install Running setup.py install for PyYAML: finished with status 'done'
2017-05-01 16:16:42 INFO install Running setup.py install for netaddr: started
2017-05-01 16:16:43 INFO install Running setup.py install for netaddr: finished with status 'done'
2017-05-01 16:16:43 INFO install Running setup.py install for Tempita: started
2017-05-01 16:16:45 INFO install Running setup.py install for Tempita: finished with status 'done'
2017-05-01 16:16:45 INFO install Running setup.py install for charmhelpers: started
2017-05-01 16:16:46 INFO install Running setup.py install for charmhelpers: finished with status 'done'
2017-05-01 16:16:46 INFO install Running setup.py install for charms.benchmark: started
2017-05-01 16:16:47 INFO install Running setup.py install for charms.benchmark: finished with status 'done'
2017-05-01 16:16:47 INFO install Running setup.py install for path.py: started
2017-05-01 16:16:47 INFO install Running setup.py install for path.py: finished with status 'done'
2017-05-01 16:16:47 INFO install Running setup.py install for pyaml: started
2017-05-01 16:16:48 INFO install Running setup.py install for pyaml: finished with status 'done'
2017-05-01 16:16:48 INFO install Running setup.py install for jujuresources: started
2017-05-01 16:16:48 INFO install Running setup.py install for jujuresources: finished with status 'done'
2017-05-01 16:16:48 INFO install Running setup.py install for setuptools-scm: started
2017-05-01 16:16:48 INFO install Running setup.py install for setuptools-scm: finished with status 'done'
2017-05-01 16:16:48 INFO install Running setup.py install for charms.templating.jinja2: started
2017-05-01 16:16:49 INFO install Running setup.py install for charms.templating.jinja2: finished with status 'done'
2017-05-01 16:16:49 INFO install Running setup.py install for jujubigdata: started
2017-05-01 16:16:49 INFO install Running setup.py install for jujubigdata: finished with status 'done'
2017-05-01 16:16:49 INFO install Found existing installation: pip 8.1.2
2017-05-01 16:16:50 INFO install Uninstalling pip-8.1.2:
2017-05-01 16:16:50 INFO install Successfully uninstalled pip-8.1.2
2017-05-01 16:16:50 INFO install Running setup.py install for pip: started
2017-05-01 16:16:51 INFO install Running setup.py install for pip: finished with status 'done'
2017-05-01 16:16:51 INFO install Running setup.py install for netifaces: started
2017-05-01 16:16:51 INFO install Running setup.py install for netifaces: finished with status 'error'
2017-05-01 16:16:51 INFO install Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-lb0j1pmg-build/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-l3a8pygg-record/install-record.txt --single-version-externally-managed --compile:
2017-05-01 16:16:51 INFO install running install
2017-05-01 16:16:51 INFO install running build
2017-05-01 16:16:51 INFO install running build_ext
2017-05-01 16:16:51 INFO install checking for getifaddrs...not found.
2017-05-01 16:16:51 INFO install checking for getnameinfo...not found.
2017-05-01 16:16:51 INFO install checking for socket IOCTLs...not found.
2017-05-01 16:16:51 INFO install checking for optional header files...none found.
2017-05-01 16:16:51 INFO install checking whether struct sockaddr has a length field...no.
2017-05-01 16:16:51 INFO install checking which sockaddr_xxx structs are defined...none!
2017-05-01 16:16:51 INFO install checking for routing socket support...no.
2017-05-01 16:16:51 INFO install checking for sysctl(CTL_NET...) support...no.
2017-05-01 16:16:51 INFO install checking for netlink support...no.
2017-05-01 16:16:51 INFO install building 'netifaces' extension
2017-05-01 16:16:51 INFO install x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DNETIFACES_VERSION=0.10.4 -I/usr/include/python3.5m -c netifaces.c -o build/temp.linux-x86_64-3.5/netifaces.o
2017-05-01 16:16:51 INFO install unable to execute 'x86_64-linux-gnu-gcc': No such file or directory
2017-05-01 16:16:51 INFO install error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
2017-05-01 16:16:51 INFO install
2017-05-01 16:16:51 INFO install ----------------------------------------
2017-05-01 16:16:51 INFO install Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-lb0j1pmg-build/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-l3a8pygg-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-lb0j1pmg-build/
2017-05-01 16:16:52 INFO install Traceback (most recent call last):
2017-05-01 16:16:52 INFO install File "/var/lib/juju/agents/unit-spark-0/charm/hooks/install", line 8, in <module>
2017-05-01 16:16:52 INFO install basic.bootstrap_charm_deps()
2017-05-01 16:16:52 INFO install File "lib/charms/layer/basic.py", line 87, in bootstrap_charm_deps
2017-05-01 16:16:52 INFO install glob('wheelhouse/*'))
2017-05-01 16:16:52 INFO install File "/usr/lib/python3.5/subprocess.py", line 581, in check_call
2017-05-01 16:16:52 INFO install raise CalledProcessError(retcode, cmd)
2017-05-01 16:16:52 INFO install subprocess.CalledProcessError: Command '['pip3', 'install', '-U', '--no-index', '-f', 'wheelhouse', 'wheelhouse/Jinja2-2.9.6.tar.gz', 'wheelhouse/charms.benchmark-1.0.5.tar.gz', 'wheelhouse/path.py-10.3.1.tar.gz', 'wheelhouse/MarkupSafe-1.0.tar.gz', 'wheelhouse/jujubigdata-7.1.2.tar.gz', 'wheelhouse/pip-8.1.2.tar.gz', 'wheelhouse/netaddr-0.7.19.tar.gz', 'wheelhouse/netifaces-0.10.4.tar.gz', 'wheelhouse/pyaml-16.12.2.tar.gz', 'wheelhouse/Tempita-0.5.2.tar.gz', 'wheelhouse/setuptools_scm-1.15.5.tar.gz', 'wheelhouse/PyYAML-3.12.tar.gz', 'wheelhouse/charmhelpers-0.15.0.tar.gz', 'wheelhouse/charms.reactive-0.4.5.tar.gz', 'wheelhouse/jujuresources-0.4.0.tar.gz', 'wheelhouse/jujubigdata-6.4.4.tar.gz', 'wheelhouse/six-1.10.0.tar.gz', 'wheelhouse/charms.templating.jinja2-1.0.2.tar.gz']' returned non-zero exit status 1
2017-05-01 16:16:52 ERROR juju.worker.uniter.operation runhook.go:107 hook "install" failed: exit status 1
|