Project Number Date
test_Tails_ISO_devel 3702 20 Feb 2025, 09:40

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 153 1 3 0 0 157 20 1 21 43:46.945 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:23.515
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:40.062
And I update APT using apt 15.105
And I install "python3-behave" using apt 25.815
Then the Tails Persistent Storage behave tests pass 2.531
After features/support/hooks.rb:326 0.730
After features/support/hooks.rb:100 0.000
Tags: @product
48.076
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 12.257
When I log in to a new session without activating the Persistent Storage 24.727
Then Tails is running from USB drive "__internal" 0.582
And persistence is disabled 0.282
But a Tails persistence partition exists on USB drive "__internal" 10.226
After features/support/hooks.rb:326 1.195
After features/support/hooks.rb:100 0.000
Tags: @product
3:27.114
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 17.310
Then Tails is running from USB drive "__internal" 0.501
When I create a file in the Persistent directory 0.151
And I create a persistent partition with the default settings 25.578
Then the file I created was copied to the Persistent Storage 0.619
When I shutdown Tails and wait for the computer to power off 13.863
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:28.683
Then persistence for "Persistent" is active 0.335
And the file I created in the Persistent directory exists 0.069
After features/support/hooks.rb:326 0.790
After features/support/hooks.rb:100 0.009
Tags: @product
1:13.730
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive without a persistent partition and logged in 23.201
And the system is very low on memory 4.026
When I create a file in the Persistent directory 1.275
When I try to create a persistent partition 24.642
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.547
When I close the Persistent Storage app 2.657
And I free up some memory 1.686
And I create a persistent partition with the default settings 15.420
Then the file I created was copied to the Persistent Storage 0.273
After features/support/hooks.rb:326 1.652
After features/support/hooks.rb:100 0.000
Tags: @product
3:21.679
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 25.321
Then Tails is running from USB drive "__internal" 0.465
And all tps features are active 5.414
And all persistent directories have safe access rights 2.668
When I disable the first tps feature 7.176
Then all tps features but the first one are active 3.146
And I shutdown Tails and wait for the computer to power off 15.257
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:19.957
Then all tps features but the first one are active 2.272
After features/support/hooks.rb:326 0.951
After features/support/hooks.rb:100 0.009
Tags: @product
27.209
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 11.297
Then persistence for "Persistent" is active 0.133
And I create a file in the Persistent directory 0.089
Then the file I created was copied to the Persistent Storage 0.076
When I disable the first tps feature 8.119
Then persistence for "Persistent" is not active 0.102
And the Persistent directory does not exist 0.079
When I enable the first tps feature 7.124
Then persistence for "Persistent" is active 0.097
And the file I created in the Persistent directory exists 0.087
After features/support/hooks.rb:326 1.720
After features/support/hooks.rb:100 0.000
Tags: @product
27.815
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 15.851
Then persistence for "Persistent" is active 0.136
When I create a file in the Persistent directory 0.139
And I disable the first tps feature 6.950
And I delete the data of the Persistent Folder feature 4.676
Then the file I created does not exist on the Persistent Storage 0.060
After features/support/hooks.rb:326 1.426
After features/support/hooks.rb:100 0.000
Tags: @product
1:15.340
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.230
And the network is plugged 0.092
And Tor is ready 25.068
And I take note of which tps features are available 0.949
When I write some files expected to persist 1.762
And I shutdown Tails and wait for the computer to power off 9.125
# 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" 27.111
After features/support/hooks.rb:326 0.161
After features/support/hooks.rb:100 0.000
Tags: @product
3:54.412
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.975
And the network is plugged 0.138
And Tor is ready 51.292
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.203
And I shutdown Tails and wait for the computer to power off 8.920
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:20.892
And I capture all network traffic 0.010
And the network is plugged 0.103
And Tor is ready 21.253
And I switch to the "persistent-con-current" NetworkManager connection 0.371
And the 1st network device has a spoofed MAC address configured 0.105
And no network device leaked the real MAC address 0.143
After features/support/hooks.rb:326 0.904
After features/support/hooks.rb:100 0.064
Tags: @product
1:8.506
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 16.024
And I enable persistence creation in Tails Greeter 1.305
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.053
Then I create a persistent partition with the default settings using the wizard that was already open 28.123
After features/support/hooks.rb:326 1.423
After features/support/hooks.rb:100 0.000
Tags: @product
4:33.922
Scenario Persistent Greeter options
Before features/support/hooks.rb:269 0.005
Steps
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 29.934
When I enable persistence 41.324
Then no persistent Greeter options were restored 14.834
When I set all Greeter options to non-default values 25.339
And I log in to a new session in German (de) after having activated the Persistent Storage 44.861
Then all Greeter options are set to non-default values 0.604
When I cold reboot the computer 7.686
And the computer reboots Tails 1:0.054
Given I enable persistence 49.280
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:694:in `/^persistence is successfully enabled$/'
./features/step_definitions/usb.rb:704:in `/^I enable persistence( with the changed passphrase)?$/'
features/persistence.feature:111:in `Given I enable persistence'
Then persistent Greeter options were restored 0.000
When I log in to a new session after having activated the Persistent Storage 0.000
Then all Greeter options are set to non-default values 0.000
After features/support/hooks.rb:326 5.275

SCENARIO FAILED: 'Persistent Greeter options' (at time 03:33:49)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3702/artifact/build-artifacts/03:33:49_Persistent_Greeter_options.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3702/artifact/build-artifacts/03:33:49_Persistent_Greeter_options.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3702/artifact/build-artifacts/03:33:49_Persistent_Greeter_options.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3702/artifact/build-artifacts/03:33:49_Persistent_Greeter_options.journal

After features/support/hooks.rb:100 0.015
Tags: @product
3:47.657
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.874
# 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 33.227
And I shutdown Tails and wait for the computer to power off 12.797
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:11.193
And I change the passphrase of the Persistent Storage back to the original 39.564
After features/support/hooks.rb:326 2.044
After features/support/hooks.rb:100 0.007
Tags: @product
53.461
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 9.935
And I log in to a new session without activating the Persistent Storage 20.372
Then persistence is disabled 0.280
But a Tails persistence partition exists on USB drive "__internal" 6.939
And all notifications have disappeared 8.567
When I delete the persistent partition 6.834
Then there is no persistence partition on USB drive "__internal" 0.531
After features/support/hooks.rb:326 0.882
After features/support/hooks.rb:100 0.000
Tags: @product
2:34.240
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.966
When I write some dotfile expected to persist 0.189
And I shutdown Tails and wait for the computer to power off 8.531
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.111
Then the expected persistent dotfile is present in the filesystem 0.440
After features/support/hooks.rb:326 0.883
After features/support/hooks.rb:100 0.009
Tags: @product
1:36.127
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 9.152
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.077
When I try to enable persistence 0.273
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 31.248
When I log in to a new session after having activated the Persistent Storage 38.142
And all notifications have disappeared 7.963
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.381
And all tps features are enabled 2.571
And all tps features but the first one are active 2.316
After features/support/hooks.rb:326 1.371
After features/support/hooks.rb:100 0.000
Tags: @product
5:14.151
Before features/support/hooks.rb:269 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 3:44.603
And I enable persistence 36.054
And I log in to a new session after having activated the Persistent Storage 47.907
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.109
And persistence is enabled 2.477
After features/support/hooks.rb:326 0.902
After features/support/hooks.rb:100 0.000
Tags: @product
37.599
Before features/support/hooks.rb:269 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 10.693
And I enable persistence but something goes wrong during the LUKS header upgrade 26.141
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.765
After features/support/hooks.rb:326 0.914
After features/support/hooks.rb:100 0.000
Tags: @product
55.082
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.337
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.157
When I enable persistence 36.630
Then the filesystem of the Persistent Storage was repaired 0.096
And persistence is successfully enabled 2.860
After features/support/hooks.rb:326 0.825
After features/support/hooks.rb:100 0.000
Tags: @product
55.633
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.586
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.689
When I try to enable persistence 1.567
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 25.955
When I repair the filesystem of the Persistent Storage 5.096
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.459
And the filesystem of the Persistent Storage was repaired 2.289
When I close the filesystem repair dialog 1.298
Then persistence is successfully enabled 1.690
After features/support/hooks.rb:326 0.924
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:8.325
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 9.147
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.093
When I try to enable persistence 0.301
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 34.556
When I repair the filesystem of the Persistent Storage 5.162
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.078
When I log in to a new session 45.144
And all notifications have disappeared 11.872
# 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.589
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.748
When I close the "whisperback" window 1.411
Then the Tor Browser starts 18.333
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.885
After features/support/hooks.rb:326 3.211
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:3.342
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.832
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 10.510
And Tails detects disk read failures on the boot device 1.572
When I try to enable persistence 1.451
Then the Welcome Screen tells me that my hardware is probably failing 20.192
When I log in to a new session 48.029
And all notifications have disappeared 9.648
Then the Tor Browser starts 22.187
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.917
After features/support/hooks.rb:326 2.989
After features/support/hooks.rb:100 0.000