Project Number Date
test_Tails_ISO_devel 3709 25 Feb 2025, 13:03

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:9.709 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:38.350
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:59.370
And I update APT using apt 13.611
And I install "python3-behave" using apt 22.436
Then the Tails Persistent Storage behave tests pass 2.932
After features/support/hooks.rb:330 1.588
After features/support/hooks.rb:100 0.000
Tags: @product
47.026
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.174
When I log in to a new session without activating the Persistent Storage 21.953
Then Tails is running from USB drive "__internal" 0.516
And persistence is disabled 0.466
But a Tails persistence partition exists on USB drive "__internal" 12.915
After features/support/hooks.rb:330 2.385
After features/support/hooks.rb:100 0.000
Tags: @product
3:13.837
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.481
Then Tails is running from USB drive "__internal" 0.452
When I create a file in the Persistent directory 0.150
And I create a persistent partition with the default settings 23.440
Then the file I created was copied to the Persistent Storage 0.555
When I shutdown Tails and wait for the computer to power off 12.691
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:22.573
Then persistence for "Persistent" is active 0.383
And the file I created in the Persistent directory exists 0.107
After features/support/hooks.rb:330 1.655
After features/support/hooks.rb:100 0.009
Tags: @product
1:3.603
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 logged in 10.902
And the system is very low on memory 4.182
When I create a file in the Persistent directory 1.202
When I try to create a persistent partition 29.047
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.204
When I close the Persistent Storage app 2.534
And I free up some memory 1.751
And I create a persistent partition with the default settings 13.540
Then the file I created was copied to the Persistent Storage 0.236
After features/support/hooks.rb:330 2.559
After features/support/hooks.rb:100 0.000
Tags: @product
2:48.542
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.267
Then Tails is running from USB drive "__internal" 0.391
And all tps features are active 2.644
And all persistent directories have safe access rights 2.424
When I disable the first tps feature 6.176
Then all tps features but the first one are active 2.081
And I shutdown Tails and wait for the computer to power off 12.409
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.833
Then all tps features but the first one are active 2.313
After features/support/hooks.rb:330 1.802
After features/support/hooks.rb:100 0.009
Tags: @product
19.130
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.807
Then persistence for "Persistent" is active 0.087
And I create a file in the Persistent directory 0.088
Then the file I created was copied to the Persistent Storage 0.069
When I disable the first tps feature 5.690
Then persistence for "Persistent" is not active 0.082
And the Persistent directory does not exist 0.059
When I enable the first tps feature 3.103
Then persistence for "Persistent" is active 0.070
And the file I created in the Persistent directory exists 0.071
After features/support/hooks.rb:330 1.469
After features/support/hooks.rb:100 0.000
Tags: @product
18.653
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.308
Then persistence for "Persistent" is active 0.091
When I create a file in the Persistent directory 0.075
And I disable the first tps feature 5.448
And I delete the data of the Persistent Folder feature 3.666
Then the file I created does not exist on the Persistent Storage 0.062
After features/support/hooks.rb:330 1.551
After features/support/hooks.rb:100 0.000
Tags: @product
1:3.554
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.139
And the network is plugged 0.085
And Tor is ready 19.336
And I take note of which tps features are available 0.586
When I write some files expected to persist 1.404
And I shutdown Tails and wait for the computer to power off 8.596
# 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.404
After features/support/hooks.rb:330 0.101
After features/support/hooks.rb:100 0.000
Tags: @product
3:8.275
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 enabled and logged in 9.678
And the network is plugged 0.072
And Tor is ready 19.661
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.181
And I shutdown Tails and wait for the computer to power off 8.670
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.858
And I capture all network traffic 0.007
And the network is plugged 0.092
And Tor is ready 21.406
And I switch to the "persistent-con-current" NetworkManager connection 0.426
And the 1st network device has a spoofed MAC address configured 0.083
And no network device leaked the real MAC address 0.136
After features/support/hooks.rb:330 0.644
After features/support/hooks.rb:100 0.043
Tags: @product
55.395
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 stopped at Tails Greeter's login screen 13.266
And I enable persistence creation in Tails Greeter 1.107
And I log in to a new session expecting no warning about the Persistent Storage not being activated 20.035
Then I create a persistent partition with the default settings using the wizard that was already open 20.985
After features/support/hooks.rb:330 1.951
After features/support/hooks.rb:100 0.000
Tags: @product
4:31.062
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 13.243
When I enable persistence 41.154
Then no persistent Greeter options were restored 14.007
When I set all Greeter options to non-default values 24.337
And I log in to a new session in German (de) after having activated the Persistent Storage 46.398
Then all Greeter options are set to non-default values 0.446
When I cold reboot the computer 7.404
And the computer reboots Tails 1:3.925
Given I enable persistence 18.973
Then persistent Greeter options were restored 0.576
When I log in to a new session after having activated the Persistent Storage 40.234
Then all Greeter options are set to non-default values 0.360
After features/support/hooks.rb:330 1.906
After features/support/hooks.rb:100 0.009
Tags: @product
23:25.802
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 10.241
# 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 50.410
And I shutdown Tails and wait for the computer to power off 12.416
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 22:12.733
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.764

SCENARIO FAILED: 'Changing the Persistent Storage passphrase' (at time 03:49:36)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3709/artifact/build-artifacts/03:49:36_Changing_the_Persistent_Storage_passphrase.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3709/artifact/build-artifacts/03:49:36_Changing_the_Persistent_Storage_passphrase.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3709/artifact/build-artifacts/03:49:36_Changing_the_Persistent_Storage_passphrase.journal

After features/support/hooks.rb:100 0.008
Tags: @product
57.672
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 13.409
And I log in to a new session without activating the Persistent Storage 20.062
Then persistence is disabled 0.241
But a Tails persistence partition exists on USB drive "__internal" 6.745
And all notifications have disappeared 8.732
When I delete the persistent partition 8.075
Then there is no persistence partition on USB drive "__internal" 0.405
After features/support/hooks.rb:330 1.011
After features/support/hooks.rb:100 0.000
Tags: @product
2:28.260
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.794
When I write some dotfile expected to persist 0.062
And I shutdown Tails and wait for the computer to power off 8.505
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.483
Then the expected persistent dotfile is present in the filesystem 0.415
After features/support/hooks.rb:330 1.443
After features/support/hooks.rb:100 0.009
Tags: @product
1:38.497
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.891
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.087
When I try to enable persistence 0.273
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 26.615
When I log in to a new session after having activated the Persistent Storage 44.425
And all notifications have disappeared 9.332
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.262
And all tps features are enabled 2.513
And all tps features but the first one are active 2.096
After features/support/hooks.rb:330 1.655
After features/support/hooks.rb:100 0.000
Tags: @product
4:50.711
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 3:27.632
And I enable persistence 33.737
And I log in to a new session after having activated the Persistent Storage 43.779
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.805
And persistence is enabled 3.755
After features/support/hooks.rb:330 1.507
After features/support/hooks.rb:100 0.000
Tags: @product
30.176
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.249
And I enable persistence but something goes wrong during the LUKS header upgrade 21.078
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.848
After features/support/hooks.rb:330 0.936
After features/support/hooks.rb:100 0.000
Tags: @product
53.553
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.025
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.432
When I enable persistence 36.317
Then the filesystem of the Persistent Storage was repaired 0.094
And persistence is successfully enabled 2.683
After features/support/hooks.rb:330 1.597
After features/support/hooks.rb:100 0.000
Tags: @product
49.537
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.743
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.850
When I try to enable persistence 0.389
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 23.334
When I repair the filesystem of the Persistent Storage 2.256
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.611
And the filesystem of the Persistent Storage was repaired 1.621
When I close the filesystem repair dialog 5.184
Then persistence is successfully enabled 1.544
After features/support/hooks.rb:330 1.701
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:51.376
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.741
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.099
When I try to enable persistence 0.308
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.056
When I repair the filesystem of the Persistent Storage 1.271
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.105
When I log in to a new session 40.340
And all notifications have disappeared 8.647
# 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.626
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.139
When I close the "whisperback" window 1.650
Then the Tor Browser starts 19.513
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.873
After features/support/hooks.rb:330 2.345
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:56.689
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.822
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.304
And Tails detects disk read failures on the boot device 1.606
When I try to enable persistence 1.411
Then the Welcome Screen tells me that my hardware is probably failing 18.756
When I log in to a new session 48.336
And all notifications have disappeared 8.124
Then the Tor Browser starts 22.450
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.875
After features/support/hooks.rb:330 2.617
After features/support/hooks.rb:100 0.000