Project Number Date
test_Tails_ISO_stable 5579 17 Apr 2025, 09:21

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:3:45.627 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:29.351
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:46.279
And I update APT using apt 14.665
And I install "python3-behave" using apt 25.981
Then the Tails Persistent Storage behave tests pass 2.425
After features/support/hooks.rb:330 0.692
After features/support/hooks.rb:100 0.000
Tags: @product
56.091
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 14.084
When I log in to a new session without activating the Persistent Storage 27.720
Then Tails is running from USB drive "__internal" 0.752
And persistence is disabled 0.524
But a Tails persistence partition exists on USB drive "__internal" 13.009
After features/support/hooks.rb:330 1.736
After features/support/hooks.rb:100 0.000
Tags: @product
3:37.122
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.350
Then Tails is running from USB drive "__internal" 0.603
When I create a file in the Persistent directory 0.135
And I create a persistent partition with the default settings 27.862
Then the file I created was copied to the Persistent Storage 2.869
When I shutdown Tails and wait for the computer to power off 13.370
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:36.451
Then persistence for "Persistent" is active 0.416
And the file I created in the Persistent directory exists 0.063
After features/support/hooks.rb:330 4.746
After features/support/hooks.rb:100 0.010
Tags: @product
58.083
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 logged in 12.022
And the system is very low on memory 3.419
When I create a file in the Persistent directory 0.770
When I try to create a persistent partition 22.627
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.247
When I close the Persistent Storage app 2.571
And I free up some memory 3.446
And I create a persistent partition with the default settings 12.676
Then the file I created was copied to the Persistent Storage 0.301
After features/support/hooks.rb:330 2.265
After features/support/hooks.rb:100 0.000
Tags: @product
3:6.223
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.524
Then Tails is running from USB drive "__internal" 2.131
And all tps features are active 2.281
And all persistent directories have safe access rights 2.706
When I disable the first tps feature 6.647
Then all tps features but the first one are active 2.133
And I shutdown Tails and wait for the computer to power off 14.387
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:20.160
Then all tps features but the first one are active 2.249
After features/support/hooks.rb:330 1.521
After features/support/hooks.rb:100 0.011
Tags: @product
19.814
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.991
Then persistence for "Persistent" is active 0.107
And I create a file in the Persistent directory 0.101
Then the file I created was copied to the Persistent Storage 0.104
When I disable the first tps feature 6.139
Then persistence for "Persistent" is not active 0.079
And the Persistent directory does not exist 0.053
When I enable the first tps feature 3.107
Then persistence for "Persistent" is active 0.068
And the file I created in the Persistent directory exists 0.061
After features/support/hooks.rb:330 0.971
After features/support/hooks.rb:100 0.000
Tags: @product
19.360
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.859
Then persistence for "Persistent" is active 0.107
When I create a file in the Persistent directory 0.066
And I disable the first tps feature 5.561
And I delete the data of the Persistent Folder feature 3.699
Then the file I created does not exist on the Persistent Storage 0.066
After features/support/hooks.rb:330 1.091
After features/support/hooks.rb:100 0.000
Tags: @product
1:10.036
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.411
And the network is plugged 0.224
And Tor is ready 22.220
And I take note of which tps features are available 2.756
When I write some files expected to persist 1.634
And I shutdown Tails and wait for the computer to power off 8.526
# 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.262
After features/support/hooks.rb:330 0.093
After features/support/hooks.rb:100 0.000
Tags: @product
3:51.942
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.943
And the network is plugged 0.095
And Tor is ready 20.170
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.174
And I shutdown Tails and wait for the computer to power off 8.222
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:22.074
And I capture all network traffic 0.007
And the network is plugged 0.087
And Tor is ready 49.538
And I switch to the "persistent-con-current" NetworkManager connection 0.339
And the 1st network device has a spoofed MAC address configured 0.120
And no network device leaked the real MAC address 0.168
After features/support/hooks.rb:330 0.579
After features/support/hooks.rb:100 0.053
Tags: @product
1:7.015
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.397
And I enable persistence creation in Tails Greeter 1.306
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.384
Then I create a persistent partition with the default settings using the wizard that was already open 25.926
After features/support/hooks.rb:330 3.391
After features/support/hooks.rb:100 0.000
Tags: @product
4:40.867
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 13.124
When I enable persistence 39.731
Then no persistent Greeter options were restored 14.929
When I set all Greeter options to non-default values 26.320
And I log in to a new session in German (de) after having activated the Persistent Storage 48.566
Then all Greeter options are set to non-default values 0.444
When I cold reboot the computer 7.532
And the computer reboots Tails 1:7.312
Given I enable persistence 19.441
Then persistent Greeter options were restored 0.538
When I log in to a new session after having activated the Persistent Storage 42.656
Then all Greeter options are set to non-default values 0.269
After features/support/hooks.rb:330 1.733
After features/support/hooks.rb:100 0.010
Tags: @product
23:22.890
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 11.574
# 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 46.336
And I shutdown Tails and wait for the computer to power off 13.298
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 22:11.681
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.849

SCENARIO FAILED: 'Changing the Persistent Storage passphrase' (at time 03:52:13)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5579/artifact/build-artifacts/03:52:13_Changing_the_Persistent_Storage_passphrase.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5579/artifact/build-artifacts/03:52:13_Changing_the_Persistent_Storage_passphrase.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5579/artifact/build-artifacts/03:52:13_Changing_the_Persistent_Storage_passphrase.journal

After features/support/hooks.rb:100 0.008
Tags: @product
1:9.943
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 17.555
And I log in to a new session without activating the Persistent Storage 24.123
Then persistence is disabled 0.296
But a Tails persistence partition exists on USB drive "__internal" 10.984
And all notifications have disappeared 9.648
When I delete the persistent partition 6.467
Then there is no persistence partition on USB drive "__internal" 0.866
After features/support/hooks.rb:330 1.334
After features/support/hooks.rb:100 0.000
Tags: @product
2:38.065
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 persistent partition enabled and logged in 9.910
When I write some dotfile expected to persist 0.082
And I shutdown Tails and wait for the computer to power off 10.912
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.653
Then the expected persistent dotfile is present in the filesystem 0.505
After features/support/hooks.rb:330 0.846
After features/support/hooks.rb:100 0.009
Tags: @product
1:54.461
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 9.547
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.102
When I try to enable persistence 0.314
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 34.222
When I log in to a new session after having activated the Persistent Storage 52.732
And all notifications have disappeared 7.540
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.498
And all tps features are enabled 3.230
And all tps features but the first one are active 2.271
After features/support/hooks.rb:330 1.767
After features/support/hooks.rb:100 0.000
Tags: @product
5:44.008
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 4:13.913
And I enable persistence 36.660
And I log in to a new session after having activated the Persistent Storage 48.594
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.737
And persistence is enabled 3.103
After features/support/hooks.rb:330 1.749
After features/support/hooks.rb:100 0.000
Tags: @product
33.340
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.673
And I enable persistence but something goes wrong during the LUKS header upgrade 21.846
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.819
After features/support/hooks.rb:330 0.906
After features/support/hooks.rb:100 0.000
Tags: @product
50.406
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.137
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.072
When I enable persistence 32.337
Then the filesystem of the Persistent Storage was repaired 0.091
And persistence is successfully enabled 2.767
After features/support/hooks.rb:330 1.226
After features/support/hooks.rb:100 0.000
Tags: @product
54.468
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.083
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.210
When I try to enable persistence 1.460
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.948
When I repair the filesystem of the Persistent Storage 1.296
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.093
And the filesystem of the Persistent Storage was repaired 3.541
When I close the filesystem repair dialog 1.252
Then persistence is successfully enabled 1.580
After features/support/hooks.rb:330 1.392
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:1.770
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 9.182
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.122
When I try to enable persistence 0.280
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 31.297
When I repair the filesystem of the Persistent Storage 1.358
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.086
When I log in to a new session 47.237
And all notifications have disappeared 9.134
# 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.373
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.261
When I close the "whisperback" window 1.537
Then the Tor Browser starts 20.090
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.808
After features/support/hooks.rb:330 2.898
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:0.361
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.249
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 11.831
And Tails detects disk read failures on the boot device 1.598
When I try to enable persistence 0.431
Then the Welcome Screen tells me that my hardware is probably failing 21.937
When I log in to a new session 45.280
And all notifications have disappeared 10.078
Then the Tor Browser starts 19.157
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.797
After features/support/hooks.rb:330 2.269
After features/support/hooks.rb:100 0.000