Project Number Date
test_Tails_ISO_20872-more-gtk-launch 7 02 Apr 2025, 08:20

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 1:4:24.204 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
4:49.210
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 1:39.210
And I update APT using apt 2:43.688
And I install "python3-behave" using apt 23.444
Then the Tails Persistent Storage behave tests pass 2.866
After features/support/hooks.rb:330 1.172
After features/support/hooks.rb:100 0.000
Tags: @product
45.613
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.912
When I log in to a new session without activating the Persistent Storage 22.571
Then Tails is running from USB drive "__internal" 0.587
And persistence is disabled 0.487
But a Tails persistence partition exists on USB drive "__internal" 10.055
After features/support/hooks.rb:330 3.376
After features/support/hooks.rb:100 0.000
Tags: @product
3:29.482
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 12.748
Then Tails is running from USB drive "__internal" 0.617
When I create a file in the Persistent directory 0.204
And I create a persistent partition with the default settings 27.009
Then the file I created was copied to the Persistent Storage 3.203
When I shutdown Tails and wait for the computer to power off 17.224
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:28.054
Then persistence for "Persistent" is active 0.346
And the file I created in the Persistent directory exists 0.073
After features/support/hooks.rb:330 2.563
After features/support/hooks.rb:100 0.011
Tags: @product
1:5.145
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.015
Given I have started Tails without network from a USB drive without a persistent partition and logged in 10.480
And the system is very low on memory 3.324
When I create a file in the Persistent directory 1.602
When I try to create a persistent partition 29.647
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.375
When I close the Persistent Storage app 2.739
And I free up some memory 3.447
And I create a persistent partition with the default settings 13.229
Then the file I created was copied to the Persistent Storage 0.296
After features/support/hooks.rb:330 2.103
After features/support/hooks.rb:100 0.000
Tags: @product
3:3.828
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 12.803
Then Tails is running from USB drive "__internal" 0.951
And all tps features are active 2.596
And all persistent directories have safe access rights 2.730
When I disable the first tps feature 6.235
Then all tps features but the first one are active 2.315
And I shutdown Tails and wait for the computer to power off 15.024
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:18.809
Then all tps features but the first one are active 2.361
After features/support/hooks.rb:330 1.275
After features/support/hooks.rb:100 0.008
Tags: @product
20.454
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.035
Then persistence for "Persistent" is active 0.098
And I create a file in the Persistent directory 0.099
Then the file I created was copied to the Persistent Storage 0.084
When I disable the first tps feature 6.731
Then persistence for "Persistent" is not active 0.091
And the Persistent directory does not exist 0.054
When I enable the first tps feature 3.097
Then persistence for "Persistent" is active 0.094
And the file I created in the Persistent directory exists 0.067
After features/support/hooks.rb:330 1.523
After features/support/hooks.rb:100 0.000
Tags: @product
19.561
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 9.678
Then persistence for "Persistent" is active 0.269
When I create a file in the Persistent directory 0.074
And I disable the first tps feature 5.809
And I delete the data of the Persistent Folder feature 3.651
Then the file I created does not exist on the Persistent Storage 0.078
After features/support/hooks.rb:330 1.956
After features/support/hooks.rb:100 0.000
Tags: @product
1:4.644
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 enabled and logged in 10.246
And the network is plugged 0.098
And Tor is ready 19.695
And I take note of which tps features are available 0.604
When I write some files expected to persist 1.564
And I shutdown Tails and wait for the computer to power off 8.357
# 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.077
After features/support/hooks.rb:330 0.103
After features/support/hooks.rb:100 0.000
Tags: @product
3:13.133
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 9.114
And the network is plugged 0.095
And Tor is ready 18.959
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.241
And I shutdown Tails and wait for the computer to power off 8.154
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.395
And I capture all network traffic 0.007
And the network is plugged 0.118
And Tor is ready 20.431
And I switch to the "persistent-con-current" NetworkManager connection 0.385
And the 1st network device has a spoofed MAC address configured 0.097
And no network device leaked the real MAC address 0.130
After features/support/hooks.rb:330 0.731
After features/support/hooks.rb:100 0.070
Tags: @product
1:0.943
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 stopped at Tails Greeter's login screen 12.975
And I enable persistence creation in Tails Greeter 1.096
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.655
Then I create a persistent partition with the default settings using the wizard that was already open 23.215
After features/support/hooks.rb:330 2.949
After features/support/hooks.rb:100 0.000
Tags: @product
5:5.748
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 17.021
When I enable persistence 44.559
Then no persistent Greeter options were restored 15.244
When I set all Greeter options to non-default values 36.151
And I log in to a new session in German (de) after having activated the Persistent Storage 56.592
Then all Greeter options are set to non-default values 1.045
When I cold reboot the computer 7.950
And the computer reboots Tails 1:4.460
Given I enable persistence 18.716
Then persistent Greeter options were restored 0.557
When I log in to a new session after having activated the Persistent Storage 42.807
Then all Greeter options are set to non-default values 0.640
After features/support/hooks.rb:330 1.754
After features/support/hooks.rb:100 0.009
Tags: @product
23:1.292
Scenario Changing the Persistent Storage passphrase
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.845
# 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 31.982
And I shutdown Tails and wait for the computer to power off 12.565
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 22:5.899
execution expired (RemoteShell::Timeout)
./features/support/helpers/remote_shell.rb:56:in `read'
./features/support/helpers/remote_shell.rb:56:in `block (3 levels) in communicate'
./features/support/helpers/remote_shell.rb:55:in `block (2 levels) in communicate'
./features/support/helpers/remote_shell.rb:42:in `loop'
./features/support/helpers/remote_shell.rb:42:in `block in communicate'
./features/support/helpers/remote_shell.rb:37:in `communicate'
./features/support/helpers/remote_shell.rb:174:in `execute'
./features/support/helpers/remote_shell.rb:185:in `initialize'
./features/support/helpers/dogtail.rb:80:in `new'
./features/support/helpers/dogtail.rb:80:in `run'
./features/support/helpers/dogtail.rb:70:in `initialize'
./features/step_definitions/common_steps.rb:719:in `new'
./features/step_definitions/common_steps.rb:719:in `/^all notifications have disappeared$/'
./features/step_definitions/common_steps.rb:298: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:330 10.851

SCENARIO FAILED: 'Changing the Persistent Storage passphrase' (at time 03:56:23)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20872-more-gtk-launch/7/artifact/build-artifacts/03:56:23_Changing_the_Persistent_Storage_passphrase.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20872-more-gtk-launch/7/artifact/build-artifacts/03:56:23_Changing_the_Persistent_Storage_passphrase.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20872-more-gtk-launch/7/artifact/build-artifacts/03:56:23_Changing_the_Persistent_Storage_passphrase.journal

After features/support/hooks.rb:100 0.009
Tags: @product
1:3.148
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.052
And I log in to a new session without activating the Persistent Storage 22.794
Then persistence is disabled 0.291
But a Tails persistence partition exists on USB drive "__internal" 10.583
And all notifications have disappeared 9.717
When I delete the persistent partition 6.761
Then there is no persistence partition on USB drive "__internal" 0.949
After features/support/hooks.rb:330 1.770
After features/support/hooks.rb:100 0.000
Tags: @product
2:46.103
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.021
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.430
When I write some dotfile expected to persist 0.085
And I shutdown Tails and wait for the computer to power off 15.422
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:18.783
Then the expected persistent dotfile is present in the filesystem 0.382
After features/support/hooks.rb:330 1.111
After features/support/hooks.rb:100 0.008
Tags: @product
1:42.792
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 9.412
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.085
When I try to enable persistence 0.272
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 31.799
When I log in to a new session after having activated the Persistent Storage 45.394
And all notifications have disappeared 7.384
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.149
And all tps features are enabled 2.314
And all tps features but the first one are active 1.979
After features/support/hooks.rb:330 2.118
After features/support/hooks.rb:100 0.000
Tags: @product
5:12.714
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 3:46.500
And I enable persistence 33.616
And I log in to a new session after having activated the Persistent Storage 48.236
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.503
And persistence is enabled 2.859
After features/support/hooks.rb:330 1.758
After features/support/hooks.rb:100 0.000
Tags: @product
29.976
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.338
And I enable persistence but something goes wrong during the LUKS header upgrade 19.803
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.833
After features/support/hooks.rb:330 0.717
After features/support/hooks.rb:100 0.000
Tags: @product
50.303
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.185
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.529
When I enable persistence 32.376
Then the filesystem of the Persistent Storage was repaired 0.089
And persistence is successfully enabled 3.122
After features/support/hooks.rb:330 1.630
After features/support/hooks.rb:100 0.000
Tags: @product
55.568
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 8.911
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.865
When I try to enable persistence 0.513
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 26.222
When I repair the filesystem of the Persistent Storage 3.388
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.400
And the filesystem of the Persistent Storage was repaired 4.381
When I close the filesystem repair dialog 1.239
Then persistence is successfully enabled 1.644
After features/support/hooks.rb:330 1.854
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:54.674
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.133
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.123
When I try to enable persistence 0.271
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 30.331
When I repair the filesystem of the Persistent Storage 1.264
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.077
When I log in to a new session 42.282
And all notifications have disappeared 8.419
# 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.627
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.263
When I close the "whisperback" window 1.641
Then the Tor Browser starts 19.533
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.705
After features/support/hooks.rb:330 1.960
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:9.863
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 9.708
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.475
And Tails detects disk read failures on the boot device 0.519
When I try to enable persistence 1.554
Then the Welcome Screen tells me that my hardware is probably failing 20.863
When I log in to a new session 54.249
And all notifications have disappeared 10.997
Then the Tor Browser starts 22.571
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.924
After features/support/hooks.rb:330 3.741
After features/support/hooks.rb:100 0.000