import vmtest should not create dirs or initialize log
Bug #1594465 reported by
Scott Moser
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
curtin |
Confirmed
|
Low
|
Unassigned |
Bug Description
when working with a merge to add image information, i found/remembered that simply importing vmtest ends up writing some output to the console and creating a tempdir and a log.
Kind of obnoxious. Would be better if it did not.
Example:
$ python3 -m tests.vmtests.
2016-06-20 17:15:37,765 - tests.vmtests - INFO - Logfile: /tmp/vmtest-
precise amd64/hwe-p 20160610.1 boot-initrd
precise amd64/hwe-p 20160610.1 boot-kernel
precise amd64/hwe-p 20160610.1 root-image.gz
Changed in curtin: | |
status: | New → Confirmed |
importance: | Undecided → Low |
To post a comment you must log in.
fyi, if we fix this might want to fix tools/jenkins- runner to use image_sync image_sync. py
python3 -m tests/vmtests/
rather than
PYTHONPATH=$PWD python3 -m tests/vmtests/