Project Number Date
test_Tails_ISO_devel 3690 14 Feb 2025, 10:04

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 150 1 6 0 0 157 20 1 21 1:3:22.069 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:18.348
Before features/support/hooks.rb:269 0.005
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:35.511
And I update APT using apt 14.542
And I install "python3-behave" using apt 25.592
Then the Tails Persistent Storage behave tests pass 2.701
After features/support/hooks.rb:326 0.878
After features/support/hooks.rb:100 0.000
Tags: @product
1:9.049
Before features/support/hooks.rb:269 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 28.444
When I log in to a new session without activating the Persistent Storage 25.070
Then Tails is running from USB drive "__internal" 0.797
And persistence is disabled 0.717
But a Tails persistence partition exists on USB drive "__internal" 14.018
After features/support/hooks.rb:326 1.052
After features/support/hooks.rb:100 0.000
Tags: @product
3:58.689
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive without a persistent partition and logged in 1:0.962
Then Tails is running from USB drive "__internal" 0.461
When I create a file in the Persistent directory 0.172
And I create a persistent partition with the default settings 24.506
Then the file I created was copied to the Persistent Storage 0.613
When I shutdown Tails and wait for the computer to power off 12.628
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:18.036
Then persistence for "Persistent" is active 1.232
And the file I created in the Persistent directory exists 0.076
After features/support/hooks.rb:326 1.021
After features/support/hooks.rb:100 0.010
Tags: @product
1:3.806
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive without a persistent partition and logged in 16.035
And the system is very low on memory 4.074
When I create a file in the Persistent directory 1.599
When I try to create a persistent partition 23.916
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.174
When I close the Persistent Storage app 2.670
And I free up some memory 1.710
And I create a persistent partition with the default settings 13.367
Then the file I created was copied to the Persistent Storage 0.258
After features/support/hooks.rb:326 1.537
After features/support/hooks.rb:100 0.000
Tags: @product
3:8.686
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 13.560
Then Tails is running from USB drive "__internal" 0.477
And all tps features are active 2.464
And all persistent directories have safe access rights 2.921
When I disable the first tps feature 6.374
Then all tps features but the first one are active 2.241
And I shutdown Tails and wait for the computer to power off 15.435
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:22.699
Then all tps features but the first one are active 2.511
After features/support/hooks.rb:326 0.802
After features/support/hooks.rb:100 0.008
Tags: @product
21.442
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.541
Then persistence for "Persistent" is active 0.280
And I create a file in the Persistent directory 0.101
Then the file I created was copied to the Persistent Storage 0.098
When I disable the first tps feature 5.968
Then persistence for "Persistent" is not active 0.075
And the Persistent directory does not exist 0.067
When I enable the first tps feature 3.155
Then persistence for "Persistent" is active 0.087
And the file I created in the Persistent directory exists 0.066
After features/support/hooks.rb:326 0.924
After features/support/hooks.rb:100 0.000
Tags: @product
20.656
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.372
Then persistence for "Persistent" is active 0.126
When I create a file in the Persistent directory 0.093
And I disable the first tps feature 6.126
And I delete the data of the Persistent Folder feature 3.867
Then the file I created does not exist on the Persistent Storage 0.070
After features/support/hooks.rb:326 1.077
After features/support/hooks.rb:100 0.000
Tags: @product
1:7.898
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.637
And the network is plugged 0.082
And Tor is ready 20.138
And I take note of which tps features are available 0.753
When I write some files expected to persist 1.707
And I shutdown Tails and wait for the computer to power off 10.740
# 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.838
After features/support/hooks.rb:326 0.149
After features/support/hooks.rb:100 0.000
Tags: @product
22:38.202
Scenario Creating and using a persistent NetworkManager connection
Before features/support/hooks.rb:269 0.008
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.918
And the network is plugged 0.107
And Tor is ready 18.613
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.267
And I shutdown Tails and wait for the computer to power off 9.020
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 22:0.273
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:712:in `new'
./features/step_definitions/common_steps.rb:712: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:88:in `Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled'
And I capture all network traffic 0.000
And the network is plugged 0.000
And Tor is ready 0.000
And I switch to the "persistent-con-current" NetworkManager connection 0.000
And the 1st network device has a spoofed MAC address configured 0.000
And no network device leaked the real MAC address 0.000
After features/support/hooks.rb:326 10.864

SCENARIO FAILED: 'Creating and using a persistent NetworkManager connection' (at time 03:44:45)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3690/artifact/build-artifacts/03:44:45_Creating_and_using_a_persistent_NetworkManager_connection.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3690/artifact/build-artifacts/03:44:45_Creating_and_using_a_persistent_NetworkManager_connection.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3690/artifact/build-artifacts/03:44:45_Creating_and_using_a_persistent_NetworkManager_connection.journal

After features/support/hooks.rb:100 0.010
Tags: @product
59.999
Before features/support/hooks.rb:269 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.681
And I enable persistence creation in Tails Greeter 1.483
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.744
Then I create a persistent partition with the default settings using the wizard that was already open 23.090
After features/support/hooks.rb:326 1.622
After features/support/hooks.rb:100 0.000
Tags: @product
4:41.666
Before features/support/hooks.rb:269 0.010
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 11.798
When I enable persistence 42.251
Then no persistent Greeter options were restored 15.040
When I set all Greeter options to non-default values 24.069
And I log in to a new session in German (de) after having activated the Persistent Storage 49.206
Then all Greeter options are set to non-default values 3.211
When I cold reboot the computer 7.679
And the computer reboots Tails 1:1.665
Given I enable persistence 24.977
Then persistent Greeter options were restored 0.526
When I log in to a new session after having activated the Persistent Storage 40.294
Then all Greeter options are set to non-default values 0.946
After features/support/hooks.rb:326 1.460
After features/support/hooks.rb:100 0.014
Tags: @product
4:8.252
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 17.169
# 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.203
And I shutdown Tails and wait for the computer to power off 14.593
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:21.259
And I change the passphrase of the Persistent Storage back to the original 36.026
After features/support/hooks.rb:326 2.322
After features/support/hooks.rb:100 0.011
Tags: @product
53.922
Before features/support/hooks.rb:269 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.499
And I log in to a new session without activating the Persistent Storage 21.207
Then persistence is disabled 0.410
But a Tails persistence partition exists on USB drive "__internal" 7.433
And all notifications have disappeared 8.537
When I delete the persistent partition 6.416
Then there is no persistence partition on USB drive "__internal" 0.416
After features/support/hooks.rb:326 0.794
After features/support/hooks.rb:100 0.000
Tags: @product
2:36.915
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.871
When I write some dotfile expected to persist 0.145
And I shutdown Tails and wait for the computer to power off 10.825
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.715
Then the expected persistent dotfile is present in the filesystem 0.357
After features/support/hooks.rb:326 0.831
After features/support/hooks.rb:100 0.009
Tags: @product
1:48.934
Before features/support/hooks.rb:269 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 8.771
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.119
When I try to enable persistence 0.308
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 33.403
When I log in to a new session after having activated the Persistent Storage 48.350
And all notifications have disappeared 9.254
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.304
And all tps features are enabled 2.343
And all tps features but the first one are active 2.079
After features/support/hooks.rb:326 1.641
After features/support/hooks.rb:100 0.000
Tags: @product
5:51.211
Before features/support/hooks.rb:269 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 4:19.594
And I enable persistence 38.824
And I log in to a new session after having activated the Persistent Storage 48.027
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.098
And persistence is enabled 2.665
After features/support/hooks.rb:326 0.944
After features/support/hooks.rb:100 0.000
Tags: @product
35.454
Before features/support/hooks.rb:269 0.004
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.426
And I enable persistence but something goes wrong during the LUKS header upgrade 26.167
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.859
After features/support/hooks.rb:326 0.794
After features/support/hooks.rb:100 0.000
Tags: @product
51.844
Before features/support/hooks.rb:269 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.500
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 7.954
When I enable persistence 31.571
Then the filesystem of the Persistent Storage was repaired 0.090
And persistence is successfully enabled 2.727
After features/support/hooks.rb:326 0.855
After features/support/hooks.rb:100 0.000
Tags: @product
50.833
Before features/support/hooks.rb:269 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.549
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.938
When I try to enable persistence 0.420
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 27.941
When I repair the filesystem of the Persistent Storage 1.315
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.609
And the filesystem of the Persistent Storage was repaired 2.333
When I close the filesystem repair dialog 1.260
Then persistence is successfully enabled 1.463
After features/support/hooks.rb:326 1.239
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:51.064
Before features/support/hooks.rb:269 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.709
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.105
When I try to enable persistence 0.264
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 30.003
When I repair the filesystem of the Persistent Storage 1.197
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.092
When I log in to a new session 39.628
And all notifications have disappeared 8.899
# 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.449
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.215
When I close the "whisperback" window 1.591
Then the Tor Browser starts 18.940
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.964
After features/support/hooks.rb:326 3.101
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:5.191
Before features/support/hooks.rb:269 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.033
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.445
And Tails detects disk read failures on the boot device 0.515
When I try to enable persistence 0.601
Then the Welcome Screen tells me that my hardware is probably failing 25.461
When I log in to a new session 51.353
And all notifications have disappeared 8.695
Then the Tor Browser starts 23.273
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.811
After features/support/hooks.rb:326 2.637
After features/support/hooks.rb:100 0.000