Ubuntu Pastebin

Paste from morphis at Wed, 19 Apr 2017 14:37:39 +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
2017/04/19 16:14:27 Found /home/simon/Work/ubuntu/snappy/work/src/github.com/snapcore/snapd/spread.yaml.
2017/04/19 16:14:30 Project content is packed for delivery (486.04KB).
2017/04/19 16:14:30 Reusing linode:debian-unstable-64 (Spread-04)...
2017/04/19 16:14:31 Reusing project data on linode:debian-unstable-64 (Spread-04)...
2017/04/19 16:14:31 Preparing project on linode:debian-unstable-64...
2017/04/19 16:16:32 Preparing linode:debian-unstable-64:tests/main/...
2017/04/19 16:17:05 Preparing linode:debian-unstable-64:tests/main/completion...
2017/04/19 16:18:14 Error preparing linode:debian-unstable-64:tests/main/completion : 
-----
+ [[ debian-unstable-64 != ubuntu-14.04-* ]]
+ journalctl --rotate
+ sleep .1
+ journalctl --vacuum-time=1ms
Deleted archived journal /run/log/journal/1009f49fff8fe746a5111e1a062f4848/system@caf994ed8dc54c2d929f440717f94e60-00000000000034ea-00054d8589901b35.journal (2.5M).
Vacuuming done, freed 2.5M of archived journals from /run/log/journal/1009f49fff8fe746a5111e1a062f4848.
+ dmesg -c
+ /home/gopath/src/github.com/snapcore/snapd/tests/lib/reset.sh --reuse-core
+ [[ debian-unstable-64 == ubuntu-core-16-* ]]
+ reset_classic --reuse-core
+ systemctl stop snapd.service snapd.socket
+ sh -x /home/gopath/src/github.com/snapcore/snapd/debian/snapd.postrm purge
+ set -e
+ [ purge = purge ]
+ cut -f1 -d  
+ grep ^snap[-.].*\.mount
+ systemctl list-unit-files --full
+ mounts=snap-core-1736.mount
+ cut -f1 -d  
+ grep ^snap[-.].*\.service
+ systemctl list-unit-files --full
+ services=
+ grep -q What=/var/lib/snapd/snaps/ /etc/systemd/system/snap-core-1736.mount
+ echo Stopping snap-core-1736.mount
Stopping snap-core-1736.mount
+ systemctl_stop snap-core-1736.mount
+ unit=snap-core-1736.mount
+ systemctl is-active -q snap-core-1736.mount
+ echo Stoping snap-core-1736.mount
Stoping snap-core-1736.mount
+ systemctl stop -q snap-core-1736.mount
+ cut+  -f3 -d/
grep Where=/snap/ /etc/systemd/system/snap-core-1736.mount
+ snap=core
+ cut -f4 -d/
+ grep Where=/snap/ /etc/systemd/system/snap-core-1736.mount
+ rev=1736
+ [ -n core ]
+ echo Removing snap core
Removing snap core
+ [ -d /snap/bin ]
+ find /snap/bin -maxdepth 1 -lname core -delete
+ find /snap/bin -maxdepth 1 -lname core.* -delete
+ rm -f /snap/bin/core
+ rm -f /snap/bin/core.*
+ umount -l /snap/core/1736
+ true
+ rm -rf /snap/core/1736
+ rm -f /snap/core/current
+ rm -rf /var/snap/core/1736
+ rm -rf /var/snap/core/common
+ rm -f /var/snap/core/current
+ [ -d /snap/core ]
+ rmdir --ignore-fail-on-non-empty /snap/core
+ [ -d /var/snap/core ]
+ rmdir --ignore-fail-on-non-empty /var/snap/core
+ echo Removing snap-core-1736.mount
Removing snap-core-1736.mount
+ rm -f /etc/systemd/system/snap-core-1736.mount
+ rm -f /etc/systemd/system/multi-user.target.wants/snap-core-1736.mount
+ echo Final directory cleanup
Final directory cleanup
+ [ -d /snap/bin ]
+ rmdir --ignore-fail-on-non-empty /snap/bin
+ [ -d /snap ]
+ rmdir --ignore-fail-on-non-empty /snap
+ [ -d /var/snap ]
+ rmdir --ignore-fail-on-non-empty /var/snap
+ echo Discarding preserved snap namespaces
Discarding preserved snap namespaces
+ umount -l /run/snapd/ns/basic-hooks.mnt
umount: /run/snapd/ns/basic-hooks.mnt: not mounted
+ true
+ umount -l /run/snapd/ns/classic-gadget.mnt
umount: /run/snapd/ns/classic-gadget.mnt: not mounted
+ true
+ umount -l /run/snapd/ns/core.mnt
+ umount -l /run/snapd/ns/data-writer.mnt
umount: /run/snapd/ns/data-writer.mnt: not mounted
+ true
+ umount -l /run/snapd/ns/jq.mnt
umount: /run/snapd/ns/jq.mnt: not mounted
+ true
+ umount -l /run/snapd/ns/network-bind-consumer.mnt
umount: /run/snapd/ns/network-bind-consumer.mnt: not mounted
+ true
+ umount -l /run/snapd/ns/network-consumer.mnt
umount: /run/snapd/ns/network-consumer.mnt: not mounted
+ true
+ umount -l /run/snapd/ns/not-test-snapd-tools.mnt
umount: /run/snapd/ns/not-test-snapd-tools.mnt: not mounted
+ true
+ umount -l /run/snapd/ns/snapctl-hooks.mnt
umount: /run/snapd/ns/snapctl-hooks.mnt: not mounted
+ true
+ umount -l /run/snapd/ns/test-snapd-content-plug.mnt
umount: /run/snapd/ns/test-snapd-content-plug.mnt: not mounted
+ true
+ umount -l /run/snapd/ns/test-snapd-go-webserver.mnt
umount: /run/snapd/ns/test-snapd-go-webserver.mnt: not mounted
+ true
+ umount -l /run/snapd/ns/test-snapd-python-webserver.mnt
umount: /run/snapd/ns/test-snapd-python-webserver.mnt: not mounted
+ true
+ umount -l /run/snapd/ns/test-snapd-service-try.mnt
umount: /run/snapd/ns/test-snapd-service-try.mnt: not mounted
+ true
+ umount -l /run/snapd/ns/test-snapd-service.mnt
umount: /run/snapd/ns/test-snapd-service.mnt: not mounted
+ true
+ umount -l /run/snapd/ns/test-snapd-tools.mnt
umount: /run/snapd/ns/test-snapd-tools.mnt: not mounted
+ true
+ umount -l /run/snapd/ns/
+ echo Removing extra snap-confine apparmor rules
Removing extra snap-confine apparmor rules
+ rm -f /etc/apparmor.d/snap.core.*.usr.lib.snapd.snap-confine
+ echo Removing snapd state
Removing snapd state
+ rm -rf /var/lib/snapd
+ rm -rvf /var/snap /snap/bin
+ mkdir -p /snap /var/snap /var/lib/snapd
++ find /snap /var/snap -mindepth 1 -print -quit
+ '[' '' ']'
+ [[ debian-unstable-64 == ubuntu-14.04-* ]]
+ rm -rf /root/.snap/gnupg
+ rm -f '/tmp/core*' '/tmp/ubuntu-core*'
+ '[' --reuse-core = --reuse-core ']'
++ cd /
++ tar xzf /home/gopath/src/github.com/snapcore/snapd/snapd-state.tar.gz
++ cut -f1 -d ' '
++ grep '^snap[-.].*\.mount'
++ systemctl list-unit-files --full
+ mounts=snap-core-1736.mount
++ cut -f1 -d ' '
++ grep '^snap[-.].*\.service'
++ systemctl list-unit-files --full
+ services=
+ systemctl daemon-reload
+ for unit in $mounts $services
+ systemctl start snap-core-1736.mount
+ '[' --reuse-core '!=' --keep-stopped ']'
+ systemctl start snapd.socket
+ nc -U -q 1 /run/snapd.socket
+ printf 'GET / HTTP/1.0\r\n\r\n'
HTTP/1.0 200 OK
Content-Type: application/json
Date: Wed, 19 Apr 2017 14:17:08 GMT
Content-Length: 64

{"type":"sync","status-code":200,"status":"OK","result":["TBD"]}+ '[' production = staging ']'
+ . /home/gopath/src/github.com/snapcore/snapd/tests/lib/prepare.sh
++ set -eux
++ . /home/gopath/src/github.com/snapcore/snapd/tests/lib/apt.sh
++ . /home/gopath/src/github.com/snapcore/snapd/tests/lib/snaps.sh
+ [[ debian-unstable-64 != ubuntu-core-16-* ]]
+ prepare_each_classic
+ mkdir -p /etc/systemd/system/snapd.service.d
+ '[' -z '' ']'
+ rm -f /etc/systemd/system/snapd.service.d/reexec.conf
+ '[' '!' -f /etc/systemd/system/snapd.service.d/local.conf ']'
+ mkdir -p testdir
+ touch testdir/foo.snap
+ touch bar.snap
+ snap install core
snap "core" is already installed, see "snap refresh --help"
+ snap install test-snapd-tools
test-snapd-tools 1.0 from 'canonical' installed
+ . /home/gopath/src/github.com/snapcore/snapd/tests/lib/mkpinentry.sh
++ echo 'setup fake gpg pinentry environment'
setup fake gpg pinentry environment
++ cat
++ chmod +x /tmp/pinentry-fake
++ mkdir -pm 0700 /root/.snap/gnupg/
++ echo pinentry-program /tmp/pinentry-fake
+ expect -d -f key.exp0
expect version 5.45
argv[0] = expect  argv[1] = -d  argv[2] = -f  argv[3] = key.exp0  
set argc 0
set argv0 "key.exp0"
set argv ""
executing commands from command file key.exp0
spawn bash --norc -i
parent: waiting for sync byte
parent: telling child to go ahead
parent: now unsynchronized from child
spawn: returns {32665}

expect: does "" (spawn_id exp3) match glob pattern "bash-*[$#] $"? no
bash-4.4# 
expect: does "bash-4.4# " (spawn_id exp3) match glob pattern "bash-*[$#] $"? yes
expect: set expect_out(0,string) "bash-4.4# "
expect: set expect_out(spawn_id) "exp3"
expect: set expect_out(buffer) "bash-4.4# "
send: sending ". /etc/bash_completion; . ../../../data/completion/snap\n" to { exp3 }

expect: does "" (spawn_id exp3) match glob pattern "bash-*[$#] $"? no
. /etc/bash_completion; . ../../../data/completion/snap
bash-4.4# 
expect: does ". /etc/bash_completion; . ../../../data/completion/snap\r\nbash-4.4# " (spawn_id exp3) match glob pattern "bash-*[$#] $"? yes
expect: set expect_out(0,string) "bash-4.4# "
expect: set expect_out(spawn_id) "exp3"
expect: set expect_out(buffer) ". /etc/bash_completion; . ../../../data/completion/snap\r\nbash-4.4# "
send: sending "snap create-key \t\t" to { exp3 }

expect: does "" (spawn_id exp3) match glob pattern "snap create-key ??$"? no
snap create-key 
expect: does "snap create-key \u0007\u0007" (spawn_id exp3) match glob pattern "snap create-key ??$"? yes
expect: set expect_out(0,string) "snap create-key \u0007\u0007"
expect: set expect_out(spawn_id) "exp3"
expect: set expect_out(buffer) "snap create-key \u0007\u0007"
send: sending "\r" to { exp3 }

expect: does "" (spawn_id exp3) match glob pattern "Passphrase:"? no

Passphrase: 
expect: does "\r\nPassphrase: " (spawn_id exp3) match glob pattern "Passphrase:"? yes
expect: set expect_out(0,string) "Passphrase:"
expect: set expect_out(spawn_id) "exp3"
expect: set expect_out(buffer) "\r\nPassphrase:"
send: sending "pass\r" to { exp3 }

expect: does " " (spawn_id exp3) match glob pattern "Confirm passphrase:"? no

Confirm passphrase: 
expect: does " \r\nConfirm passphrase: " (spawn_id exp3) match glob pattern "Confirm passphrase:"? yes
expect: set expect_out(0,string) "Confirm passphrase:"
expect: set expect_out(spawn_id) "exp3"
expect: set expect_out(buffer) " \r\nConfirm passphrase:"
send: sending "pass\r" to { exp3 }

expect: does " " (spawn_id exp3) match glob pattern "bash-*[$#] $"? no


expect: does " \r\n" (spawn_id exp3) match glob pattern "bash-*[$#] $"? no
expect: timed out
timeout
-----
2017/04/19 16:18:15 Debug output for linode:debian-unstable-64:tests/main/completion : 
Download as text