Ubuntu Pastebin

Paste from Pawel Stolowski at Tue, 17 Oct 2017 14:42:00 +0000

Download as text
  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
pawel@mordor ~/gocode/src/github.com/snapcore/snapd (8541f68*) $ spread -v -debug -reuse -repeat 5 external:ubuntu-core-16-arm-32:tests/main/ubuntu-core-upgrade 
2017-10-17 16:21:20 Found /home/pawel/gocode/src/github.com/snapcore/snapd/spread.yaml.
2017-10-17 16:21:22 Project content is packed for delivery (2.59MB).
2017-10-17 16:21:22 Reusing external:ubuntu-core-16-arm-32...
2017-10-17 16:21:23 Sending project content to external:ubuntu-core-16-arm-32...
2017-10-17 16:21:24 Preparing project on external:ubuntu-core-16-arm-32...
2017-10-17 16:21:52 Preparing external:ubuntu-core-16-arm-32:tests/main/...
2017-10-17 16:24:33 Preparing external:ubuntu-core-16-arm-32:tests/main/ubuntu-core-upgrade...
2017-10-17 16:25:49 Executing external:ubuntu-core-16-arm-32:tests/main/ubuntu-core-upgrade (1/1)...
2017-10-17 16:26:36 Rebooting external:ubuntu-core-16-arm-32 as requested...
2017-10-17 16:27:53 Rebooting external:ubuntu-core-16-arm-32 as requested...
2017-10-17 16:29:20 Rebooting external:ubuntu-core-16-arm-32 as requested...
2017-10-17 16:30:33 Rebooting external:ubuntu-core-16-arm-32 as requested...
2017-10-17 16:31:42 Restoring external:ubuntu-core-16-arm-32:tests/main/ubuntu-core-upgrade...
2017-10-17 16:31:42 Preparing external:ubuntu-core-16-arm-32:tests/main/ubuntu-core-upgrade...
2017-10-17 16:32:41 Executing external:ubuntu-core-16-arm-32:tests/main/ubuntu-core-upgrade (1/1)...
2017-10-17 16:33:05 Rebooting external:ubuntu-core-16-arm-32 as requested...
2017-10-17 16:34:18 Rebooting external:ubuntu-core-16-arm-32 as requested...
2017-10-17 16:35:44 Error executing external:ubuntu-core-16-arm-32:tests/main/ubuntu-core-upgrade : 
-----
mesg: ttyname failed: Inappropriate ioctl for device
+ . /home/gopath/src/github.com/snapcore/snapd/tests/lib/boot.sh
+ '[' 0 '!=' 0 ']'
+ snap list
+ awk '/^core / {print($3)}'
+ '[' -f curChg ']'
+ case $SPREAD_REBOOT in
++ cat prevBoot
+ cmd='snap install --dangerous /var/lib/snapd/snaps/core_3214.snap'
++ eval snap install --dangerous /var/lib/snapd/snaps/core_3214.snap --no-wait
+++ snap install --dangerous /var/lib/snapd/snaps/core_3214.snap --no-wait
+ chg_id=8
+ echo 8
+ snap change 8
+ grep -q '^Done.*Make snap.*available to the system'
+ sleep 1
+ snap change 8
+ grep -q '^Done.*Make snap.*available to the system'
+ sleep 1
+ snap change 8
+ grep -q '^Done.*Make snap.*available to the system'
+ sleep 1
+ snap change 8
+ grep -q '^Done.*Make snap.*available to the system'
+ sleep 1
+ snap change 8
+ grep -q '^Done.*Make snap.*available to the system'
+ sleep 1
+ snap change 8
+ grep -q '^Done.*Make snap.*available to the system'
+ sleep 1
+ snap change 8
+ grep -q '^Done.*Make snap.*available to the system'
+ sleep 1
+ snap change 8
+ grep -q '^Done.*Make snap.*available to the system'
+ sleep 1
+ snap change 8
+ grep -q '^Done.*Make snap.*available to the system'
+ sleep 1
+ snap change 8
+ grep -q '^Done.*Make snap.*available to the system'
+ sleep 1
+ snap change 8
+ grep -q '^Done.*Make snap.*available to the system'
+ sleep 1
+ snap change 8
+ grep -q '^Done.*Make snap.*available to the system'
+ sleep 1
+ snap change 8
+ grep -q '^Done.*Make snap.*available to the system'
+ sleep 1
+ snap change 8
+ grep -q '^Done.*Make snap.*available to the system'
+ sleep 1
+ snap change 8
+ grep -q '^Done.*Make snap.*available to the system'
+ sleep 1
+ snap change 8
+ grep -q '^Done.*Make snap.*available to the system'
+ sleep 1
+ snap change 8
+ grep -q '^Done.*Make snap.*available to the system'
+ sleep 1
+ snap change 8
+ grep -q '^Done.*Make snap.*available to the system'
+ sleep 1
+ grep -q '^Done.*Make snap.*available to the system'
+ snap change 8
+ sleep 1
+ snap change 8
+ grep -q '^Done.*Make snap.*available to the system'
+ echo 'Ensure the bootloader is correct before reboot'
Ensure the bootloader is correct before reboot
+ snap list
+ awk '/^core / {print($3)}'
++ cat prevBoot
++ cat nextBoot
+ test 3214 '!=' x1
++ bootenv snap_try_core
++ '[' 1 -eq 0 ']'
++ command -v grub-editenv
++ sed 's/^snap_try_core=//'
++ fw_printenv snap_try_core
++ cat nextBoot
+ test core_x1.snap = core_x1.snap
++ bootenv snap_mode
++ '[' 1 -eq 0 ']'
++ command -v grub-editenv
++ sed 's/^snap_mode=//'
++ fw_printenv snap_mode
+ test try = try
+ echo 'Ensure the device is scheduled for auto-reboot'
Ensure the device is scheduled for auto-reboot
++ dbus-send --print-reply --type=method_call --system --dest=org.freedesktop.login1 /org/freedesktop/login1 org.freedesktop.DBus.Properties.Get string:org.freedesktop.login1.Manager string:ScheduledShutdown
+ output='method return time=1508250787.360649 sender=:1.1 -> destination=:1.6 serial=29 reply_serial=2
   variant       struct {
         string "reboot"
         uint64 1508251386595498
      }'
+ echo method return time=1508250787.360649 sender=:1.1 '->' destination=:1.6 serial=29 reply_serial=2 variant struct '{' string '"reboot"' uint64 1508251386595498 '}'
+ MATCH 'string "reboot"'
+ REBOOT
<REBOOT>

mesg: ttyname failed: Inappropriate ioctl for device
+ . /home/gopath/src/github.com/snapcore/snapd/tests/lib/boot.sh
+ '[' 1 '!=' 0 ']'
+ echo 'Waiting for snapd to clean snap_mode'
Waiting for snapd to clean snap_mode
++ bootenv snap_mode
++ '[' 1 -eq 0 ']'
++ command -v grub-editenv
++ sed 's/^snap_mode=//'
++ fw_printenv snap_mode
## Error: "snap_mode" not defined
+ '[' '' '!=' '' ']'
+ echo 'Ensure the bootloader is correct after reboot'
Ensure the bootloader is correct after reboot
++ bootenv snap_core
++ '[' 1 -eq 0 ']'
++ command -v grub-editenv
++ sed 's/^snap_core=//'
++ fw_printenv snap_core
++ cat nextBoot
+ test core_x1.snap = core_x1.snap
++ bootenv snap_try_core
++ '[' 1 -eq 0 ']'
++ command -v grub-editenv
++ fw_printenv snap_try_core
++ sed 's/^snap_try_core=//'
## Error: "snap_try_core" not defined
+ test '' = ''
++ bootenv snap_mode
++ '[' 1 -eq 0 ']'
++ command -v grub-editenv
++ sed 's/^snap_mode=//'
++ fw_printenv snap_mode
## Error: "snap_mode" not defined
+ test '' = ''
+ snap list
+ awk '/^core / {print($3)}'
+ '[' -f curChg ']'
++ cat curChg
+ snap watch 8
+ rm -f curChg
+ case $SPREAD_REBOOT in
+ cmd='snap revert core'
++ eval snap revert core --no-wait
+++ snap revert core --no-wait
+ chg_id=9
+ echo 9
+ snap change 9
+ grep -q '^Done.*Make snap.*available to the system'
+ sleep 1
+ grep -q '^Done.*Make snap.*available to the system'
+ snap change 9
+ sleep 1
+ snap change 9
+ grep -q '^Done.*Make snap.*available to the system'
+ sleep 1
+ snap change 9
+ grep -q '^Done.*Make snap.*available to the system'
+ echo 'Ensure the bootloader is correct before reboot'
Ensure the bootloader is correct before reboot
+ snap list
+ awk '/^core / {print($3)}'
++ cat prevBoot
++ cat nextBoot
+ test x1 '!=' 3214
++ bootenv snap_try_core
++ '[' 1 -eq 0 ']'
++ command -v grub-editenv
++ sed 's/^snap_try_core=//'
++ fw_printenv snap_try_core
++ cat nextBoot
+ test core_3214.snap = core_3214.snap
++ bootenv snap_mode
++ '[' 1 -eq 0 ']'
++ command -v grub-editenv
++ sed 's/^snap_mode=//'
++ fw_printenv snap_mode
+ test try = try
+ echo 'Ensure the device is scheduled for auto-reboot'
Ensure the device is scheduled for auto-reboot
++ dbus-send --print-reply --type=method_call --system --dest=org.freedesktop.login1 /org/freedesktop/login1 org.freedesktop.DBus.Properties.Get string:org.freedesktop.login1.Manager string:ScheduledShutdown
+ output='method return time=1508250860.295514 sender=:1.1 -> destination=:1.5 serial=29 reply_serial=2
   variant       struct {
         string "reboot"
         uint64 1508251459787154
      }'
+ echo method return time=1508250860.295514 sender=:1.1 '->' destination=:1.5 serial=29 reply_serial=2 variant struct '{' string '"reboot"' uint64 1508251459787154 '}'
+ MATCH 'string "reboot"'
+ REBOOT
<REBOOT>

+ . /home/gopath/src/github.com/snapcore/snapd/tests/lib/boot.sh
+ '[' 2 '!=' 0 ']'
+ echo 'Waiting for snapd to clean snap_mode'
Waiting for snapd to clean snap_mode
++ bootenv snap_mode
++ '[' 1 -eq 0 ']'
++ command -v grub-editenv
++ sed 's/^snap_mode=//'
++ fw_printenv snap_mode
## Error: "snap_mode" not defined
+ '[' '' '!=' '' ']'
+ echo 'Ensure the bootloader is correct after reboot'
Ensure the bootloader is correct after reboot
++ bootenv snap_core
++ '[' 1 -eq 0 ']'
++ command -v grub-editenv
++ sed 's/^snap_core=//'
++ fw_printenv snap_core
++ cat nextBoot
+ test core_3214.snap = core_3214.snap
++ bootenv snap_try_core
++ '[' 1 -eq 0 ']'
++ command -v grub-editenv
++ fw_printenv snap_try_core
++ sed 's/^snap_try_core=//'
## Error: "snap_try_core" not defined
+ test '' = ''
++ bootenv snap_mode
++ '[' 1 -eq 0 ']'
++ command -v grub-editenv
++ sed 's/^snap_mode=//'
++ fw_printenv snap_mode
## Error: "snap_mode" not defined
+ test '' = ''
+ snap list
+ awk '/^core / {print($3)}'
+ '[' -f curChg ']'
++ cat curChg
+ snap watch 9
+ rm -f curChg
+ case $SPREAD_REBOOT in
++ cat prevBoot
+ cmd='snap install --dangerous /var/lib/snapd/snaps/core_3214.snap'
++ eval snap install --dangerous /var/lib/snapd/snaps/core_3214.snap --no-wait
+++ snap install --dangerous /var/lib/snapd/snaps/core_3214.snap --no-wait
+ chg_id=10
+ echo 10
+ snap change 10
+ grep -q '^Done.*Make snap.*available to the system'
+ sleep 1
+ snap change 10
+ grep -q '^Done.*Make snap.*available to the system'
+ sleep 1
+ snap change 10
+ grep -q '^Done.*Make snap.*available to the system'
+ sleep 1
+ snap change 10
+ grep -q '^Done.*Make snap.*available to the system'
+ sleep 1
+ snap change 10
+ grep -q '^Done.*Make snap.*available to the system'
+ sleep 1
+ snap change 10
+ grep -q '^Done.*Make snap.*available to the system'
+ sleep 1
+ snap change 10
+ grep -q '^Done.*Make snap.*available to the system'
+ sleep 1
+ snap change 10
+ grep -q '^Done.*Make snap.*available to the system'
+ sleep 1
+ grep -q '^Done.*Make snap.*available to the system'
+ snap change 10
+ sleep 1
+ snap change 10
+ grep -q '^Done.*Make snap.*available to the system'
+ sleep 1
+ grep -q '^Done.*Make snap.*available to the system'
+ snap change 10
+ sleep 1
+ snap change 10
+ grep -q '^Done.*Make snap.*available to the system'
+ sleep 1
+ snap change 10
+ grep -q '^Done.*Make snap.*available to the system'
+ sleep 1
-----
.
2017-10-17 16:35:44 Error debugging external:ubuntu-core-16-arm-32:tests/main/ubuntu-core-upgrade : EOF
2017-10-17 16:35:44 Starting shell to debug...
2017-10-17 16:35:44 Error running debug shell: EOF
2017-10-17 16:35:44 Continuing...
2017-10-17 16:35:44 Restoring external:ubuntu-core-16-arm-32:tests/main/ubuntu-core-upgrade...
2017-10-17 16:35:44 Error restoring external:ubuntu-core-16-arm-32:tests/main/ubuntu-core-upgrade : EOF
2017-10-17 16:35:44 Starting shell to debug...
2017-10-17 16:35:44 Error running debug shell: EOF
2017-10-17 16:35:44 Continuing...
2017-10-17 16:35:44 Restoring external:ubuntu-core-16-arm-32:tests/main/...
2017-10-17 16:35:44 Error restoring external:ubuntu-core-16-arm-32:tests/main/ : EOF
2017-10-17 16:35:44 Starting shell to debug...
2017-10-17 16:35:44 Error running debug shell: EOF
2017-10-17 16:35:44 Continuing...
2017-10-17 16:35:44 Restoring project on external:ubuntu-core-16-arm-32...
2017-10-17 16:35:44 Error restoring project on external:ubuntu-core-16-arm-32 : EOF
2017-10-17 16:35:44 Starting shell to debug...
2017-10-17 16:35:44 Error running debug shell: EOF
2017-10-17 16:35:44 Continuing...
2017-10-17 16:35:44 Successful tasks: 1
2017-10-17 16:35:44 Aborted tasks: 0
2017-10-17 16:35:44 Failed tasks: 1
    - external:ubuntu-core-16-arm-32:tests/main/ubuntu-core-upgrade
2017-10-17 16:35:44 Failed task restore: 1
    - external:ubuntu-core-16-arm-32:tests/main/ubuntu-core-upgrade
2017-10-17 16:35:44 Failed suite restore: 1
    - external:ubuntu-core-16-arm-32:tests/main/
2017-10-17 16:35:44 Failed project restore: 1
    - external:ubuntu-core-16-arm-32:project
error: unsuccessful run
Download as text