Project Number Date
test_Tails_ISO_test-suite-options 13 29 Jun 2025, 20:59

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 54:5.812 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
3:19.787
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails from DVD and logged in with an administration password and the network is connected 2:22.980
And I update APT using apt 22.273
And I install "python3-behave" using apt 31.305
Then the Tails Persistent Storage behave tests pass 3.227
After features/support/hooks.rb:330 2.377
After features/support/hooks.rb:100 0.000
Tags: @product
1:3.728
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.029
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 14.875
When I log in to a new session without activating the Persistent Storage 37.079
Then Tails is running from USB drive "__internal" 0.357
And persistence is disabled 0.255
But a Tails persistence partition exists on USB drive "__internal" 11.160
After features/support/hooks.rb:330 2.710
After features/support/hooks.rb:100 0.000
Tags: @product
4:22.506
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.012
Given I have started Tails without network from a USB drive without a persistent partition and logged in 17.204
Then Tails is running from USB drive "__internal" 0.711
When I create a file in the Persistent directory 0.625
And I create a persistent partition with the default settings 29.250
Then the file I created was copied to the Persistent Storage 2.080
When I shutdown Tails and wait for the computer to power off 15.235
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:16.137
Then persistence for "Persistent" is active 1.167
And the file I created in the Persistent directory exists 0.092
After features/support/hooks.rb:330 0.751
After features/support/hooks.rb:100 0.011
Tags: @product
1:11.934
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 14.662
And the system is very low on memory 4.157
When I create a file in the Persistent directory 0.853
When I try to create a persistent partition 26.263
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.199
When I close the Persistent Storage app 3.324
And I free up some memory 5.292
And I create a persistent partition with the default settings 15.300
Then the file I created was copied to the Persistent Storage 1.881
After features/support/hooks.rb:330 5.462
After features/support/hooks.rb:100 0.000
Tags: @product
3:48.805
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 enabled and logged in 17.129
Then Tails is running from USB drive "__internal" 1.472
And all tps features are active 3.428
And all persistent directories have safe access rights 2.751
When I disable the first tps feature 7.999
Then all tps features but the first one are active 4.882
And I shutdown Tails and wait for the computer to power off 12.852
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:55.797
Then all tps features but the first one are active 2.491
After features/support/hooks.rb:330 1.989
After features/support/hooks.rb:100 0.116
Tags: @product
32.144
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.168
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 16.120
Then persistence for "Persistent" is active 0.270
And I create a file in the Persistent directory 0.131
Then the file I created was copied to the Persistent Storage 0.149
When I disable the first tps feature 11.388
Then persistence for "Persistent" is not active 0.110
And the Persistent directory does not exist 0.066
When I enable the first tps feature 3.703
Then persistence for "Persistent" is active 0.101
And the file I created in the Persistent directory exists 0.100
After features/support/hooks.rb:330 1.956
After features/support/hooks.rb:100 0.000
Tags: @product
24.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 persistent partition enabled and logged in 13.359
Then persistence for "Persistent" is active 0.111
When I create a file in the Persistent directory 0.108
And I disable the first tps feature 6.383
And I delete the data of the Persistent Folder feature 4.284
Then the file I created does not exist on the Persistent Storage 0.080
After features/support/hooks.rb:330 2.904
After features/support/hooks.rb:100 0.000
Tags: @product
1:36.905
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.044
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 13.583
And the network is plugged 0.461
And Tor is ready 33.868
And I take note of which tps features are available 0.745
When I write some files expected to persist 1.572
And I shutdown Tails and wait for the computer to power off 13.348
# 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" 33.325
After features/support/hooks.rb:330 0.138
After features/support/hooks.rb:100 0.000
Tags: @product
4:11.492
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 15.935
And the network is plugged 0.073
And Tor is ready 23.968
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.190
And I shutdown Tails and wait for the computer to power off 14.646
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:47.389
And I capture all network traffic 0.467
And the network is plugged 2.255
And Tor is ready 25.204
And I switch to the "persistent-con-current" NetworkManager connection 0.681
And the 1st network device has a spoofed MAC address configured 0.458
And no network device leaked the real MAC address 0.220
After features/support/hooks.rb:330 0.686
After features/support/hooks.rb:100 0.075
Tags: @product
1:15.377
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 stopped at Tails Greeter's login screen 13.704
And I enable persistence creation in Tails Greeter 1.139
And I log in to a new session expecting no warning about the Persistent Storage not being activated 27.929
Then I create a persistent partition with the default settings using the wizard that was already open 32.604
After features/support/hooks.rb:330 4.197
After features/support/hooks.rb:100 0.000
Tags: @product
5:46.724
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 15.898
When I enable persistence 48.437
Then no persistent Greeter options were restored 16.430
When I set all Greeter options to non-default values 39.831
And I log in to a new session in German (de) after having activated the Persistent Storage 1:1.134
Then all Greeter options are set to non-default values 0.465
When I cold reboot the computer 14.123
And the computer reboots Tails 1:18.575
Given I enable persistence 23.903
Then persistent Greeter options were restored 0.966
When I log in to a new session after having activated the Persistent Storage 46.355
Then all Greeter options are set to non-default values 0.602
After features/support/hooks.rb:330 2.046
After features/support/hooks.rb:100 0.009
Tags: @product
5:3.938
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 16.973
# 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 46.783
And I shutdown Tails and wait for the computer to power off 14.966
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:57.129
And I change the passphrase of the Persistent Storage back to the original 48.085
After features/support/hooks.rb:330 4.222
After features/support/hooks.rb:100 0.063
Tags: @product
15.979
Scenario Deleting a Tails persistent partition
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.018
Steps
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 10.541
And I log in to a new session without activating the Persistent Storage 5.438
<false> is not true. (Test::Unit::AssertionFailedError)
./features/step_definitions/common_steps.rb:519: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.222

SCENARIO FAILED: 'Deleting a Tails persistent partition' (at time 04:32:31)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-suite-options/13/artifact/build-artifacts/04:32:31_Deleting_a_Tails_persistent_partition.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-suite-options/13/artifact/build-artifacts/04:32:31_Deleting_a_Tails_persistent_partition.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-suite-options/13/artifact/build-artifacts/04:32:31_Deleting_a_Tails_persistent_partition.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-suite-options/13/artifact/build-artifacts/04:32:31_Deleting_a_Tails_persistent_partition.journal

After features/support/hooks.rb:100 0.000
Tags: @product
3:22.028
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 11.281
When I write some dotfile expected to persist 0.481
And I shutdown Tails and wait for the computer to power off 13.330
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:56.210
Then the expected persistent dotfile is present in the filesystem 0.724
After features/support/hooks.rb:330 0.777
After features/support/hooks.rb:100 0.007
Tags: @product
2:17.560
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.071
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.289
When I try to enable persistence 2.866
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 41.671
When I log in to a new session after having activated the Persistent Storage 59.542
And all notifications have disappeared 8.790
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.510
And all tps features are enabled 6.605
And all tps features but the first one are active 3.212
After features/support/hooks.rb:330 2.047
After features/support/hooks.rb:100 0.000
Tags: @product
6:46.725
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 4:46.889
And I enable persistence 51.839
And I log in to a new session after having activated the Persistent Storage 1:3.364
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.165
And persistence is enabled 3.465
After features/support/hooks.rb:330 3.414
After features/support/hooks.rb:100 0.000
Tags: @product
50.700
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.064
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 13.889
And I enable persistence but something goes wrong during the LUKS header upgrade 35.966
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.843
After features/support/hooks.rb:330 1.127
After features/support/hooks.rb:100 0.000
Tags: @product
1:16.863
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 12.889
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.391
When I enable persistence 50.071
Then the filesystem of the Persistent Storage was repaired 0.401
And persistence is successfully enabled 7.109
After features/support/hooks.rb:330 2.923
After features/support/hooks.rb:100 0.000
Tags: @product
1:15.236
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 14.954
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.870
When I try to enable persistence 0.674
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 38.146
When I repair the filesystem of the Persistent Storage 2.749
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.747
And the filesystem of the Persistent Storage was repaired 5.263
When I close the filesystem repair dialog 1.407
Then persistence is successfully enabled 2.422
After features/support/hooks.rb:330 2.336
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:39.984
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.814
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.455
When I try to enable persistence 2.253
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 42.272
When I repair the filesystem of the Persistent Storage 2.547
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.094
When I log in to a new session 59.589
And all notifications have disappeared 11.047
# 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.433
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 1.311
When I close the "whisperback" window 4.298
Then the Tor Browser starts 24.921
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.944
After features/support/hooks.rb:330 2.868
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:43.061
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 14.165
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 11.367
And Tails detects disk read failures on the boot device 2.213
When I try to enable persistence 1.324
Then the Welcome Screen tells me that my hardware is probably failing 33.988
When I log in to a new session 57.527
And all notifications have disappeared 13.958
Then the Tor Browser starts 27.566
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.950
After features/support/hooks.rb:330 5.878
After features/support/hooks.rb:100 0.000