Code review comment for lp:~canonical-platform-qa/qa-jenkins-jobs/snappy-integration-tests-experimental

Revision history for this message
Max Brustkern (nuclearbob) wrote :

When I try to run it locally (without the proxy line [aside: at some point, maybe we should have a way of declaring that automatically across all jobs in the lab that doesn't interfere with running jobs at home?]) I get this:
+ go run integration-tests/main.go
Building snapbuild...
Building tests...
Creating image...
Determining gadget configuration
40.00 KB / 40.00 KB [====================================] 100.00 % 56.49 MB/s 0
Parallel unsquashfs: Using 8 processors
3 inodes (3 blocks) to write

/tmp/gadget992689236/gadget/fake-gadget/1.0-fake
/tmp/gadget992689236/gadget/fake-gadget/1.0-fake/grub.cfg
/tmp/gadget992689236/gadget/fake-gadget/1.0-fake/meta
/tmp/gadget992689236/gadget/fake-gadget/1.0-fake/meta/icon.png
/tmp/gadget992689236/gadget/fake-gadget/1.0-fake/meta/snap.yaml

created 3 files
created 2 directories
created 0 symlinks
created 0 devices
created 0 fifos

no hardware description in Gadget snap
2016/08/15 13:52:34 Error while running [sudo /home/max/workspace.d//bin/ubuntu-device-flash --verbose core 16 --output /tmp/snappy-test/image/snappy-16-edge-latest.img --channel edge --gadget canonical-pc --os ubuntu-core --kernel canonical-pc-linux --developer-mode]: exit status 1
panic: Error while running [sudo /home/max/workspace.d//bin/ubuntu-device-flash --verbose core 16 --output /tmp/snappy-test/image/snappy-16-edge-latest.img --channel edge --gadget canonical-pc --os ubuntu-core --kernel canonical-pc-linux --developer-mode]: exit status 1

goroutine 1 [running]:
panic(0x594a00, 0xc8200ea1e0)
 /usr/lib/go-1.6/src/runtime/panic.go:481 +0x3e6
log.Panicf(0x65fd60, 0x1b, 0xc8200f3908, 0x2, 0x2)
 /usr/lib/go-1.6/src/log/log.go:327 +0xd8
github.com/snapcore/snapd/integration-tests/testutils/testutils.ExecCommand(0xc8200bab00, 0x10, 0x10, 0x0, 0x0)
 /home/max/workspace.d/workspace.d/src/github.com/snapcore/snapd/integration-tests/testutils/testutils/testutils.go:66 +0x42f
github.com/snapcore/snapd/integration-tests/testutils/image.Image.UdfCreate(0x62f130, 0x2, 0x630d90, 0x4, 0x0, 0x0, 0x656040, 0x10, 0x658fe0, 0x12, ...)
 /home/max/workspace.d/workspace.d/src/github.com/snapcore/snapd/integration-tests/testutils/image/image.go:74 +0x66e
main.main()
 /home/max/workspace.d/workspace.d/src/github.com/snapcore/snapd/integration-tests/main.go:143 +0xdba
exit status 2

One diff question also.

« Back to merge proposal