Project Number Date
test_Tails_ISO_devel 3764 03 Apr 2025, 14:18

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 154 1 2 0 0 157 20 1 21 1:16:13.160 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
36:37.826
Scenario Tails Persistent Storage behave tests
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Steps
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:37.809
And I update APT using apt 35:0.016
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/misc_helpers.rb:180:in `new'
./features/support/helpers/misc_helpers.rb:180:in `force_new_tor_circuit'
./features/support/helpers/misc_helpers.rb:192:in `block in retry_tor'
./features/support/helpers/misc_helpers.rb:222:in `rescue in block in retry_action'
./features/support/helpers/misc_helpers.rb:209:in `block in retry_action'
./features/support/helpers/misc_helpers.rb:208:in `loop'
./features/support/helpers/misc_helpers.rb:208:in `retry_action'
./features/support/helpers/misc_helpers.rb:196:in `retry_tor'
./features/step_definitions/apt.rb:59:in `/^I update APT using apt$/'
features/persistence.feature:8:in `And I update APT using apt'
And I install "python3-behave" using apt 0.000
Then the Tails Persistent Storage behave tests pass 0.000
After features/support/hooks.rb:330 10.867

SCENARIO FAILED: 'Tails Persistent Storage behave tests' (at time 04:06:18)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3764/artifact/build-artifacts/04:06:18_Tails_Persistent_Storage_behave_tests.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3764/artifact/build-artifacts/04:06:18_Tails_Persistent_Storage_behave_tests.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3764/artifact/build-artifacts/04:06:18_Tails_Persistent_Storage_behave_tests.journal

After features/support/hooks.rb:100 0.000
Tags: @product
50.882
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.600
When I log in to a new session without activating the Persistent Storage 30.205
Then Tails is running from USB drive "__internal" 0.987
And persistence is disabled 0.400
But a Tails persistence partition exists on USB drive "__internal" 6.688
After features/support/hooks.rb:330 2.584
After features/support/hooks.rb:100 0.000
Tags: @product
3:25.745
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 21.144
Then Tails is running from USB drive "__internal" 0.573
When I create a file in the Persistent directory 0.127
And I create a persistent partition with the default settings 24.325
Then the file I created was copied to the Persistent Storage 2.183
When I shutdown Tails and wait for the computer to power off 13.981
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:22.770
Then persistence for "Persistent" is active 0.575
And the file I created in the Persistent directory exists 0.064
After features/support/hooks.rb:330 3.532
After features/support/hooks.rb:100 0.010
Tags: @product
58.031
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 11.202
And the system is very low on memory 3.729
When I create a file in the Persistent directory 0.863
When I try to create a persistent partition 22.611
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.322
When I close the Persistent Storage app 2.706
And I free up some memory 3.250
And I create a persistent partition with the default settings 13.072
Then the file I created was copied to the Persistent Storage 0.272
After features/support/hooks.rb:330 1.999
After features/support/hooks.rb:100 0.000
Tags: @product
2:59.769
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.038
Then Tails is running from USB drive "__internal" 0.615
And all tps features are active 2.113
And all persistent directories have safe access rights 2.719
When I disable the first tps feature 5.207
Then all tps features but the first one are active 2.063
And I shutdown Tails and wait for the computer to power off 22.467
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.459
Then all tps features but the first one are active 2.083
After features/support/hooks.rb:330 1.182
After features/support/hooks.rb:100 0.012
Tags: @product
20.773
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 persistent partition enabled and logged in 10.461
Then persistence for "Persistent" is active 0.179
And I create a file in the Persistent directory 0.122
Then the file I created was copied to the Persistent Storage 0.095
When I disable the first tps feature 6.512
Then persistence for "Persistent" is not active 0.070
And the Persistent directory does not exist 0.055
When I enable the first tps feature 3.103
Then persistence for "Persistent" is active 0.083
And the file I created in the Persistent directory exists 0.089
After features/support/hooks.rb:330 1.475
After features/support/hooks.rb:100 0.000
Tags: @product
18.291
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 with a persistent partition enabled and logged in 9.206
Then persistence for "Persistent" is active 0.104
When I create a file in the Persistent directory 0.088
And I disable the first tps feature 5.232
And I delete the data of the Persistent Folder feature 3.596
Then the file I created does not exist on the Persistent Storage 0.063
After features/support/hooks.rb:330 1.756
After features/support/hooks.rb:100 0.000
Tags: @product
1:6.835
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.777
And the network is plugged 0.083
And Tor is ready 21.732
And I take note of which tps features are available 0.576
When I write some files expected to persist 1.554
And I shutdown Tails and wait for the computer to power off 8.787
# 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.323
After features/support/hooks.rb:330 0.108
After features/support/hooks.rb:100 0.000
Tags: @product
2:59.158
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 persistent partition enabled and logged in 9.330
And the network is plugged 0.081
And Tor is ready 17.924
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.198
And I shutdown Tails and wait for the computer to power off 8.882
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:2.908
And I capture all network traffic 0.011
And the network is plugged 0.069
And Tor is ready 19.224
And I switch to the "persistent-con-current" NetworkManager connection 0.304
And the 1st network device has a spoofed MAC address configured 0.097
And no network device leaked the real MAC address 0.124
After features/support/hooks.rb:330 1.350
After features/support/hooks.rb:100 0.056
Tags: @product
58.523
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 14.132
And I enable persistence creation in Tails Greeter 1.124
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.002
Then I create a persistent partition with the default settings using the wizard that was already open 21.263
After features/support/hooks.rb:330 2.369
After features/support/hooks.rb:100 0.000
Tags: @product
4:45.173
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.609
When I enable persistence 39.406
Then no persistent Greeter options were restored 14.557
When I set all Greeter options to non-default values 32.882
And I log in to a new session in German (de) after having activated the Persistent Storage 52.155
Then all Greeter options are set to non-default values 0.457
When I cold reboot the computer 7.197
And the computer reboots Tails 1:9.657
Given I enable persistence 17.222
Then persistent Greeter options were restored 0.564
When I log in to a new session after having activated the Persistent Storage 39.020
Then all Greeter options are set to non-default values 0.443
After features/support/hooks.rb:330 1.058
After features/support/hooks.rb:100 0.012
Tags: @product
4:7.649
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 persistent partition enabled and logged in 10.798
# 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 38.121
And I shutdown Tails and wait for the computer to power off 13.231
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:26.157
And I change the passphrase of the Persistent Storage back to the original 39.340
After features/support/hooks.rb:330 4.419
After features/support/hooks.rb:100 0.010
Tags: @product
58.981
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.844
And I log in to a new session without activating the Persistent Storage 24.018
Then persistence is disabled 0.267
But a Tails persistence partition exists on USB drive "__internal" 9.304
And all notifications have disappeared 7.987
When I delete the persistent partition 5.755
Then there is no persistence partition on USB drive "__internal" 0.804
After features/support/hooks.rb:330 1.464
After features/support/hooks.rb:100 0.000
Tags: @product
2:43.132
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 persistent partition enabled and logged in 10.334
When I write some dotfile expected to persist 0.112
And I shutdown Tails and wait for the computer to power off 11.098
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:21.171
Then the expected persistent dotfile is present in the filesystem 0.414
After features/support/hooks.rb:330 0.814
After features/support/hooks.rb:100 0.012
Tags: @product
1:32.804
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 persistent partition and stopped at Tails Greeter's login screen 9.090
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.083
When I try to enable persistence 0.276
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 31.322
When I log in to a new session after having activated the Persistent Storage 34.763
And all notifications have disappeared 8.017
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.101
And all tps features are enabled 3.013
And all tps features but the first one are active 2.135
After features/support/hooks.rb:330 1.808
After features/support/hooks.rb:100 0.000
Tags: @product
5:19.870
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:55.375
And I enable persistence 33.650
And I log in to a new session after having activated the Persistent Storage 47.124
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.108
And persistence is enabled 2.610
After features/support/hooks.rb:330 1.934
After features/support/hooks.rb:100 0.000
Tags: @product
29.675
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 with a LUKS 1 persistent partition and stopped at Tails Greeter's login screen 9.172
And I enable persistence but something goes wrong during the LUKS header upgrade 19.657
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.845
After features/support/hooks.rb:330 0.844
After features/support/hooks.rb:100 0.000
Tags: @product
49.086
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.527
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.602
When I enable persistence 28.190
Then the filesystem of the Persistent Storage was repaired 0.081
And persistence is successfully enabled 3.683
After features/support/hooks.rb:330 1.624
After features/support/hooks.rb:100 0.000
Tags: @product
54.714
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.279
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.087
When I try to enable persistence 0.427
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 26.975
When I repair the filesystem of the Persistent Storage 1.293
Then the Welcome Screen tells me that the filesystem was repaired successfully 4.811
And the filesystem of the Persistent Storage was repaired 3.169
When I close the filesystem repair dialog 1.289
Then persistence is successfully enabled 1.381
After features/support/hooks.rb:330 2.275
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:55.754
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 persistent partition and stopped at Tails Greeter's login screen 9.063
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.106
When I try to enable persistence 0.304
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.127
When I repair the filesystem of the Persistent Storage 2.257
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.083
When I log in to a new session 41.991
And all notifications have disappeared 9.789
# 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.657
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 1.016
When I close the "whisperback" window 1.544
Then the Tor Browser starts 18.860
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.952
After features/support/hooks.rb:330 3.200
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:0.480
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 persistent partition and stopped at Tails Greeter's login screen 9.552
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.204
And Tails detects disk read failures on the boot device 0.453
When I try to enable persistence 0.487
Then the Welcome Screen tells me that my hardware is probably failing 19.710
When I log in to a new session 53.538
And all notifications have disappeared 7.352
Then the Tor Browser starts 22.331
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.847
After features/support/hooks.rb:330 1.806
After features/support/hooks.rb:100 0.000