Project Number Date
test_Tails_ISO_tca-misc-improvements 8 15 Apr 2025, 18:36

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 151 1 5 0 0 157 20 1 21 53:9.432 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:22.289
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.008
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:39.643
And I update APT using apt 14.041
And I install "python3-behave" using apt 26.334
Then the Tails Persistent Storage behave tests pass 2.270
After features/support/hooks.rb:330 0.917
After features/support/hooks.rb:100 0.000
Tags: @product
59.737
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.962
When I log in to a new session without activating the Persistent Storage 25.918
Then Tails is running from USB drive "__internal" 0.817
And persistence is disabled 0.466
But a Tails persistence partition exists on USB drive "__internal" 20.571
After features/support/hooks.rb:330 3.320
After features/support/hooks.rb:100 0.000
Tags: @product
3:22.036
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 without a persistent partition and logged in 16.035
Then Tails is running from USB drive "__internal" 0.433
When I create a file in the Persistent directory 0.138
And I create a persistent partition with the default settings 25.030
Then the file I created was copied to the Persistent Storage 2.205
When I shutdown Tails and wait for the computer to power off 13.381
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:24.353
Then persistence for "Persistent" is active 0.385
And the file I created in the Persistent directory exists 0.073
After features/support/hooks.rb:330 0.809
After features/support/hooks.rb:100 0.010
Tags: @product
1:7.880
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.330
And the system is very low on memory 4.123
When I create a file in the Persistent directory 2.488
When I try to create a persistent partition 28.048
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.452
When I close the Persistent Storage app 2.895
And I free up some memory 3.541
And I create a persistent partition with the default settings 14.747
Then the file I created was copied to the Persistent Storage 0.252
After features/support/hooks.rb:330 2.281
After features/support/hooks.rb:100 0.000
Tags: @product
3:11.146
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 enabled and logged in 28.601
Then Tails is running from USB drive "__internal" 1.089
And all tps features are active 2.801
And all persistent directories have safe access rights 3.076
When I disable the first tps feature 6.563
Then all tps features but the first one are active 2.566
And I shutdown Tails and wait for the computer to power off 12.954
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.686
Then all tps features but the first one are active 2.807
After features/support/hooks.rb:330 1.540
After features/support/hooks.rb:100 0.024
Tags: @product
22.343
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.018
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.251
Then persistence for "Persistent" is active 0.364
And I create a file in the Persistent directory 0.071
Then the file I created was copied to the Persistent Storage 0.074
When I disable the first tps feature 7.107
Then persistence for "Persistent" is not active 0.079
And the Persistent directory does not exist 0.058
When I enable the first tps feature 3.170
Then persistence for "Persistent" is active 0.095
And the file I created in the Persistent directory exists 0.070
After features/support/hooks.rb:330 2.015
After features/support/hooks.rb:100 0.000
Tags: @product
21.365
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.062
Then persistence for "Persistent" is active 0.073
When I create a file in the Persistent directory 0.065
And I disable the first tps feature 6.858
And I delete the data of the Persistent Folder feature 4.253
Then the file I created does not exist on the Persistent Storage 0.049
After features/support/hooks.rb:330 1.507
After features/support/hooks.rb:100 0.000
Tags: @product
1:5.437
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 10.222
And the network is plugged 0.087
And Tor is ready 20.118
And I take note of which tps features are available 0.878
When I write some files expected to persist 1.553
And I shutdown Tails and wait for the computer to power off 8.372
# 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.204
After features/support/hooks.rb:330 0.095
After features/support/hooks.rb:100 0.000
Tags: @product
3:26.512
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.288
And the network is plugged 0.091
And Tor is ready 20.901
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.704
And I shutdown Tails and wait for the computer to power off 10.951
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:21.722
And I capture all network traffic 0.015
And the network is plugged 0.104
And Tor is ready 20.093
And I switch to the "persistent-con-current" NetworkManager connection 0.397
And the 1st network device has a spoofed MAC address configured 0.101
And no network device leaked the real MAC address 0.140
After features/support/hooks.rb:330 0.785
After features/support/hooks.rb:100 0.041
Tags: @product
1:5.046
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 15.977
And I enable persistence creation in Tails Greeter 1.119
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.826
Then I create a persistent partition with the default settings using the wizard that was already open 26.122
After features/support/hooks.rb:330 2.667
After features/support/hooks.rb:100 0.000
Tags: @product
5:1.593
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 28.287
When I enable persistence 43.224
Then no persistent Greeter options were restored 14.435
When I set all Greeter options to non-default values 27.814
And I log in to a new session in German (de) after having activated the Persistent Storage 56.970
Then all Greeter options are set to non-default values 0.784
When I cold reboot the computer 9.834
And the computer reboots Tails 1:1.967
Given I enable persistence 16.518
Then persistent Greeter options were restored 0.535
When I log in to a new session after having activated the Persistent Storage 40.771
Then all Greeter options are set to non-default values 0.447
After features/support/hooks.rb:330 2.310
After features/support/hooks.rb:100 0.008
Tags: @product
4:19.732
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.506
# 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 44.233
And I shutdown Tails and wait for the computer to power off 14.711
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:31.614
And I change the passphrase of the Persistent Storage back to the original 38.666
After features/support/hooks.rb:330 2.568
After features/support/hooks.rb:100 0.007
Tags: @product
3:21.110
Scenario Deleting a Tails persistent partition
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Steps
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 18.630
And I log in to a new session without activating the Persistent Storage 3:2.479
cannot find GnomeApplicationsMenu.png on the screen (FindFailed)
./features/support/helpers/screen.rb:181:in `rescue in wait'
./features/support/helpers/screen.rb:165:in `wait'
./features/step_definitions/common_steps.rb:566:in `/^the Tails desktop is ready$/'
./features/step_definitions/common_steps.rb:522:in `/^I log in to a new session(?: in ([^ ]*) \(([^ ]*)\))?( without activating the Persistent Storage)?( after having activated the Persistent Storage| expecting no warning about the Persistent Storage not being activated)?$/'
features/persistence.feature:128:in `And I log in to a new session without activating the Persistent Storage'
Then persistence is disabled 0.000
But a Tails persistence partition exists on USB drive "__internal" 0.000
And all notifications have disappeared 0.000
When I delete the persistent partition 0.000
Then there is no persistence partition on USB drive "__internal" 0.000
After features/support/hooks.rb:330 5.212

SCENARIO FAILED: 'Deleting a Tails persistent partition' (at time 03:42:18)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_tca-misc-improvements/8/artifact/build-artifacts/03:42:18_Deleting_a_Tails_persistent_partition.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_tca-misc-improvements/8/artifact/build-artifacts/03:42:18_Deleting_a_Tails_persistent_partition.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_tca-misc-improvements/8/artifact/build-artifacts/03:42:18_Deleting_a_Tails_persistent_partition.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_tca-misc-improvements/8/artifact/build-artifacts/03:42:18_Deleting_a_Tails_persistent_partition.journal

After features/support/hooks.rb:100 0.000
Tags: @product
2:48.088
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.328
When I write some dotfile expected to persist 0.374
And I shutdown Tails and wait for the computer to power off 10.946
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:25.874
Then the expected persistent dotfile is present in the filesystem 0.564
After features/support/hooks.rb:330 1.818
After features/support/hooks.rb:100 0.007
Tags: @product
1:48.282
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 13.341
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.090
When I try to enable persistence 0.494
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 33.583
When I log in to a new session after having activated the Persistent Storage 42.346
And all notifications have disappeared 8.724
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.846
And all tps features are enabled 3.265
And all tps features but the first one are active 2.589
After features/support/hooks.rb:330 1.995
After features/support/hooks.rb:100 0.000
Tags: @product
11:29.600
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 9:55.043
And I enable persistence 39.575
And I log in to a new session after having activated the Persistent Storage 50.481
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.379
And persistence is enabled 3.119
After features/support/hooks.rb:330 2.147
After features/support/hooks.rb:100 0.000
Tags: @product
39.931
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 15.777
And I enable persistence but something goes wrong during the LUKS header upgrade 23.390
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.764
After features/support/hooks.rb:330 0.812
After features/support/hooks.rb:100 0.000
Tags: @product
52.893
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.045
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 8.816
When I enable persistence 31.710
Then the filesystem of the Persistent Storage was repaired 0.104
And persistence is successfully enabled 3.215
After features/support/hooks.rb:330 1.826
After features/support/hooks.rb:100 0.000
Tags: @product
1:0.490
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.588
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 14.463
When I try to enable persistence 0.412
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 27.882
When I repair the filesystem of the Persistent Storage 1.353
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.831
And the filesystem of the Persistent Storage was repaired 3.154
When I close the filesystem repair dialog 1.230
Then persistence is successfully enabled 1.574
After features/support/hooks.rb:330 2.126
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:18.400
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.824
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.154
When I try to enable persistence 0.522
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 38.993
When I repair the filesystem of the Persistent Storage 2.624
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.113
When I log in to a new session 49.395
And all notifications have disappeared 12.435
# 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.768
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.690
When I close the "whisperback" window 1.702
Then the Tor Browser starts 20.135
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.039
After features/support/hooks.rb:330 2.721
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:5.512
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.739
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 9.875
And Tails detects disk read failures on the boot device 0.611
When I try to enable persistence 0.465
Then the Welcome Screen tells me that my hardware is probably failing 24.547
When I log in to a new session 50.315
And all notifications have disappeared 8.756
Then the Tor Browser starts 20.284
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.915
After features/support/hooks.rb:330 1.965
After features/support/hooks.rb:100 0.000