Project Number Date
test_Tails_ISO_stable 5153 07 Oct 2024, 18:20

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 150 2 5 0 0 157 19 2 21 1:3:37.766 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:22.559
Before features/support/hooks.rb:269 0.005
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:40.550
And I update APT using apt 12.742
And I install "python3-behave" using apt 25.727
Then the Tails Persistent Storage behave tests pass 3.538
After features/support/hooks.rb:326 0.688
After features/support/hooks.rb:100 0.000
Tags: @product
59.096
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 19.269
When I log in to a new session without activating the Persistent Storage 26.418
Then Tails is running from USB drive "__internal" 1.011
And persistence is disabled 0.330
But a Tails persistence partition exists on USB drive "__internal" 12.066
After features/support/hooks.rb:326 1.677
After features/support/hooks.rb:100 0.000
Tags: @product
3:26.919
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 20.064
Then Tails is running from USB drive "__internal" 0.516
When I create a file in the Persistent directory 0.210
And I create a persistent partition with the default settings 26.432
Then the file I created was copied to the Persistent Storage 0.631
When I shutdown Tails and wait for the computer to power off 15.894
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:22.310
Then persistence for "Persistent" is active 0.763
And the file I created in the Persistent directory exists 0.095
After features/support/hooks.rb:326 0.881
After features/support/hooks.rb:100 0.008
Tags: @product
1:9.110
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 16.529
And the system is very low on memory 4.855
When I create a file in the Persistent directory 1.843
When I try to create a persistent partition 26.199
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.201
When I close the Persistent Storage app 2.826
And I free up some memory 1.600
And I create a persistent partition with the default settings 14.787
Then the file I created was copied to the Persistent Storage 0.267
After features/support/hooks.rb:326 1.474
After features/support/hooks.rb:100 0.000
Tags: @product
3:0.962
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 11.922
Then Tails is running from USB drive "__internal" 0.567
And all tps features are active 3.064
And all persistent directories have safe access rights 2.959
When I disable the first tps feature 6.079
Then all tps features but the first one are active 2.434
And I shutdown Tails and wait for the computer to power off 13.332
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:18.408
Then all tps features but the first one are active 2.194
After features/support/hooks.rb:326 0.630
After features/support/hooks.rb:100 0.008
Tags: @product
19.547
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.976
Then persistence for "Persistent" is active 0.106
And I create a file in the Persistent directory 0.061
Then the file I created was copied to the Persistent Storage 0.069
When I disable the first tps feature 5.763
Then persistence for "Persistent" is not active 0.083
And the Persistent directory does not exist 0.057
When I enable the first tps feature 3.235
Then persistence for "Persistent" is active 0.125
And the file I created in the Persistent directory exists 0.067
After features/support/hooks.rb:326 1.099
After features/support/hooks.rb:100 0.000
Tags: @product
20.633
Before features/support/hooks.rb:269 0.010
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.722
Then persistence for "Persistent" is active 0.116
When I create a file in the Persistent directory 0.099
And I disable the first tps feature 5.975
And I delete the data of the Persistent Folder feature 3.661
Then the file I created does not exist on the Persistent Storage 0.059
After features/support/hooks.rb:326 0.839
After features/support/hooks.rb:100 0.000
Tags: @product
1:7.537
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 10.652
And the network is plugged 0.077
And Tor is ready 22.438
And I take note of which tps features are available 0.656
When I write some files expected to persist 1.685
And I shutdown Tails and wait for the computer to power off 6.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" 25.061
After features/support/hooks.rb:326 0.123
After features/support/hooks.rb:100 0.000
Tags: @product
3:7.692
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 10.496
And the network is plugged 0.109
And Tor is ready 19.147
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.196
And I shutdown Tails and wait for the computer to power off 8.784
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.944
And I capture all network traffic 0.005
And the network is plugged 0.073
And Tor is ready 19.355
And I switch to the "persistent-con-current" NetworkManager connection 0.350
And the 1st network device has a spoofed MAC address configured 0.081
And no network device leaked the real MAC address 0.146
After features/support/hooks.rb:326 0.592
After features/support/hooks.rb:100 0.051
Tags: @product
1:5.418
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 13.506
And I enable persistence creation in Tails Greeter 1.129
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.265
Then I create a persistent partition with the default settings using the wizard that was already open 29.516
After features/support/hooks.rb:326 2.119
After features/support/hooks.rb:100 0.000
Tags: @product
5:3.899
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 13.825
When I enable persistence 40.171
Then no persistent Greeter options were restored 14.434
When I set all Greeter options to non-default values 26.251
And I log in to a new session in German (de) after having activated the Persistent Storage 52.619
Then all Greeter options are set to non-default values 0.359
When I cold reboot the computer 7.616
And the computer reboots Tails 1:3.193
Given I enable persistence 33.662
Then persistent Greeter options were restored 14.927
When I log in to a new session after having activated the Persistent Storage 36.527
Then all Greeter options are set to non-default values 0.310
After features/support/hooks.rb:326 1.649
After features/support/hooks.rb:100 0.007
Tags: @product
3:48.489
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 11.955
# 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.929
And I shutdown Tails and wait for the computer to power off 12.219
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:4.893
And I change the passphrase of the Persistent Storage back to the original 46.491
After features/support/hooks.rb:326 1.770
After features/support/hooks.rb:100 0.007
Tags: @product
59.463
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 10.055
And I log in to a new session without activating the Persistent Storage 22.939
Then persistence is disabled 0.368
But a Tails persistence partition exists on USB drive "__internal" 9.722
And all notifications have disappeared 9.348
When I delete the persistent partition 6.579
Then there is no persistence partition on USB drive "__internal" 0.449
After features/support/hooks.rb:326 0.900
After features/support/hooks.rb:100 0.000
Tags: @product
2:27.886
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.598
When I write some dotfile expected to persist 0.080
And I shutdown Tails and wait for the computer to power off 8.761
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.946
Then the expected persistent dotfile is present in the filesystem 0.499
After features/support/hooks.rb:326 0.927
After features/support/hooks.rb:100 0.007
Tags: @product
1:35.218
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.394
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.095
When I try to enable persistence 0.276
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 34.339
When I log in to a new session after having activated the Persistent Storage 34.026
And all notifications have disappeared 8.368
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.186
And all tps features are enabled 2.323
And all tps features but the first one are active 2.207
After features/support/hooks.rb:326 1.609
After features/support/hooks.rb:100 0.000
Tags: @product
5:4.090
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:37.846
And I enable persistence 37.061
And I log in to a new session after having activated the Persistent Storage 46.683
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.258
And persistence is enabled 0.240
After features/support/hooks.rb:326 1.762
After features/support/hooks.rb:100 0.000
Tags: @product
29.775
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.909
And I enable persistence but something goes wrong during the LUKS header upgrade 19.956
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.910
After features/support/hooks.rb:326 0.757
After features/support/hooks.rb:100 0.000
Tags: @product
48.500
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.038
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.129
When I enable persistence 32.794
Then the filesystem of the Persistent Storage was repaired 0.126
And persistence is successfully enabled 0.412
After features/support/hooks.rb:326 1.075
After features/support/hooks.rb:100 0.000
Tags: @product
40.466
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 24.619
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.814
When I try to enable persistence 0.435
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.178
When I repair the filesystem of the Persistent Storage 1.282
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.300
And the filesystem of the Persistent Storage was repaired 0.092
When I close the filesystem repair dialog 1.339
Then persistence is successfully enabled 0.404
After features/support/hooks.rb:326 0.902
After features/support/hooks.rb:100 0.000
Tags: @product
21:27.868
Scenario Manual filesystem repair fails
Before features/support/hooks.rb:269 0.005
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.725
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.110
When I try to enable persistence 0.301
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 35.596
When I repair the filesystem of the Persistent Storage 1.263
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.074
When I log in to a new session 40.679
And all notifications have disappeared 20:0.116
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:191: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, if the Persistent Storage doesn't unlock" has loaded in the Tor Browser 0.000
After features/support/hooks.rb:326 10.920

SCENARIO FAILED: 'Manual filesystem repair fails' (at time 03:58:50)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5153/artifact/build-artifacts/03:58:50_Manual_filesystem_repair_fails.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5153/artifact/build-artifacts/03:58:50_Manual_filesystem_repair_fails.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5153/artifact/build-artifacts/03:58:50_Manual_filesystem_repair_fails.journal

After features/support/hooks.rb:100 0.000
Tags: @product
4:12.627
Scenario Filesystem and I/O errors
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 8.809
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.216
And Tails detects disk read failures on the boot device 1.644
When I try to enable persistence 0.455
Then the Welcome Screen tells me that my hardware is probably failing 6.617
When I log in to a new session 21.456
And all notifications have disappeared 5.007
Then the Tor Browser starts 22.305
And "Tails - Recovering data from the Persistent Storage, if the Persistent Storage doesn't unlock" has loaded in the Tor Browser 3:0.113
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/step_definitions/browser.rb:200:in `page_has_loaded_in_the_tor_browser'
./features/step_definitions/browser.rb:215:in `/^"([^"]+)" has loaded in the Tor Browser$/'
features/persistence.feature:212:in `And "Tails - Recovering data from the Persistent Storage, if the Persistent Storage doesn't unlock" has loaded in the Tor Browser'
After features/support/hooks.rb:326 5.587

SCENARIO FAILED: 'Filesystem and I/O errors' (at time 04:03:14)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5153/artifact/build-artifacts/04:03:14_Filesystem_and_I_O_errors.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5153/artifact/build-artifacts/04:03:14_Filesystem_and_I_O_errors.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5153/artifact/build-artifacts/04:03:14_Filesystem_and_I_O_errors.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5153/artifact/build-artifacts/04:03:14_Filesystem_and_I_O_errors.journal

After features/support/hooks.rb:100 0.000