Project Number Date
test_Tails_ISO_tca-remove-cruft 3 10 May 2025, 09:46

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:17.138 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:40.505
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:55.240
And I update APT using apt 13.328
And I install "python3-behave" using apt 28.782
Then the Tails Persistent Storage behave tests pass 3.153
After features/support/hooks.rb:330 0.779
After features/support/hooks.rb:100 0.000
Tags: @product
45.890
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 13.165
When I log in to a new session without activating the Persistent Storage 23.811
Then Tails is running from USB drive "__internal" 0.579
And persistence is disabled 0.364
But a Tails persistence partition exists on USB drive "__internal" 7.970
After features/support/hooks.rb:330 1.365
After features/support/hooks.rb:100 0.000
Tags: @product
3:31.320
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.009
Given I have started Tails without network from a USB drive without a persistent partition and logged in 18.867
Then Tails is running from USB drive "__internal" 0.511
When I create a file in the Persistent directory 0.175
And I create a persistent partition with the default settings 23.771
Then the file I created was copied to the Persistent Storage 2.824
When I shutdown Tails and wait for the computer to power off 15.304
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:29.306
Then persistence for "Persistent" is active 0.474
And the file I created in the Persistent directory exists 0.084
After features/support/hooks.rb:330 1.810
After features/support/hooks.rb:100 0.009
Tags: @product
1:9.192
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 without a persistent partition and logged in 13.753
And the system is very low on memory 5.209
When I create a file in the Persistent directory 2.049
When I try to create a persistent partition 26.310
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.294
When I close the Persistent Storage app 2.776
And I free up some memory 3.080
And I create a persistent partition with the default settings 15.037
Then the file I created was copied to the Persistent Storage 0.678
After features/support/hooks.rb:330 2.728
After features/support/hooks.rb:100 0.000
Tags: @product
2:21.905
Scenario Booting Tails from a USB drive with an enabled persistent partition and reconfiguring it
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 14.241
Then Tails is running from USB drive "__internal" 0.403
And all tps features are active 2.405
And all persistent directories have safe access rights 2.615
When I disable the first tps feature 6.345
Then all tps features but the first one are active 2.268
And I shutdown Tails and wait for the computer to power off 12.942
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:40.682
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:460: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:459: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:459: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:49:in `And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled'
Then all tps features but the first one are active 0.000
After features/support/hooks.rb:330 4.992

SCENARIO FAILED: 'Booting Tails from a USB drive with an enabled persistent partition and reconfiguring it' (at time 03:10:35)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_tca-remove-cruft/3/artifact/build-artifacts/03:10:35_Booting_Tails_from_a_USB_drive_with_an_enabled_persistent_partition_and_reconfiguring_it.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_tca-remove-cruft/3/artifact/build-artifacts/03:10:35_Booting_Tails_from_a_USB_drive_with_an_enabled_persistent_partition_and_reconfiguring_it.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_tca-remove-cruft/3/artifact/build-artifacts/03:10:35_Booting_Tails_from_a_USB_drive_with_an_enabled_persistent_partition_and_reconfiguring_it.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_tca-remove-cruft/3/artifact/build-artifacts/03:10:35_Booting_Tails_from_a_USB_drive_with_an_enabled_persistent_partition_and_reconfiguring_it.journal

After features/support/hooks.rb:100 0.013
Tags: @product
21.468
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.615
Then persistence for "Persistent" is active 0.427
And I create a file in the Persistent directory 0.093
Then the file I created was copied to the Persistent Storage 0.089
When I disable the first tps feature 6.492
Then persistence for "Persistent" is not active 0.092
And the Persistent directory does not exist 0.065
When I enable the first tps feature 3.423
Then persistence for "Persistent" is active 0.079
And the file I created in the Persistent directory exists 0.088
After features/support/hooks.rb:330 0.737
After features/support/hooks.rb:100 0.000
Tags: @product
20.987
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 9.819
Then persistence for "Persistent" is active 0.164
When I create a file in the Persistent directory 0.106
And I disable the first tps feature 6.721
And I delete the data of the Persistent Folder feature 4.111
Then the file I created does not exist on the Persistent Storage 0.065
After features/support/hooks.rb:330 0.902
After features/support/hooks.rb:100 0.000
Tags: @product
1:12.135
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.179
And the network is plugged 0.091
And Tor is ready 23.293
And I take note of which tps features are available 0.727
When I write some files expected to persist 1.933
And I shutdown Tails and wait for the computer to power off 11.104
# 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.803
After features/support/hooks.rb:330 0.198
After features/support/hooks.rb:100 0.000
Tags: @product
3:23.328
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.088
And the network is plugged 0.104
And Tor is ready 20.383
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.183
And I shutdown Tails and wait for the computer to power off 8.510
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:21.594
And I capture all network traffic 0.010
And the network is plugged 0.102
And Tor is ready 21.609
And I switch to the "persistent-con-current" NetworkManager connection 0.477
And the 1st network device has a spoofed MAC address configured 0.105
And no network device leaked the real MAC address 0.159
After features/support/hooks.rb:330 0.858
After features/support/hooks.rb:100 0.062
Tags: @product
1:6.014
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 without a persistent partition and stopped at Tails Greeter's login screen 17.670
And I enable persistence creation in Tails Greeter 1.156
And I log in to a new session expecting no warning about the Persistent Storage not being activated 24.327
Then I create a persistent partition with the default settings using the wizard that was already open 22.860
After features/support/hooks.rb:330 3.347
After features/support/hooks.rb:100 0.000
Tags: @product
5:8.259
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 14.799
When I enable persistence 45.803
Then no persistent Greeter options were restored 15.073
When I set all Greeter options to non-default values 32.518
And I log in to a new session in German (de) after having activated the Persistent Storage 57.769
Then all Greeter options are set to non-default values 0.561
When I cold reboot the computer 8.084
And the computer reboots Tails 1:8.955
Given I enable persistence 19.620
Then persistent Greeter options were restored 0.614
When I log in to a new session after having activated the Persistent Storage 43.900
Then all Greeter options are set to non-default values 0.557
After features/support/hooks.rb:330 1.772
After features/support/hooks.rb:100 0.008
Tags: @product
3:52.974
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 enabled and logged in 11.313
# 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.867
And I shutdown Tails and wait for the computer to power off 13.337
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:17.180
And I change the passphrase of the Persistent Storage back to the original 35.275
After features/support/hooks.rb:330 3.348
After features/support/hooks.rb:100 0.012
Tags: @product
1:13.831
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 and stopped at Tails Greeter's login screen 12.884
And I log in to a new session without activating the Persistent Storage 25.802
Then persistence is disabled 0.280
But a Tails persistence partition exists on USB drive "__internal" 13.618
And all notifications have disappeared 13.746
When I delete the persistent partition 6.645
Then there is no persistence partition on USB drive "__internal" 0.852
After features/support/hooks.rb:330 1.092
After features/support/hooks.rb:100 0.000
Tags: @product
2:38.455
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 11.035
When I write some dotfile expected to persist 0.076
And I shutdown Tails and wait for the computer to power off 10.836
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.860
Then the expected persistent dotfile is present in the filesystem 0.645
After features/support/hooks.rb:330 1.104
After features/support/hooks.rb:100 0.011
Tags: @product
1:50.364
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 10.069
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.141
When I try to enable persistence 1.313
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 33.717
When I log in to a new session after having activated the Persistent Storage 46.752
And all notifications have disappeared 8.869
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.500
And all tps features are enabled 2.799
And all tps features but the first one are active 2.198
After features/support/hooks.rb:330 1.406
After features/support/hooks.rb:100 0.000
Tags: @product
5:25.054
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 3:55.832
And I enable persistence 43.911
And I log in to a new session after having activated the Persistent Storage 39.796
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.518
And persistence is enabled 2.995
After features/support/hooks.rb:330 1.362
After features/support/hooks.rb:100 0.000
Tags: @product
31.786
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 with a LUKS 1 persistent partition and stopped at Tails Greeter's login screen 9.530
And I enable persistence but something goes wrong during the LUKS header upgrade 21.438
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.817
After features/support/hooks.rb:330 0.784
After features/support/hooks.rb:100 0.000
Tags: @product
48.929
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.014
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.679
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 9.188
When I enable persistence 27.089
Then the filesystem of the Persistent Storage was repaired 0.090
And persistence is successfully enabled 2.881
After features/support/hooks.rb:330 1.017
After features/support/hooks.rb:100 0.000
Tags: @product
54.784
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.528
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.608
When I try to enable persistence 0.434
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 24.849
When I repair the filesystem of the Persistent Storage 5.086
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.390
And the filesystem of the Persistent Storage was repaired 5.068
When I close the filesystem repair dialog 1.311
Then persistence is successfully enabled 1.507
After features/support/hooks.rb:330 0.838
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:2.832
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 8.830
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.094
When I try to enable persistence 1.357
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 34.458
When I repair the filesystem of the Persistent Storage 1.276
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.073
When I log in to a new session 42.071
And all notifications have disappeared 8.483
# 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" 1.357
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.512
When I close the "whisperback" window 1.610
Then the Tor Browser starts 21.670
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.034
After features/support/hooks.rb:330 3.535
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:57.117
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.523
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.261
And Tails detects disk read failures on the boot device 0.512
When I try to enable persistence 0.432
Then the Welcome Screen tells me that my hardware is probably failing 21.817
When I log in to a new session 44.401
And all notifications have disappeared 11.145
Then the Tor Browser starts 22.183
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.839
After features/support/hooks.rb:330 1.712
After features/support/hooks.rb:100 0.000