Project Number Date
test_Tails_ISO_stable 5364 02 Jan 2025, 12:17

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 37:50.765 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:15.684
Before features/support/hooks.rb:269 0.009
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:31.678
And I update APT using apt 14.038
And I install "python3-behave" using apt 26.372
Then the Tails Persistent Storage behave tests pass 3.594
After features/support/hooks.rb:326 0.808
After features/support/hooks.rb:100 0.000
Tags: @product
42.121
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 12.845
When I log in to a new session without activating the Persistent Storage 19.915
Then Tails is running from USB drive "__internal" 0.684
And persistence is disabled 0.273
But a Tails persistence partition exists on USB drive "__internal" 8.402
After features/support/hooks.rb:326 0.973
After features/support/hooks.rb:100 0.000
Tags: @product
3:5.550
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 11.995
Then Tails is running from USB drive "__internal" 0.406
When I create a file in the Persistent directory 0.111
And I create a persistent partition with the default settings 23.980
Then the file I created was copied to the Persistent Storage 0.504
When I shutdown Tails and wait for the computer to power off 12.466
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.720
Then persistence for "Persistent" is active 0.298
And the file I created in the Persistent directory exists 0.066
After features/support/hooks.rb:326 0.911
After features/support/hooks.rb:100 0.009
Tags: @product
1:2.673
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 11.004
And the system is very low on memory 4.965
When I create a file in the Persistent directory 0.802
When I try to create a persistent partition 27.450
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.445
When I close the Persistent Storage app 2.602
And I free up some memory 1.796
And I create a persistent partition with the default settings 13.349
Then the file I created was copied to the Persistent Storage 0.257
After features/support/hooks.rb:326 1.886
After features/support/hooks.rb:100 0.000
Tags: @product
2:51.109
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 10.308
Then Tails is running from USB drive "__internal" 0.357
And all tps features are active 2.178
And all persistent directories have safe access rights 2.377
When I disable the first tps feature 5.206
Then all tps features but the first one are active 1.977
And I shutdown Tails and wait for the computer to power off 10.902
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.696
Then all tps features but the first one are active 2.103
After features/support/hooks.rb:326 0.809
After features/support/hooks.rb:100 0.007
Tags: @product
18.321
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.211
Then persistence for "Persistent" is active 0.081
And I create a file in the Persistent directory 0.072
Then the file I created was copied to the Persistent Storage 0.093
When I disable the first tps feature 5.341
Then persistence for "Persistent" is not active 0.066
And the Persistent directory does not exist 0.058
When I enable the first tps feature 3.252
Then persistence for "Persistent" is active 0.081
And the file I created in the Persistent directory exists 0.063
After features/support/hooks.rb:326 0.977
After features/support/hooks.rb:100 0.000
Tags: @product
18.859
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 9.406
Then persistence for "Persistent" is active 0.085
When I create a file in the Persistent directory 0.062
And I disable the first tps feature 5.341
And I delete the data of the Persistent Folder feature 3.904
Then the file I created does not exist on the Persistent Storage 0.058
After features/support/hooks.rb:326 1.025
After features/support/hooks.rb:100 0.000
Tags: @product
1:3.310
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 9.343
And the network is plugged 0.081
And Tor is ready 18.782
And I take note of which tps features are available 0.568
When I write some files expected to persist 1.439
And I shutdown Tails and wait for the computer to power off 8.617
# 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.478
After features/support/hooks.rb:326 0.095
After features/support/hooks.rb:100 0.000
Tags: @product
3:0.395
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.769
And the network is plugged 0.088
And Tor is ready 18.382
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.180
And I shutdown Tails and wait for the computer to power off 8.620
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:2.041
And I capture all network traffic 0.015
And the network is plugged 0.075
And Tor is ready 20.616
And I switch to the "persistent-con-current" NetworkManager connection 0.338
And the 1st network device has a spoofed MAC address configured 0.129
And no network device leaked the real MAC address 0.137
After features/support/hooks.rb:326 0.638
After features/support/hooks.rb:100 0.064
Tags: @product
58.277
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 12.083
And I enable persistence creation in Tails Greeter 1.217
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.149
Then I create a persistent partition with the default settings using the wizard that was already open 23.827
After features/support/hooks.rb:326 1.930
After features/support/hooks.rb:100 0.000
Tags: @product
4:25.845
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 12.484
When I enable persistence 34.753
Then no persistent Greeter options were restored 14.020
When I set all Greeter options to non-default values 23.365
And I log in to a new session in German (de) after having activated the Persistent Storage 43.259
Then all Greeter options are set to non-default values 0.493
When I cold reboot the computer 7.420
And the computer reboots Tails 58.182
Given I enable persistence 18.601
Then persistent Greeter options were restored 0.541
When I log in to a new session after having activated the Persistent Storage 52.250
Then all Greeter options are set to non-default values 0.471
After features/support/hooks.rb:326 0.964
After features/support/hooks.rb:100 0.009
Tags: @product
3:36.101
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 9.527
# 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 35.457
And I shutdown Tails and wait for the computer to power off 12.836
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:4.833
And I change the passphrase of the Persistent Storage back to the original 33.447
After features/support/hooks.rb:326 1.580
After features/support/hooks.rb:100 0.034
Tags: @product
54.507
Before features/support/hooks.rb:269 0.013
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.567
And I log in to a new session without activating the Persistent Storage 22.392
Then persistence is disabled 0.303
But a Tails persistence partition exists on USB drive "__internal" 6.840
And all notifications have disappeared 9.430
When I delete the persistent partition 5.531
Then there is no persistence partition on USB drive "__internal" 0.442
After features/support/hooks.rb:326 0.811
After features/support/hooks.rb:100 0.000
Tags: @product
1:56.948
Scenario Dotfiles persistence
Before features/support/hooks.rb:269 0.005
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.633
When I write some dotfile expected to persist 0.085
And I shutdown Tails and wait for the computer to power off 9.023
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:38.204
try_for() timeout expired
Last ignored exception was: RemoteShell::ServerFailure: FileNotFoundError: [Errno 2] No such file or directory: '/tmp/gdm-env'
./features/support/helpers/remote_shell.rb:71: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/usb.rb:108:in `new'
./features/step_definitions/usb.rb:108:in `greeter'
./features/step_definitions/common_steps.rb:451:in `block (2 levels) in <top (required)>'
./features/support/helpers/misc_helpers.rb:78:in `block (2 levels) in try_for'
./features/support/helpers/misc_helpers.rb:66:in `loop'
./features/support/helpers/misc_helpers.rb:66:in `block in try_for'
./features/support/helpers/misc_helpers.rb:65:in `try_for'
./features/step_definitions/common_steps.rb:450:in `block in <top (required)>'
./features/step_definitions/common_steps.rb:284:in `block in <top (required)>' (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/common_steps.rb:450:in `/^the computer (?:re)?boots Tails$/'
./features/step_definitions/common_steps.rb:284: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:139:in `And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled'
Then the expected persistent dotfile is present in the filesystem 0.000
After features/support/hooks.rb:326 4.852

SCENARIO FAILED: 'Dotfiles persistence' (at time 03:17:24)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5364/artifact/build-artifacts/03:17:24_Dotfiles_persistence.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5364/artifact/build-artifacts/03:17:24_Dotfiles_persistence.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5364/artifact/build-artifacts/03:17:24_Dotfiles_persistence.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5364/artifact/build-artifacts/03:17:24_Dotfiles_persistence.journal

After features/support/hooks.rb:100 0.011
Tags: @product
1:33.383
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.403
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.081
When I try to enable persistence 0.277
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 29.381
When I log in to a new session after having activated the Persistent Storage 37.918
And all notifications have disappeared 8.487
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.515
And all tps features are enabled 2.190
And all tps features but the first one are active 2.129
After features/support/hooks.rb:326 1.050
After features/support/hooks.rb:100 0.000
Tags: @product
4:55.112
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:28.063
And I enable persistence 36.373
And I log in to a new session after having activated the Persistent Storage 43.107
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.411
And persistence is enabled 4.156
After features/support/hooks.rb:326 1.303
After features/support/hooks.rb:100 0.000
Tags: @product
33.750
Before features/support/hooks.rb:269 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 8.871
And I enable persistence but something goes wrong during the LUKS header upgrade 24.116
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.762
After features/support/hooks.rb:326 0.787
After features/support/hooks.rb:100 0.000
Tags: @product
45.419
Before features/support/hooks.rb:269 0.015
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.893
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.468
When I enable persistence 28.363
Then the filesystem of the Persistent Storage was repaired 0.083
And persistence is successfully enabled 2.611
After features/support/hooks.rb:326 0.789
After features/support/hooks.rb:100 0.000
Tags: @product
26.487
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 8.770
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.371
When I try to enable persistence 0.402
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.705
When I repair the filesystem of the Persistent Storage 1.274
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.209
And the filesystem of the Persistent Storage was repaired 0.103
When I close the filesystem repair dialog 1.263
Then persistence is successfully enabled 1.387
After features/support/hooks.rb:326 0.751
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:53.549
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 8.736
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.105
When I try to enable persistence 0.269
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.786
When I repair the filesystem of the Persistent Storage 1.196
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.080
When I log in to a new session 44.785
And all notifications have disappeared 10.127
# 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.434
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.752
When I close the "whisperback" window 1.408
Then the Tor Browser starts 15.904
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.959
After features/support/hooks.rb:326 2.632
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:13.357
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 8.159
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.256
And Tails detects disk read failures on the boot device 0.586
When I try to enable persistence 0.469
Then the Welcome Screen tells me that my hardware is probably failing 5.018
When I log in to a new session 20.477
And all notifications have disappeared 7.270
Then the Tor Browser starts 24.347
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.771
After features/support/hooks.rb:326 1.246
After features/support/hooks.rb:100 0.000