Project Number Date
test_Tails_ISO_improved-new-identity-scenario 11 10 May 2025, 13:58

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:4:14.141 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:29.682
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:46.412
And I update APT using apt 13.768
And I install "python3-behave" using apt 26.037
Then the Tails Persistent Storage behave tests pass 3.463
After features/support/hooks.rb:330 0.796
After features/support/hooks.rb:100 0.000
Tags: @product
55.679
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 13.343
When I log in to a new session without activating the Persistent Storage 27.835
Then Tails is running from USB drive "__internal" 0.633
And persistence is disabled 0.554
But a Tails persistence partition exists on USB drive "__internal" 13.311
After features/support/hooks.rb:330 1.684
After features/support/hooks.rb:100 0.000
Tags: @product
3:30.560
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 15.559
Then Tails is running from USB drive "__internal" 1.100
When I create a file in the Persistent directory 0.252
And I create a persistent partition with the default settings 24.297
Then the file I created was copied to the Persistent Storage 2.561
When I shutdown Tails and wait for the computer to power off 13.325
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:32.972
Then persistence for "Persistent" is active 0.402
And the file I created in the Persistent directory exists 0.088
After features/support/hooks.rb:330 1.051
After features/support/hooks.rb:100 0.010
Tags: @product
1:2.069
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.856
And the system is very low on memory 6.565
When I create a file in the Persistent directory 0.826
When I try to create a persistent partition 23.456
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.191
When I close the Persistent Storage app 2.771
And I free up some memory 3.030
And I create a persistent partition with the default settings 13.072
Then the file I created was copied to the Persistent Storage 0.298
After features/support/hooks.rb:330 1.903
After features/support/hooks.rb:100 0.000
Tags: @product
3:14.862
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 14.076
Then Tails is running from USB drive "__internal" 0.455
And all tps features are active 2.535
And all persistent directories have safe access rights 2.596
When I disable the first tps feature 6.879
Then all tps features but the first one are active 2.249
And I shutdown Tails and wait for the computer to power off 20.690
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:22.212
Then all tps features but the first one are active 3.167
After features/support/hooks.rb:330 1.227
After features/support/hooks.rb:100 0.009
Tags: @product
23.079
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.309
Then persistence for "Persistent" is active 0.132
And I create a file in the Persistent directory 0.107
Then the file I created was copied to the Persistent Storage 0.477
When I disable the first tps feature 6.565
Then persistence for "Persistent" is not active 0.139
And the Persistent directory does not exist 0.065
When I enable the first tps feature 3.142
Then persistence for "Persistent" is active 0.071
And the file I created in the Persistent directory exists 0.069
After features/support/hooks.rb:330 1.426
After features/support/hooks.rb:100 0.000
Tags: @product
21.363
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.619
Then persistence for "Persistent" is active 0.259
When I create a file in the Persistent directory 0.144
And I disable the first tps feature 6.453
And I delete the data of the Persistent Folder feature 3.827
Then the file I created does not exist on the Persistent Storage 0.059
After features/support/hooks.rb:330 1.633
After features/support/hooks.rb:100 0.000
Tags: @product
1:17.469
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.598
And the network is plugged 0.096
And Tor is ready 26.630
And I take note of which tps features are available 2.821
When I write some files expected to persist 2.002
And I shutdown Tails and wait for the computer to power off 8.932
# 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" 26.388
After features/support/hooks.rb:330 0.136
After features/support/hooks.rb:100 0.000
Tags: @product
3:25.091
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.784
And the network is plugged 0.095
And Tor is ready 20.630
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.232
And I shutdown Tails and wait for the computer to power off 13.297
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:17.546
And I capture all network traffic 0.008
And the network is plugged 0.090
And Tor is ready 20.542
And I switch to the "persistent-con-current" NetworkManager connection 0.541
And the 1st network device has a spoofed MAC address configured 0.108
And no network device leaked the real MAC address 0.213
After features/support/hooks.rb:330 1.250
After features/support/hooks.rb:100 0.057
Tags: @product
1:11.878
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 stopped at Tails Greeter's login screen 15.841
And I enable persistence creation in Tails Greeter 1.135
And I log in to a new session expecting no warning about the Persistent Storage not being activated 29.466
Then I create a persistent partition with the default settings using the wizard that was already open 25.434
After features/support/hooks.rb:330 2.424
After features/support/hooks.rb:100 0.000
Tags: @product
5:10.709
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.353
When I enable persistence 57.025
Then no persistent Greeter options were restored 14.606
When I set all Greeter options to non-default values 29.814
And I log in to a new session in German (de) after having activated the Persistent Storage 45.220
Then all Greeter options are set to non-default values 0.484
When I cold reboot the computer 10.487
And the computer reboots Tails 1:13.297
Given I enable persistence 23.722
Then persistent Greeter options were restored 0.785
When I log in to a new session after having activated the Persistent Storage 40.239
Then all Greeter options are set to non-default values 0.673
After features/support/hooks.rb:330 2.745
After features/support/hooks.rb:100 0.026
Tags: @product
4:18.394
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.014
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 12.017
# 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 39.854
And I shutdown Tails and wait for the computer to power off 13.455
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:23.842
And I change the passphrase of the Persistent Storage back to the original 49.224
After features/support/hooks.rb:330 2.984
After features/support/hooks.rb:100 0.008
Tags: @product
1:2.293
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 10.256
And I log in to a new session without activating the Persistent Storage 22.881
Then persistence is disabled 0.524
But a Tails persistence partition exists on USB drive "__internal" 12.692
And all notifications have disappeared 7.374
When I delete the persistent partition 7.762
Then there is no persistence partition on USB drive "__internal" 0.802
After features/support/hooks.rb:330 1.169
After features/support/hooks.rb:100 0.000
Tags: @product
22:46.580
Scenario Dotfiles persistence
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.015
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.819
When I write some dotfile expected to persist 0.111
And I shutdown Tails and wait for the computer to power off 13.250
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 22:22.399
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:139:in `And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled'
Then the expected persistent dotfile is present in the filesystem 0.000
After features/support/hooks.rb:330 10.918

SCENARIO FAILED: 'Dotfiles persistence' (at time 04:09:18)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_improved-new-identity-scenario/11/artifact/build-artifacts/04:09:18_Dotfiles_persistence.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_improved-new-identity-scenario/11/artifact/build-artifacts/04:09:18_Dotfiles_persistence.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_improved-new-identity-scenario/11/artifact/build-artifacts/04:09:18_Dotfiles_persistence.journal

After features/support/hooks.rb:100 0.010
Tags: @product
1:42.751
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 10.903
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.150
When I try to enable persistence 0.403
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 31.895
When I log in to a new session after having activated the Persistent Storage 41.454
And all notifications have disappeared 9.040
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.896
And all tps features are enabled 2.813
And all tps features but the first one are active 2.192
After features/support/hooks.rb:330 1.251
After features/support/hooks.rb:100 0.000
Tags: @product
5:19.576
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:56.578
And I enable persistence 31.169
And I log in to a new session after having activated the Persistent Storage 43.333
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 5.695
And persistence is enabled 2.798
After features/support/hooks.rb:330 1.101
After features/support/hooks.rb:100 0.000
Tags: @product
30.510
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 9.741
And I enable persistence but something goes wrong during the LUKS header upgrade 19.772
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.995
After features/support/hooks.rb:330 0.664
After features/support/hooks.rb:100 0.000
Tags: @product
47.435
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.144
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.804
When I enable persistence 29.462
Then the filesystem of the Persistent Storage was repaired 0.156
And persistence is successfully enabled 2.868
After features/support/hooks.rb:330 2.679
After features/support/hooks.rb:100 0.000
Tags: @product
54.042
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.184
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.136
When I try to enable persistence 0.454
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 25.631
When I repair the filesystem of the Persistent Storage 5.187
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.095
And the filesystem of the Persistent Storage was repaired 3.312
When I close the filesystem repair dialog 1.292
Then persistence is successfully enabled 1.747
After features/support/hooks.rb:330 2.754
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:53.266
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.091
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.111
When I try to enable persistence 0.395
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.771
When I repair the filesystem of the Persistent Storage 1.294
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.098
When I log in to a new session 39.304
And all notifications have disappeared 8.018
# 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.599
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.212
When I close the "whisperback" window 1.581
Then the Tor Browser starts 21.946
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.840
After features/support/hooks.rb:330 2.800
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:56.842
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.047
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.948
And Tails detects disk read failures on the boot device 1.606
When I try to enable persistence 0.451
Then the Welcome Screen tells me that my hardware is probably failing 20.389
When I log in to a new session 47.130
And all notifications have disappeared 7.784
Then the Tor Browser starts 23.545
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.937
After features/support/hooks.rb:330 2.012
After features/support/hooks.rb:100 0.000