Project Number Date
test_Tails_ISO_devel 3866 12 Jun 2025, 18:58

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 1:6:43.937 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:41.333
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:52.196
And I update APT using apt 16.480
And I install "python3-behave" using apt 28.564
Then the Tails Persistent Storage behave tests pass 4.091
After features/support/hooks.rb:330 1.020
After features/support/hooks.rb:100 0.000
Tags: @product
49.874
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 14.386
When I log in to a new session without activating the Persistent Storage 24.938
Then Tails is running from USB drive "__internal" 0.817
And persistence is disabled 0.569
But a Tails persistence partition exists on USB drive "__internal" 9.163
After features/support/hooks.rb:330 2.072
After features/support/hooks.rb:100 0.000
Tags: @product
4:11.150
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.016
Given I have started Tails without network from a USB drive without a persistent partition and logged in 23.236
Then Tails is running from USB drive "__internal" 0.793
When I create a file in the Persistent directory 0.296
And I create a persistent partition with the default settings 34.087
Then the file I created was copied to the Persistent Storage 2.748
When I shutdown Tails and wait for the computer to power off 14.306
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:55.171
Then persistence for "Persistent" is active 0.394
And the file I created in the Persistent directory exists 0.115
After features/support/hooks.rb:330 1.667
After features/support/hooks.rb:100 0.009
Tags: @product
1:20.085
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 without a persistent partition and logged in 13.927
And the system is very low on memory 9.964
When I create a file in the Persistent directory 0.839
When I try to create a persistent partition 34.233
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.186
When I close the Persistent Storage app 2.693
And I free up some memory 3.469
And I create a persistent partition with the default settings 14.504
Then the file I created was copied to the Persistent Storage 0.266
After features/support/hooks.rb:330 2.280
After features/support/hooks.rb:100 0.000
Tags: @product
3:15.092
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 13.483
Then Tails is running from USB drive "__internal" 0.563
And all tps features are active 2.382
And all persistent directories have safe access rights 2.791
When I disable the first tps feature 7.179
Then all tps features but the first one are active 2.353
And I shutdown Tails and wait for the computer to power off 16.953
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:26.685
Then all tps features but the first one are active 2.699
After features/support/hooks.rb:330 1.473
After features/support/hooks.rb:100 0.009
Tags: @product
21.336
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.131
Then persistence for "Persistent" is active 0.109
And I create a file in the Persistent directory 0.087
Then the file I created was copied to the Persistent Storage 0.065
When I disable the first tps feature 6.528
Then persistence for "Persistent" is not active 0.092
And the Persistent directory does not exist 0.080
When I enable the first tps feature 3.078
Then persistence for "Persistent" is active 0.080
And the file I created in the Persistent directory exists 0.081
After features/support/hooks.rb:330 1.321
After features/support/hooks.rb:100 0.000
Tags: @product
21.044
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 10.503
Then persistence for "Persistent" is active 0.207
When I create a file in the Persistent directory 0.076
And I disable the first tps feature 6.367
And I delete the data of the Persistent Folder feature 3.787
Then the file I created does not exist on the Persistent Storage 0.101
After features/support/hooks.rb:330 1.502
After features/support/hooks.rb:100 0.000
Tags: @product
1:14.123
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.908
And the network is plugged 0.130
And Tor is ready 24.052
And I take note of which tps features are available 0.665
When I write some files expected to persist 1.783
And I shutdown Tails and wait for the computer to power off 8.670
# 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" 26.912
After features/support/hooks.rb:330 0.160
After features/support/hooks.rb:100 0.000
Tags: @product
3:26.344
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.930
And the network is plugged 0.080
And Tor is ready 21.525
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.263
And I shutdown Tails and wait for the computer to power off 8.725
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:21.244
And I capture all network traffic 0.011
And the network is plugged 0.077
And Tor is ready 22.903
And I switch to the "persistent-con-current" NetworkManager connection 0.353
And the 1st network device has a spoofed MAC address configured 0.089
And no network device leaked the real MAC address 0.136
After features/support/hooks.rb:330 0.577
After features/support/hooks.rb:100 0.046
Tags: @product
1:12.441
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 without a persistent partition and stopped at Tails Greeter's login screen 16.610
And I enable persistence creation in Tails Greeter 1.359
And I log in to a new session expecting no warning about the Persistent Storage not being activated 25.261
Then I create a persistent partition with the default settings using the wizard that was already open 29.211
After features/support/hooks.rb:330 3.249
After features/support/hooks.rb:100 0.000
Tags: @product
5:5.108
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 15.142
When I enable persistence 41.603
Then no persistent Greeter options were restored 14.726
When I set all Greeter options to non-default values 29.889
And I log in to a new session in German (de) after having activated the Persistent Storage 54.775
Then all Greeter options are set to non-default values 0.432
When I cold reboot the computer 7.808
And the computer reboots Tails 1:16.955
Given I enable persistence 21.683
Then persistent Greeter options were restored 0.573
When I log in to a new session after having activated the Persistent Storage 40.569
Then all Greeter options are set to non-default values 0.947
After features/support/hooks.rb:330 2.308
After features/support/hooks.rb:100 0.009
Tags: @product
4:7.945
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 10.821
# 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 36.902
And I shutdown Tails and wait for the computer to power off 15.741
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:35.976
And I change the passphrase of the Persistent Storage back to the original 28.503
After features/support/hooks.rb:330 2.658
After features/support/hooks.rb:100 0.010
Tags: @product
1:5.440
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.012
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 11.097
And I log in to a new session without activating the Persistent Storage 25.549
Then persistence is disabled 0.582
But a Tails persistence partition exists on USB drive "__internal" 8.713
And all notifications have disappeared 11.798
When I delete the persistent partition 6.863
Then there is no persistence partition on USB drive "__internal" 0.835
After features/support/hooks.rb:330 1.363
After features/support/hooks.rb:100 0.000
Tags: @product
22:35.967
Scenario Dotfiles persistence
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.109
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.795
When I write some dotfile expected to persist 0.105
And I shutdown Tails and wait for the computer to power off 10.981
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 22:14.085
execution expired (RemoteShell::Timeout)
./features/support/helpers/remote_shell.rb:56:in `read'
./features/support/helpers/remote_shell.rb:56:in `block (3 levels) in communicate'
./features/support/helpers/remote_shell.rb:55:in `block (2 levels) in communicate'
./features/support/helpers/remote_shell.rb:42:in `loop'
./features/support/helpers/remote_shell.rb:42:in `block in communicate'
./features/support/helpers/remote_shell.rb:37:in `communicate'
./features/support/helpers/remote_shell.rb:174:in `execute'
./features/support/helpers/remote_shell.rb:185:in `initialize'
./features/support/helpers/dogtail.rb:80:in `new'
./features/support/helpers/dogtail.rb:80:in `run'
./features/support/helpers/dogtail.rb:70:in `initialize'
./features/step_definitions/common_steps.rb:719:in `new'
./features/step_definitions/common_steps.rb:719:in `/^all notifications have disappeared$/'
./features/step_definitions/common_steps.rb:298:in `/^I start Tails from (.+?) drive "(.+?)"( with network unplugged)?( and I login( with persistence enabled)?( with the changed persistence passphrase)?( (?:and|with) an administration password)?)?$/'
features/persistence.feature:139:in `And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled'
Then the expected persistent dotfile is present in the filesystem 0.000
After features/support/hooks.rb:330 11.464

SCENARIO FAILED: 'Dotfiles persistence' (at time 04:27:19)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3866/artifact/build-artifacts/04:27:19_Dotfiles_persistence.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3866/artifact/build-artifacts/04:27:19_Dotfiles_persistence.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3866/artifact/build-artifacts/04:27:19_Dotfiles_persistence.journal

After features/support/hooks.rb:100 0.044
Tags: @product
1:57.005
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 12.746
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.355
When I try to enable persistence 0.635
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 37.336
When I log in to a new session after having activated the Persistent Storage 47.936
And all notifications have disappeared 7.854
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.428
And all tps features are enabled 3.223
And all tps features but the first one are active 2.488
After features/support/hooks.rb:330 2.136
After features/support/hooks.rb:100 0.000
Tags: @product
6:3.052
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 4:33.353
And I enable persistence 37.332
And I log in to a new session after having activated the Persistent Storage 45.378
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.493
And persistence is enabled 3.495
After features/support/hooks.rb:330 2.572
After features/support/hooks.rb:100 0.000
Tags: @product
33.776
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 9.521
And I enable persistence but something goes wrong during the LUKS header upgrade 23.501
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.753
After features/support/hooks.rb:330 0.925
After features/support/hooks.rb:100 0.000
Tags: @product
53.808
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.234
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 7.849
When I enable persistence 32.971
Then the filesystem of the Persistent Storage was repaired 0.092
And persistence is successfully enabled 3.660
After features/support/hooks.rb:330 1.368
After features/support/hooks.rb:100 0.000
Tags: @product
59.833
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 10.238
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.773
When I try to enable persistence 0.611
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 27.409
When I repair the filesystem of the Persistent Storage 2.757
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.340
And the filesystem of the Persistent Storage was repaired 3.993
When I close the filesystem repair dialog 5.027
Then persistence is successfully enabled 1.680
After features/support/hooks.rb:330 1.653
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:10.382
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.964
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.121
When I try to enable persistence 0.269
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 37.128
When I repair the filesystem of the Persistent Storage 1.285
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.074
When I log in to a new session 45.606
And all notifications have disappeared 11.058
# 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.429
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.694
When I close the "whisperback" window 1.674
Then the Tor Browser starts 22.248
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.825
After features/support/hooks.rb:330 4.214
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:18.789
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.564
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.899
And Tails detects disk read failures on the boot device 0.523
When I try to enable persistence 1.489
Then the Welcome Screen tells me that my hardware is probably failing 34.921
When I log in to a new session 50.458
And all notifications have disappeared 10.271
Then the Tor Browser starts 24.736
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.926
After features/support/hooks.rb:330 4.391
After features/support/hooks.rb:100 0.000