Project Number Date
test_Tails_ISO_feature-arti 36 21 Apr 2025, 16:31

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 155 1 1 0 0 157 20 1 21 43:23.871 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:13.897
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:34.490
And I update APT using apt 13.242
And I install "python3-behave" using apt 23.330
Then the Tails Persistent Storage behave tests pass 2.834
After features/support/hooks.rb:330 0.674
After features/support/hooks.rb:100 0.000
Tags: @product
48.847
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 11.682
When I log in to a new session without activating the Persistent Storage 22.568
Then Tails is running from USB drive "__internal" 0.881
And persistence is disabled 0.436
But a Tails persistence partition exists on USB drive "__internal" 13.279
After features/support/hooks.rb:330 2.421
After features/support/hooks.rb:100 0.000
Tags: @product
3:8.269
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 11.375
Then Tails is running from USB drive "__internal" 0.389
When I create a file in the Persistent directory 0.169
And I create a persistent partition with the default settings 30.729
Then the file I created was copied to the Persistent Storage 2.372
When I shutdown Tails and wait for the computer to power off 12.985
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.851
Then persistence for "Persistent" is active 0.324
And the file I created in the Persistent directory exists 0.071
After features/support/hooks.rb:330 1.258
After features/support/hooks.rb:100 0.019
Tags: @product
1:8.796
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 12.294
And the system is very low on memory 5.024
When I create a file in the Persistent directory 2.055
When I try to create a persistent partition 28.502
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.390
When I close the Persistent Storage app 2.896
And I free up some memory 3.676
And I create a persistent partition with the default settings 13.688
Then the file I created was copied to the Persistent Storage 0.267
After features/support/hooks.rb:330 2.106
After features/support/hooks.rb:100 0.000
Tags: @product
2:50.690
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.780
Then Tails is running from USB drive "__internal" 1.274
And all tps features are active 2.965
And all persistent directories have safe access rights 2.723
When I disable the first tps feature 5.551
Then all tps features but the first one are active 2.256
And I shutdown Tails and wait for the computer to power off 14.952
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.006
Then all tps features but the first one are active 2.179
After features/support/hooks.rb:330 1.119
After features/support/hooks.rb:100 0.009
Tags: @product
18.653
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.677
Then persistence for "Persistent" is active 0.076
And I create a file in the Persistent directory 0.093
Then the file I created was copied to the Persistent Storage 0.122
When I disable the first tps feature 5.355
Then persistence for "Persistent" is not active 0.081
And the Persistent directory does not exist 0.050
When I enable the first tps feature 3.038
Then persistence for "Persistent" is active 0.085
And the file I created in the Persistent directory exists 0.072
After features/support/hooks.rb:330 1.443
After features/support/hooks.rb:100 0.000
Tags: @product
18.478
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.088
Then persistence for "Persistent" is active 0.089
When I create a file in the Persistent directory 0.082
And I disable the first tps feature 5.606
And I delete the data of the Persistent Folder feature 3.562
Then the file I created does not exist on the Persistent Storage 0.048
After features/support/hooks.rb:330 1.477
After features/support/hooks.rb:100 0.000
Tags: @product
1:5.559
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.348
And the network is plugged 0.092
And Tor is ready 19.175
And I take note of which tps features are available 0.664
When I write some files expected to persist 1.410
And I shutdown Tails and wait for the computer to power off 10.665
# 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.202
After features/support/hooks.rb:330 0.102
After features/support/hooks.rb:100 0.000
Tags: @product
3:7.984
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.107
And the network is plugged 0.081
And Tor is ready 20.904
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.210
And I shutdown Tails and wait for the computer to power off 8.885
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.328
And I capture all network traffic 0.033
And the network is plugged 0.146
And Tor is ready 21.526
And I switch to the "persistent-con-current" NetworkManager connection 0.448
And the 1st network device has a spoofed MAC address configured 0.112
And no network device leaked the real MAC address 0.198
After features/support/hooks.rb:330 0.772
After features/support/hooks.rb:100 0.054
Tags: @product
1:9.103
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 stopped at Tails Greeter's login screen 12.034
And I enable persistence creation in Tails Greeter 1.121
And I log in to a new session expecting no warning about the Persistent Storage not being activated 25.566
Then I create a persistent partition with the default settings using the wizard that was already open 30.381
After features/support/hooks.rb:330 2.553
After features/support/hooks.rb:100 0.000
Tags: @product
4:19.253
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 12.739
When I enable persistence 38.730
Then no persistent Greeter options were restored 14.736
When I set all Greeter options to non-default values 23.484
And I log in to a new session in German (de) after having activated the Persistent Storage 40.782
Then all Greeter options are set to non-default values 0.657
When I cold reboot the computer 7.468
And the computer reboots Tails 1:5.252
Given I enable persistence 17.604
Then persistent Greeter options were restored 0.452
When I log in to a new session after having activated the Persistent Storage 36.968
Then all Greeter options are set to non-default values 0.376
After features/support/hooks.rb:330 1.583
After features/support/hooks.rb:100 0.009
Tags: @product
3:52.509
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.959
# 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 37.017
And I shutdown Tails and wait for the computer to power off 13.293
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:19.074
And I change the passphrase of the Persistent Storage back to the original 33.164
After features/support/hooks.rb:330 2.839
After features/support/hooks.rb:100 0.010
Tags: @product
54.838
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 10.022
And I log in to a new session without activating the Persistent Storage 20.306
Then persistence is disabled 0.244
But a Tails persistence partition exists on USB drive "__internal" 6.311
And all notifications have disappeared 9.597
When I delete the persistent partition 7.499
Then there is no persistence partition on USB drive "__internal" 0.856
After features/support/hooks.rb:330 1.827
After features/support/hooks.rb:100 0.000
Tags: @product
2:32.468
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.008
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.606
When I write some dotfile expected to persist 0.219
And I shutdown Tails and wait for the computer to power off 10.725
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.443
Then the expected persistent dotfile is present in the filesystem 0.473
After features/support/hooks.rb:330 1.355
After features/support/hooks.rb:100 0.010
Tags: @product
1:55.271
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.770
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.135
When I try to enable persistence 0.305
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 34.925
When I log in to a new session after having activated the Persistent Storage 47.061
And all notifications have disappeared 13.125
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 5.178
And all tps features are enabled 3.098
And all tps features but the first one are active 2.671
After features/support/hooks.rb:330 1.987
After features/support/hooks.rb:100 0.000
Tags: @product
7:7.828
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.009
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 5:31.035
And I enable persistence 43.532
And I log in to a new session after having activated the Persistent Storage 47.163
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.562
And persistence is enabled 3.534
After features/support/hooks.rb:330 1.811
After features/support/hooks.rb:100 0.000
Tags: @product
33.469
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.660
And I enable persistence but something goes wrong during the LUKS header upgrade 22.836
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.972
After features/support/hooks.rb:330 0.852
After features/support/hooks.rb:100 0.000
Tags: @product
56.172
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.008
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.900
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.435
When I enable persistence 37.280
Then the filesystem of the Persistent Storage was repaired 0.108
And persistence is successfully enabled 3.447
After features/support/hooks.rb:330 1.760
After features/support/hooks.rb:100 0.000
Tags: @product
54.405
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.008
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.527
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.760
When I try to enable persistence 0.450
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 25.511
When I repair the filesystem of the Persistent Storage 5.143
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.646
And the filesystem of the Persistent Storage was repaired 3.343
When I close the filesystem repair dialog 1.288
Then persistence is successfully enabled 1.733
After features/support/hooks.rb:330 1.710
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:58.438
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.488
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.104
When I try to enable persistence 0.282
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 36.410
When I repair the filesystem of the Persistent Storage 1.916
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.090
When I log in to a new session 35.854
And all notifications have disappeared 9.209
# 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.560
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.840
When I close the "whisperback" window 2.255
Then the Tor Browser starts 20.611
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.812
After features/support/hooks.rb:330 3.573
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:8.931
Scenario Filesystem and I/O errors
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.012
Steps
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 10.070
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.215
And Tails detects disk read failures on the boot device 0.712
When I try to enable persistence 0.475
Then the Welcome Screen tells me that my hardware is probably failing 21.072
When I log in to a new session 46.971
And all notifications have disappeared 9.078
Then the Tor Browser starts 32.334
cannot find TorBrowserNewTabButton.png on the screen (FindFailed)
./features/support/helpers/screen.rb:181:in `rescue in wait'
./features/support/helpers/screen.rb:165:in `wait'
./features/step_definitions/browser.rb:472:in `/^the Tor Browser (?:has started|starts)$/'
features/persistence.feature:213:in `Then the Tor Browser starts'
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.000
After features/support/hooks.rb:330 9.184

SCENARIO FAILED: 'Filesystem and I/O errors' (at time 04:35:58)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/36/artifact/build-artifacts/04:35:58_Filesystem_and_I_O_errors.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/36/artifact/build-artifacts/04:35:58_Filesystem_and_I_O_errors.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/36/artifact/build-artifacts/04:35:58_Filesystem_and_I_O_errors.journal

After features/support/hooks.rb:100 0.000