Project Number Date
test_Tails_ISO_tca-misc-improvements 19 26 Apr 2025, 18:21

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:2:39.239 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:40.860
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:53.240
And I update APT using apt 18.445
And I install "python3-behave" using apt 26.546
Then the Tails Persistent Storage behave tests pass 2.628
After features/support/hooks.rb:330 1.505
After features/support/hooks.rb:100 0.000
Tags: @product
49.930
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 12.471
When I log in to a new session without activating the Persistent Storage 28.008
Then Tails is running from USB drive "__internal" 0.723
And persistence is disabled 0.357
But a Tails persistence partition exists on USB drive "__internal" 8.369
After features/support/hooks.rb:330 2.411
After features/support/hooks.rb:100 0.000
Tags: @product
3:26.030
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 17.806
Then Tails is running from USB drive "__internal" 0.484
When I create a file in the Persistent directory 0.142
And I create a persistent partition with the default settings 23.684
Then the file I created was copied to the Persistent Storage 1.713
When I shutdown Tails and wait for the computer to power off 11.783
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:29.634
Then persistence for "Persistent" is active 0.706
And the file I created in the Persistent directory exists 0.075
After features/support/hooks.rb:330 1.711
After features/support/hooks.rb:100 0.008
Tags: @product
1:8.143
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 12.147
And the system is very low on memory 5.472
When I create a file in the Persistent directory 1.596
When I try to create a persistent partition 26.999
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.229
When I close the Persistent Storage app 2.577
And I free up some memory 3.923
And I create a persistent partition with the default settings 14.745
Then the file I created was copied to the Persistent Storage 0.450
After features/support/hooks.rb:330 2.604
After features/support/hooks.rb:100 0.000
Tags: @product
2:58.133
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 13.136
Then Tails is running from USB drive "__internal" 0.543
And all tps features are active 3.165
And all persistent directories have safe access rights 2.610
When I disable the first tps feature 7.090
Then all tps features but the first one are active 2.377
And I shutdown Tails and wait for the computer to power off 15.517
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.476
Then all tps features but the first one are active 2.215
After features/support/hooks.rb:330 2.200
After features/support/hooks.rb:100 0.018
Tags: @product
20.780
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 enabled and logged in 10.334
Then persistence for "Persistent" is active 0.087
And I create a file in the Persistent directory 0.237
Then the file I created was copied to the Persistent Storage 0.087
When I disable the first tps feature 6.587
Then persistence for "Persistent" is not active 0.076
And the Persistent directory does not exist 0.066
When I enable the first tps feature 3.144
Then persistence for "Persistent" is active 0.075
And the file I created in the Persistent directory exists 0.083
After features/support/hooks.rb:330 1.699
After features/support/hooks.rb:100 0.000
Tags: @product
19.659
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.376
Then persistence for "Persistent" is active 0.098
When I create a file in the Persistent directory 0.226
And I disable the first tps feature 5.978
And I delete the data of the Persistent Folder feature 3.913
Then the file I created does not exist on the Persistent Storage 0.067
After features/support/hooks.rb:330 1.748
After features/support/hooks.rb:100 0.000
Tags: @product
1:7.303
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.554
And the network is plugged 0.196
And Tor is ready 22.743
And I take note of which tps features are available 0.645
When I write some files expected to persist 1.541
And I shutdown Tails and wait for the computer to power off 8.531
# 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.089
After features/support/hooks.rb:330 0.093
After features/support/hooks.rb:100 0.000
Tags: @product
22:44.402
Scenario Creating and using a persistent NetworkManager connection
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.212
And the network is plugged 0.077
And Tor is ready 18.921
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.225
And I shutdown Tails and wait for the computer to power off 8.604
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 22:7.360
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: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:330 10.843

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

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_tca-misc-improvements/19/artifact/build-artifacts/03:37:35_Creating_and_using_a_persistent_NetworkManager_connection.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_tca-misc-improvements/19/artifact/build-artifacts/03:37:35_Creating_and_using_a_persistent_NetworkManager_connection.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_tca-misc-improvements/19/artifact/build-artifacts/03:37:35_Creating_and_using_a_persistent_NetworkManager_connection.journal

After features/support/hooks.rb:100 0.009
Tags: @product
1:6.120
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 22.483
And I enable persistence creation in Tails Greeter 1.173
And I log in to a new session expecting no warning about the Persistent Storage not being activated 19.921
Then I create a persistent partition with the default settings using the wizard that was already open 22.541
After features/support/hooks.rb:330 2.806
After features/support/hooks.rb:100 0.000
Tags: @product
4:23.960
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 11.677
When I enable persistence 37.478
Then no persistent Greeter options were restored 14.191
When I set all Greeter options to non-default values 24.422
And I log in to a new session in German (de) after having activated the Persistent Storage 43.110
Then all Greeter options are set to non-default values 0.496
When I cold reboot the computer 7.390
And the computer reboots Tails 1:5.784
Given I enable persistence 19.625
Then persistent Greeter options were restored 0.571
When I log in to a new session after having activated the Persistent Storage 38.970
Then all Greeter options are set to non-default values 0.242
After features/support/hooks.rb:330 1.624
After features/support/hooks.rb:100 0.014
Tags: @product
3:27.673
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 enabled and logged in 10.203
# 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 33.304
And I shutdown Tails and wait for the computer to power off 14.713
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:57.217
And I change the passphrase of the Persistent Storage back to the original 32.234
After features/support/hooks.rb:330 3.019
After features/support/hooks.rb:100 0.008
Tags: @product
58.078
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.953
And I log in to a new session without activating the Persistent Storage 20.936
Then persistence is disabled 0.372
But a Tails persistence partition exists on USB drive "__internal" 6.429
And all notifications have disappeared 11.983
When I delete the persistent partition 7.280
Then there is no persistence partition on USB drive "__internal" 1.122
After features/support/hooks.rb:330 1.313
After features/support/hooks.rb:100 0.000
Tags: @product
2:36.124
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.901
When I write some dotfile expected to persist 0.074
And I shutdown Tails and wait for the computer to power off 10.875
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.822
Then the expected persistent dotfile is present in the filesystem 0.449
After features/support/hooks.rb:330 1.014
After features/support/hooks.rb:100 0.008
Tags: @product
1:39.636
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.550
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.084
When I try to enable persistence 0.259
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 29.737
When I log in to a new session after having activated the Persistent Storage 43.052
And all notifications have disappeared 7.881
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.173
And all tps features are enabled 2.582
And all tps features but the first one are active 2.315
After features/support/hooks.rb:330 1.901
After features/support/hooks.rb:100 0.000
Tags: @product
6:36.397
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 5:10.205
And I enable persistence 34.786
And I log in to a new session after having activated the Persistent Storage 45.971
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.064
And persistence is enabled 3.369
After features/support/hooks.rb:330 2.022
After features/support/hooks.rb:100 0.000
Tags: @product
38.734
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 11.079
And I enable persistence but something goes wrong during the LUKS header upgrade 26.852
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.801
After features/support/hooks.rb:330 0.648
After features/support/hooks.rb:100 0.000
Tags: @product
51.618
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 9.294
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.001
When I enable persistence 33.568
Then the filesystem of the Persistent Storage was repaired 0.081
And persistence is successfully enabled 2.672
After features/support/hooks.rb:330 2.046
After features/support/hooks.rb:100 0.000
Tags: @product
49.741
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 and stopped at Tails Greeter's login screen 9.336
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.151
When I try to enable persistence 0.501
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 23.451
When I repair the filesystem of the Persistent Storage 2.224
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.279
And the filesystem of the Persistent Storage was repaired 3.087
When I close the filesystem repair dialog 1.220
Then persistence is successfully enabled 1.489
After features/support/hooks.rb:330 3.680
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:56.524
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 8.479
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.111
When I try to enable persistence 0.294
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 31.165
When I repair the filesystem of the Persistent Storage 1.275
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.087
When I log in to a new session 44.975
And all notifications have disappeared 9.310
# 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.472
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.446
When I close the "whisperback" window 1.539
Then the Tor Browser starts 17.345
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.020
After features/support/hooks.rb:330 1.990
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:59.385
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 8.815
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.363
And Tails detects disk read failures on the boot device 0.528
When I try to enable persistence 0.426
Then the Welcome Screen tells me that my hardware is probably failing 21.084
When I log in to a new session 49.404
And all notifications have disappeared 9.006
Then the Tor Browser starts 22.934
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.822
After features/support/hooks.rb:330 3.593
After features/support/hooks.rb:100 0.000