Project Number Date
test_Tails_ISO_stable 5475 21 Feb 2025, 12:44

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 147 1 9 0 0 157 20 1 21 42:18.753 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:21.257
Before features/support/hooks.rb:269 0.006
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:35.837
And I update APT using apt 16.767
And I install "python3-behave" using apt 25.751
Then the Tails Persistent Storage behave tests pass 2.901
After features/support/hooks.rb:326 0.728
After features/support/hooks.rb:100 0.000
Tags: @product
50.567
Before features/support/hooks.rb:269 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.582
When I log in to a new session without activating the Persistent Storage 27.269
Then Tails is running from USB drive "__internal" 0.489
And persistence is disabled 0.317
But a Tails persistence partition exists on USB drive "__internal" 5.907
After features/support/hooks.rb:326 1.047
After features/support/hooks.rb:100 0.000
Tags: @product
3:27.225
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive without a persistent partition and logged in 11.576
Then Tails is running from USB drive "__internal" 1.029
When I create a file in the Persistent directory 0.123
And I create a persistent partition with the default settings 31.356
Then the file I created was copied to the Persistent Storage 0.616
When I shutdown Tails and wait for the computer to power off 12.964
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:29.019
Then persistence for "Persistent" is active 0.443
And the file I created in the Persistent directory exists 0.094
After features/support/hooks.rb:326 1.169
After features/support/hooks.rb:100 0.011
Tags: @product
1:22.042
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive without a persistent partition and logged in 15.532
And the system is very low on memory 10.150
When I create a file in the Persistent directory 2.349
When I try to create a persistent partition 33.839
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.500
When I close the Persistent Storage app 2.714
And I free up some memory 2.292
And I create a persistent partition with the default settings 14.385
Then the file I created was copied to the Persistent Storage 0.275
After features/support/hooks.rb:326 1.706
After features/support/hooks.rb:100 0.000
Tags: @product
3:4.187
Before features/support/hooks.rb:269 0.009
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 20.264
Then Tails is running from USB drive "__internal" 0.612
And all tps features are active 2.978
And all persistent directories have safe access rights 2.785
When I disable the first tps feature 6.790
Then all tps features but the first one are active 2.631
And I shutdown Tails and wait for the computer to power off 15.266
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.218
Then all tps features but the first one are active 2.640
After features/support/hooks.rb:326 0.759
After features/support/hooks.rb:100 0.013
Tags: @product
24.512
Before features/support/hooks.rb:269 0.009
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 14.620
Then persistence for "Persistent" is active 0.169
And I create a file in the Persistent directory 0.106
Then the file I created was copied to the Persistent Storage 0.078
When I disable the first tps feature 6.136
Then persistence for "Persistent" is not active 0.071
And the Persistent directory does not exist 0.057
When I enable the first tps feature 3.121
Then persistence for "Persistent" is active 0.078
And the file I created in the Persistent directory exists 0.072
After features/support/hooks.rb:326 0.856
After features/support/hooks.rb:100 0.000
Tags: @product
21.471
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.728
Then persistence for "Persistent" is active 0.208
When I create a file in the Persistent directory 0.265
And I disable the first tps feature 6.511
And I delete the data of the Persistent Folder feature 3.687
Then the file I created does not exist on the Persistent Storage 0.070
After features/support/hooks.rb:326 0.991
After features/support/hooks.rb:100 0.000
Tags: @product
1:13.595
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.917
And the network is plugged 0.131
And Tor is ready 24.963
And I take note of which tps features are available 0.757
When I write some files expected to persist 1.699
And I shutdown Tails and wait for the computer to power off 11.362
# 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.762
After features/support/hooks.rb:326 0.155
After features/support/hooks.rb:100 0.000
Tags: @product
3:14.260
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.597
And the network is plugged 0.085
And Tor is ready 21.055
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.219
And I shutdown Tails and wait for the computer to power off 8.945
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.510
And I capture all network traffic 0.009
And the network is plugged 0.081
And Tor is ready 21.090
And I switch to the "persistent-con-current" NetworkManager connection 0.418
And the 1st network device has a spoofed MAC address configured 0.094
And no network device leaked the real MAC address 0.151
After features/support/hooks.rb:326 0.693
After features/support/hooks.rb:100 0.051
Tags: @product
1:8.402
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 19.015
And I enable persistence creation in Tails Greeter 1.190
And I log in to a new session expecting no warning about the Persistent Storage not being activated 24.245
Then I create a persistent partition with the default settings using the wizard that was already open 23.951
After features/support/hooks.rb:326 1.837
After features/support/hooks.rb:100 0.000
Tags: @product
4:34.439
Before features/support/hooks.rb:269 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 13.496
When I enable persistence 39.851
Then no persistent Greeter options were restored 14.881
When I set all Greeter options to non-default values 26.301
And I log in to a new session in German (de) after having activated the Persistent Storage 47.925
Then all Greeter options are set to non-default values 1.200
When I cold reboot the computer 7.980
And the computer reboots Tails 1:4.920
Given I enable persistence 19.078
Then persistent Greeter options were restored 0.542
When I log in to a new session after having activated the Persistent Storage 37.506
Then all Greeter options are set to non-default values 0.755
After features/support/hooks.rb:326 1.017
After features/support/hooks.rb:100 0.010
Tags: @product
4:6.655
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 12.491
# 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 39.266
And I shutdown Tails and wait for the computer to power off 13.413
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:20.989
And I change the passphrase of the Persistent Storage back to the original 40.494
After features/support/hooks.rb:326 2.282
After features/support/hooks.rb:100 0.010
Tags: @product
56.107
Before features/support/hooks.rb:269 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.171
And I log in to a new session without activating the Persistent Storage 21.608
Then persistence is disabled 0.244
But a Tails persistence partition exists on USB drive "__internal" 6.908
And all notifications have disappeared 9.844
When I delete the persistent partition 6.598
Then there is no persistence partition on USB drive "__internal" 0.730
After features/support/hooks.rb:326 0.972
After features/support/hooks.rb:100 0.000
Tags: @product
2:38.289
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.385
When I write some dotfile expected to persist 0.162
And I shutdown Tails and wait for the computer to power off 11.212
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.962
Then the expected persistent dotfile is present in the filesystem 0.565
After features/support/hooks.rb:326 0.728
After features/support/hooks.rb:100 0.010
Tags: @product
1:50.016
Before features/support/hooks.rb:269 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 8.920
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.092
When I try to enable persistence 0.280
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 34.757
When I log in to a new session after having activated the Persistent Storage 49.313
And all notifications have disappeared 7.415
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.650
And all tps features are enabled 2.464
And all tps features but the first one are active 2.123
After features/support/hooks.rb:326 1.065
After features/support/hooks.rb:100 0.000
Tags: @product
5:14.204
Before features/support/hooks.rb:269 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 3:38.736
And I enable persistence 37.948
And I log in to a new session after having activated the Persistent Storage 52.486
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.063
And persistence is enabled 2.968
After features/support/hooks.rb:326 1.027
After features/support/hooks.rb:100 0.000
Tags: @product
33.522
Before features/support/hooks.rb:269 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 10.522
And I enable persistence but something goes wrong during the LUKS header upgrade 22.117
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.882
After features/support/hooks.rb:326 1.320
After features/support/hooks.rb:100 0.000
Tags: @product
52.398
Before features/support/hooks.rb:269 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.493
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.070
When I enable persistence 33.819
Then the filesystem of the Persistent Storage was repaired 0.083
And persistence is successfully enabled 2.931
After features/support/hooks.rb:326 2.862
After features/support/hooks.rb:100 0.000
Tags: @product
52.546
Before features/support/hooks.rb:269 0.020
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 11.336
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.813
When I try to enable persistence 0.505
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 23.372
When I repair the filesystem of the Persistent Storage 5.124
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.520
And the filesystem of the Persistent Storage was repaired 1.073
When I close the filesystem repair dialog 1.213
Then persistence is successfully enabled 1.587
After features/support/hooks.rb:326 1.245
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:9.518
Scenario Manual filesystem repair fails
Before features/support/hooks.rb:269 0.007
Steps
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.127
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.101
When I try to enable persistence 0.288
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 1:0.002
try_for() timeout expired (Timeout::Error)
./features/support/helpers/misc_helpers.rb:145:in `rescue in try_for'
./features/support/helpers/misc_helpers.rb:51:in `try_for'
./features/step_definitions/usb.rb:1732:in `/^the Welcome Screen tells me that filesystem errors were found on the Persistent Storage$/'
features/persistence.feature:188:in `Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage'
When I repair the filesystem of the Persistent Storage 0.000
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.000
When I log in to a new session 0.000
And all notifications have disappeared 0.000
# 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.000
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.000
When I close the "whisperback" window 0.000
Then the Tor Browser starts 0.000
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.000
After features/support/hooks.rb:326 9.355

SCENARIO FAILED: 'Manual filesystem repair fails' (at time 03:50:23)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5475/artifact/build-artifacts/03:50:23_Manual_filesystem_repair_fails.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5475/artifact/build-artifacts/03:50:23_Manual_filesystem_repair_fails.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5475/artifact/build-artifacts/03:50:23_Manual_filesystem_repair_fails.journal

After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:3.532
Before features/support/hooks.rb:269 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 11.008
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.222
And Tails detects disk read failures on the boot device 1.663
When I try to enable persistence 1.498
Then the Welcome Screen tells me that my hardware is probably failing 21.396
When I log in to a new session 48.248
And all notifications have disappeared 8.455
Then the Tor Browser starts 23.219
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.818
After features/support/hooks.rb:326 1.665
After features/support/hooks.rb:100 0.000