Skip to content

Some upgrade test scenarios fail due to lack of disk space on Jenkins

Once #10720 (closed) 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 e.g. https://jenkins.tails.boum.org/job/test_Tails_ISO_bugfix-10720-installer-freezes-on-jenkins/39/.

See #10503 (closed) for our previous results about peak disk usage. Maybe we should add usb_upgrade.feature to prioritized_features, to make it run earlier?

Feature Branch: bugfix/11590-installer-robustness

Parent Task: #10288

Related issues

Original created by @intrigeri on 11582 (Redmine)

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information