Project Number Date
test_Tails_ISO_stable 5591 23 Apr 2025, 21:11

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 59:41.237 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:17.176
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:36.266
And I update APT using apt 13.884
And I install "python3-behave" using apt 22.981
Then the Tails Persistent Storage behave tests pass 4.044
After features/support/hooks.rb:330 0.801
After features/support/hooks.rb:100 0.000
Tags: @product
49.169
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 12.238
When I log in to a new session without activating the Persistent Storage 23.081
Then Tails is running from USB drive "__internal" 0.712
And persistence is disabled 0.592
But a Tails persistence partition exists on USB drive "__internal" 12.544
After features/support/hooks.rb:330 1.106
After features/support/hooks.rb:100 0.000
Tags: @product
3:13.005
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 without a persistent partition and logged in 11.781
Then Tails is running from USB drive "__internal" 0.751
When I create a file in the Persistent directory 0.183
And I create a persistent partition with the default settings 26.648
Then the file I created was copied to the Persistent Storage 1.922
When I shutdown Tails and wait for the computer to power off 12.757
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:18.568
Then persistence for "Persistent" is active 0.320
And the file I created in the Persistent directory exists 0.071
After features/support/hooks.rb:330 1.165
After features/support/hooks.rb:100 0.007
Tags: @product
1:0.777
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.866
And the system is very low on memory 3.218
When I create a file in the Persistent directory 1.199
When I try to create a persistent partition 23.663
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.487
When I close the Persistent Storage app 2.750
And I free up some memory 3.151
And I create a persistent partition with the default settings 14.166
Then the file I created was copied to the Persistent Storage 0.273
After features/support/hooks.rb:330 2.198
After features/support/hooks.rb:100 0.000
Tags: @product
2:59.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 with a persistent partition enabled and logged in 18.069
Then Tails is running from USB drive "__internal" 0.370
And all tps features are active 2.635
And all persistent directories have safe access rights 2.819
When I disable the first tps feature 5.768
Then all tps features but the first one are active 2.156
And I shutdown Tails and wait for the computer to power off 13.027
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.477
Then all tps features but the first one are active 2.127
After features/support/hooks.rb:330 2.443
After features/support/hooks.rb:100 0.010
Tags: @product
20.084
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.136
Then persistence for "Persistent" is active 0.181
And I create a file in the Persistent directory 0.152
Then the file I created was copied to the Persistent Storage 0.101
When I disable the first tps feature 6.065
Then persistence for "Persistent" is not active 0.075
And the Persistent directory does not exist 0.062
When I enable the first tps feature 3.147
Then persistence for "Persistent" is active 0.082
And the file I created in the Persistent directory exists 0.078
After features/support/hooks.rb:330 1.037
After features/support/hooks.rb:100 0.000
Tags: @product
19.635
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.804
Then persistence for "Persistent" is active 0.156
When I create a file in the Persistent directory 0.128
And I disable the first tps feature 5.916
And I delete the data of the Persistent Folder feature 3.577
Then the file I created does not exist on the Persistent Storage 0.051
After features/support/hooks.rb:330 1.211
After features/support/hooks.rb:100 0.000
Tags: @product
1:5.588
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.138
And the network is plugged 0.102
And Tor is ready 21.461
And I take note of which tps features are available 0.566
When I write some files expected to persist 1.554
And I shutdown Tails and wait for the computer to power off 8.574
# 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.191
After features/support/hooks.rb:330 0.177
After features/support/hooks.rb:100 0.000
Tags: @product
3:11.528
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.274
And the network is plugged 0.085
And Tor is ready 20.665
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.211
And I shutdown Tails and wait for the computer to power off 8.737
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.250
And I capture all network traffic 0.007
And the network is plugged 0.078
And Tor is ready 22.546
And I switch to the "persistent-con-current" NetworkManager connection 0.416
And the 1st network device has a spoofed MAC address configured 0.101
And no network device leaked the real MAC address 0.152
After features/support/hooks.rb:330 0.607
After features/support/hooks.rb:100 0.044
Tags: @product
58.326
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 13.586
And I enable persistence creation in Tails Greeter 1.278
And I log in to a new session expecting no warning about the Persistent Storage not being activated 20.531
Then I create a persistent partition with the default settings using the wizard that was already open 22.929
After features/support/hooks.rb:330 2.869
After features/support/hooks.rb:100 0.000
Tags: @product
4:35.374
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 12.406
When I enable persistence 38.593
Then no persistent Greeter options were restored 14.608
When I set all Greeter options to non-default values 25.090
And I log in to a new session in German (de) after having activated the Persistent Storage 51.752
Then all Greeter options are set to non-default values 0.701
When I cold reboot the computer 7.821
And the computer reboots Tails 1:6.206
Given I enable persistence 17.573
Then persistent Greeter options were restored 0.633
When I log in to a new session after having activated the Persistent Storage 39.593
Then all Greeter options are set to non-default values 0.392
After features/support/hooks.rb:330 1.747
After features/support/hooks.rb:100 0.011
Tags: @product
22:57.703
Scenario Changing the Persistent Storage passphrase
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.847
# 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 33.154
And I shutdown Tails and wait for the computer to power off 14.928
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 21:59.773
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.890

SCENARIO FAILED: 'Changing the Persistent Storage passphrase' (at time 03:45:51)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5591/artifact/build-artifacts/03:45:51_Changing_the_Persistent_Storage_passphrase.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5591/artifact/build-artifacts/03:45:51_Changing_the_Persistent_Storage_passphrase.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5591/artifact/build-artifacts/03:45:51_Changing_the_Persistent_Storage_passphrase.journal

After features/support/hooks.rb:100 0.010
Tags: @product
1:18.159
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 23.424
And I log in to a new session without activating the Persistent Storage 20.648
Then persistence is disabled 0.282
But a Tails persistence partition exists on USB drive "__internal" 11.479
And all notifications have disappeared 15.527
When I delete the persistent partition 5.940
Then there is no persistence partition on USB drive "__internal" 0.855
After features/support/hooks.rb:330 1.039
After features/support/hooks.rb:100 0.000
Tags: @product
2:30.658
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.692
When I write some dotfile expected to persist 0.061
And I shutdown Tails and wait for the computer to power off 8.377
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.084
Then the expected persistent dotfile is present in the filesystem 0.441
After features/support/hooks.rb:330 0.885
After features/support/hooks.rb:100 0.014
Tags: @product
1:41.624
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 8.738
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.087
When I try to enable persistence 0.332
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 28.679
When I log in to a new session after having activated the Persistent Storage 47.687
And all notifications have disappeared 7.566
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.234
And all tps features are enabled 2.364
And all tps features but the first one are active 1.933
After features/support/hooks.rb:330 1.324
After features/support/hooks.rb:100 0.000
Tags: @product
4:39.236
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 3:15.670
And I enable persistence 31.472
And I log in to a new session after having activated the Persistent Storage 45.625
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.744
And persistence is enabled 3.724
After features/support/hooks.rb:330 1.284
After features/support/hooks.rb:100 0.000
Tags: @product
27.966
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 8.952
And I enable persistence but something goes wrong during the LUKS header upgrade 18.277
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.736
After features/support/hooks.rb:330 0.786
After features/support/hooks.rb:100 0.000
Tags: @product
44.895
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.951
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 4.944
When I enable persistence 28.251
Then the filesystem of the Persistent Storage was repaired 0.081
And persistence is successfully enabled 2.665
After features/support/hooks.rb:330 1.467
After features/support/hooks.rb:100 0.000
Tags: @product
45.398
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.115
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.122
When I try to enable persistence 0.423
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 19.974
When I repair the filesystem of the Persistent Storage 1.540
Then the Welcome Screen tells me that the filesystem was repaired successfully 4.230
And the filesystem of the Persistent Storage was repaired 2.395
When I close the filesystem repair dialog 1.210
Then persistence is successfully enabled 1.385
After features/support/hooks.rb:330 1.074
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:51.870
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 8.728
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.108
When I try to enable persistence 0.300
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 25.163
When I repair the filesystem of the Persistent Storage 1.240
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.085
When I log in to a new session 44.786
And all notifications have disappeared 9.937
# 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.832
When I close the "whisperback" window 1.787
Then the Tor Browser starts 17.350
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.133
After features/support/hooks.rb:330 2.056
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:53.603
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.032
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.209
And Tails detects disk read failures on the boot device 1.623
When I try to enable persistence 0.464
Then the Welcome Screen tells me that my hardware is probably failing 20.069
When I log in to a new session 45.428
And all notifications have disappeared 8.306
Then the Tor Browser starts 22.532
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.936
After features/support/hooks.rb:330 1.862
After features/support/hooks.rb:100 0.000