Ubuntu Pastebin

Paste from Chipaca at Tue, 29 Sep 2015 06:08:37 +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
john@fogey:~/canonical/snappy/src/launchpad.net/snappy$ GOPATH=~/canonical/snappy go run ./_integration-tests/main.go --snappy-from-branch --filter failoverSuite.TestZeroSizeInitrd
Building snappy CLI...
go build -o _integration-tests/bin/snappy ./cmd/snappy
Building snapd...
go build -o _integration-tests/bin/snapd ./cmd/snapd
Building tests...
go test -c ./_integration-tests/tests
Writing test config...
{_integration-tests/data/output/testconfig.json rolling edge   false false false}
Creating image...
sudo ubuntu-device-flash --verbose core rolling --output /tmp/snappy-test/image/snappy-rolling-edge-latest.img --channel edge --developer-mode
Determining oem configuration
Starting download of generic-amd64
41.70 KB / 41.70 KB  100.00 % 1.79 MB/s 
Done
Starting download of icon for package
38.97 KB / 38.97 KB  100.00 % 1.63 MB/s 
Done
Fetching information from server...
Downloading and setting up...
Download finished for /home/john/.cache/ubuntuimages/ubuntu-core/rolling/edge/generic_amd64/version-186.tar.xz
Download finished for /home/john/.cache/ubuntuimages/pool/ubuntu-066e4a7f45fb7cb5d597ac0ae505538f70050cd9183d6d789bf379070705854c.tar.xz
Searching for hardware.yaml in device part
Download finished for /home/john/.cache/ubuntuimages/pool/device-0fec4eb9b3b2d5b6e8058ce629e6b7dc309c7f5d8774ffb9058ccb3eac70a828.tar.xz
Partitioning...
Formatting...
Mounting...
Provisioning...
Installing generic-amd64
Starting download of generic-amd64
41.70 KB / 41.70 KB  100.00 % 1.42 MB/s 
Done
Starting download of icon for package
38.97 KB / 38.97 KB  100.00 % 1.63 MB/s 
Done
1Enabling developer mode...
no modprobe
Unmounting...
New image complete
Summary:
 Output: /tmp/snappy-test/image/snappy-rolling-edge-latest.img
 Architecture: amd64
 Channel: edge
 Version: 186
Calling adt-run...
adt-run -B --setup-commands touch /run/autopkgtest_no_reboot.stamp --override-control _integration-tests/data/output/control --built-tree /home/john/canonical/snappy/src/launchpad.net/snappy --output-dir /tmp/snappy-test/output --- ssh -s /usr/share/autopkgtest/ssh-setup/snappy -- -i /tmp/snappy-test/image/snappy-rolling-edge-latest.img
adt-run [01:36:06]: version @version@
adt-run [01:36:06]: host fogey; command line: /usr/bin/adt-run -B --setup-commands 'touch /run/autopkgtest_no_reboot.stamp' --override-control _integration-tests/data/output/control --built-tree /home/john/canonical/snappy/src/launchpad.net/snappy --output-dir /tmp/snappy-test/output --- ssh -s /usr/share/autopkgtest/ssh-setup/snappy -- -i /tmp/snappy-test/image/snappy-rolling-edge-latest.img
adt-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds...
adt-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds...
adt-run [01:36:35]: @@@@@@@@@@@@@@@@@@@@ test bed setup
adt-run [01:36:36]: testbed dpkg architecture: amd64
adt-run [01:36:36]: testbed running kernel: Linux 4.2.0-11-generic #13-Ubuntu SMP Mon Sep 21 21:33:10 UTC 2015
adt-run [01:36:36]: @@@@@@@@@@@@@@@@@@@@ built-tree /home/john/canonical/snappy/src/launchpad.net/snappy
adt-run [01:36:36]: testing package ubuntu-snappy version 1.6ubuntu1
adt-run [01:36:36]: test command1: preparing testbed
adt-run [01:36: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
ERROR: Could not parse click manifest. Skipping 'generic-amd64_snappy-config_1.4.json'
adt-run [01:36:43]: test command1: ./_integration-tests/reboot-wrapper integration.test -gocheck.f failoverSuite.TestZeroSizeInitrd
adt-run [01:36:43]: test command1: [-----------------------
START: <autogenerated>:14: failoverSuite.SetUpSuite
sudo systemctl stop snappy-autopilot.timer
sudo systemctl disable snappy-autopilot.timer
Removed symlink /etc/systemd/system/multi-user.target.wants/snappy-autopilot.timer.
PASS: <autogenerated>:14: failoverSuite.SetUpSuite	0.387s

START: /home/john/canonical/snappy/src/launchpad.net/snappy/_integration-tests/tests/failover_zero_size_file_test.go:172: failoverSuite.TestZeroSizeInitrd
START: <autogenerated>:15: failoverSuite.SetUpTest
****** Running failoverSuite.TestZeroSizeInitrd
snappy list
Name          Date       Version Developer 
ubuntu-core   2015-09-28 186     ubuntu    
generic-amd64 2015-09-29 1.4     canonical 
PASS: <autogenerated>:15: failoverSuite.SetUpTest	0.061s

snappy list
Name          Date       Version Developer 
ubuntu-core   2015-09-28 186     ubuntu    
generic-amd64 2015-09-29 1.4     canonical 
Preparing fake and calling update.
Faking an available update...
snappy list
Name          Date       Version Developer 
ubuntu-core   2015-09-28 186     ubuntu    
generic-amd64 2015-09-29 1.4     canonical 
sudo mount -o remount,rw /
cp /etc/system-image/channel.ini /tmp/adt-run.Q8cq1m/command1-artifacts/channel.ini
Switching the system image conf...
sudo sed -i s/build_number: .*/build_number: 185/ /etc/system-image/channel.ini
cat /etc/system-image/channel.ini
[service]
base: system-image.ubuntu.com
http_port: 80
https_port: 443
channel: ubuntu-core/rolling/edge
device: generic_amd64
build_number: 185
version_detail: ubuntu=20150928,raw-device=20150928,version=186
sudo mount -o remount,ro /
sudo snappy update
Name        Date       Version Developer 
ubuntu-core 2015-09-28 186     ubuntu!   
Reboot to use the new ubuntu-core.
sudo mv /boot/grub/b/initrd.img /boot/grub/b/snappy-selftest-initrd.img
sudo touch /boot/grub/b/initrd.img
sudo chmod 755 /boot/grub/b/initrd.img
Preparing reboot with mark failoverSuite.TestZeroSizeInitrd
START: <autogenerated>:16: failoverSuite.TearDownTest
PASS: <autogenerated>:16: failoverSuite.TearDownTest	0.000s

PASS: /home/john/canonical/snappy/src/launchpad.net/snappy/_integration-tests/tests/failover_zero_size_file_test.go:172: failoverSuite.TestZeroSizeInitrd	24.959s

OK: 1 passed
PASS
Rebooting...
bash: line 1:  1404 Killed                  bash -ec './_integration-tests/reboot-wrapper integration.test -gocheck.f failoverSuite.TestZeroSizeInitrd' 2> >(tee -a /tmp/adt-run.Q8cq1m/command1-stderr >&2) > >(tee -a /tmp/adt-run.Q8cq1m/command1-stdout)
adt-run [01:37:09]: test process requested reboot with marker failoverSuite.TestZeroSizeInitrd
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...
START: <autogenerated>:14: failoverSuite.SetUpSuite
sudo systemctl stop snappy-autopilot.timer
sudo systemctl disable snappy-autopilot.timer
PASS: <autogenerated>:14: failoverSuite.SetUpSuite	0.422s

START: /home/john/canonical/snappy/src/launchpad.net/snappy/_integration-tests/tests/failover_zero_size_file_test.go:172: failoverSuite.TestZeroSizeInitrd
START: <autogenerated>:15: failoverSuite.SetUpTest
****** Resuming failoverSuite.TestZeroSizeInitrd after reboot
PASS: <autogenerated>:15: failoverSuite.SetUpTest	0.000s

snappy list
Name          Date       Version Developer 
ubuntu-core   2015-09-29 185     ubuntu    
generic-amd64 2015-09-29 1.4     canonical 
/home/john/canonical/snappy/src/launchpad.net/snappy/_integration-tests/tests/failover_zero_size_file_test.go:180:
    ...open /home/john/canonical/snappy/src/launchpad.net/snappy/_integration-tests/tests/failover_zero_size_file_test.go: no such file or directory
/home/john/canonical/snappy/src/launchpad.net/snappy/_integration-tests/tests/failover_zero_size_file_test.go:134:
    ...open /home/john/canonical/snappy/src/launchpad.net/snappy/_integration-tests/tests/failover_zero_size_file_test.go: no such file or directory
... obtained int = 0
... expected int = 1
... 0 files matching /boot/grub/a/snappy-selftest-initrd*, 1 expected

START: <autogenerated>:16: failoverSuite.TearDownTest
sudo mount -o remount,rw /
Restoring /etc/system-image/channel.ini...
sudo mv /tmp/adt-run.Q8cq1m/command1-artifacts/channel.ini /etc/system-image/channel.ini
sudo mount -o remount,ro /
PASS: <autogenerated>:16: failoverSuite.TearDownTest	0.161s

FAIL: /home/john/canonical/snappy/src/launchpad.net/snappy/_integration-tests/tests/failover_zero_size_file_test.go:172: failoverSuite.TestZeroSizeInitrd

OOPS: 0 passed, 1 FAILED
--- FAIL: Test (0.72s)
FAIL
adt-run [01:37:51]: test command1: -----------------------]
adt-run [01:37:52]: test command1:  - - - - - - - - - - results - - - - - - - - - -
command1             FAIL non-zero exit status 1
adt-run [01:37:52]: Restoring click package AppArmor rules
ERROR: Could not parse click manifest. Skipping 'generic-amd64_snappy-config_1.4.json'
adt-run [01:37:52]: @@@@@@@@@@@@@@@@@@@@ summary
command1             FAIL non-zero exit status 1
qemu: terminating on signal 15 from pid 10294
Exit request sent.
2015/09/29 01:37:53 Error while running [adt-run -B --setup-commands touch /run/autopkgtest_no_reboot.stamp --override-control _integration-tests/data/output/control --built-tree /home/john/canonical/snappy/src/launchpad.net/snappy --output-dir /tmp/snappy-test/output --- ssh -s /usr/share/autopkgtest/ssh-setup/snappy -- -i /tmp/snappy-test/image/snappy-rolling-edge-latest.img]: exit status 4
panic: Error while running [adt-run -B --setup-commands touch /run/autopkgtest_no_reboot.stamp --override-control _integration-tests/data/output/control --built-tree /home/john/canonical/snappy/src/launchpad.net/snappy --output-dir /tmp/snappy-test/output --- ssh -s /usr/share/autopkgtest/ssh-setup/snappy -- -i /tmp/snappy-test/image/snappy-rolling-edge-latest.img]: exit status 4


goroutine 1 [running]:
log.Panicf(0x635a20, 0x1b, 0xc8200cba80, 0x2, 0x2)
	/usr/lib/go/src/log/log.go:327 +0xd8
launchpad.net/snappy/_integration-tests/testutils.ExecCommand(0xc8200ac500, 0x11, 0x14, 0x0, 0x0)
	/home/john/canonical/snappy/src/launchpad.net/snappy/_integration-tests/testutils/testutils.go:58 +0x3ca
launchpad.net/snappy/_integration-tests/testutils/autopkgtest.(*Autopkgtest).adtRun(0xc820073500, 0xc82006e2a0, 0x6e, 0x0, 0x0)
	/home/john/canonical/snappy/src/launchpad.net/snappy/_integration-tests/testutils/autopkgtest/autopkgtest.go:89 +0x4a3
launchpad.net/snappy/_integration-tests/testutils/autopkgtest.(*Autopkgtest).AdtRunLocal(0xc820073500, 0xc820073600, 0x35, 0x0, 0x0)
	/home/john/canonical/snappy/src/launchpad.net/snappy/_integration-tests/testutils/autopkgtest/autopkgtest.go:65 +0x63
main.main()
	/home/john/canonical/snappy/src/launchpad.net/snappy/_integration-tests/main.go:99 +0x97b
exit status 2
Download as text