Ubuntu Pastebin

Paste from fgimenez at Tue, 30 Jun 2015 15:25:26 +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
fgimenez@arkham:~/workspace/snappy/upgrade-test$ go run _integration-tests/main.go 
Building tests
go test -c ./_integration-tests/tests/latest
go test -c ./_integration-tests/tests/failover
go test -c ./_integration-tests/tests/update
Creating image...
sudo ubuntu-device-flash --verbose core rolling --output /tmp/snappy-test/image/snappy.img --channel edge --developer-mode
[sudo] password for fgimenez: 
Determining oem configuration
Starting download of generic-amd64
40.93 KB / 40.93 KB  100.00 % 237.14 KB/s 
Done
Fetching information from server...
Downloading and setting up...
Download finished for /home/fgimenez/.cache/ubuntuimages/ubuntu-core/rolling/edge/generic_amd64/version-92.tar.xz
Download finished for /home/fgimenez/.cache/ubuntuimages/pool/ubuntu-20b53d99e61c63255672f20d7021af2fda9e119a40425e003b36c8cdb42fb032.tar.xz
Searching for hardware.yaml in device part
Download finished for /home/fgimenez/.cache/ubuntuimages/pool/device-211cd26248af633379391d04e943f8f630b18039250afbe10768da2834a6e12b.tar.xz
Partitioning...
Mapping...
Formatting...
Mounting...
Provisioning...
Installing generic-amd64
Starting download of generic-amd64
40.93 KB / 40.93 KB  100.00 % 292.28 KB/s 
Done
Enabling developer mode...
Unmounting...
New image complete
Summary:
 Output: /tmp/snappy-test/image/snappy.img
 Architecture: amd64
 Channel: edge
 Version: 92
Calling adt-run...
adt-run -B --override-control debian/integration-tests/control --testname command1 --setup-commands touch /run/autopkgtest_no_reboot.stamp --override-control debian/integration-tests/control --built-tree /home/fgimenez/workspace/snappy/upgrade-test --output-dir /tmp/snappy-test/output --- ssh -s /usr/share/autopkgtest/ssh-setup/snappy -- -i /tmp/snappy-test/image/snappy.img
adt-run [17:24:12]: version 3.15.1
adt-run [17:24:12]: command line: /usr/bin/adt-run -B --override-control debian/integration-tests/control --testname command1 --setup-commands 'touch /run/autopkgtest_no_reboot.stamp' --override-control debian/integration-tests/control --built-tree /home/fgimenez/workspace/snappy/upgrade-test --output-dir /tmp/snappy-test/output --- ssh -s /usr/share/autopkgtest/ssh-setup/snappy -- -i /tmp/snappy-test/image/snappy.img
adt-run [17:24:23]: @@@@@@@@@@@@@@@@@@@@ test bed setup
adt-run [17:24:23]: testbed dpkg architecture: amd64
adt-run [17:24:23]: @@@@@@@@@@@@@@@@@@@@ built-tree /home/fgimenez/workspace/snappy/upgrade-test
adt-run [17:24:23]: testing package ubuntu-snappy version 1.2-0ubuntu1
adt-run [17:24:23]: test command1: preparing
adt-run [17:24:23]: 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:24:24]: test command1: debian/integration-tests/snappy-test update.test
adt-run [17:24:24]: test command1: [-----------------------
START: <autogenerated>:1: updateSuite.SetUpSuite
sudo systemctl stop snappy-autopilot.timer
sudo systemctl disable snappy-autopilot.timer
PASS: <autogenerated>:1: updateSuite.SetUpSuite	0.067s

START: /home/fgimenez/workspace/snappy/upgrade-test/_integration-tests/tests/update/update_test.go:48: updateSuite.TestUpdateMustInstallNewerVersion
START: <autogenerated>:2: updateSuite.SetUpTest
****** Running updateSuite.TestUpdateMustInstallNewerVersion
snappy list
PASS: <autogenerated>:2: updateSuite.SetUpTest	0.010s

Calling snappy update...
sudo snappy update
Preparing reboot with mark updateSuite.TestUpdateMustInstallNewerVersion
PASS: /home/fgimenez/workspace/snappy/upgrade-test/_integration-tests/tests/update/update_test.go:48: updateSuite.TestUpdateMustInstallNewerVersion	1.331s

PASS
OK: 1 passed
Rebooting...
bash: line 1:  1177 Killed                  bash -ec 'debian/integration-tests/snappy-test update.test' 2> >(tee -a /tmp/adt-run.cvRn9g/command1-stderr >&2) > >(tee -a /tmp/adt-run.cvRn9g/command1-stdout)
adt-run [17:24:25]: test process requested reboot with marker updateSuite.TestUpdateMustInstallNewerVersion
invalid command wait-reboot
Exit request sent.
adt-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds...
START: <autogenerated>:1: updateSuite.SetUpSuite
sudo systemctl stop snappy-autopilot.timer
sudo systemctl disable snappy-autopilot.timer
PASS: <autogenerated>:1: updateSuite.SetUpSuite	0.070s

START: /home/fgimenez/workspace/snappy/upgrade-test/_integration-tests/tests/update/update_test.go:48: updateSuite.TestUpdateMustInstallNewerVersion
START: <autogenerated>:2: updateSuite.SetUpTest
****** Resuming updateSuite.TestUpdateMustInstallNewerVersion after reboot
PASS: <autogenerated>:2: updateSuite.SetUpTest	0.000s

snappy list
/home/fgimenez/workspace/snappy/upgrade-test/_integration-tests/tests/update/update_test.go:54:
    ...open /home/fgimenez/workspace/snappy/upgrade-test/_integration-tests/tests/update/update_test.go: no such file or directory
... obtained bool = false
... expected bool = true

snappy list
FAIL: /home/fgimenez/workspace/snappy/upgrade-test/_integration-tests/tests/update/update_test.go:48: updateSuite.TestUpdateMustInstallNewerVersion

--- FAIL: Test (0.09s)
FAIL
OOPS: 0 passed, 1 FAILED
adt-run [17:24:39]: test command1: -----------------------]
adt-run [17:24:39]: test command1:  - - - - - - - - - - results - - - - - - - - - -
command1             FAIL non-zero exit status 1
tar: ./version: time stamp 2015-06-30 19:24:24 is 7184.33635491 s in the future
tar: .: time stamp 2015-06-30 19:24:24 is 7184.336271489 s in the future
adt-run [17:24:39]: Restoring click package AppArmor rules
qemu: terminating on signal 15 from pid 7630
Exit request sent.
2015/06/30 17:24:40 Error while running [adt-run -B --override-control debian/integration-tests/control --testname command1 --setup-commands touch /run/autopkgtest_no_reboot.stamp --override-control debian/integration-tests/control --built-tree /home/fgimenez/workspace/snappy/upgrade-test --output-dir /tmp/snappy-test/output --- ssh -s /usr/share/autopkgtest/ssh-setup/snappy -- -i /tmp/snappy-test/image/snappy.img]: exit status 4
exit status 1
Download as text