Project Number Date
test_Tails_ISO_devel 3691 14 Feb 2025, 13:05

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 155 1 1 0 0 157 20 1 21 43:9.342 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:19.186
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:38.674
And I update APT using apt 14.671
And I install "python3-behave" using apt 22.416
Then the Tails Persistent Storage behave tests pass 3.424
After features/support/hooks.rb:326 0.929
After features/support/hooks.rb:100 0.000
Tags: @product
48.640
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 11.755
When I log in to a new session without activating the Persistent Storage 24.234
Then Tails is running from USB drive "__internal" 0.620
And persistence is disabled 0.412
But a Tails persistence partition exists on USB drive "__internal" 11.616
After features/support/hooks.rb:326 1.134
After features/support/hooks.rb:100 0.000
Tags: @product
3:9.904
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive without a persistent partition and logged in 13.809
Then Tails is running from USB drive "__internal" 0.765
When I create a file in the Persistent directory 0.117
And I create a persistent partition with the default settings 26.096
Then the file I created was copied to the Persistent Storage 0.603
When I shutdown Tails and wait for the computer to power off 12.652
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.449
Then persistence for "Persistent" is active 0.335
And the file I created in the Persistent directory exists 0.073
After features/support/hooks.rb:326 0.721
After features/support/hooks.rb:100 0.010
Tags: @product
1:11.522
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 12.816
And the system is very low on memory 3.208
When I create a file in the Persistent directory 1.155
When I try to create a persistent partition 27.023
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 5.094
When I close the Persistent Storage app 3.191
And I free up some memory 1.665
And I create a persistent partition with the default settings 16.801
Then the file I created was copied to the Persistent Storage 0.564
After features/support/hooks.rb:326 1.683
After features/support/hooks.rb:100 0.000
Tags: @product
3:7.283
Before features/support/hooks.rb:269 0.021
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 17.149
Then Tails is running from USB drive "__internal" 0.379
And all tps features are active 2.528
And all persistent directories have safe access rights 2.861
When I disable the first tps feature 9.020
Then all tps features but the first one are active 2.850
And I shutdown Tails and wait for the computer to power off 13.234
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.801
Then all tps features but the first one are active 2.456
After features/support/hooks.rb:326 1.038
After features/support/hooks.rb:100 0.008
Tags: @product
25.952
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 12.369
Then persistence for "Persistent" is active 0.092
And I create a file in the Persistent directory 0.649
Then the file I created was copied to the Persistent Storage 0.064
When I disable the first tps feature 7.590
Then persistence for "Persistent" is not active 0.133
And the Persistent directory does not exist 0.089
When I enable the first tps feature 4.810
Then persistence for "Persistent" is active 0.071
And the file I created in the Persistent directory exists 0.081
After features/support/hooks.rb:326 0.820
After features/support/hooks.rb:100 0.000
Tags: @product
24.871
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.478
Then persistence for "Persistent" is active 0.080
When I create a file in the Persistent directory 0.082
And I disable the first tps feature 7.795
And I delete the data of the Persistent Folder feature 5.363
Then the file I created does not exist on the Persistent Storage 0.071
After features/support/hooks.rb:326 1.104
After features/support/hooks.rb:100 0.000
Tags: @product
1:21.694
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 11.155
And the network is plugged 0.125
And Tor is ready 32.279
And I take note of which tps features are available 0.788
When I write some files expected to persist 1.426
And I shutdown Tails and wait for the computer to power off 10.965
# 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.953
After features/support/hooks.rb:326 0.123
After features/support/hooks.rb:100 0.000
Tags: @product
3:15.154
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 11.382
And the network is plugged 0.072
And Tor is ready 21.187
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.230
And I shutdown Tails and wait for the computer to power off 8.797
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.357
And I capture all network traffic 0.007
And the network is plugged 0.080
And Tor is ready 22.441
And I switch to the "persistent-con-current" NetworkManager connection 0.349
And the 1st network device has a spoofed MAC address configured 0.097
And no network device leaked the real MAC address 0.148
After features/support/hooks.rb:326 0.594
After features/support/hooks.rb:100 0.075
Tags: @product
59.267
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 13.870
And I enable persistence creation in Tails Greeter 1.126
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.796
Then I create a persistent partition with the default settings using the wizard that was already open 21.474
After features/support/hooks.rb:326 1.622
After features/support/hooks.rb:100 0.000
Tags: @product
4:36.987
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 12.642
When I enable persistence 39.460
Then no persistent Greeter options were restored 14.526
When I set all Greeter options to non-default values 27.135
And I log in to a new session in German (de) after having activated the Persistent Storage 51.545
Then all Greeter options are set to non-default values 0.635
When I cold reboot the computer 7.279
And the computer reboots Tails 1:2.865
Given I enable persistence 18.774
Then persistent Greeter options were restored 0.586
When I log in to a new session after having activated the Persistent Storage 41.129
Then all Greeter options are set to non-default values 0.405
After features/support/hooks.rb:326 1.400
After features/support/hooks.rb:100 0.010
Tags: @product
2:27.970
Scenario Changing the Persistent Storage passphrase
Before features/support/hooks.rb:269 0.007
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.604
# 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 50.111
And I shutdown Tails and wait for the computer to power off 12.592
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:13.662
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/support/helpers/dogtail.rb:357:in `grabFocus'
./features/step_definitions/usb.rb:672:in `/^I try to enable persistence( with the changed passphrase)?$/'
./features/step_definitions/usb.rb:703:in `/^I enable persistence( with the changed passphrase)?$/'
./features/step_definitions/common_steps.rb:292:in `/^I start Tails from (.+?) drive "(.+?)"( with network unplugged)?( and I login( with persistence enabled)?( with the changed persistence passphrase)?( (?:and|with) an administration password)?)?$/'
features/persistence.feature:123:in `Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase'
And I change the passphrase of the Persistent Storage back to the original 0.000
After features/support/hooks.rb:326 4.857

SCENARIO FAILED: 'Changing the Persistent Storage passphrase' (at time 03:34:12)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3691/artifact/build-artifacts/03:34:12_Changing_the_Persistent_Storage_passphrase.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3691/artifact/build-artifacts/03:34:12_Changing_the_Persistent_Storage_passphrase.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3691/artifact/build-artifacts/03:34:12_Changing_the_Persistent_Storage_passphrase.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3691/artifact/build-artifacts/03:34:12_Changing_the_Persistent_Storage_passphrase.journal

After features/support/hooks.rb:100 0.009
Tags: @product
1:1.162
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 10.356
And I log in to a new session without activating the Persistent Storage 23.795
Then persistence is disabled 0.462
But a Tails persistence partition exists on USB drive "__internal" 8.200
And all notifications have disappeared 10.480
When I delete the persistent partition 7.422
Then there is no persistence partition on USB drive "__internal" 0.444
After features/support/hooks.rb:326 0.698
After features/support/hooks.rb:100 0.000
Tags: @product
2:31.436
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 11.163
When I write some dotfile expected to persist 0.169
And I shutdown Tails and wait for the computer to power off 11.091
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.555
Then the expected persistent dotfile is present in the filesystem 0.457
After features/support/hooks.rb:326 0.730
After features/support/hooks.rb:100 0.010
Tags: @product
2:2.896
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.205
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.106
When I try to enable persistence 0.408
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 40.235
When I log in to a new session after having activated the Persistent Storage 50.805
And all notifications have disappeared 11.240
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.896
And all tps features are enabled 3.317
And all tps features but the first one are active 2.680
After features/support/hooks.rb:326 1.157
After features/support/hooks.rb:100 0.000
Tags: @product
7:27.392
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 6:4.165
And I enable persistence 31.995
And I log in to a new session after having activated the Persistent Storage 44.260
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.948
And persistence is enabled 4.022
After features/support/hooks.rb:326 0.883
After features/support/hooks.rb:100 0.000
Tags: @product
29.373
Before features/support/hooks.rb:269 0.010
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.190
And I enable persistence but something goes wrong during the LUKS header upgrade 19.367
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.815
After features/support/hooks.rb:326 0.678
After features/support/hooks.rb:100 0.000
Tags: @product
52.386
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.462
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.275
When I enable persistence 33.648
Then the filesystem of the Persistent Storage was repaired 0.098
And persistence is successfully enabled 2.901
After features/support/hooks.rb:326 0.874
After features/support/hooks.rb:100 0.000
Tags: @product
48.538
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.119
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.305
When I try to enable persistence 0.407
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 25.035
When I repair the filesystem of the Persistent Storage 1.302
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.017
And the filesystem of the Persistent Storage was repaired 2.513
When I close the filesystem repair dialog 1.250
Then persistence is successfully enabled 1.586
After features/support/hooks.rb:326 0.829
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:53.875
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 9.070
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.180
When I try to enable persistence 0.569
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.385
When I repair the filesystem of the Persistent Storage 1.323
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.080
When I log in to a new session 40.078
And all notifications have disappeared 9.174
# 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.655
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.527
When I close the "whisperback" window 1.722
Then the Tor Browser starts 20.291
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.814
After features/support/hooks.rb:326 2.836
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:53.846
Before features/support/hooks.rb:269 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 9.339
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.387
And Tails detects disk read failures on the boot device 1.656
When I try to enable persistence 0.399
Then the Welcome Screen tells me that my hardware is probably failing 18.922
When I log in to a new session 43.865
And all notifications have disappeared 7.640
Then the Tor Browser starts 24.934
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.701
After features/support/hooks.rb:326 3.339
After features/support/hooks.rb:100 0.000