Ubuntu Pastebin

Paste from fgimenez at Fri, 2 Jun 2017 12:41:29 +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
fgimenez@dunwich:~/workspace/snappy-snapctl-pawel$ spread -v -debug qemu:ubuntu-16.04-64:tests/main/snapctl-from-snap
2017/06/02 14:33:21 Found /home/fgimenez/workspace/snappy-snapctl-pawel/spread.yaml.
2017/06/02 14:33:22 Project content is packed for delivery (1.37MB).
2017/06/02 14:33:22 Allocating qemu:ubuntu-16.04-64...
2017/06/02 14:33:22 Serial and monitor for qemu:ubuntu-16.04-64 available at ports 59431 and 59531.
2017/06/02 14:33:22 Waiting for qemu:ubuntu-16.04-64 to make SSH available...
2017/06/02 14:33:23 Allocated qemu:ubuntu-16.04-64.
2017/06/02 14:33:23 If killed, discard servers with: spread -reuse-pid=26987 -discard
2017/06/02 14:33:23 Connecting to qemu:ubuntu-16.04-64...
2017/06/02 14:33:42 Connected to qemu:ubuntu-16.04-64 at localhost:59331.
2017/06/02 14:33:42 Sending project content to qemu:ubuntu-16.04-64...
2017/06/02 14:33:42 Preparing project on qemu:ubuntu-16.04-64...
2017/06/02 14:38:42 WARNING: qemu:ubuntu-16.04-64 running late. Current output:
-----
(... 3004 lines above ...)
rm -f Makefile
make[2]: Leaving directory '/home/gopath/src/github.com/snapcore/snapd/cmd'
make[1]: Leaving directory '/home/gopath/src/github.com/snapcore/snapd'
 dpkg-source -Zgzip --after-build snapd
dpkg-buildpackage: binary-only upload (no source included)
++ cp ../golang-github-snapcore-snapd-dev_1337.2.26.3_all.deb ../golang-github-ubuntu-core-snappy-dev_1337.2.26.3_all.deb ../snap-confine_1337.2.26.3_amd64.deb ../snapd_1337.2.26.3_amd64.deb ../ubuntu-core-launcher_1337.2.26.3_amd64.deb ../ubuntu-core-snapd-units_1337.2.26.3_all.deb ../ubuntu-snappy_1337.2.26.3_all.deb ../ubuntu-snappy-cli_1337.2.26.3_all.deb /home/gopath
++ go get ./tests/lib/snapbuild
++ fakestore_tags=
++ '[' production = staging ']'
++ go get ./tests/lib/fakestore/cmd/fakestore
-----
2017/06/02 14:38:51 Preparing qemu:ubuntu-16.04-64:tests/main/...
2017/06/02 14:39:20 Error preparing qemu:ubuntu-16.04-64:tests/main/ : 
-----
+ . /home/gopath/src/github.com/snapcore/snapd/tests/lib/prepare.sh
++ set -eux
++ . /home/gopath/src/github.com/snapcore/snapd/tests/lib/dirs.sh
+++ export SNAPMOUNTDIR=/snap
+++ SNAPMOUNTDIR=/snap
+++ export LIBEXECDIR=/usr/lib
+++ LIBEXECDIR=/usr/lib
++ . /home/gopath/src/github.com/snapcore/snapd/tests/lib/apt.sh
+++ . /home/gopath/src/github.com/snapcore/snapd/tests/lib/pkgdb.sh
++++ . /home/gopath/src/github.com/snapcore/snapd/tests/lib/quiet.sh
++++ DISTRO_BUILD_DEPS=()
++++ export DISTRO_BUILD_DEPS
++++ case "$SPREAD_SYSTEM" in
++++ DISTRO_BUILD_DEPS=(build-essential curl devscripts expect gdebi-core jq rng-tools git netcat-openbsd)
++ . /home/gopath/src/github.com/snapcore/snapd/tests/lib/snaps.sh
+ [[ ubuntu-16.04-64 == ubuntu-core-16-* ]]
+ prepare_classic
+ install_build_snapd
+ '[' 0 = 1 ']'
+ distro_install_local_package /home/gopath/snapd_1337.2.26.3_amd64.deb
+ allow_downgrades=false
+ '[' -n /home/gopath/snapd_1337.2.26.3_amd64.deb ']'
+ case "$1" in
+ break
+ case "$SPREAD_SYSTEM" in
+ flags=-y
+ '[' false = true ']'
+ apt install -y /home/gopath/snapd_1337.2.26.3_amd64.deb

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
  snapd
0 upgraded, 1 newly installed, 0 to remove and 71 not upgraded.
Need to get 0 B/10.5 MB of archives.
After this operation, 61.7 MB of additional disk space will be used.
Get:1 /home/gopath/snapd_1337.2.26.3_amd64.deb snapd amd64 1337.2.26.3 [10.5 MB]
Selecting previously unselected package snapd.
(Reading database ... 101483 files and directories currently installed.)
Preparing to unpack .../snapd_1337.2.26.3_amd64.deb ...
Unpacking snapd (1337.2.26.3) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up snapd (1337.2.26.3) ...
+ MATCH unknown
+ snap --version
error: pattern not found, got:
snap    1337.2.26.3
snapd   1337.2.26.3
series  16
ubuntu  16.04
kernel  4.4.0-67-generic
+ MATCH unknown
+ /usr/lib/snapd/snap-confine --version
error: pattern not found, got:
snap-confine 1337.2.26.3
+ mkdir -p /etc/systemd/system/snapd.service.d
+ cat
+ mkdir -p /etc/systemd/system/snapd.socket.d
+ cat
+ '[' production = staging ']'
+ '[' '!' -f /home/gopath/src/github.com/snapcore/snapd/snapd-state.tar.gz ']'
+ grep core
+ snap list
No snaps are installed yet. Try "snap install hello-world".
+ snap install --edge core
core (edge) 16-2.26.4 from 'canonical' installed
+ grep core
+ snap list
core  16-2.26.4  2092  canonical  -
+ systemctl stop snapd.service snapd.socket
+ update_core_snap_for_classic_reexec
+ '[' 1 '!=' 1 ']'
++ readlink -f /snap/core/current
+ core=/snap/core/2092
++ awk '{print $1}'
++ grep ' /snap/core/2092'
++ mount
+ snap=/var/lib/snapd/snaps/core_2092.snap
+ umount --verbose /snap/core/2092
umount: /snap/core/2092 unmounted
+ unsquashfs /var/lib/snapd/snaps/core_2092.snap
Parallel unsquashfs: Using 1 processor
12234 inodes (13448 blocks) to write

[===========================================================/] 13448/13448 100%

created 9606 files
created 1460 directories
created 2539 symlinks
created 79 devices
created 0 fifos
+ rm squashfs-root/usr/lib/snapd/complete.sh squashfs-root/usr/lib/snapd/etelpmoc.sh squashfs-root/usr/lib/snapd/info squashfs-root/usr/lib/snapd/snap-confine squashfs-root/usr/lib/snapd/snapd squashfs-root/usr/lib/snapd/snap-discard-ns squashfs-root/usr/lib/snapd/snap-exec squashfs-root/usr/lib/snapd/snap-update-ns squashfs-root/usr/lib/snapd/sshd-host-keygen squashfs-root/usr/lib/snapd/system-shutdown
+ cp -a /usr/lib/snapd/complete.sh /usr/lib/snapd/etelpmoc.sh /usr/lib/snapd/info /usr/lib/snapd/snap-confine /usr/lib/snapd/snapd /usr/lib/snapd/snap-discard-ns /usr/lib/snapd/snap-exec /usr/lib/snapd/snap-repair /usr/lib/snapd/snap-update-ns /usr/lib/snapd/system-shutdown squashfs-root/usr/lib/snapd/
+ cp -a /usr/bin/snap /usr/bin/snapctl squashfs-root/usr/bin/
+ '[' -e /etc/apparmor.d/usr.lib.snapd.snap-confine.real ']'
+ cp -a /etc/apparmor.d/usr.lib.snapd.snap-confine.real squashfs-root/etc/apparmor.d/usr.lib.snapd.snap-confine.real
+ sed -i s#snapctl#/usr/bin/snapctl# squashfs-root/meta/hooks/configure
+ mv /var/lib/snapd/snaps/core_2092.snap /var/lib/snapd/snaps/core_2092.snap.orig
+ mksnap_fast squashfs-root /var/lib/snapd/snaps/core_2092.snap
+ dir=squashfs-root
+ snap=/var/lib/snapd/snaps/core_2092.snap
+ [[ ubuntu-16.04-64 == ubuntu-14.04-* ]]
+ mksquashfs squashfs-root /var/lib/snapd/snaps/core_2092.snap -comp gzip -Xcompression-level 1
Parallel mksquashfs: Using 1 processor
Creating 4.0 filesystem on /var/lib/snapd/snaps/core_2092.snap, block size 131072.
[===========================================================-] 10857/10857 100%

Exportable Squashfs 4.0 filesystem, gzip compressed, data block size 131072
	compressed data, compressed metadata, compressed fragments, compressed xattrs
	duplicates are removed
Filesystem size 107237.26 Kbytes (104.72 Mbytes)
	40.99% of uncompressed filesystem size (261636.67 Kbytes)
Inode table size 158673 bytes (154.95 Kbytes)
	33.06% of uncompressed inode table size (479979 bytes)
Directory table size 146573 bytes (143.14 Kbytes)
	48.84% of uncompressed directory table size (300078 bytes)
Number of duplicate files found 223
Number of inodes 13684
Number of files 9606
Number of fragments 741
Number of symbolic links  2539
Number of device nodes 79
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 1460
Number of ids (unique uids + gids) 19
Number of uids 3
	root (0)
	dnsmasq (109)
	uuidd (108)
Number of gids 17
	root (0)
	video (44)
	audio (29)
	tty (5)
	kmem (15)
	disk (6)
	dip (30)
	shadow (42)
	nogroup (65534)
	utmp (43)
	systemd-timesync (102)
	mail (8)
	systemd-bus-proxy (105)
	systemd-network (103)
	staff (50)
	adm (4)
	ssh (114)
+ rm -rf squashfs-root
+ mount /var/lib/snapd/snaps/core_2092.snap /snap/core/2092
+ for p in '"$LIBEXECDIR/snapd/snap-exec"' '"$LIBEXECDIR/snapd/snap-confine"' '"$LIBEXECDIR/snapd/snap-discard-ns"' '"$LIBEXECDIR/snapd/snapd"'
++ basename /usr/lib/snapd/snap-exec
+ check_file /usr/lib/snapd/snap-exec /snap/core/2092/usr/lib/snapd/snap-exec
+ cmp /usr/lib/snapd/snap-exec /snap/core/2092/usr/lib/snapd/snap-exec
+ for p in '"$LIBEXECDIR/snapd/snap-exec"' '"$LIBEXECDIR/snapd/snap-confine"' '"$LIBEXECDIR/snapd/snap-discard-ns"' '"$LIBEXECDIR/snapd/snapd"'
++ basename /usr/lib/snapd/snap-confine
+ check_file /usr/lib/snapd/snap-confine /snap/core/2092/usr/lib/snapd/snap-confine
+ cmp /usr/lib/snapd/snap-confine /snap/core/2092/usr/lib/snapd/snap-confine
+ for p in '"$LIBEXECDIR/snapd/snap-exec"' '"$LIBEXECDIR/snapd/snap-confine"' '"$LIBEXECDIR/snapd/snap-discard-ns"' '"$LIBEXECDIR/snapd/snapd"'
++ basename /usr/lib/snapd/snap-discard-ns
+ check_file /usr/lib/snapd/snap-discard-ns /snap/core/2092/usr/lib/snapd/snap-discard-ns
+ cmp /usr/lib/snapd/snap-discard-ns /snap/core/2092/usr/lib/snapd/snap-discard-ns
+ for p in '"$LIBEXECDIR/snapd/snap-exec"' '"$LIBEXECDIR/snapd/snap-confine"' '"$LIBEXECDIR/snapd/snap-discard-ns"' '"$LIBEXECDIR/snapd/snapd"'
++ basename /usr/lib/snapd/snapd
+ check_file /usr/lib/snapd/snapd /snap/core/2092/usr/lib/snapd/snapd
+ cmp /usr/lib/snapd/snapd /snap/core/2092/usr/lib/snapd/snapd
+ for p in /usr/bin/snapctl /usr/bin/snap
+ check_file /usr/bin/snapctl /snap/core/2092/usr/bin/snapctl
+ cmp /usr/bin/snapctl /snap/core/2092/usr/bin/snapctl
+ for p in /usr/bin/snapctl /usr/bin/snap
+ check_file /usr/bin/snap /snap/core/2092/usr/bin/snap
+ cmp /usr/bin/snap /snap/core/2092/usr/bin/snap
+ systemctl start snapd.service snapd.socket
+ '[' -e /snap/core/current/meta/hooks/configure ']'
++ date +%a --date=2days
+ snap set core refresh.schedule=Sun@12:00-14:00
error: cannot perform the following tasks:
- Run configure hook of "core" snap (run hook "configure": error: error running snapctl: invalid snap cookie requested, contexts: map[tYwD06r15HnYtsnK8cl76pYBshpVdLksMfLB1G3wQv1M:core], cookieId:)
-----
2017/06/02 14:39:20 Starting shell to debug...
Download as text