Bug #10288: Fix newly identified issues to make our test suite more robust and faster
Some upgrade test scenarios fail due to lack of disk space on Jenkins
Once #10720 is mostly workaround'ed,
usb_install.feature passes but then two of the upgrade scenarios fail with:
And I start Tails from DVD with network unplugged and I login # features/step_definitions/common_steps.rb:191 And I temporarily create a 4 GiB disk named "pristine" # features/step_definitions/common_steps.rb:139 Error creating disk "pristine" in "/tmp/TailsToaster/TailsToasterStorage". Need 4096 MiB but only 4115 MiB is available of which 500 MiB is reserved for other temporary files. <false> is not true. (Test::Unit::AssertionFailedError) ./features/support/helpers/storage_helper.rb:94:in `create_new_disk' ./features/step_definitions/common_steps.rb:140:in `/^I (temporarily )?create a (\d+) ([[:alpha:]]+) disk named "([^"]+)"$/' features/usb_upgrade.feature:17:in `And I temporarily create a 4 GiB disk named "pristine"'
The affected scenarios are:
- Try to "Upgrade from ISO" Tails to a pristine USB drive
- Try to "Upgrade from ISO" Tails to a USB drive with GPT and a FAT partition
See #10503 for our previous results about peak disk usage. Maybe we should add
prioritized_features, to make it run earlier?
Test suite: run usb_upgrade.feature earlier, when there is enough free disk space left.