Project Number Date
test_Tails_ISO_stable 5306 30 Nov 2024, 13:11

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 149 2 6 0 0 157 19 2 21 58:21.108 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:18.962
Before features/support/hooks.rb:269 0.004
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:36.616
And I update APT using apt 13.774
And I install "python3-behave" using apt 25.634
Then the Tails Persistent Storage behave tests pass 2.936
After features/support/hooks.rb:326 0.671
After features/support/hooks.rb:100 0.000
Tags: @product
46.666
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 12.609
When I log in to a new session without activating the Persistent Storage 22.603
Then Tails is running from USB drive "__internal" 0.498
And persistence is disabled 0.434
But a Tails persistence partition exists on USB drive "__internal" 10.520
After features/support/hooks.rb:326 2.950
After features/support/hooks.rb:100 0.000
Tags: @product
3:12.100
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 12.755
Then Tails is running from USB drive "__internal" 0.463
When I create a file in the Persistent directory 0.122
And I create a persistent partition with the default settings 21.408
Then the file I created was copied to the Persistent Storage 0.476
When I shutdown Tails and wait for the computer to power off 17.859
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:18.527
Then persistence for "Persistent" is active 0.386
And the file I created in the Persistent directory exists 0.100
After features/support/hooks.rb:326 0.747
After features/support/hooks.rb:100 0.007
Tags: @product
56.022
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 13.546
And the system is very low on memory 5.802
When I create a file in the Persistent directory 1.050
When I try to create a persistent partition 17.317
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.284
When I close the Persistent Storage app 2.563
And I free up some memory 1.481
And I create a persistent partition with the default settings 13.714
Then the file I created was copied to the Persistent Storage 0.261
After features/support/hooks.rb:326 1.018
After features/support/hooks.rb:100 0.000
Tags: @product
2:46.929
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.351
Then Tails is running from USB drive "__internal" 0.834
And all tps features are active 2.229
And all persistent directories have safe access rights 2.594
When I disable the first tps feature 5.704
Then all tps features but the first one are active 2.253
And I shutdown Tails and wait for the computer to power off 8.982
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.710
Then all tps features but the first one are active 2.270
After features/support/hooks.rb:326 0.675
After features/support/hooks.rb:100 0.007
Tags: @product
19.797
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.904
Then persistence for "Persistent" is active 0.115
And I create a file in the Persistent directory 0.067
Then the file I created was copied to the Persistent Storage 0.066
When I disable the first tps feature 5.946
Then persistence for "Persistent" is not active 0.126
And the Persistent directory does not exist 0.054
When I enable the first tps feature 3.376
Then persistence for "Persistent" is active 0.067
And the file I created in the Persistent directory exists 0.071
After features/support/hooks.rb:326 1.099
After features/support/hooks.rb:100 0.000
Tags: @product
20.503
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 9.838
Then persistence for "Persistent" is active 0.309
When I create a file in the Persistent directory 0.077
And I disable the first tps feature 5.937
And I delete the data of the Persistent Folder feature 4.240
Then the file I created does not exist on the Persistent Storage 0.099
After features/support/hooks.rb:326 2.124
After features/support/hooks.rb:100 0.000
Tags: @product
1:4.983
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 9.583
And the network is plugged 0.106
And Tor is ready 19.926
And I take note of which tps features are available 0.595
When I write some files expected to persist 1.605
And I shutdown Tails and wait for the computer to power off 8.490
# 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.676
After features/support/hooks.rb:326 0.149
After features/support/hooks.rb:100 0.000
Tags: @product
3:13.612
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 10.326
And the network is plugged 0.222
And Tor is ready 19.244
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.201
And I shutdown Tails and wait for the computer to power off 8.193
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.841
And I capture all network traffic 0.008
And the network is plugged 0.073
And Tor is ready 17.917
And I switch to the "persistent-con-current" NetworkManager connection 0.369
And the 1st network device has a spoofed MAC address configured 0.090
And no network device leaked the real MAC address 0.122
After features/support/hooks.rb:326 0.657
After features/support/hooks.rb:100 0.092
Tags: @product
58.151
Before features/support/hooks.rb:269 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 12.896
And I enable persistence creation in Tails Greeter 1.104
And I log in to a new session expecting no warning about the Persistent Storage not being activated 17.959
Then I create a persistent partition with the default settings using the wizard that was already open 26.190
After features/support/hooks.rb:326 1.623
After features/support/hooks.rb:100 0.000
Tags: @product
4:23.258
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 13.304
When I enable persistence 41.585
Then no persistent Greeter options were restored 14.427
When I set all Greeter options to non-default values 24.596
And I log in to a new session in German (de) after having activated the Persistent Storage 42.867
Then all Greeter options are set to non-default values 0.478
When I cold reboot the computer 7.367
And the computer reboots Tails 1:0.519
Given I enable persistence 19.214
Then persistent Greeter options were restored 0.496
When I log in to a new session after having activated the Persistent Storage 37.937
Then all Greeter options are set to non-default values 0.463
After features/support/hooks.rb:326 1.078
After features/support/hooks.rb:100 0.007
Tags: @product
3:36.522
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.811
# 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 32.858
And I shutdown Tails and wait for the computer to power off 10.573
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:11.845
And I change the passphrase of the Persistent Storage back to the original 31.433
After features/support/hooks.rb:326 3.017
After features/support/hooks.rb:100 0.010
Tags: @product
1:9.235
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 11.222
And I log in to a new session without activating the Persistent Storage 21.877
Then persistence is disabled 0.479
But a Tails persistence partition exists on USB drive "__internal" 12.856
And all notifications have disappeared 16.858
When I delete the persistent partition 5.530
Then there is no persistence partition on USB drive "__internal" 0.410
After features/support/hooks.rb:326 0.997
After features/support/hooks.rb:100 0.000
Tags: @product
1:57.468
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 10.462
When I write some dotfile expected to persist 0.416
And I shutdown Tails and wait for the computer to power off 8.675
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:37.913
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 5.035

SCENARIO FAILED: 'Dotfiles persistence' (at time 03:29:48)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5306/artifact/build-artifacts/03:29:48_Dotfiles_persistence.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5306/artifact/build-artifacts/03:29:48_Dotfiles_persistence.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5306/artifact/build-artifacts/03:29:48_Dotfiles_persistence.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5306/artifact/build-artifacts/03:29:48_Dotfiles_persistence.journal

After features/support/hooks.rb:100 0.008
Tags: @product
1:46.631
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 9.328
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.093
When I try to enable persistence 0.264
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 29.640
When I log in to a new session after having activated the Persistent Storage 50.440
And all notifications have disappeared 8.447
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.931
And all tps features are enabled 2.389
And all tps features but the first one are active 2.095
After features/support/hooks.rb:326 1.128
After features/support/hooks.rb:100 0.000
Tags: @product
4:53.433
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 3:26.243
And I enable persistence 35.211
And I log in to a new session after having activated the Persistent Storage 47.775
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.568
And persistence is enabled 2.633
After features/support/hooks.rb:326 0.935
After features/support/hooks.rb:100 0.000
Tags: @product
30.374
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 9.666
And I enable persistence but something goes wrong during the LUKS header upgrade 19.997
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.711
After features/support/hooks.rb:326 0.632
After features/support/hooks.rb:100 0.000
Tags: @product
1:0.161
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 22.967
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.595
When I enable persistence 28.783
Then the filesystem of the Persistent Storage was repaired 0.095
And persistence is successfully enabled 2.719
After features/support/hooks.rb:326 1.061
After features/support/hooks.rb:100 0.000
Tags: @product
27.387
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 8.775
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.387
When I try to enable persistence 0.525
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 7.170
When I repair the filesystem of the Persistent Storage 1.334
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.216
And the filesystem of the Persistent Storage was repaired 0.072
When I close the filesystem repair dialog 1.296
Then persistence is successfully enabled 1.608
After features/support/hooks.rb:326 0.810
After features/support/hooks.rb:100 0.000
Tags: @product @doc
21:18.554
Scenario Manual filesystem repair fails
Before features/support/hooks.rb:269 0.004
Steps
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.415
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.111
When I try to enable persistence 0.275
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 31.571
When I repair the filesystem of the Persistent Storage 1.254
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.076
When I log in to a new session 35.719
And all notifications have disappeared 20:0.130
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:712:in `new'
./features/step_definitions/common_steps.rb:712:in `/^all notifications have disappeared$/'
features/persistence.feature:192:in `And all notifications have disappeared'
# 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.000
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.000
When I close the "whisperback" window 0.000
Then the Tor Browser starts 0.000
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.000
After features/support/hooks.rb:326 11.024

SCENARIO FAILED: 'Manual filesystem repair fails' (at time 03:59:55)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5306/artifact/build-artifacts/03:59:55_Manual_filesystem_repair_fails.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5306/artifact/build-artifacts/03:59:55_Manual_filesystem_repair_fails.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5306/artifact/build-artifacts/03:59:55_Manual_filesystem_repair_fails.journal

After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:20.347
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.153
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.677
And Tails detects disk read failures on the boot device 1.589
When I try to enable persistence 0.473
Then the Welcome Screen tells me that my hardware is probably failing 5.759
When I log in to a new session 25.384
And all notifications have disappeared 8.066
Then the Tor Browser starts 22.446
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.797
After features/support/hooks.rb:326 3.177
After features/support/hooks.rb:100 0.000