Project Number Date
test_Tails_ISO_stable 5627 06 May 2025, 13:33

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:10:1.729 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:37.161
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.014
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:53.354
And I update APT using apt 14.411
And I install "python3-behave" using apt 26.351
Then the Tails Persistent Storage behave tests pass 3.044
After features/support/hooks.rb:330 2.908
After features/support/hooks.rb:100 0.000
Tags: @product
56.617
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 19.244
When I log in to a new session without activating the Persistent Storage 26.783
Then Tails is running from USB drive "__internal" 0.388
And persistence is disabled 0.486
But a Tails persistence partition exists on USB drive "__internal" 9.713
After features/support/hooks.rb:330 4.139
After features/support/hooks.rb:100 0.000
Tags: @product
4:15.535
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 49.728
Then Tails is running from USB drive "__internal" 0.518
When I create a file in the Persistent directory 0.167
And I create a persistent partition with the default settings 23.671
Then the file I created was copied to the Persistent Storage 2.609
When I shutdown Tails and wait for the computer to power off 15.743
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:42.739
Then persistence for "Persistent" is active 0.284
And the file I created in the Persistent directory exists 0.073
After features/support/hooks.rb:330 2.237
After features/support/hooks.rb:100 0.009
Tags: @product
1:6.454
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 15.501
And the system is very low on memory 3.980
When I create a file in the Persistent directory 1.266
When I try to create a persistent partition 25.610
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.212
When I close the Persistent Storage app 2.620
And I free up some memory 2.994
And I create a persistent partition with the default settings 13.975
Then the file I created was copied to the Persistent Storage 0.293
After features/support/hooks.rb:330 2.326
After features/support/hooks.rb:100 0.000
Tags: @product
3:26.297
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 29.098
Then Tails is running from USB drive "__internal" 0.635
And all tps features are active 3.094
And all persistent directories have safe access rights 3.261
When I disable the first tps feature 6.780
Then all tps features but the first one are active 2.881
And I shutdown Tails and wait for the computer to power off 15.968
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:21.451
Then all tps features but the first one are active 3.125
After features/support/hooks.rb:330 1.270
After features/support/hooks.rb:100 0.011
Tags: @product
24.623
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.985
Then persistence for "Persistent" is active 0.325
And I create a file in the Persistent directory 0.117
Then the file I created was copied to the Persistent Storage 0.122
When I disable the first tps feature 6.562
Then persistence for "Persistent" is not active 0.081
And the Persistent directory does not exist 0.059
When I enable the first tps feature 3.197
Then persistence for "Persistent" is active 0.084
And the file I created in the Persistent directory exists 0.085
After features/support/hooks.rb:330 1.395
After features/support/hooks.rb:100 0.000
Tags: @product
20.155
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.071
Then persistence for "Persistent" is active 0.098
When I create a file in the Persistent directory 0.076
And I disable the first tps feature 6.091
And I delete the data of the Persistent Folder feature 3.761
Then the file I created does not exist on the Persistent Storage 0.055
After features/support/hooks.rb:330 1.521
After features/support/hooks.rb:100 0.000
Tags: @product
1:8.930
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.901
And the network is plugged 0.116
And Tor is ready 19.863
And I take note of which tps features are available 0.764
When I write some files expected to persist 1.840
And I shutdown Tails and wait for the computer to power off 10.945
# 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" 25.499
After features/support/hooks.rb:330 0.144
After features/support/hooks.rb:100 0.000
Tags: @product
3:55.658
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.554
And the network is plugged 0.165
And Tor is ready 48.701
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.195
And I shutdown Tails and wait for the computer to power off 14.791
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:20.299
And I capture all network traffic 0.012
And the network is plugged 0.630
And Tor is ready 20.608
And I switch to the "persistent-con-current" NetworkManager connection 0.440
And the 1st network device has a spoofed MAC address configured 0.087
And no network device leaked the real MAC address 0.171
After features/support/hooks.rb:330 0.914
After features/support/hooks.rb:100 0.050
Tags: @product
1:47.527
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 54.998
And I enable persistence creation in Tails Greeter 1.451
And I log in to a new session expecting no warning about the Persistent Storage not being activated 24.496
Then I create a persistent partition with the default settings using the wizard that was already open 26.581
After features/support/hooks.rb:330 3.073
After features/support/hooks.rb:100 0.000
Tags: @product
5:22.939
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 32.132
When I enable persistence 50.524
Then no persistent Greeter options were restored 18.678
When I set all Greeter options to non-default values 26.788
And I log in to a new session in German (de) after having activated the Persistent Storage 44.669
Then all Greeter options are set to non-default values 0.537
When I cold reboot the computer 7.940
And the computer reboots Tails 1:11.728
Given I enable persistence 25.833
Then persistent Greeter options were restored 0.814
When I log in to a new session after having activated the Persistent Storage 42.719
Then all Greeter options are set to non-default values 0.571
After features/support/hooks.rb:330 3.261
After features/support/hooks.rb:100 0.016
Tags: @product
23:17.150
Scenario Changing the Persistent Storage passphrase
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 12.946
# 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 40.531
And I shutdown Tails and wait for the computer to power off 20.043
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 22:3.630
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:123:in `Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase'
And I change the passphrase of the Persistent Storage back to the original 0.000
After features/support/hooks.rb:330 10.882

SCENARIO FAILED: 'Changing the Persistent Storage passphrase' (at time 04:13:58)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5627/artifact/build-artifacts/04:13:58_Changing_the_Persistent_Storage_passphrase.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5627/artifact/build-artifacts/04:13:58_Changing_the_Persistent_Storage_passphrase.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5627/artifact/build-artifacts/04:13:58_Changing_the_Persistent_Storage_passphrase.journal

After features/support/hooks.rb:100 0.011
Tags: @product
1:7.431
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 14.422
And I log in to a new session without activating the Persistent Storage 22.568
Then persistence is disabled 0.376
But a Tails persistence partition exists on USB drive "__internal" 8.839
And all notifications have disappeared 11.802
When I delete the persistent partition 8.571
Then there is no persistence partition on USB drive "__internal" 0.849
After features/support/hooks.rb:330 1.731
After features/support/hooks.rb:100 0.000
Tags: @product
2:37.873
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 12.924
When I write some dotfile expected to persist 0.066
And I shutdown Tails and wait for the computer to power off 10.854
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.424
Then the expected persistent dotfile is present in the filesystem 0.603
After features/support/hooks.rb:330 1.437
After features/support/hooks.rb:100 0.012
Tags: @product
2:2.603
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.512
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.103
When I try to enable persistence 0.273
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 39.935
When I log in to a new session after having activated the Persistent Storage 51.449
And all notifications have disappeared 8.412
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.723
And all tps features are enabled 3.501
And all tps features but the first one are active 2.692
After features/support/hooks.rb:330 2.075
After features/support/hooks.rb:100 0.000
Tags: @product
8:32.974
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 7:0.421
And I enable persistence 35.558
And I log in to a new session after having activated the Persistent Storage 50.921
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.441
And persistence is enabled 3.631
After features/support/hooks.rb:330 2.626
After features/support/hooks.rb:100 0.000
Tags: @product
37.505
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 10.552
And I enable persistence but something goes wrong during the LUKS header upgrade 26.074
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.878
After features/support/hooks.rb:330 0.758
After features/support/hooks.rb:100 0.000
Tags: @product
57.415
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.124
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 8.211
When I enable persistence 34.223
Then the filesystem of the Persistent Storage was repaired 0.076
And persistence is successfully enabled 4.779
After features/support/hooks.rb:330 1.583
After features/support/hooks.rb:100 0.000
Tags: @product
1:8.745
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.633
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 9.011
When I try to enable persistence 0.449
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 36.917
When I repair the filesystem of the Persistent Storage 1.367
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.895
And the filesystem of the Persistent Storage was repaired 4.738
When I close the filesystem repair dialog 1.191
Then persistence is successfully enabled 1.540
After features/support/hooks.rb:330 2.278
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:13.848
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 9.997
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.117
When I try to enable persistence 0.319
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 31.737
When I repair the filesystem of the Persistent Storage 5.104
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 3.900
When I log in to a new session 45.078
And all notifications have disappeared 10.256
# 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.580
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.801
When I close the "whisperback" window 1.468
Then the Tor Browser starts 23.508
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.976
After features/support/hooks.rb:330 3.786
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:4.278
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.014
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 10.270
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.913
And Tails detects disk read failures on the boot device 0.581
When I try to enable persistence 0.469
Then the Welcome Screen tells me that my hardware is probably failing 21.670
When I log in to a new session 54.492
And all notifications have disappeared 9.058
Then the Tor Browser starts 19.799
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.021
After features/support/hooks.rb:330 2.577
After features/support/hooks.rb:100 0.000