Project Number Date
test_Tails_ISO_stable 5542 02 Apr 2025, 12:38

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:5:14.340 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
4:4.496
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.012
Given I have started Tails from DVD and logged in with an administration password and the network is connected 2:0.423
And I update APT using apt 53.707
And I install "python3-behave" using apt 1:7.157
Then the Tails Persistent Storage behave tests pass 3.206
After features/support/hooks.rb:330 0.994
After features/support/hooks.rb:100 0.000
Tags: @product
54.136
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.011
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 14.401
When I log in to a new session without activating the Persistent Storage 28.551
Then Tails is running from USB drive "__internal" 0.900
And persistence is disabled 0.963
But a Tails persistence partition exists on USB drive "__internal" 9.320
After features/support/hooks.rb:330 1.350
After features/support/hooks.rb:100 0.000
Tags: @product
3:24.746
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 13.902
Then Tails is running from USB drive "__internal" 0.594
When I create a file in the Persistent directory 0.186
And I create a persistent partition with the default settings 24.444
Then the file I created was copied to the Persistent Storage 3.375
When I shutdown Tails and wait for the computer to power off 13.315
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:28.382
Then persistence for "Persistent" is active 0.409
And the file I created in the Persistent directory exists 0.135
After features/support/hooks.rb:330 2.065
After features/support/hooks.rb:100 0.010
Tags: @product
1:9.834
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 13.120
And the system is very low on memory 7.316
When I create a file in the Persistent directory 1.452
When I try to create a persistent partition 28.016
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.216
When I close the Persistent Storage app 2.781
And I free up some memory 3.292
And I create a persistent partition with the default settings 13.239
Then the file I created was copied to the Persistent Storage 0.398
After features/support/hooks.rb:330 2.396
After features/support/hooks.rb:100 0.000
Tags: @product
3:5.814
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 15.384
Then Tails is running from USB drive "__internal" 0.548
And all tps features are active 2.790
And all persistent directories have safe access rights 3.037
When I disable the first tps feature 6.273
Then all tps features but the first one are active 2.183
And 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:17.540
Then all tps features but the first one are active 2.312
After features/support/hooks.rb:330 1.411
After features/support/hooks.rb:100 0.008
Tags: @product
22.337
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.004
Then persistence for "Persistent" is active 0.165
And I create a file in the Persistent directory 0.229
Then the file I created was copied to the Persistent Storage 0.117
When I disable the first tps feature 6.356
Then persistence for "Persistent" is not active 0.097
And the Persistent directory does not exist 0.053
When I enable the first tps feature 3.127
Then persistence for "Persistent" is active 0.099
And the file I created in the Persistent directory exists 0.084
After features/support/hooks.rb:330 2.361
After features/support/hooks.rb:100 0.000
Tags: @product
21.296
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.013
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.105
Then persistence for "Persistent" is active 0.155
When I create a file in the Persistent directory 0.086
And I disable the first tps feature 5.957
And I delete the data of the Persistent Folder feature 3.936
Then the file I created does not exist on the Persistent Storage 0.055
After features/support/hooks.rb:330 2.398
After features/support/hooks.rb:100 0.000
Tags: @product
1:14.803
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.259
And the network is plugged 0.137
And Tor is ready 24.478
And I take note of which tps features are available 0.706
When I write some files expected to persist 1.707
And I shutdown Tails and wait for the computer to power off 11.086
# 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.427
After features/support/hooks.rb:330 0.153
After features/support/hooks.rb:100 0.000
Tags: @product
3:17.797
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.895
And the network is plugged 0.082
And Tor is ready 18.264
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.429
And I shutdown Tails and wait for the computer to power off 8.665
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:18.367
And I capture all network traffic 0.008
And the network is plugged 0.096
And Tor is ready 21.284
And I switch to the "persistent-con-current" NetworkManager connection 0.463
And the 1st network device has a spoofed MAC address configured 0.107
And no network device leaked the real MAC address 0.131
After features/support/hooks.rb:330 0.736
After features/support/hooks.rb:100 0.046
Tags: @product
59.501
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 stopped at Tails Greeter's login screen 13.219
And I enable persistence creation in Tails Greeter 1.133
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.474
Then I create a persistent partition with the default settings using the wizard that was already open 22.673
After features/support/hooks.rb:330 2.767
After features/support/hooks.rb:100 0.000
Tags: @product
4:57.106
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 14.427
When I enable persistence 46.451
Then no persistent Greeter options were restored 14.711
When I set all Greeter options to non-default values 26.874
And I log in to a new session in German (de) after having activated the Persistent Storage 55.660
Then all Greeter options are set to non-default values 0.359
When I cold reboot the computer 8.207
And the computer reboots Tails 1:5.496
Given I enable persistence 22.683
Then persistent Greeter options were restored 0.537
When I log in to a new session after having activated the Persistent Storage 40.870
Then all Greeter options are set to non-default values 0.824
After features/support/hooks.rb:330 1.402
After features/support/hooks.rb:100 0.008
Tags: @product
23:45.621
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 10.127
# 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 57.423
And I shutdown Tails and wait for the computer to power off 15.320
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 22:22.750
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.889

SCENARIO FAILED: 'Changing the Persistent Storage passphrase' (at time 04:16:15)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5542/artifact/build-artifacts/04:16:15_Changing_the_Persistent_Storage_passphrase.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5542/artifact/build-artifacts/04:16:15_Changing_the_Persistent_Storage_passphrase.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5542/artifact/build-artifacts/04:16:15_Changing_the_Persistent_Storage_passphrase.journal

After features/support/hooks.rb:100 0.009
Tags: @product
1:5.070
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 11.698
And I log in to a new session without activating the Persistent Storage 22.346
Then persistence is disabled 0.710
But a Tails persistence partition exists on USB drive "__internal" 11.667
And all notifications have disappeared 11.223
When I delete the persistent partition 6.467
Then there is no persistence partition on USB drive "__internal" 0.956
After features/support/hooks.rb:330 1.225
After features/support/hooks.rb:100 0.000
Tags: @product
2:53.609
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.878
When I write some dotfile expected to persist 0.230
And I shutdown Tails and wait for the computer to power off 11.351
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:30.345
Then the expected persistent dotfile is present in the filesystem 0.804
After features/support/hooks.rb:330 2.167
After features/support/hooks.rb:100 0.013
Tags: @product
1:49.343
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 12.227
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.112
When I try to enable persistence 0.305
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 37.090
When I log in to a new session after having activated the Persistent Storage 39.339
And all notifications have disappeared 9.355
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.523
And all tps features are enabled 3.996
And all tps features but the first one are active 2.393
After features/support/hooks.rb:330 2.116
After features/support/hooks.rb:100 0.000
Tags: @product
5:25.656
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 3:58.382
And I enable persistence 38.031
And I log in to a new session after having activated the Persistent Storage 43.169
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.865
And persistence is enabled 3.207
After features/support/hooks.rb:330 2.425
After features/support/hooks.rb:100 0.000
Tags: @product
32.684
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.102
And I enable persistence but something goes wrong during the LUKS header upgrade 22.555
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 1.025
After features/support/hooks.rb:330 0.861
After features/support/hooks.rb:100 0.000
Tags: @product
46.675
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.808
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.778
When I enable persistence 27.206
Then the filesystem of the Persistent Storage was repaired 0.088
And persistence is successfully enabled 2.793
After features/support/hooks.rb:330 1.331
After features/support/hooks.rb:100 0.000
Tags: @product
51.609
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.999
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.703
When I try to enable persistence 0.575
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 26.183
When I repair the filesystem of the Persistent Storage 1.293
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.415
And the filesystem of the Persistent Storage was repaired 4.320
When I close the filesystem repair dialog 1.263
Then persistence is successfully enabled 1.855
After features/support/hooks.rb:330 1.417
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:6.851
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.017
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.298
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.110
When I try to enable persistence 0.305
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 35.428
When I repair the filesystem of the Persistent Storage 1.283
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.077
When I log in to a new session 47.351
And all notifications have disappeared 10.498
# 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.490
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.970
When I close the "whisperback" window 1.659
Then the Tor Browser starts 18.380
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.996
After features/support/hooks.rb:330 4.385
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:5.348
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.915
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.000
And Tails detects disk read failures on the boot device 0.666
When I try to enable persistence 0.646
Then the Welcome Screen tells me that my hardware is probably failing 21.890
When I log in to a new session 49.803
And all notifications have disappeared 9.349
Then the Tor Browser starts 24.230
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.845
After features/support/hooks.rb:330 2.473
After features/support/hooks.rb:100 0.000