[Bug 1260012] [NEW] app snapshot during test setup is being set to an empty list

Launchpad Bug Tracker 1260012 at bugs.launchpad.net
Tue Dec 17 10:25:57 UTC 2013


You have been subscribed to a public bug:

During the Ubiquity autopilot tests we are getting frequent fails where
get_running_applications() is not picking up Ubiquity as a running
application and is setting the app snapshot to an empty list then when
it comes to comparing the snapshot the test is failing as its now
detected ubiquity is running.

The test runner launches ubiquity and waits 30 seconds before starting
the test, so slow app loading time isn't an issue here

see https://jenkins.qa.ubuntu.com/view/Ubiquity/view/Ubuntu/job
/ubiquity_ap-ubuntu_devel_daily-
test_nonenglish_encrypt_lvm/ARCH=i386,label=rabisu/lastCompletedBuild/testReport/ubiquity_autopilot_tests.tests.test_nonenglish_encrypt_lvm/LVMEncryptInstallTestCase/test_lvm_encrypt_install/

This doesn't occur on every run but i could manage to reproduce it
locally 1 in every 5/6 runs 'ish'.

Steps to try and reproduce

1) branch lp:ubiquity
2) make sure qemu and bsdtar are installed and have a daily iso (Ubuntu, Ubuntu-GNOME and Edubuntu currently working)
3) from dir ./ubiquity/autopilot/ubiquity-autopilot-runner execute using the configfile attached to this bug

    ./run-ubiquity-test -T/path/to/debug_config.cfg ./path/to/trusty-
desktop.iso

4) test artifacts are stored in /tmp/ubiquity.tests

If you want additional artifacts or additional autopilot options or even
stop the VM shutting down for debugging you can change the config file
accordingly

You can also use the --sdl param if you want to view the desktop. All
other test runner info can be found in the README if needed

I will also attach the autopilot.log file that shows the app snapshot is
empty, see 14.18 time interval

If any other info is needed contact myself or jibel

** Affects: autopilot
     Importance: Critical
         Status: Incomplete

** Affects: ubiquity (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: autopilot iso-testing qa-daily-testing
-- 
app snapshot during test setup is being set to an empty list
https://bugs.launchpad.net/bugs/1260012
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to ubiquity in Ubuntu.



More information about the foundations-bugs mailing list