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 | adt-run [17:51:24]: version 3.14.3
adt-run [17:51:24]: command line: /usr/bin/adt-run -B --setup-commands 'touch /run/autopkgtest_no_reboot.stamp' --setup-commands 'mount -o remount,rw /' --setup-commands 'dpkg -i /tmp/snappy-debs/*deb' --setup-commands 'sync; sleep 2; mount -o remount,ro /' --override-control debian/integration-tests/control --built-tree /home/fgimenez/workspace/snappy/go-functional-tests --output-dir /tmp/snappy-test/output --copy=/tmp/snappy-test/debs:/tmp/snappy-debs --- ssh -s /usr/share/autopkgtest/ssh-setup/snappy -- -i /tmp/snappy-test/image/snappy.img
adt-run [17:51:33]: @@@@@@@@@@@@@@@@@@@@ test bed setup
Selecting previously unselected package golang-snappy-dev.
(Reading database ... 19141 files and directories currently installed.)
Preparing to unpack .../golang-snappy-dev_1.1.2-0ubuntu1_all.deb ...
Unpacking golang-snappy-dev (1.1.2-0ubuntu1) ...
Preparing to unpack .../ubuntu-snappy-cli_1.1.2-0ubuntu1_amd64.deb ...
Unpacking ubuntu-snappy-cli (1.1.2-0ubuntu1) over (1.0.1-1+452~ubuntu15.04.1) ...
Selecting previously unselected package ubuntu-snappy-tests.
Preparing to unpack .../ubuntu-snappy-tests_1.1.2-0ubuntu1_amd64.deb ...
Unpacking ubuntu-snappy-tests (1.1.2-0ubuntu1) ...
Preparing to unpack .../ubuntu-snappy_1.1.2-0ubuntu1_all.deb ...
Unpacking ubuntu-snappy (1.1.2-0ubuntu1) over (1.0.1-1+452~ubuntu15.04.1) ...
Setting up golang-snappy-dev (1.1.2-0ubuntu1) ...
Setting up ubuntu-snappy-cli (1.1.2-0ubuntu1) ...
Warning: The home dir /nonexistent you specified can't be accessed: No such file or directory
The system user `clickpkg' already exists. Exiting.
Setting up ubuntu-snappy-tests (1.1.2-0ubuntu1) ...
Setting up ubuntu-snappy (1.1.2-0ubuntu1) ...
adt-run [17:51:37]: testbed dpkg architecture: amd64
adt-run [17:51:37]: @@@@@@@@@@@@@@@@@@@@ built-tree /home/fgimenez/workspace/snappy/go-functional-tests
adt-run [17:51:37]: testing package ubuntu-snappy version 1.1.2-0ubuntu1
adt-run [17:51:37]: test command1: preparing
adt-run [17:51:37]: Updating AppArmor rules to allow autopilot introspection for all clicks (will take a minute)...
WARN: --include specified, including '/var/cache/apparmor/click-ap.rules' in all profiles
adt-run [17:51:38]: test command1: snappy.test
adt-run [17:51:38]: test command1: [-----------------------
OK: 1 passed
PASS
adt-run [17:51:40]: test command1: -----------------------]
adt-run [17:51:40]: test command1: - - - - - - - - - - results - - - - - - - - - -
command1 PASS
tar: .: time stamp 2015-06-15 19:51:37 is 7196.245116326 s in the future
adt-run [17:51:40]: Restoring click package AppArmor rules
adt-run [17:51:40]: test command2: preparing
adt-run [17:51:40]: Updating AppArmor rules to allow autopilot introspection for all clicks (will take a minute)...
WARN: --include specified, including '/var/cache/apparmor/click-ap.rules' in all profiles
adt-run [17:51:41]: test command2: ./_integration-tests/snappy-selftest --yes-really
adt-run [17:51:41]: test command2: [-----------------------
Removing docker
snappy package not found
Removing hello-world
Removing xkcd-webserver
snappy package not found
****** Running ./_integration-tests/tests/01_test_info
****** Running ./_integration-tests/tests/02_test_versions
****** Running ./_integration-tests/tests/03_test_apt
****** Running ./_integration-tests/tests/04_test_install_hello
****** Running ./_integration-tests/tests/05_test_install_nonexistant
****** Running ./_integration-tests/tests/06_test_search_framework
****** Running ./_integration-tests/tests/07_test_install_framework
Rebooting testbed...
bash: line 1: 1605 Killed bash -ec './_integration-tests/snappy-selftest --yes-really' 2> >(tee -a /tmp/adt-run.ybyYxQ/command2-stderr >&2) > >(tee -a /tmp/adt-run.ybyYxQ/command2-stdout)
adt-run [17:52:09]: test process requested reboot with marker 07_test_install_framework
invalid command wait-reboot
Exit request sent.
adt-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds...
****** Resuming ./_integration-tests/tests/07_test_install_framework after reboot
Service docker ready
****** Running ./_integration-tests/tests/08_test_versions_has_framework
****** Running ./_integration-tests/tests/10_test_info_has_stuff
****** Running ./_integration-tests/tests/11_test_xkcd_listens
Installing xkcd-webserver.canonical
Name Date Version Developer
ubuntu-core 2015-06-15 86 ubuntu
docker 2015-06-15 1.6.1.002
hello-world 2015-06-15 1.0.17 canonical
xkcd-webserver 2015-06-15 0.5 canonical
generic-amd64 2015-06-15 1.1.1
****** Running ./_integration-tests/tests/80_test_failover
current version: 86
available version: 86
Boot order
linux /boot/vmlinuz-3.19.0-20-generic root=LABEL=system-a ro init=/lib/systemd/systemd console=tty1 console=ttyS0 panic=-1
snappy_mode=regular
snappy_ab=a
---
current version: 85
available version: 86
upgrading...
Name Date Version Developer
ubuntu-core 2015-06-15 86 ubuntu!
Reboot to use the new ubuntu-core.
#!/bin/sh
printf c > /proc/sysrq-triggerRebooting testbed...
bash: line 1: 889 Killed bash -ec './_integration-tests/snappy-selftest --yes-really' 2> >(tee -a /tmp/adt-run.ybyYxQ/command2-stderr >&2) > >(tee -a /tmp/adt-run.ybyYxQ/command2-stdout)
adt-run [17:53:15]: test process requested reboot with marker 80_test_failover
invalid command wait-reboot
Exit request sent.
adt-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds...
adt-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds...
****** Resuming ./_integration-tests/tests/80_test_failover after reboot
current version: 85
available version: 86
Boot order
linux /boot/vmlinuz-3.19.0-20-generic root=LABEL=system-b ro init=/lib/systemd/systemd console=tty1 console=ttyS0 panic=-1
snappy_mode=regular
snappy_ab=a
---
****** Running ./_integration-tests/tests/90_test_upgrade
current version: 85
available version: 86
Boot order
linux /boot/vmlinuz-3.19.0-20-generic root=LABEL=system-b ro init=/lib/systemd/systemd console=tty1 console=ttyS0 panic=-1
snappy_mode=regular
snappy_ab=a
---
current version: 84
available version: 86
upgrading...
Name Date Version Developer
ubuntu-core 2015-06-15 86 ubuntu!
Reboot to use the new ubuntu-core.
Rebooting testbed...
bash: line 1: 892 Killed bash -ec './_integration-tests/snappy-selftest --yes-really' 2> >(tee -a /tmp/adt-run.ybyYxQ/command2-stderr >&2) > >(tee -a /tmp/adt-run.ybyYxQ/command2-stdout)
adt-run [17:53:41]: test process requested reboot with marker 90_test_upgrade
invalid command wait-reboot
Exit request sent.
adt-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds...
****** Resuming ./_integration-tests/tests/90_test_upgrade after reboot
current version: 86
available version: 86
Boot order
linux /boot/vmlinuz-3.19.0-20-generic root=LABEL=system-b ro init=/lib/systemd/systemd console=tty1 console=ttyS0 panic=-1
snappy_mode=regular
snappy_ab=b
---
rolling back...
Setting ubuntu-core to version 84
Name Date Version Developer
ubuntu-core 2015-06-15 84 ubuntu!
Reboot to use the new ubuntu-core.
Rebooting testbed...
bash: line 1: 889 Killed bash -ec './_integration-tests/snappy-selftest --yes-really' 2> >(tee -a /tmp/adt-run.ybyYxQ/command2-stderr >&2) > >(tee -a /tmp/adt-run.ybyYxQ/command2-stdout)
adt-run [17:53:57]: test process requested reboot with marker 90_test_upgrade
invalid command wait-reboot
Exit request sent.
adt-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds...
****** Resuming ./_integration-tests/tests/90_test_upgrade after reboot
current version: 84
available version: 86
Boot order
linux /boot/vmlinuz-3.19.0-20-generic root=LABEL=system-a ro init=/lib/systemd/systemd console=tty1 console=ttyS0 panic=-1
snappy_mode=regular
snappy_ab=a
---
****** Running ./_integration-tests/tests/91_test_upgrade_from_stable_image
current version: 84
available version: 86
Boot order
linux /boot/vmlinuz-3.19.0-20-generic root=LABEL=system-a ro init=/lib/systemd/systemd console=tty1 console=ttyS0 panic=-1
snappy_mode=regular
snappy_ab=a
---
current version: 84
available version: 86
upgrading...
Name Date Version Developer
ubuntu-core 2015-06-15 86 ubuntu!
Reboot to use the new ubuntu-core.
Rebooting testbed...
bash: line 1: 892 Killed bash -ec './_integration-tests/snappy-selftest --yes-really' 2> >(tee -a /tmp/adt-run.ybyYxQ/command2-stderr >&2) > >(tee -a /tmp/adt-run.ybyYxQ/command2-stdout)
adt-run [17:54:19]: test process requested reboot with marker 91_test_upgrade_from_stable_image
invalid command wait-reboot
Exit request sent.
adt-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds...
****** Resuming ./_integration-tests/tests/91_test_upgrade_from_stable_image after reboot
current version: 86
available version: 86
Boot order
linux /boot/vmlinuz-3.19.0-20-generic root=LABEL=system-b ro init=/lib/systemd/systemd console=tty1 console=ttyS0 panic=-1
snappy_mode=regular
snappy_ab=b
---
rolling back...
Setting ubuntu-core to version 84
Name Date Version Developer
ubuntu-core 2015-06-15 84 ubuntu!
Reboot to use the new ubuntu-core.
Rebooting testbed...
bash: line 1: 889 Killed bash -ec './_integration-tests/snappy-selftest --yes-really' 2> >(tee -a /tmp/adt-run.ybyYxQ/command2-stderr >&2) > >(tee -a /tmp/adt-run.ybyYxQ/command2-stdout)
adt-run [17:54:35]: test process requested reboot with marker 91_test_upgrade_from_stable_image
invalid command wait-reboot
Exit request sent.
adt-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds...
****** Resuming ./_integration-tests/tests/91_test_upgrade_from_stable_image after reboot
current version: 84
available version: 86
Boot order
linux /boot/vmlinuz-3.19.0-20-generic root=LABEL=system-a ro init=/lib/systemd/systemd console=tty1 console=ttyS0 panic=-1
snappy_mode=regular
snappy_ab=a
---
adt-run [17:54:49]: test command2: -----------------------]
adt-run [17:54:50]: test command2: - - - - - - - - - - results - - - - - - - - - -
command2 PASS
tar: ./avail: time stamp 2015-06-15 19:54:14 is 7163.67707805 s in the future
tar: ./current: time stamp 2015-06-15 19:54:14 is 7163.676922321 s in the future
tar: ./rolled_back: time stamp 2015-06-15 19:53:56 is 7145.676889365 s in the future
tar: ./rolled_back-stable: time stamp 2015-06-15 19:54:34 is 7183.676853178 s in the future
tar: .: time stamp 2015-06-15 19:54:34 is 7183.676820623 s in the future
adt-run [17:54:50]: Restoring click package AppArmor rules
qemu: terminating on signal 15 from pid 1368
Exit request sent.
|