Merge lp://staging/~canonical-platform-qa/qa-jenkins-jobs/snappy-integration-tests-experimental into lp://staging/qa-jenkins-jobs

Proposed by Allan LeSage
Status: Work in progress
Proposed branch: lp://staging/~canonical-platform-qa/qa-jenkins-jobs/snappy-integration-tests-experimental
Merge into: lp://staging/qa-jenkins-jobs
Diff against target: 66 lines (+56/-0)
2 files modified
jobs/snappy/jobs.yaml (+31/-0)
jobs/snappy/run-snappy-integration-tests.sh (+25/-0)
To merge this branch: bzr merge lp://staging/~canonical-platform-qa/qa-jenkins-jobs/snappy-integration-tests-experimental
Reviewer Review Type Date Requested Status
Max Brustkern Pending
Review via email: mp+302861@code.staging.launchpad.net

Commit message

Add experimental snappy integration-testing Jenkins job.

Description of the change

Add an experimental snappy job.

To post a comment you must log in.
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.

Revision history for this message
Allan LeSage (allanlesage) wrote :

Going to revisit this when I've worked through whatever firewall blockers thanks for the early review regardless!

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

Definitely want to keep it in $WORKSPACE. I actually just used $WORKSPACE as $GOPATH in my early tests, but if there's any reason not to, that's fine by me, I just did some double takes because my outside-of-jenkins testing workspace is ~/workspace.d so I had things in ~/workspace.d/workspace.d which looked like a mistake, but wasn't.

Unmerged revisions

169. By Allan LeSage

Experimental running snappy integration-tests.

168. By Allan LeSage

Temporarily pass jobs with no tests specified to appease CI MP process pending Conditional Build Step plugin installation.

Approved by Max Brustkern, platform-qa-bot.

167. By Allan LeSage

Add a timeout for ust_report-results-to-practitest.

Approved by Allan LeSage, platform-qa-bot.

166. By Allan LeSage

Add periodic ubuntu-system-tests jobs.

Approved by Allan LeSage, platform-qa-bot.

165. By Allan LeSage

Restrict ubuntu-system-tests testing to specific nodes.

Approved by Allan LeSage, platform-qa-bot.

164. By Allan LeSage

Pass ust landing candidate into -ci job for MP review.

Approved by platform-qa-bot, Allan LeSage.

163. By Allan LeSage

Rename ust CI job from -test, replacing official job.

Approved by Allan LeSage, platform-qa-bot.

162. By Allan LeSage

Add Jenkins jobs for ust MP reviews.

Approved by Max Brustkern, platform-qa-bot, Santiago Baldassin.

161. By Santiago Baldassin

Adding a script to select the tests to be run from the commit message.

Approved by Allan LeSage, platform-qa-bot.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches