Project Number Date
test_Tails_ISO_feature-arti 8 25 Mar 2025, 17:22

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:8:35.803 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
4:13.525
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.015
Given I have started Tails from DVD and logged in with an administration password and the network is connected 2:28.245
And I update APT using apt 1:14.240
And I install "python3-behave" using apt 26.942
Then the Tails Persistent Storage behave tests pass 4.096
After features/support/hooks.rb:330 0.983
After features/support/hooks.rb:100 0.000
Tags: @product
1:2.876
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 25.700
When I log in to a new session without activating the Persistent Storage 25.372
Then Tails is running from USB drive "__internal" 0.977
And persistence is disabled 0.360
But a Tails persistence partition exists on USB drive "__internal" 10.466
After features/support/hooks.rb:330 2.325
After features/support/hooks.rb:100 0.000
Tags: @product
3:28.857
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 14.094
Then Tails is running from USB drive "__internal" 0.563
When I create a file in the Persistent directory 0.177
And I create a persistent partition with the default settings 26.029
Then the file I created was copied to the Persistent Storage 0.603
When I shutdown Tails and wait for the computer to power off 15.651
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:30.223
Then persistence for "Persistent" is active 1.422
And the file I created in the Persistent directory exists 0.089
After features/support/hooks.rb:330 1.722
After features/support/hooks.rb:100 0.008
Tags: @product
1:0.182
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.226
And the system is very low on memory 5.108
When I create a file in the Persistent directory 1.074
When I try to create a persistent partition 23.546
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.229
When I close the Persistent Storage app 2.643
And I free up some memory 1.468
And I create a persistent partition with the default settings 14.636
Then the file I created was copied to the Persistent Storage 0.248
After features/support/hooks.rb:330 2.493
After features/support/hooks.rb:100 0.000
Tags: @product
3:15.030
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 13.514
Then Tails is running from USB drive "__internal" 0.949
And all tps features are active 2.735
And all persistent directories have safe access rights 2.937
When I disable the first tps feature 8.572
Then all tps features but the first one are active 2.769
And I shutdown Tails and wait for the computer to power off 18.909
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:19.566
Then all tps features but the first one are active 5.075
After features/support/hooks.rb:330 1.843
After features/support/hooks.rb:100 0.011
Tags: @product
22.203
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 12.142
Then persistence for "Persistent" is active 0.078
And I create a file in the Persistent directory 0.152
Then the file I created was copied to the Persistent Storage 0.128
When I disable the first tps feature 6.158
Then persistence for "Persistent" is not active 0.082
And the Persistent directory does not exist 0.067
When I enable the first tps feature 3.235
Then persistence for "Persistent" is active 0.079
And the file I created in the Persistent directory exists 0.079
After features/support/hooks.rb:330 1.288
After features/support/hooks.rb:100 0.000
Tags: @product
20.733
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.886
Then persistence for "Persistent" is active 0.188
When I create a file in the Persistent directory 0.186
And I disable the first tps feature 6.404
And I delete the data of the Persistent Folder feature 3.993
Then the file I created does not exist on the Persistent Storage 0.074
After features/support/hooks.rb:330 1.711
After features/support/hooks.rb:100 0.000
Tags: @product
1:6.976
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.111
And the network is plugged 0.103
And Tor is ready 19.991
And I take note of which tps features are available 0.677
When I write some files expected to persist 1.801
And I shutdown Tails and wait for the computer to power off 8.683
# 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.607
After features/support/hooks.rb:330 0.108
After features/support/hooks.rb:100 0.000
Tags: @product
3:18.533
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.284
And the network is plugged 0.088
And Tor is ready 19.347
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.280
And I shutdown Tails and wait for the computer to power off 8.750
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.963
And I capture all network traffic 0.010
And the network is plugged 0.103
And Tor is ready 22.995
And I switch to the "persistent-con-current" NetworkManager connection 0.421
And the 1st network device has a spoofed MAC address configured 0.103
And no network device leaked the real MAC address 0.184
After features/support/hooks.rb:330 0.701
After features/support/hooks.rb:100 0.069
Tags: @product
1:38.821
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 without a persistent partition and stopped at Tails Greeter's login screen 42.975
And I enable persistence creation in Tails Greeter 1.178
And I log in to a new session expecting no warning about the Persistent Storage not being activated 27.288
Then I create a persistent partition with the default settings using the wizard that was already open 27.379
After features/support/hooks.rb:330 2.981
After features/support/hooks.rb:100 0.000
Tags: @product
5:8.524
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 26.750
When I enable persistence 46.038
Then no persistent Greeter options were restored 15.087
When I set all Greeter options to non-default values 26.104
And I log in to a new session in German (de) after having activated the Persistent Storage 51.378
Then all Greeter options are set to non-default values 0.497
When I cold reboot the computer 7.526
And the computer reboots Tails 1:10.509
Given I enable persistence 21.392
Then persistent Greeter options were restored 0.673
When I log in to a new session after having activated the Persistent Storage 42.084
Then all Greeter options are set to non-default values 0.482
After features/support/hooks.rb:330 1.647
After features/support/hooks.rb:100 0.013
Tags: @product
23:27.497
Scenario Changing the Persistent Storage passphrase
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.008
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 12.533
# 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 43.027
And I shutdown Tails and wait for the computer to power off 13.946
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 22:17.989
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:730:in `new'
./features/step_definitions/common_steps.rb:730:in `/^all notifications have disappeared$/'
./features/step_definitions/common_steps.rb:309: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.854

SCENARIO FAILED: 'Changing the Persistent Storage passphrase' (at time 04:52:49)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/8/artifact/build-artifacts/04:52:49_Changing_the_Persistent_Storage_passphrase.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/8/artifact/build-artifacts/04:52:49_Changing_the_Persistent_Storage_passphrase.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/8/artifact/build-artifacts/04:52:49_Changing_the_Persistent_Storage_passphrase.journal

After features/support/hooks.rb:100 0.011
Tags: @product
1:6.602
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 10.800
And I log in to a new session without activating the Persistent Storage 21.139
Then persistence is disabled 0.841
But a Tails persistence partition exists on USB drive "__internal" 12.219
And all notifications have disappeared 14.406
When I delete the persistent partition 6.719
Then there is no persistence partition on USB drive "__internal" 0.474
After features/support/hooks.rb:330 3.012
After features/support/hooks.rb:100 0.000
Tags: @product
2:42.309
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 13.133
When I write some dotfile expected to persist 0.196
And I shutdown Tails and wait for the computer to power off 11.093
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:17.198
Then the expected persistent dotfile is present in the filesystem 0.687
After features/support/hooks.rb:330 1.126
After features/support/hooks.rb:100 0.012
Tags: @product
1:53.013
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.883
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.169
When I try to enable persistence 0.277
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 35.995
When I log in to a new session after having activated the Persistent Storage 51.145
And all notifications have disappeared 7.141
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.810
And all tps features are enabled 2.391
And all tps features but the first one are active 2.199
After features/support/hooks.rb:330 1.758
After features/support/hooks.rb:100 0.000
Tags: @product
8:8.140
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 6:36.782
And I enable persistence 37.310
And I log in to a new session after having activated the Persistent Storage 46.867
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.624
And persistence is enabled 4.555
After features/support/hooks.rb:330 1.789
After features/support/hooks.rb:100 0.000
Tags: @product
36.484
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 10.253
And I enable persistence but something goes wrong during the LUKS header upgrade 25.347
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.883
After features/support/hooks.rb:330 0.912
After features/support/hooks.rb:100 0.000
Tags: @product
51.080
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.555
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.870
When I enable persistence 32.704
Then the filesystem of the Persistent Storage was repaired 0.105
And persistence is successfully enabled 2.845
After features/support/hooks.rb:330 1.695
After features/support/hooks.rb:100 0.000
Tags: @product
53.988
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.689
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.743
When I try to enable persistence 1.528
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 26.504
When I repair the filesystem of the Persistent Storage 5.150
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.060
And the filesystem of the Persistent Storage was repaired 1.877
When I close the filesystem repair dialog 1.744
Then persistence is successfully enabled 1.689
After features/support/hooks.rb:330 2.126
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:56.341
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 22.825
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.107
When I try to enable persistence 0.282
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.698
When I repair the filesystem of the Persistent Storage 1.267
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.077
When I log in to a new session 35.654
And all notifications have disappeared 8.047
# 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" 2.339
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.587
When I close the "whisperback" window 1.610
Then the Tor Browser starts 12.987
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.855
After features/support/hooks.rb:330 2.224
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:4.077
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.073
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.493
And Tails detects disk read failures on the boot device 1.699
When I try to enable persistence 0.451
Then the Welcome Screen tells me that my hardware is probably failing 23.231
When I log in to a new session 47.578
And all notifications have disappeared 8.400
Then the Tor Browser starts 26.235
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.913
After features/support/hooks.rb:330 2.333
After features/support/hooks.rb:100 0.000