vmtest: error during test setup skips test clean up

Bug #1647606 reported by Joshua Powers
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
curtin
New
Undecided
Unassigned

Bug Description

During two vmtests [1][2] there was an error during test setup trying to access an image that did not exist. The test errored out during setup, which has the side effect of not running the proper unit test cleanup.

In these two tests the following directories, which normally are not kept, were kept:

* boot
* disks
* install

All tests should only keep the following two directories:

* collect
* logs

[1] https://jenkins.ubuntu.com/server/job/curtin-vmtest-devel/8/artifact/output/XenialTestAllindata/disks/

[2] https://jenkins.ubuntu.com/server/job/curtin-vmtest-devel/8/artifact/output/XenialTestMdadmBcache/disks/

Joshua Powers (powersj)
summary: - vmtest: keeps disk image
+ vmtest: error during test setup skips test clean up
description: updated
Revision history for this message
Joshua Powers (powersj) wrote :

I have updated the jenkins test artifact collector to only collect logs from the 'collect' and 'logs' directories now on both the vmtest and vmtest-devel jobs. This will avoid this issue from unintentionally filling up our storage.

Old files to archives:
** (aka everything)

New files to archives:
output/**/collect/**, output/**/logs/**

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.