Project Number Date
test_Tails_ISO_stable 5571 13 Apr 2025, 13:27

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:15:59.754 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
36:42.043
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:42.028
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.812

SCENARIO FAILED: 'Tails Persistent Storage behave tests' (at time 03:49:35)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5571/artifact/build-artifacts/03:49:35_Tails_Persistent_Storage_behave_tests.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5571/artifact/build-artifacts/03:49:35_Tails_Persistent_Storage_behave_tests.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5571/artifact/build-artifacts/03:49:35_Tails_Persistent_Storage_behave_tests.journal

After features/support/hooks.rb:100 0.000
Tags: @product
48.942
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.016
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 11.799
When I log in to a new session without activating the Persistent Storage 24.111
Then Tails is running from USB drive "__internal" 5.695
And persistence is disabled 0.566
But a Tails persistence partition exists on USB drive "__internal" 6.770
After features/support/hooks.rb:330 1.176
After features/support/hooks.rb:100 0.000
Tags: @product
3:6.861
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 without a persistent partition and logged in 13.767
Then Tails is running from USB drive "__internal" 0.387
When I create a file in the Persistent directory 0.137
And I create a persistent partition with the default settings 24.460
Then the file I created was copied to the Persistent Storage 1.855
When I shutdown Tails and wait for the computer to power off 13.149
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.432
Then persistence for "Persistent" is active 0.576
And the file I created in the Persistent directory exists 0.094
After features/support/hooks.rb:330 2.114
After features/support/hooks.rb:100 0.011
Tags: @product
1:9.099
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 11.755
And the system is very low on memory 4.074
When I create a file in the Persistent directory 2.173
When I try to create a persistent partition 29.411
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.471
When I close the Persistent Storage app 2.847
And I free up some memory 3.518
And I create a persistent partition with the default settings 14.578
Then the file I created was copied to the Persistent Storage 0.268
After features/support/hooks.rb:330 2.303
After features/support/hooks.rb:100 0.000
Tags: @product
2:59.502
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.019
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 13.872
Then Tails is running from USB drive "__internal" 0.509
And all tps features are active 2.434
And all persistent directories have safe access rights 3.978
When I disable the first tps feature 5.634
Then all tps features but the first one are active 2.152
And I shutdown Tails and wait for the computer to power off 13.272
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.415
Then all tps features but the first one are active 2.232
After features/support/hooks.rb:330 1.053
After features/support/hooks.rb:100 0.010
Tags: @product
19.923
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 10.613
Then persistence for "Persistent" is active 0.085
And I create a file in the Persistent directory 0.077
Then the file I created was copied to the Persistent Storage 0.067
When I disable the first tps feature 5.237
Then persistence for "Persistent" is not active 0.071
And the Persistent directory does not exist 0.050
When I enable the first tps feature 3.398
Then persistence for "Persistent" is active 0.218
And the file I created in the Persistent directory exists 0.102
After features/support/hooks.rb:330 1.077
After features/support/hooks.rb:100 0.000
Tags: @product
19.214
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.481
Then persistence for "Persistent" is active 0.084
When I create a file in the Persistent directory 0.081
And I disable the first tps feature 5.615
And I delete the data of the Persistent Folder feature 3.883
Then the file I created does not exist on the Persistent Storage 0.068
After features/support/hooks.rb:330 1.191
After features/support/hooks.rb:100 0.000
Tags: @product
1:7.282
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.140
And the network is plugged 0.088
And Tor is ready 22.218
And I take note of which tps features are available 0.645
When I write some files expected to persist 1.543
And I shutdown Tails and wait for the computer to power off 8.668
# 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.976
After features/support/hooks.rb:330 0.108
After features/support/hooks.rb:100 0.000
Tags: @product
3:12.085
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.425
And the network is plugged 0.260
And Tor is ready 17.937
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.234
And I shutdown Tails and wait for the computer to power off 9.110
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.638
And I capture all network traffic 0.012
And the network is plugged 0.091
And Tor is ready 19.810
And I switch to the "persistent-con-current" NetworkManager connection 0.319
And the 1st network device has a spoofed MAC address configured 0.114
And no network device leaked the real MAC address 0.129
After features/support/hooks.rb:330 0.675
After features/support/hooks.rb:100 0.063
Tags: @product
58.900
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 without a persistent partition and stopped at Tails Greeter's login screen 12.397
And I enable persistence creation in Tails Greeter 1.113
And I log in to a new session expecting no warning about the Persistent Storage not being activated 20.682
Then I create a persistent partition with the default settings using the wizard that was already open 24.706
After features/support/hooks.rb:330 3.060
After features/support/hooks.rb:100 0.000
Tags: @product
4:38.199
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 and stopped at Tails Greeter's login screen 12.506
When I enable persistence 40.524
Then no persistent Greeter options were restored 14.680
When I set all Greeter options to non-default values 27.723
And I log in to a new session in German (de) after having activated the Persistent Storage 50.148
Then all Greeter options are set to non-default values 0.761
When I cold reboot the computer 7.693
And the computer reboots Tails 1:3.309
Given I enable persistence 18.539
Then persistent Greeter options were restored 0.580
When I log in to a new session after having activated the Persistent Storage 41.110
Then all Greeter options are set to non-default values 0.621
After features/support/hooks.rb:330 1.001
After features/support/hooks.rb:100 0.010
Tags: @product
3:57.083
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.418
# 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 31.051
And I shutdown Tails and wait for the computer to power off 14.756
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:26.867
And I change the passphrase of the Persistent Storage back to the original 33.988
After features/support/hooks.rb:330 3.118
After features/support/hooks.rb:100 0.011
Tags: @product
56.439
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 11.368
And I log in to a new session without activating the Persistent Storage 21.215
Then persistence is disabled 0.453
But a Tails persistence partition exists on USB drive "__internal" 8.207
And all notifications have disappeared 8.414
When I delete the persistent partition 5.824
Then there is no persistence partition on USB drive "__internal" 0.954
After features/support/hooks.rb:330 0.733
After features/support/hooks.rb:100 0.000
Tags: @product
2:31.199
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.609
When I write some dotfile expected to persist 0.080
And I shutdown Tails and wait for the computer to power off 9.019
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.083
Then the expected persistent dotfile is present in the filesystem 0.406
After features/support/hooks.rb:330 1.097
After features/support/hooks.rb:100 0.007
Tags: @product
1:50.834
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 10.236
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.107
When I try to enable persistence 0.315
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 33.430
When I log in to a new session after having activated the Persistent Storage 49.217
And all notifications have disappeared 8.280
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.897
And all tps features are enabled 3.091
And all tps features but the first one are active 2.257
After features/support/hooks.rb:330 1.377
After features/support/hooks.rb:100 0.000
Tags: @product
5:18.327
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 3:50.159
And I enable persistence 35.766
And I log in to a new session after having activated the Persistent Storage 45.248
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 4.251
And persistence is enabled 2.901
After features/support/hooks.rb:330 1.569
After features/support/hooks.rb:100 0.000
Tags: @product
30.654
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.967
And I enable persistence but something goes wrong during the LUKS header upgrade 20.987
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.700
After features/support/hooks.rb:330 0.789
After features/support/hooks.rb:100 0.000
Tags: @product
46.491
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.389
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.770
When I enable persistence 28.383
Then the filesystem of the Persistent Storage was repaired 0.099
And persistence is successfully enabled 2.848
After features/support/hooks.rb:330 1.476
After features/support/hooks.rb:100 0.000
Tags: @product
51.034
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.708
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.360
When I try to enable persistence 0.413
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 23.512
When I repair the filesystem of the Persistent Storage 2.821
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.691
And the filesystem of the Persistent Storage was repaired 3.779
When I close the filesystem repair dialog 1.246
Then persistence is successfully enabled 1.500
After features/support/hooks.rb:330 1.360
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:46.715
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.840
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.133
When I try to enable persistence 0.326
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 30.481
When I repair the filesystem of the Persistent Storage 1.261
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.074
When I log in to a new session 33.424
And all notifications have disappeared 7.465
# 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.882
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.335
When I close the "whisperback" window 1.707
Then the Tor Browser starts 20.881
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.902
After features/support/hooks.rb:330 3.266
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:8.918
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 8.397
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.273
And Tails detects disk read failures on the boot device 1.601
When I try to enable persistence 0.419
Then the Welcome Screen tells me that my hardware is probably failing 26.599
When I log in to a new session 52.747
And all notifications have disappeared 9.172
Then the Tor Browser starts 21.809
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.896
After features/support/hooks.rb:330 1.606
After features/support/hooks.rb:100 0.000