Project Number Date
test_Tails_ISO_tca-misc-improvements 14 21 Apr 2025, 18:52

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:59.291 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
36:44.837
Scenario Tails Persistent Storage behave tests
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.008
Steps
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:44.821
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.790

SCENARIO FAILED: 'Tails Persistent Storage behave tests' (at time 03:54:11)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_tca-misc-improvements/14/artifact/build-artifacts/03:54:11_Tails_Persistent_Storage_behave_tests.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_tca-misc-improvements/14/artifact/build-artifacts/03:54:11_Tails_Persistent_Storage_behave_tests.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_tca-misc-improvements/14/artifact/build-artifacts/03:54:11_Tails_Persistent_Storage_behave_tests.journal

After features/support/hooks.rb:100 0.000
Tags: @product
50.678
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 13.375
When I log in to a new session without activating the Persistent Storage 24.473
Then Tails is running from USB drive "__internal" 2.044
And persistence is disabled 0.548
But a Tails persistence partition exists on USB drive "__internal" 10.236
After features/support/hooks.rb:330 1.247
After features/support/hooks.rb:100 0.000
Tags: @product
3:38.072
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 17.443
Then Tails is running from USB drive "__internal" 0.495
When I create a file in the Persistent directory 0.148
And I create a persistent partition with the default settings 26.255
Then the file I created was copied to the Persistent Storage 1.956
When I shutdown Tails and wait for the computer to power off 15.209
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:36.093
Then persistence for "Persistent" is active 0.386
And the file I created in the Persistent directory exists 0.083
After features/support/hooks.rb:330 2.427
After features/support/hooks.rb:100 0.011
Tags: @product
1:2.752
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 12.504
And the system is very low on memory 3.335
When I create a file in the Persistent directory 1.177
When I try to create a persistent partition 22.696
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.513
When I close the Persistent Storage app 2.627
And I free up some memory 3.284
And I create a persistent partition with the default settings 16.298
Then the file I created was copied to the Persistent Storage 0.313
After features/support/hooks.rb:330 2.369
After features/support/hooks.rb:100 0.000
Tags: @product
3:4.532
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 14.834
Then Tails is running from USB drive "__internal" 0.748
And all tps features are active 2.723
And all persistent directories have safe access rights 2.795
When I disable the first tps feature 7.300
Then all tps features but the first one are active 2.415
And I shutdown Tails and wait for the computer to power off 15.082
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.470
Then all tps features but the first one are active 3.162
After features/support/hooks.rb:330 1.031
After features/support/hooks.rb:100 0.010
Tags: @product
23.028
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.010
Then persistence for "Persistent" is active 0.145
And I create a file in the Persistent directory 0.196
Then the file I created was copied to the Persistent Storage 0.129
When I disable the first tps feature 6.265
Then persistence for "Persistent" is not active 0.093
And the Persistent directory does not exist 0.065
When I enable the first tps feature 4.937
Then persistence for "Persistent" is active 0.069
And the file I created in the Persistent directory exists 0.114
After features/support/hooks.rb:330 1.080
After features/support/hooks.rb:100 0.000
Tags: @product
23.334
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 11.743
Then persistence for "Persistent" is active 0.169
When I create a file in the Persistent directory 0.090
And I disable the first tps feature 6.716
And I delete the data of the Persistent Folder feature 4.537
Then the file I created does not exist on the Persistent Storage 0.077
After features/support/hooks.rb:330 0.899
After features/support/hooks.rb:100 0.000
Tags: @product
1:11.756
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.909
And the network is plugged 0.094
And Tor is ready 25.187
And I take note of which tps features are available 0.635
When I write some files expected to persist 1.603
And I shutdown Tails and wait for the computer to power off 8.480
# 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.847
After features/support/hooks.rb:330 0.129
After features/support/hooks.rb:100 0.000
Tags: @product
3:10.606
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.422
And the network is plugged 0.383
And Tor is ready 18.535
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.298
And I shutdown Tails and wait for the computer to power off 11.115
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.808
And I capture all network traffic 0.016
And the network is plugged 0.101
And Tor is ready 20.289
And I switch to the "persistent-con-current" NetworkManager connection 0.408
And the 1st network device has a spoofed MAC address configured 0.088
And no network device leaked the real MAC address 0.137
After features/support/hooks.rb:330 0.598
After features/support/hooks.rb:100 0.063
Tags: @product
56.847
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 12.074
And I enable persistence creation in Tails Greeter 1.144
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.924
Then I create a persistent partition with the default settings using the wizard that was already open 21.703
After features/support/hooks.rb:330 2.196
After features/support/hooks.rb:100 0.000
Tags: @product
4:36.162
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.410
When I enable persistence 46.814
Then no persistent Greeter options were restored 14.419
When I set all Greeter options to non-default values 24.115
And I log in to a new session in German (de) after having activated the Persistent Storage 45.231
Then all Greeter options are set to non-default values 0.614
When I cold reboot the computer 7.743
And the computer reboots Tails 1:7.411
Given I enable persistence 17.553
Then persistent Greeter options were restored 0.529
When I log in to a new session after having activated the Persistent Storage 38.752
Then all Greeter options are set to non-default values 0.566
After features/support/hooks.rb:330 1.964
After features/support/hooks.rb:100 0.009
Tags: @product
3:44.530
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.526
# 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 34.459
And I shutdown Tails and wait for the computer to power off 15.023
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:10.373
And I change the passphrase of the Persistent Storage back to the original 34.146
After features/support/hooks.rb:330 2.680
After features/support/hooks.rb:100 0.012
Tags: @product
1:0.875
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.900
And I log in to a new session without activating the Persistent Storage 24.774
Then persistence is disabled 0.615
But a Tails persistence partition exists on USB drive "__internal" 9.284
And all notifications have disappeared 9.134
When I delete the persistent partition 6.296
Then there is no persistence partition on USB drive "__internal" 0.870
After features/support/hooks.rb:330 1.182
After features/support/hooks.rb:100 0.000
Tags: @product
2:37.934
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.542
When I write some dotfile expected to persist 0.083
And I shutdown Tails and wait for the computer to power off 8.501
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:18.299
Then the expected persistent dotfile is present in the filesystem 0.507
After features/support/hooks.rb:330 1.546
After features/support/hooks.rb:100 0.054
Tags: @product
1:36.680
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.240
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.096
When I try to enable persistence 0.525
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 33.323
When I log in to a new session after having activated the Persistent Storage 35.454
And all notifications have disappeared 7.322
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.253
And all tps features are enabled 3.249
And all tps features but the first one are active 2.215
After features/support/hooks.rb:330 0.783
After features/support/hooks.rb:100 0.000
Tags: @product
5:45.137
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 4:15.705
And I enable persistence 32.436
And I log in to a new session after having activated the Persistent Storage 49.862
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.376
And persistence is enabled 4.756
After features/support/hooks.rb:330 1.968
After features/support/hooks.rb:100 0.000
Tags: @product
32.751
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 10.422
And I enable persistence but something goes wrong during the LUKS header upgrade 21.516
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.812
After features/support/hooks.rb:330 0.844
After features/support/hooks.rb:100 0.000
Tags: @product
46.301
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.224
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.383
When I enable persistence 27.731
Then the filesystem of the Persistent Storage was repaired 0.110
And persistence is successfully enabled 2.851
After features/support/hooks.rb:330 3.256
After features/support/hooks.rb:100 0.000
Tags: @product
51.335
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 9.437
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.747
When I try to enable persistence 0.406
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 25.972
When I repair the filesystem of the Persistent Storage 1.403
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.358
And the filesystem of the Persistent Storage was repaired 4.294
When I close the filesystem repair dialog 1.236
Then persistence is successfully enabled 1.477
After features/support/hooks.rb:330 0.880
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:0.191
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.069
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.099
When I try to enable persistence 0.274
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 31.587
When I repair the filesystem of the Persistent Storage 2.137
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.083
When I log in to a new session 43.311
And all notifications have disappeared 8.941
# 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.976
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.980
When I close the "whisperback" window 1.459
Then the Tor Browser starts 20.531
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.738
After features/support/hooks.rb:330 2.138
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:0.943
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.031
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.969
And Tails detects disk read failures on the boot device 1.622
When I try to enable persistence 0.505
Then the Welcome Screen tells me that my hardware is probably failing 21.642
When I log in to a new session 52.010
And all notifications have disappeared 7.183
Then the Tor Browser starts 22.127
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.849
After features/support/hooks.rb:330 2.195
After features/support/hooks.rb:100 0.000