Project Number Date
test_Tails_ISO_20898-tinyrpc-drop 1 15 Apr 2025, 21:35

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:18:27.931 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
36:59.153
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:59.138
And I update APT using apt 35:0.015
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.806

SCENARIO FAILED: 'Tails Persistent Storage behave tests' (at time 03:58:42)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20898-tinyrpc-drop/1/artifact/build-artifacts/03:58:42_Tails_Persistent_Storage_behave_tests.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20898-tinyrpc-drop/1/artifact/build-artifacts/03:58:42_Tails_Persistent_Storage_behave_tests.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20898-tinyrpc-drop/1/artifact/build-artifacts/03:58:42_Tails_Persistent_Storage_behave_tests.journal

After features/support/hooks.rb:100 0.000
Tags: @product
43.899
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.647
When I log in to a new session without activating the Persistent Storage 22.417
Then Tails is running from USB drive "__internal" 0.428
And persistence is disabled 0.339
But a Tails persistence partition exists on USB drive "__internal" 7.067
After features/support/hooks.rb:330 1.339
After features/support/hooks.rb:100 0.000
Tags: @product
3:13.903
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.558
Then Tails is running from USB drive "__internal" 0.445
When I create a file in the Persistent directory 0.158
And I create a persistent partition with the default settings 22.448
Then the file I created was copied to the Persistent Storage 1.975
When I shutdown Tails and wait for the computer to power off 13.205
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:23.632
Then persistence for "Persistent" is active 0.414
And the file I created in the Persistent directory exists 0.064
After features/support/hooks.rb:330 2.049
After features/support/hooks.rb:100 0.010
Tags: @product
1:17.462
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 15.807
And the system is very low on memory 4.552
When I create a file in the Persistent directory 1.270
When I try to create a persistent partition 32.395
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.662
When I close the Persistent Storage app 2.879
And I free up some memory 4.700
And I create a persistent partition with the default settings 14.854
Then the file I created was copied to the Persistent Storage 0.340
After features/support/hooks.rb:330 2.631
After features/support/hooks.rb:100 0.000
Tags: @product
3:23.580
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 26.724
Then Tails is running from USB drive "__internal" 0.431
And all tps features are active 2.901
And all persistent directories have safe access rights 2.979
When I disable the first tps feature 6.522
Then all tps features but the first one are active 2.386
And I shutdown Tails and wait for the computer to power off 15.620
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:23.593
Then all tps features but the first one are active 2.421
After features/support/hooks.rb:330 1.686
After features/support/hooks.rb:100 0.011
Tags: @product
29.889
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 12.222
Then persistence for "Persistent" is active 0.256
And I create a file in the Persistent directory 0.142
Then the file I created was copied to the Persistent Storage 0.156
When I disable the first tps feature 13.537
Then persistence for "Persistent" is not active 0.078
And the Persistent directory does not exist 0.060
When I enable the first tps feature 3.232
Then persistence for "Persistent" is active 0.124
And the file I created in the Persistent directory exists 0.080
After features/support/hooks.rb:330 1.399
After features/support/hooks.rb:100 0.000
Tags: @product
22.754
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.009
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.427
Then persistence for "Persistent" is active 0.603
When I create a file in the Persistent directory 0.099
And I disable the first tps feature 6.415
And I delete the data of the Persistent Folder feature 4.137
Then the file I created does not exist on the Persistent Storage 0.070
After features/support/hooks.rb:330 1.437
After features/support/hooks.rb:100 0.000
Tags: @product
1:8.192
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 11.342
And the network is plugged 0.271
And Tor is ready 21.028
And I take note of which tps features are available 0.598
When I write some files expected to persist 1.579
And I shutdown Tails and wait for the computer to power off 8.642
# 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.730
After features/support/hooks.rb:330 0.159
After features/support/hooks.rb:100 0.000
Tags: @product
3:15.515
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.115
And the network is plugged 0.284
And Tor is ready 21.402
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.230
And I shutdown Tails and wait for the computer to power off 8.954
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.203
And I capture all network traffic 0.007
And the network is plugged 0.071
And Tor is ready 18.690
And I switch to the "persistent-con-current" NetworkManager connection 0.337
And the 1st network device has a spoofed MAC address configured 0.078
And no network device leaked the real MAC address 0.140
After features/support/hooks.rb:330 0.650
After features/support/hooks.rb:100 0.052
Tags: @product
1:7.827
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 stopped at Tails Greeter's login screen 14.851
And I enable persistence creation in Tails Greeter 1.149
And I log in to a new session expecting no warning about the Persistent Storage not being activated 27.874
Then I create a persistent partition with the default settings using the wizard that was already open 23.952
After features/support/hooks.rb:330 2.137
After features/support/hooks.rb:100 0.000
Tags: @product
4:23.587
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 and stopped at Tails Greeter's login screen 16.004
When I enable persistence 33.784
Then no persistent Greeter options were restored 14.347
When I set all Greeter options to non-default values 24.184
And I log in to a new session in German (de) after having activated the Persistent Storage 45.733
Then all Greeter options are set to non-default values 0.425
When I cold reboot the computer 7.735
And the computer reboots Tails 1:6.330
Given I enable persistence 19.065
Then persistent Greeter options were restored 0.540
When I log in to a new session after having activated the Persistent Storage 35.193
Then all Greeter options are set to non-default values 0.242
After features/support/hooks.rb:330 2.010
After features/support/hooks.rb:100 0.011
Tags: @product
3:48.533
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.622
# 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 32.305
And I shutdown Tails and wait for the computer to power off 12.609
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:12.930
And I change the passphrase of the Persistent Storage back to the original 41.064
After features/support/hooks.rb:330 2.133
After features/support/hooks.rb:100 0.010
Tags: @product
53.397
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.877
And I log in to a new session without activating the Persistent Storage 20.069
Then persistence is disabled 0.227
But a Tails persistence partition exists on USB drive "__internal" 6.319
And all notifications have disappeared 8.952
When I delete the persistent partition 6.904
Then there is no persistence partition on USB drive "__internal" 1.047
After features/support/hooks.rb:330 1.323
After features/support/hooks.rb:100 0.000
Tags: @product
2:36.849
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.362
When I write some dotfile expected to persist 0.070
And I shutdown Tails and wait for the computer to power off 8.696
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:17.238
Then the expected persistent dotfile is present in the filesystem 0.481
After features/support/hooks.rb:330 1.584
After features/support/hooks.rb:100 0.017
Tags: @product
1:43.026
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 9.252
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.091
When I try to enable persistence 0.302
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 29.794
When I log in to a new session after having activated the Persistent Storage 43.828
And all notifications have disappeared 8.942
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.351
And all tps features are enabled 2.580
And all tps features but the first one are active 3.883
After features/support/hooks.rb:330 2.090
After features/support/hooks.rb:100 0.000
Tags: @product
6:49.642
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 5:24.945
And I enable persistence 30.874
And I log in to a new session after having activated the Persistent Storage 49.068
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.483
And persistence is enabled 3.271
After features/support/hooks.rb:330 2.116
After features/support/hooks.rb:100 0.000
Tags: @product
32.281
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 8.539
And I enable persistence but something goes wrong during the LUKS header upgrade 23.015
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.726
After features/support/hooks.rb:330 0.970
After features/support/hooks.rb:100 0.000
Tags: @product
46.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 9.292
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 4.857
When I enable persistence 29.699
Then the filesystem of the Persistent Storage was repaired 0.097
And persistence is successfully enabled 2.804
After features/support/hooks.rb:330 2.257
After features/support/hooks.rb:100 0.000
Tags: @product
51.057
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.736
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.868
When I try to enable persistence 0.506
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 25.847
When I repair the filesystem of the Persistent Storage 1.331
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.874
And the filesystem of the Persistent Storage was repaired 3.211
When I close the filesystem repair dialog 1.276
Then persistence is successfully enabled 1.402
After features/support/hooks.rb:330 2.215
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:7.951
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 23.692
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.100
When I try to enable persistence 0.333
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 26.998
When I repair the filesystem of the Persistent Storage 1.220
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.077
When I log in to a new session 43.963
And all notifications have disappeared 10.019
# 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.583
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.832
When I close the "whisperback" window 1.545
Then the Tor Browser starts 17.764
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.820
After features/support/hooks.rb:330 3.712
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:52.674
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.749
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.438
And Tails detects disk read failures on the boot device 1.483
When I try to enable persistence 0.451
Then the Welcome Screen tells me that my hardware is probably failing 18.154
When I log in to a new session 48.497
And all notifications have disappeared 7.096
Then the Tor Browser starts 22.014
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.789
After features/support/hooks.rb:330 2.382
After features/support/hooks.rb:100 0.000