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
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334 | ======================================================================
ERROR: test_shared_ros_builds_without_catkin_in_underlay (test_catkin_shared_ros.CatkinSharedRosTestCase)
test_catkin_shared_ros.CatkinSharedRosTestCase.test_shared_ros_builds_without_catkin_in_underlay
----------------------------------------------------------------------
testtools.testresult.real._StringException: output: {{{
Starting snapcraft 2.34 from /usr/lib/python3/dist-packages/snapcraft/cli.
Setting up part 'underlay' with plugin 'catkin' and properties {'plugin': 'catkin', 'rosdistro': 'kinetic', 'include-roscore': False, 'catkin-packages': ['underlay_package'], 'stage': ['opt/ros/kinetic/.catkin', 'opt/ros/kinetic/env.sh', 'opt/ros/kinetic/setup.bash', 'opt/ros/kinetic/setup.sh', 'opt/ros/kinetic/_setup_util.py', 'opt/ros/kinetic/lib/pkgconfig/underlay_package.pc', 'opt/ros/kinetic/share/underlay_package/'], 'prime': []}.
Marking 'libc6-dev' (and its dependencies) to be fetched
Marking 'make' (and its dependencies) to be fetched
Marking 'python-pip' (and its dependencies) to be fetched
Installing build dependencies: build-essential g++ g++-7 libexpat1-dev libpython-all-dev libpython-dev libpython2.7 libpython2.7-dev libstdc++-7-dev python-all python-all-dev python-asn1crypto python-cffi-backend python-crypto python-cryptography python-dbus python-dev python-gi python-idna python-ipaddress python-keyring python-keyrings.alt python-pip python-pip-whl python-secretstorage python-wheel python-xdg python2.7-dev
Reading package lists...
Building dependency tree...
Reading state information...
Suggested packages:
g++-multilib g++-7-multilib gcc-7-doc libstdc++6-7-dbg libstdc++-7-doc
python-crypto-dbg python-crypto-doc python-cryptography-doc
python-cryptography-vectors python-dbus-dbg python-dbus-doc python-gi-cairo
gnome-keyring libkf5wallet-bin gir1.2-gnomekeyring-1.0 python-fs
python-gdata python-keyczar python-secretstorage-doc
The following NEW packages will be installed:
build-essential g++ g++-7 libexpat1-dev libpython-all-dev libpython-dev
libpython2.7 libpython2.7-dev libstdc++-7-dev python-all python-all-dev
python-asn1crypto python-cffi-backend python-crypto python-cryptography
python-dbus python-dev python-gi python-idna python-ipaddress python-keyring
python-keyrings.alt python-pip python-pip-whl python-secretstorage
python-wheel python-xdg python2.7-dev
0 upgraded, 28 newly installed, 0 to remove and 0 not upgraded.
Need to get 32.3 MB/41.3 MB of archives.
After this operation, 95.0 MB of additional disk space will be used.
Get:1 http://ftpmaster.internal/ubuntu artful/main amd64 build-essential amd64 12.4ubuntu1 [4758 B]
Get:2 http://ftpmaster.internal/ubuntu artful/main amd64 libexpat1-dev amd64 2.2.3-1 [120 kB]
Get:3 http://ftpmaster.internal/ubuntu artful/main amd64 libpython2.7 amd64 2.7.14-2ubuntu2 [1053 kB]
Get:4 http://ftpmaster.internal/ubuntu artful/main amd64 libpython2.7-dev amd64 2.7.14-2ubuntu2 [28.2 MB]
Get:5 http://ftpmaster.internal/ubuntu artful/main amd64 libpython-dev amd64 2.7.14-2ubuntu1 [7644 B]
Get:6 http://ftpmaster.internal/ubuntu artful/main amd64 libpython-all-dev amd64 2.7.14-2ubuntu1 [1006 B]
Get:7 http://ftpmaster.internal/ubuntu artful/main amd64 python-all amd64 2.7.14-2ubuntu1 [994 B]
Get:8 http://ftpmaster.internal/ubuntu artful/main amd64 python2.7-dev amd64 2.7.14-2ubuntu2 [278 kB]
Get:9 http://ftpmaster.internal/ubuntu artful/main amd64 python-dev amd64 2.7.14-2ubuntu1 [1176 B]
Get:10 http://ftpmaster.internal/ubuntu artful/main amd64 python-all-dev amd64 2.7.14-2ubuntu1 [1014 B]
Get:11 http://ftpmaster.internal/ubuntu artful/main amd64 python-asn1crypto all 0.22.0-1 [69.9 kB]
Get:12 http://ftpmaster.internal/ubuntu artful/main amd64 python-cffi-backend amd64 1.9.1-2build2 [59.7 kB]
Get:13 http://ftpmaster.internal/ubuntu artful/main amd64 python-crypto amd64 2.6.1-7build2 [245 kB]
Get:14 http://ftpmaster.internal/ubuntu artful/main amd64 python-idna all 2.5-1 [31.5 kB]
Get:15 http://ftpmaster.internal/ubuntu artful/main amd64 python-ipaddress all 1.0.17-1 [18.2 kB]
Get:16 http://ftpmaster.internal/ubuntu artful/main amd64 python-cryptography amd64 1.9-1 [215 kB]
Get:17 http://ftpmaster.internal/ubuntu artful/main amd64 python-dbus amd64 1.2.4-1build3 [84.8 kB]
Get:18 http://ftpmaster.internal/ubuntu artful/main amd64 python-gi amd64 3.24.1-2build1 [195 kB]
Get:19 http://ftpmaster.internal/ubuntu artful/main amd64 python-secretstorage all 2.3.1-2 [11.8 kB]
Get:20 http://ftpmaster.internal/ubuntu artful/main amd64 python-keyring all 10.4.0-1 [30.6 kB]
Get:21 http://ftpmaster.internal/ubuntu artful/main amd64 python-keyrings.alt all 2.2-2 [16.2 kB]
Get:22 http://ftpmaster.internal/ubuntu artful/universe amd64 python-pip-whl all 9.0.1-2 [1379 kB]
Get:23 http://ftpmaster.internal/ubuntu artful/universe amd64 python-pip all 9.0.1-2 [151 kB]
Get:24 http://ftpmaster.internal/ubuntu artful/universe amd64 python-wheel all 0.29.0-2 [48.3 kB]
Get:25 http://ftpmaster.internal/ubuntu artful/universe amd64 python-xdg all 0.25-4 [31.4 kB]
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
Fetched 32.3 MB in 0s (38.3 MB/s)
Selecting previously unselected package libstdc++-7-dev:amd64.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 104485 files and directories currently installed.)
Preparing to unpack .../00-libstdc++-7-dev_7.2.0-8ubuntu2_amd64.deb ...
Unpacking libstdc++-7-dev:amd64 (7.2.0-8ubuntu2) ...
Selecting previously unselected package g++-7.
Preparing to unpack .../01-g++-7_7.2.0-8ubuntu2_amd64.deb ...
Unpacking g++-7 (7.2.0-8ubuntu2) ...
Selecting previously unselected package g++.
Preparing to unpack .../02-g++_4%3a7.2.0-1ubuntu1_amd64.deb ...
Unpacking g++ (4:7.2.0-1ubuntu1) ...
Selecting previously unselected package build-essential.
Preparing to unpack .../03-build-essential_12.4ubuntu1_amd64.deb ...
Unpacking build-essential (12.4ubuntu1) ...
Selecting previously unselected package libexpat1-dev:amd64.
Preparing to unpack .../04-libexpat1-dev_2.2.3-1_amd64.deb ...
Unpacking libexpat1-dev:amd64 (2.2.3-1) ...
Selecting previously unselected package libpython2.7:amd64.
Preparing to unpack .../05-libpython2.7_2.7.14-2ubuntu2_amd64.deb ...
Unpacking libpython2.7:amd64 (2.7.14-2ubuntu2) ...
Selecting previously unselected package libpython2.7-dev:amd64.
Preparing to unpack .../06-libpython2.7-dev_2.7.14-2ubuntu2_amd64.deb ...
Unpacking libpython2.7-dev:amd64 (2.7.14-2ubuntu2) ...
Selecting previously unselected package libpython-dev:amd64.
Preparing to unpack .../07-libpython-dev_2.7.14-2ubuntu1_amd64.deb ...
Unpacking libpython-dev:amd64 (2.7.14-2ubuntu1) ...
Selecting previously unselected package libpython-all-dev:amd64.
Preparing to unpack .../08-libpython-all-dev_2.7.14-2ubuntu1_amd64.deb ...
Unpacking libpython-all-dev:amd64 (2.7.14-2ubuntu1) ...
Selecting previously unselected package python-all.
Preparing to unpack .../09-python-all_2.7.14-2ubuntu1_amd64.deb ...
Unpacking python-all (2.7.14-2ubuntu1) ...
Selecting previously unselected package python2.7-dev.
Preparing to unpack .../10-python2.7-dev_2.7.14-2ubuntu2_amd64.deb ...
Unpacking python2.7-dev (2.7.14-2ubuntu2) ...
Selecting previously unselected package python-dev.
Preparing to unpack .../11-python-dev_2.7.14-2ubuntu1_amd64.deb ...
Unpacking python-dev (2.7.14-2ubuntu1) ...
Selecting previously unselected package python-all-dev.
Preparing to unpack .../12-python-all-dev_2.7.14-2ubuntu1_amd64.deb ...
Unpacking python-all-dev (2.7.14-2ubuntu1) ...
Selecting previously unselected package python-asn1crypto.
Preparing to unpack .../13-python-asn1crypto_0.22.0-1_all.deb ...
Unpacking python-asn1crypto (0.22.0-1) ...
Selecting previously unselected package python-cffi-backend.
Preparing to unpack .../14-python-cffi-backend_1.9.1-2build2_amd64.deb ...
Unpacking python-cffi-backend (1.9.1-2build2) ...
Selecting previously unselected package python-crypto.
Preparing to unpack .../15-python-crypto_2.6.1-7build2_amd64.deb ...
Unpacking python-crypto (2.6.1-7build2) ...
Selecting previously unselected package python-idna.
Preparing to unpack .../16-python-idna_2.5-1_all.deb ...
Unpacking python-idna (2.5-1) ...
Selecting previously unselected package python-ipaddress.
Preparing to unpack .../17-python-ipaddress_1.0.17-1_all.deb ...
Unpacking python-ipaddress (1.0.17-1) ...
Selecting previously unselected package python-cryptography.
Preparing to unpack .../18-python-cryptography_1.9-1_amd64.deb ...
Unpacking python-cryptography (1.9-1) ...
Selecting previously unselected package python-dbus.
Preparing to unpack .../19-python-dbus_1.2.4-1build3_amd64.deb ...
Unpacking python-dbus (1.2.4-1build3) ...
Selecting previously unselected package python-gi.
Preparing to unpack .../20-python-gi_3.24.1-2build1_amd64.deb ...
Unpacking python-gi (3.24.1-2build1) ...
Selecting previously unselected package python-secretstorage.
Preparing to unpack .../21-python-secretstorage_2.3.1-2_all.deb ...
Unpacking python-secretstorage (2.3.1-2) ...
Selecting previously unselected package python-keyring.
Preparing to unpack .../22-python-keyring_10.4.0-1_all.deb ...
Unpacking python-keyring (10.4.0-1) ...
Selecting previously unselected package python-keyrings.alt.
Preparing to unpack .../23-python-keyrings.alt_2.2-2_all.deb ...
Unpacking python-keyrings.alt (2.2-2) ...
Selecting previously unselected package python-pip-whl.
Preparing to unpack .../24-python-pip-whl_9.0.1-2_all.deb ...
Unpacking python-pip-whl (9.0.1-2) ...
Selecting previously unselected package python-pip.
Preparing to unpack .../25-python-pip_9.0.1-2_all.deb ...
Unpacking python-pip (9.0.1-2) ...
Selecting previously unselected package python-wheel.
Preparing to unpack .../26-python-wheel_0.29.0-2_all.deb ...
Unpacking python-wheel (0.29.0-2) ...
Selecting previously unselected package python-xdg.
Preparing to unpack .../27-python-xdg_0.25-4_all.deb ...
Unpacking python-xdg (0.25-4) ...
Setting up python-idna (2.5-1) ...
Setting up python-pip-whl (9.0.1-2) ...
Setting up python-asn1crypto (0.22.0-1) ...
Setting up python-crypto (2.6.1-7build2) ...
Setting up python-wheel (0.29.0-2) ...
Setting up python-keyrings.alt (2.2-2) ...
Setting up libstdc++-7-dev:amd64 (7.2.0-8ubuntu2) ...
Setting up python-cffi-backend (1.9.1-2build2) ...
Setting up python-gi (3.24.1-2build1) ...
Processing triggers for libc-bin (2.26-0ubuntu1) ...
Setting up libpython2.7:amd64 (2.7.14-2ubuntu2) ...
Setting up libexpat1-dev:amd64 (2.2.3-1) ...
Processing triggers for man-db (2.7.6.1-2) ...
Setting up libpython2.7-dev:amd64 (2.7.14-2ubuntu2) ...
Setting up python-dbus (1.2.4-1build3) ...
Remove stale byte-compiled files...
Setting up python-ipaddress (1.0.17-1) ...
Setting up python-pip (9.0.1-2) ...
Setting up python2.7-dev (2.7.14-2ubuntu2) ...
Setting up python-all (2.7.14-2ubuntu1) ...
Setting up python-xdg (0.25-4) ...
Setting up libpython-dev:amd64 (2.7.14-2ubuntu1) ...
Setting up g++-7 (7.2.0-8ubuntu2) ...
Setting up python-dev (2.7.14-2ubuntu1) ...
Setting up libpython-all-dev:amd64 (2.7.14-2ubuntu1) ...
Setting up python-all-dev (2.7.14-2ubuntu1) ...
Setting up python-cryptography (1.9-1) ...
Setting up g++ (4:7.2.0-1ubuntu1) ...
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
Setting up python-secretstorage (2.3.1-2) ...
Setting up python-keyring (10.4.0-1) ...
Setting up build-essential (12.4ubuntu1) ...
Processing triggers for libc-bin (2.26-0ubuntu1) ...
build-essential set to automatically installed.
g++ set to automatically installed.
g++-7 set to automatically installed.
libexpat1-dev set to automatically installed.
libpython-all-dev set to automatically installed.
libpython-dev set to automatically installed.
libpython2.7 set to automatically installed.
libpython2.7-dev set to automatically installed.
libstdc++-7-dev set to automatically installed.
python-all set to automatically installed.
python-all-dev set to automatically installed.
python-asn1crypto set to automatically installed.
python-cffi-backend set to automatically installed.
python-crypto set to automatically installed.
python-cryptography set to automatically installed.
python-dbus set to automatically installed.
python-dev set to automatically installed.
python-gi set to automatically installed.
python-idna set to automatically installed.
python-ipaddress set to automatically installed.
python-keyring set to automatically installed.
python-keyrings.alt set to automatically installed.
python-pip set to automatically installed.
python-pip-whl set to automatically installed.
python-secretstorage set to automatically installed.
python-wheel set to automatically installed.
python-xdg set to automatically installed.
python2.7-dev set to automatically installed.
Preparing to pull underlay
Fetching stage-packages {'ros-kinetic-roslib'}
Get:1 http://archive.ubuntu.com/ubuntu xenial InRelease [247 kB]
Get:2 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Get:3 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
Get:4 http://archive.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Get:5 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages [364 kB]
Get:6 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [172 kB]
Get:7 http://packages.ros.org/ros/ubuntu xenial InRelease [4037 B]
Get:8 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages [1201 kB]
Get:9 http://archive.ubuntu.com/ubuntu xenial/universe amd64 Packages [7532 kB]
Get:10 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [642 kB]
Get:11 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [540 kB]
Get:12 http://archive.ubuntu.com/ubuntu xenial-security/main amd64 Packages [364 kB]
Get:13 http://archive.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [172 kB]
Err http://packages.ros.org/ros/ubuntu xenial InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 5523BAEEB01FA116
Fetched 11.5 MB in 0s (0 B/s)
Exception occurred: FetchFailedException(Error("W:GPG error: http://packages.ros.org/ros/ubuntu xenial InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 5523BAEEB01FA116, E:The repository 'http://packages.ros.org/ros/ubuntu xenial InRelease' is not signed.",),)
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apt/cache.py", line 462, in update
pulse_interval)
apt_pkg.Error: W:GPG error: http://packages.ros.org/ros/ubuntu xenial InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 5523BAEEB01FA116, E:The repository 'http://packages.ros.org/ros/ubuntu xenial InRelease' is not signed.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/snapcraft", line 11, in <module>
load_entry_point('snapcraft==2.34', 'console_scripts', 'snapcraft')()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 564, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2662, in load_entry_point
return ep.load()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2316, in load
return self.resolve()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2322, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/usr/lib/python3/dist-packages/snapcraft/cli/__main__.py", line 19, in <module>
run(prog_name='snapcraft')
File "/usr/lib/python3/dist-packages/click/core.py", line 722, in __call__
return self.main(*args, **kwargs)
File "/usr/lib/python3/dist-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/usr/lib/python3/dist-packages/click/core.py", line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/lib/python3/dist-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/lib/python3/dist-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/usr/lib/python3/dist-packages/snapcraft/cli/lifecycle.py", line 95, in stage
_execute('stage', parts, **kwargs)
File "/usr/lib/python3/dist-packages/snapcraft/cli/lifecycle.py", line 32, in _execute
lifecycle.execute(command, project_options, parts)
File "/usr/lib/python3/dist-packages/snapcraft/internal/lifecycle.py", line 131, in execute
_Executor(config, project_options).run(step, part_names)
File "/usr/lib/python3/dist-packages/snapcraft/internal/lifecycle.py", line 226, in run
self._run_step(step, part, part_names)
File "/usr/lib/python3/dist-packages/snapcraft/internal/lifecycle.py", line 256, in _run_step
getattr(part, 'prepare_{}'.format(step))()
File "/usr/lib/python3/dist-packages/snapcraft/internal/pluginhandler/__init__.py", line 244, in prepare_pull
self._fetch_stage_packages()
File "/usr/lib/python3/dist-packages/snapcraft/internal/pluginhandler/__init__.py", line 230, in _fetch_stage_packages
stage_packages)
File "/usr/lib/python3/dist-packages/snapcraft/internal/repo/_deb.py", line 293, in get
with self._apt.archive(self._cache.base_dir) as apt_cache:
File "/usr/lib/python3.6/contextlib.py", line 81, in __enter__
return next(self.gen)
File "/usr/lib/python3/dist-packages/snapcraft/internal/repo/_deb.py", line 141, in archive
raise e
File "/usr/lib/python3/dist-packages/snapcraft/internal/repo/_deb.py", line 132, in archive
apt_cache = self._setup_apt(cache_dir)
File "/usr/lib/python3/dist-packages/snapcraft/internal/repo/_deb.py", line 125, in _setup_apt
sources_list=sources_list_file)
File "/usr/lib/python3/dist-packages/apt/cache.py", line 464, in update
raise FetchFailedException(e)
apt.cache.FetchFailedException: W:GPG error: http://packages.ros.org/ros/ubuntu xenial InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 5523BAEEB01FA116, E:The repository 'http://packages.ros.org/ros/ubuntu xenial InRelease' is not signed.
}}}
Traceback (most recent call last):
File "/tmp/autopkgtest.cA4jiz/build.Hpi/snapcraft/integration_tests/test_catkin_shared_ros.py", line 29, in test_shared_ros_builds_without_catkin_in_underlay
self.run_snapcraft('stage')
File "/tmp/autopkgtest.cA4jiz/build.Hpi/snapcraft/integration_tests/__init__.py", line 132, in run_snapcraft
env=env)
File "/usr/lib/python3.6/subprocess.py", line 336, in check_output
**kwargs).stdout
File "/usr/lib/python3.6/subprocess.py", line 418, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['snapcraft', '-d', 'stage']' returned non-zero exit status 1.
|