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 | 2017/07/18 10:16:44 Error executing linode:debian-unstable-64:tests/upgrade/basic :
-----
+ '[' production = staging ']'
+ . /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)
+ echo Install previous version...
Install previous version...
+ dpkg -l snapd snap-confine
dpkg-query: no packages found matching snapd
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-=======================================================
rc snap-confine 2.21-2+b1 amd64 Support executable to apply confinement for snappy apps
+ true
+ apt-get install -y snapd
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
snap-confine ubuntu-core-launcher
The following NEW packages will be installed:
snap-confine snapd ubuntu-core-launcher
0 upgraded, 3 newly installed, 0 to remove and 205 not upgraded.
Need to get 0 B/5,481 kB of archives.
After this operation, 30.3 MB of additional disk space will be used.
Selecting previously unselected package snap-confine.
(Reading database ... 55065 files and directories currently installed.)
Preparing to unpack .../snap-confine_2.21-2+b1_amd64.deb ...
Unpacking snap-confine (2.21-2+b1) ...
Selecting previously unselected package ubuntu-core-launcher.
Preparing to unpack .../ubuntu-core-launcher_2.21-2+b1_amd64.deb ...
Unpacking ubuntu-core-launcher (2.21-2+b1) ...
Selecting previously unselected package snapd.
Preparing to unpack .../snapd_2.21-2+b1_amd64.deb ...
Unpacking snapd (2.21-2+b1) ...
Processing triggers for man-db (2.7.6.1-2) ...
Setting up snap-confine (2.21-2+b1) ...
Setting up ubuntu-core-launcher (2.21-2+b1) ...
Setting up snapd (2.21-2+b1) ...
Created symlink /etc/systemd/system/multi-user.target.wants/snapd.autoimport.service → /lib/systemd/system/snapd.autoimport.service.
Created symlink /etc/systemd/system/timers.target.wants/snapd.refresh.timer → /lib/systemd/system/snapd.refresh.timer.
Created symlink /etc/systemd/system/sockets.target.wants/snapd.socket → /lib/systemd/system/snapd.socket.
Created symlink /etc/systemd/system/multi-user.target.wants/snapd.service → /lib/systemd/system/snapd.service.
++ grep 'snapd '
++ snap --version
+ prevsnapdver='snapd 2.21-2+b1'
+ [[ debian-unstable-64 = debian-* ]]
+ snap install --beta core
2017-07-18T08:16:38Z INFO snap "core" has bad plugs or slots: core-support-plug (unknown interface)
core (beta) 16-2.27 from 'canonical' installed
+ echo Install sanity check snaps with it
Install sanity check snaps with it
+ snap install test-snapd-tools
error: cannot perform the following tasks:
- Setup snap "test-snapd-tools" (6) security profiles (cannot setup mount for snap "test-snapd-tools": cannot update mount namespace of snap "test-snapd-tools": cannot update preserved namespace of snap "test-snapd-tools": fork/exec /usr/lib/snapd/snap-update-ns: no such file or directory)
- Setup snap "test-snapd-tools" (6) security profiles (cannot update mount namespace of snap "test-snapd-tools": cannot update preserved namespace of snap "test-snapd-tools": fork/exec /usr/lib/snapd/snap-update-ns: no such file or directory)
-----
2017/07/18 10:16:45 Debug output for linode:debian-unstable-64:tests/upgrade/basic :
-----
+ echo '# journal messages for snapd'
# journal messages for snapd
+ journalctl -u snapd
-- Logs begin at Tue 2017-07-18 08:16:30 UTC, end at Tue 2017-07-18 08:16:44 UTC. --
Jul 18 08:16:34 debian systemd[1]: Started Snappy daemon.
Jul 18 08:16:34 debian /usr/lib/snapd/snapd[5120]: daemon.go:250: DEBUG: init done in 1.019316ms
Jul 18 08:16:34 debian /usr/lib/snapd/snapd[5120]: daemon.go:251: started snapd/2.21-2+b1 (series 16; classic; devmode) debian/9 (amd64).
Jul 18 08:16:34 debian snapd[5120]: 2017/07/18 08:16:34.531504 daemon.go:251: started snapd/2.21-2+b1 (series 16; classic; devmode) debian/9 (amd64).
Jul 18 08:16:34 debian /usr/lib/snapd/snapd[5120]: daemon.go:176: DEBUG: uid=0;@ GET /v2/system-info 225.211µs 200
Jul 18 08:16:34 debian /usr/lib/snapd/snapd[5120]: api.go:879: Installing snap "core" revision unset
Jul 18 08:16:34 debian snapd[5120]: 2017/07/18 08:16:34.819209 api.go:879: Installing snap "core" revision unset
Jul 18 08:16:35 debian /usr/lib/snapd/snapd[5120]: daemon.go:176: DEBUG: uid=0;@ POST /v2/snaps/core 665.458602ms 202
Jul 18 08:16:35 debian /usr/lib/snapd/snapd[5120]: taskrunner.go:353: DEBUG: Running task 1 on Do: Download snap "core" (2398) from channel "beta"
Jul 18 08:16:36 debian /usr/lib/snapd/snapd[5120]: taskrunner.go:353: DEBUG: Running task 2 on Do: Fetch and check assertions for snap "core" (2398)
Jul 18 08:16:38 debian /usr/lib/snapd/snapd[5120]: taskrunner.go:353: DEBUG: Running task 3 on Do: Mount snap "core" (2398)
Jul 18 08:16:38 debian /usr/lib/snapd/snapd[5120]: taskrunner.go:353: DEBUG: Running task 4 on Do: Copy snap "core" data
Jul 18 08:16:38 debian /usr/lib/snapd/snapd[5120]: taskrunner.go:353: DEBUG: Running task 5 on Do: Setup snap "core" (2398) security profiles
Jul 18 08:16:38 debian /usr/lib/snapd/snapd[5120]: task.go:303: DEBUG: 2017-07-18T08:16:38Z INFO snap "core" has bad plugs or slots: core-support-plug (unknown interface)
Jul 18 08:16:38 debian /usr/lib/snapd/snapd[5120]: taskrunner.go:353: DEBUG: Running task 6 on Do: Make snap "core" (2398) available to the system
Jul 18 08:16:38 debian /usr/lib/snapd/snapd[5120]: task.go:303: DEBUG: 2017-07-18T08:16:38Z INFO Requested daemon restart.
Jul 18 08:16:38 debian systemd[1]: snapd.service: Service hold-off time over, scheduling restart.
Jul 18 08:16:38 debian systemd[1]: Stopped Snappy daemon.
Jul 18 08:16:38 debian systemd[1]: Started Snappy daemon.
Jul 18 08:16:38 debian /usr/lib/snapd/snapd[5237]: cmd.go:105: DEBUG: restarting into "/snap/core/current/usr/lib/snapd/snapd"
Jul 18 08:16:39 debian snapd[5237]: 2017/07/18 08:16:39.516615 daemon.go:252: started snapd/2.27~rc3 (series 16; classic; devmode) debian/9 (amd64) linux/4.9.0-2-amd64.
Jul 18 08:16:40 debian snapd[5237]: 2017/07/18 08:16:40.627440 snapmgr.go:429: No snaps to auto-refresh found
Jul 18 08:16:41 debian snapd[5237]: 2017/07/18 08:16:41.746579 api.go:968: Installing snap "test-snapd-tools" revision unset
Jul 18 08:16:44 debian snapd[5237]: 2017/07/18 08:16:44.382408 handlers.go:208: Reported install problem for "test-snapd-tools" as 6f914858-6b91-11e7-8f09-fa163e54c21f OOPSID
+ echo '# apparmor denials '
# apparmor denials
+ grep DENIED
+ dmesg --ctime
+ true
+ echo '# seccomp denials (kills) '
# seccomp denials (kills)
+ grep type=1326
+ dmesg --ctime
+ true
+ echo '# snap interfaces'
# snap interfaces
+ snap interfaces
Slot Plug
:account-control -
:alsa -
:autopilot-introspection -
:avahi-observe -
:bluetooth-control -
:browser-support -
:camera -
:classic-support -
:core-support -
:cups-control -
:dcdbas-control -
:docker-support -
:firewall-control -
:framebuffer -
:fuse-support -
:greengrass-support -
:gsettings -
:hardware-observe -
:hardware-random-control -
:hardware-random-observe -
:home -
:io-ports-control -
:joystick -
:kernel-module-control -
:kubernetes-support -
:libvirt -
:locale-control -
:log-observe -
:lxd-support -
:modem-manager -
:mount-observe -
:netlink-audit -
:netlink-connector -
:network -
:network-bind -
:network-control -
:network-manager -
:network-observe -
:network-setup-control -
:network-setup-observe -
:ofono -
:opengl -
:openvswitch -
:openvswitch-support -
:optical-drive -
:physical-memory-control -
:physical-memory-observe -
:ppp -
:process-control -
:pulseaudio -
:raw-usb -
:removable-media -
:screen-inhibit-control -
:shutdown -
:snapd-control -
:system-observe -
:system-trace -
:time-control -
:timeserver-control -
:timezone-control -
:tpm -
:uhid -
:unity7 -
:upower-observe -
:x11 -
- core:core-support-plug
-----
|