# Pastebin rH0vRoXl START: /tmp/snappy-tests-job/6894/src/launchpad.net/snappy/_integration-tests/tests/update_test.go:38: updateSuite.TestUpdateToSameReleaseAndChannel START: /tmp/snappy-tests-job/6894/src/launchpad.net/snappy/_integration-tests/tests/apt_test.go:1: updateSuite.SetUpTest ****** Running updateSuite.TestUpdateToSameReleaseAndChannel snappy list Name Date Version Developer ubuntu-core 2015-08-13 133 ubuntu beagleblack 2015-08-11 1.11 canonical PASS: /tmp/snappy-tests-job/6894/src/launchpad.net/snappy/_integration-tests/tests/apt_test.go:1: updateSuite.SetUpTest 0.454s Preparing fake and calling update. Faking an available update... snappy list Name Date Version Developer ubuntu-core 2015-08-13 133 ubuntu beagleblack 2015-08-11 1.11 canonical sudo mount -o remount,rw / cp /etc/system-image/channel.ini /tmp/adt-run.0Gbgfx/command1-artifacts/channel.ini Switching the system image conf... sudo sed -i s/build_number: .*/build_number: 132/ /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/15.04/edge device: generic_armhf build_number: 132 version_detail: ubuntu=20150730,raw-device=20150730,version=133 sudo mount -o remount,rw /writable/cache/system cp /writable/cache/system/etc/system-image/channel.ini /tmp/adt-run.0Gbgfx/command1-artifacts/channel.ini.other Switching the system image conf... sudo sed -i s/build_number: .*/build_number: 132/ /writable/cache/system/etc/system-image/channel.ini cat /writable/cache/system/etc/system-image/channel.ini [service] base: system-image.ubuntu.com http_port: 80 https_port: 443 channel: ubuntu-core/15.04/edge device: generic_armhf build_number: 132 version_detail: ubuntu=20150730,raw-device=20150730,version=133 sudo mount -o remount,ro /writable/cache/system sudo mount -o remount,ro / sudo snappy update Installing ubuntu-core (133) Name Date Version Developer ubuntu-core 2015-07-30 133 ubuntu! Reboot to use the new ubuntu-core. Preparing reboot with mark updateSuite.TestUpdateToSameReleaseAndChannel START: /tmp/snappy-tests-job/6894/src/launchpad.net/snappy/_integration-tests/tests/apt_test.go:1: updateSuite.TearDownTest PASS: /tmp/snappy-tests-job/6894/src/launchpad.net/snappy/_integration-tests/tests/apt_test.go:1: updateSuite.TearDownTest 0.001s PASS: /tmp/snappy-tests-job/6894/src/launchpad.net/snappy/_integration-tests/tests/update_test.go:38: updateSuite.TestUpdateToSameReleaseAndChannel 672.893s START: /tmp/snappy-tests-job/6894/src/launchpad.net/snappy/_integration-tests/tests/apt_test.go:1: writablePathsSuite.SetUpSuite sudo systemctl stop snappy-autopilot.timer sudo systemctl disable snappy-autopilot.timer PASS: /tmp/snappy-tests-job/6894/src/launchpad.net/snappy/_integration-tests/tests/apt_test.go:1: writablePathsSuite.SetUpSuite 1.187s START: /tmp/snappy-tests-job/6894/src/launchpad.net/snappy/_integration-tests/tests/writablePaths_test.go:71: writablePathsSuite.TestWritablePathsAreWritable START: /tmp/snappy-tests-job/6894/src/launchpad.net/snappy/_integration-tests/tests/apt_test.go:1: writablePathsSuite.SetUpTest SKIP: /tmp/snappy-tests-job/6894/src/launchpad.net/snappy/_integration-tests/tests/apt_test.go:1: writablePathsSuite.SetUpTest (****** Skipped writablePathsSuite.TestWritablePathsAreWritable during reboot caused by updateSuite.TestUpdateToSameReleaseAndChannel) SKIP: /tmp/snappy-tests-job/6894/src/launchpad.net/snappy/_integration-tests/tests/writablePaths_test.go:71: writablePathsSuite.TestWritablePathsAreWritable OOPS: 2 passed, 22 skipped, 1 FAILED, 1 MISSED --- FAIL: Test (701.69 seconds) FAIL adt-run [17:37:08]: test command1: -----------------------] adt-run [17:37:09]: test command1: - - - - - - - - - - results - - - - - - - - - - command1 FAIL non-zero exit status 1 adt-run [17:37:09]: Restoring click package AppArmor rules Exit request sent. 2015/08/13 17:37:11 Error while running [adt-run -B --setup-commands touch /run/autopkgtest_no_reboot.stamp --override-control _integration-tests/data/output/control --built-tree /tmp/snappy-tests-job/6894/src/launchpad.net/snappy --output-dir /tmp/snappy-test/output --- ssh -H 192.168.1.148 -p 22 -l ubuntu -i /home/ubuntu/.ssh/id_rsa --reboot]: 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 /tmp/snappy-tests-job/6894/src/launchpad.net/snappy --output-dir /tmp/snappy-test/output --- ssh -H 192.168.1.148 -p 22 -l ubuntu -i /home/ubuntu/.ssh/id_rsa --reboot]: exit status 4 goroutine 1 [running]: runtime.panic(0x4e7a60, 0xc210043a40) /usr/lib/go/src/pkg/runtime/panic.c:266 +0xb6 log.Panicf(0x55e1d0, 0x1b, 0x7fdfac6e8ac0, 0x2, 0x2) /usr/lib/go/src/pkg/log/log.go:314 +0xc0 launchpad.net/snappy/_integration-tests/testutils.ExecCommand(0xc2100496e0, 0x15, 0x15, 0xa, 0xb) /tmp/snappy-tests-job/6894/src/launchpad.net/snappy/_integration-tests/testutils/testutils.go:58 +0x300 launchpad.net/snappy/_integration-tests/testutils/autopkgtest.(*Autopkgtest).adtRun(0xc21004f480, 0xc21000a460, 0x4d, 0x0, 0x0) /tmp/snappy-tests-job/6894/src/launchpad.net/snappy/_integration-tests/testutils/autopkgtest/autopkgtest.go:92 +0x419 launchpad.net/snappy/_integration-tests/testutils/autopkgtest.(*Autopkgtest).AdtRunRemote(0xc21004f480, 0x7ffd4b9dd8b0, 0xd, 0x16, 0x545440, ...) /tmp/snappy-tests-job/6894/src/launchpad.net/snappy/_integration-tests/testutils/autopkgtest/autopkgtest.go:73 +0x17e main.main() /tmp/snappy-tests-job/6894/src/launchpad.net/snappy/_integration-tests/main.go:105 +0x94e goroutine 5 [finalizer wait]: runtime.park(0x409f30, 0x6ba5a8, 0x6b8c48) /usr/lib/go/src/pkg/runtime/proc.c:1342 +0x66 runfinq() /usr/lib/go/src/pkg/runtime/mgc0.c:2279 +0x84 runtime.goexit() /usr/lib/go/src/pkg/runtime/proc.c:1394 exit status 2 2015/08/13 17:37:11 Error while running [go run ./_integration-tests/main.go -ip 192.168.1.148 -arch arm]: exit status 1 2015/08/13 17:37:11 Error from test runner panic: Error from test runner goroutine 1 [running]: log.Panic(0xc20802bf08, 0x1, 0x1) /usr/lib/go/src/log/log.go:307 +0xb9 main.main() /build/snappy-tests-job-qtrlLL/snappy-tests-job-1.0.0ubuntu1/obj-x86_64-linux-gnu/src/launchpad.net/snappy-tests-job/snappy-tests-job/main.go:95 +0xbcc ubuntu@juju-machine-9-lxc-0:/tmp/foo$ ~ -bash: /home/ubuntu: Is a directory ubuntu@juju-machine-9-lxc-0:/tmp/foo$ ubuntu@juju-machine-9-lxc-0:/tmp/foo$ ubuntu@juju-machine-9-lxc-0:/tmp/foo$ echo $? 126