Project Number Date
test_Tails_ISO_20263-test-suite-without-spice 18 25 Mar 2025, 02:21

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 153 1 3 0 0 157 20 1 21 41:32.547 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
3:10.945
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:30.686
And I update APT using apt 44.068
And I install "python3-behave" using apt 53.303
Then the Tails Persistent Storage behave tests pass 2.888
After features/support/hooks.rb:330 0.627
After features/support/hooks.rb:100 0.000
Tags: @product
17.634
Scenario Booting Tails from a USB drive with a disabled persistent partition
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Steps
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 12.766
When I log in to a new session without activating the Persistent Storage 4.867
<false> is not true. (Test::Unit::AssertionFailedError)
./features/step_definitions/common_steps.rb:473:in `/^I log in to a new session(?: in ([^ ]*) \(([^ ]*)\))?( without activating the Persistent Storage)?( after having activated the Persistent Storage| expecting no warning about the Persistent Storage not being activated)?$/'
features/persistence.feature:14:in `When I log in to a new session without activating the Persistent Storage'
Then Tails is running from USB drive "__internal" 0.000
And persistence is disabled 0.000
But a Tails persistence partition exists on USB drive "__internal" 0.000
After features/support/hooks.rb:330 5.116

SCENARIO FAILED: 'Booting Tails from a USB drive with a disabled persistent partition' (at time 02:55:07)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_20263-test-suite-without-spice/18/artifact/build-artifacts/02:55:07_Booting_Tails_from_a_USB_drive_with_a_disabled_persistent_partition.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20263-test-suite-without-spice/18/artifact/build-artifacts/02:55:07_Booting_Tails_from_a_USB_drive_with_a_disabled_persistent_partition.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20263-test-suite-without-spice/18/artifact/build-artifacts/02:55:07_Booting_Tails_from_a_USB_drive_with_a_disabled_persistent_partition.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20263-test-suite-without-spice/18/artifact/build-artifacts/02:55:07_Booting_Tails_from_a_USB_drive_with_a_disabled_persistent_partition.journal

After features/support/hooks.rb:100 0.000
Tags: @product
3:13.043
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Given I have started Tails without network from a USB drive without a persistent partition and logged in 12.030
Then Tails is running from USB drive "__internal" 1.476
When I create a file in the Persistent directory 0.246
And I create a persistent partition with the default settings 24.512
Then the file I created was copied to the Persistent Storage 0.492
When I shutdown Tails and wait for the computer to power off 12.600
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:21.274
Then persistence for "Persistent" is active 0.341
And the file I created in the Persistent directory exists 0.067
After features/support/hooks.rb:330 1.733
After features/support/hooks.rb:100 0.009
Tags: @product
1:0.814
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails without network from a USB drive without a persistent partition and logged in 10.882
And the system is very low on memory 4.987
When I create a file in the Persistent directory 0.922
When I try to create a persistent partition 24.844
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.230
When I close the Persistent Storage app 2.573
And I free up some memory 1.652
And I create a persistent partition with the default settings 14.191
Then the file I created was copied to the Persistent Storage 0.529
After features/support/hooks.rb:330 1.841
After features/support/hooks.rb:100 0.000
Tags: @product
2:47.648
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.994
Then Tails is running from USB drive "__internal" 0.644
And all tps features are active 2.740
And all persistent directories have safe access rights 2.324
When I disable the first tps feature 6.060
Then all tps features but the first one are active 2.010
And I shutdown Tails and wait for the computer to power off 13.439
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.135
Then all tps features but the first one are active 2.299
After features/support/hooks.rb:330 1.310
After features/support/hooks.rb:100 0.008
Tags: @product
19.282
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.592
Then persistence for "Persistent" is active 0.184
And I create a file in the Persistent directory 0.202
Then the file I created was copied to the Persistent Storage 0.152
When I disable the first tps feature 5.743
Then persistence for "Persistent" is not active 0.074
And the Persistent directory does not exist 0.052
When I enable the first tps feature 3.130
Then persistence for "Persistent" is active 0.086
And the file I created in the Persistent directory exists 0.063
After features/support/hooks.rb:330 1.323
After features/support/hooks.rb:100 0.000
Tags: @product
21.498
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.739
Then persistence for "Persistent" is active 0.132
When I create a file in the Persistent directory 0.171
And I disable the first tps feature 7.748
And I delete the data of the Persistent Folder feature 3.637
Then the file I created does not exist on the Persistent Storage 0.069
After features/support/hooks.rb:330 1.512
After features/support/hooks.rb:100 0.000
Tags: @product
1:36.581
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.213
And the network is plugged 0.124
And Tor is ready 50.511
And I take note of which tps features are available 0.718
When I write some files expected to persist 1.405
And I shutdown Tails and wait for the computer to power off 10.540
# XXX: The next step succeeds (and the --debug output confirms that it's actually looking for the files) but will fail in a subsequent scenario restoring the same snapshot. This exactly what we want, but why does it work? What is guestfs's behaviour when qcow2 internal snapshots are involved?
Then only the expected files are present on the persistence partition on USB drive "__internal" 24.066
After features/support/hooks.rb:330 0.108
After features/support/hooks.rb:100 0.000
Tags: @product
3:3.436
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 8.904
And the network is plugged 0.107
And Tor is ready 19.034
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.193
And I shutdown Tails and wait for the computer to power off 8.758
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.530
And I capture all network traffic 0.006
And the network is plugged 0.069
And Tor is ready 19.273
And I switch to the "persistent-con-current" NetworkManager connection 0.342
And the 1st network device has a spoofed MAC address configured 0.091
And no network device leaked the real MAC address 0.123
After features/support/hooks.rb:330 0.635
After features/support/hooks.rb:100 0.064
Tags: @product
1:1.640
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 17.439
And I enable persistence creation in Tails Greeter 1.470
And I log in to a new session expecting no warning about the Persistent Storage not being activated 20.662
Then I create a persistent partition with the default settings using the wizard that was already open 22.067
After features/support/hooks.rb:330 1.676
After features/support/hooks.rb:100 0.000
Tags: @product
4:40.626
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 11.645
When I enable persistence 36.944
Then no persistent Greeter options were restored 14.002
When I set all Greeter options to non-default values 29.322
And I log in to a new session in German (de) after having activated the Persistent Storage 51.660
Then all Greeter options are set to non-default values 0.391
When I cold reboot the computer 7.537
And the computer reboots Tails 1:2.989
Given I enable persistence 19.382
Then persistent Greeter options were restored 0.717
When I log in to a new session after having activated the Persistent Storage 45.691
Then all Greeter options are set to non-default values 0.341
After features/support/hooks.rb:330 1.254
After features/support/hooks.rb:100 0.009
Tags: @product
4:7.758
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.425
# Note that if anything fails after the passphrase was changed and
# before it's changed back below, subsequent scenarios might fail
# because the Persistent Storage doesn't have the expected passphrase.
When I change the passphrase of the Persistent Storage 39.137
And I shutdown Tails and wait for the computer to power off 15.112
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:27.681
And I change the passphrase of the Persistent Storage back to the original 36.401
After features/support/hooks.rb:330 2.081
After features/support/hooks.rb:100 0.009
Tags: @product
49.175
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.654
And I log in to a new session without activating the Persistent Storage 19.719
Then persistence is disabled 0.258
But a Tails persistence partition exists on USB drive "__internal" 6.502
And all notifications have disappeared 6.600
When I delete the persistent partition 6.100
Then there is no persistence partition on USB drive "__internal" 0.338
After features/support/hooks.rb:330 0.970
After features/support/hooks.rb:100 0.000
Tags: @product
2:29.025
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.688
When I write some dotfile expected to persist 0.096
And I shutdown Tails and wait for the computer to power off 8.633
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.189
Then the expected persistent dotfile is present in the filesystem 0.418
After features/support/hooks.rb:330 1.097
After features/support/hooks.rb:100 0.024
Tags: @product
1:45.460
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.783
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.160
When I try to enable persistence 0.500
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 32.507
When I log in to a new session after having activated the Persistent Storage 48.465
And all notifications have disappeared 7.247
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.694
And all tps features are enabled 2.115
And all tps features but the first one are active 1.986
After features/support/hooks.rb:330 1.400
After features/support/hooks.rb:100 0.000
Tags: @product
4:48.215
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails without network from a USB drive with a LUKS 1 persistent partition and stopped at Tails Greeter's login screen 3:26.055
And I enable persistence 29.632
And I log in to a new session after having activated the Persistent Storage 48.754
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.228
And persistence is enabled 2.544
After features/support/hooks.rb:330 1.537
After features/support/hooks.rb:100 0.000
Tags: @product
37.092
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails without network from a USB drive with a LUKS 1 persistent partition and stopped at Tails Greeter's login screen 9.060
And I enable persistence but something goes wrong during the LUKS header upgrade 27.280
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.752
After features/support/hooks.rb:330 0.738
After features/support/hooks.rb:100 0.000
Tags: @product
46.282
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.127
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.132
When I enable persistence 28.141
Then the filesystem of the Persistent Storage was repaired 0.095
And persistence is successfully enabled 2.785
After features/support/hooks.rb:330 0.985
After features/support/hooks.rb:100 0.000
Tags: @product
55.516
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.461
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.097
When I try to enable persistence 0.719
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 32.757
When I repair the filesystem of the Persistent Storage 1.446
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.240
And the filesystem of the Persistent Storage was repaired 0.966
When I close the filesystem repair dialog 1.261
Then persistence is successfully enabled 1.565
After features/support/hooks.rb:330 1.490
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:43.343
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.795
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.112
When I try to enable persistence 0.513
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 24.938
When I repair the filesystem of the Persistent Storage 1.779
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.169
When I log in to a new session 44.598
And all notifications have disappeared 11.743
# Now both WhisperBack and Tor Browser has started at the same
# time, so we do not know which window is focused. The steps about
# Tor Browser care about that, but the ones about WhisperBack do
# not, so we first deal with WhisperBack and then kill it to
# ensure that Tor Browser is focused.
Then WhisperBack is prefilled for fsck with summary: "Failed to repair the file system of your Persistent Storage" 0.415
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.799
When I close the "whisperback" window 1.822
Then the Tor Browser starts 6.946
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.708
After features/support/hooks.rb:330 2.357
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:57.523
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.970
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.471
And Tails detects disk read failures on the boot device 1.658
When I try to enable persistence 0.770
Then the Welcome Screen tells me that my hardware is probably failing 18.596
When I log in to a new session 50.115
And all notifications have disappeared 9.000
Then the Tor Browser starts 21.074
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.865
After features/support/hooks.rb:330 4.549
After features/support/hooks.rb:100 0.000