Project Number Date
test_Tails_ISO_stable 5157 08 Oct 2024, 08:53

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 155 2 0 0 0 157 19 2 21 49:41.028 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:27.352
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:39.369
And I update APT using apt 14.364
And I install "python3-behave" using apt 30.820
Then the Tails Persistent Storage behave tests pass 2.798
After features/support/hooks.rb:326 0.669
After features/support/hooks.rb:100 0.000
Tags: @product
51.839
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 14.909
When I log in to a new session without activating the Persistent Storage 24.003
Then Tails is running from USB drive "__internal" 0.561
And persistence is disabled 0.635
But a Tails persistence partition exists on USB drive "__internal" 11.728
After features/support/hooks.rb:326 1.268
After features/support/hooks.rb:100 0.000
Tags: @product
3:14.610
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.972
Then Tails is running from USB drive "__internal" 0.689
When I create a file in the Persistent directory 0.174
And I create a persistent partition with the default settings 26.098
Then the file I created was copied to the Persistent Storage 0.616
When I shutdown Tails and wait for the computer to power off 15.512
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:17.553
Then persistence for "Persistent" is active 0.916
And the file I created in the Persistent directory exists 0.077
After features/support/hooks.rb:326 0.706
After features/support/hooks.rb:100 0.008
Tags: @product
1:4.390
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 12.224
And the system is very low on memory 4.524
When I create a file in the Persistent directory 1.700
When I try to create a persistent partition 28.368
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.230
When I close the Persistent Storage app 3.283
And I free up some memory 1.381
And I create a persistent partition with the default settings 11.806
Then the file I created was copied to the Persistent Storage 0.870
After features/support/hooks.rb:326 1.465
After features/support/hooks.rb:100 0.000
Tags: @product
2:57.518
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.919
Then Tails is running from USB drive "__internal" 0.630
And all tps features are active 6.528
And all persistent directories have safe access rights 3.159
When I disable the first tps feature 6.500
Then all tps features but the first one are active 2.114
And I shutdown Tails and wait for the computer to power off 11.531
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.171
Then all tps features but the first one are active 3.961
After features/support/hooks.rb:326 1.232
After features/support/hooks.rb:100 0.010
Tags: @product
20.893
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.483
Then persistence for "Persistent" is active 0.083
And I create a file in the Persistent directory 0.288
Then the file I created was copied to the Persistent Storage 0.074
When I disable the first tps feature 6.210
Then persistence for "Persistent" is not active 0.088
And the Persistent directory does not exist 0.060
When I enable the first tps feature 3.453
Then persistence for "Persistent" is active 0.082
And the file I created in the Persistent directory exists 0.066
After features/support/hooks.rb:326 1.157
After features/support/hooks.rb:100 0.000
Tags: @product
21.255
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.249
Then persistence for "Persistent" is active 0.240
When I create a file in the Persistent directory 0.090
And I disable the first tps feature 6.038
And I delete the data of the Persistent Folder feature 4.573
Then the file I created does not exist on the Persistent Storage 0.063
After features/support/hooks.rb:326 1.080
After features/support/hooks.rb:100 0.000
Tags: @product
1:6.039
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.579
And the network is plugged 0.095
And Tor is ready 17.962
And I take note of which tps features are available 0.689
When I write some files expected to persist 1.552
And I shutdown Tails and wait for the computer to power off 10.995
# 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.165
After features/support/hooks.rb:326 0.177
After features/support/hooks.rb:100 0.000
Tags: @product
3:48.943
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.491
And the network is plugged 0.124
And Tor is ready 16.667
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.200
And I shutdown Tails and wait for the computer to power off 8.853
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:19.955
And I capture all network traffic 0.004
And the network is plugged 0.110
And Tor is ready 50.862
And I switch to the "persistent-con-current" NetworkManager connection 0.335
And the 1st network device has a spoofed MAC address configured 0.116
And no network device leaked the real MAC address 0.219
After features/support/hooks.rb:326 0.675
After features/support/hooks.rb:100 0.075
Tags: @product
1:19.473
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 30.706
And I enable persistence creation in Tails Greeter 1.197
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.556
Then I create a persistent partition with the default settings using the wizard that was already open 25.013
After features/support/hooks.rb:326 1.533
After features/support/hooks.rb:100 0.000
Tags: @product
5:14.163
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 13.891
When I enable persistence 40.381
Then no persistent Greeter options were restored 14.870
When I set all Greeter options to non-default values 27.303
And I log in to a new session in German (de) after having activated the Persistent Storage 56.481
Then all Greeter options are set to non-default values 0.451
When I cold reboot the computer 7.877
And the computer reboots Tails 1:3.923
Given I enable persistence 32.981
Then persistent Greeter options were restored 15.309
When I log in to a new session after having activated the Persistent Storage 40.331
Then all Greeter options are set to non-default values 0.359
After features/support/hooks.rb:326 0.935
After features/support/hooks.rb:100 0.010
Tags: @product
3:39.119
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.528
# 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 34.127
And I shutdown Tails and wait for the computer to power off 12.668
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:8.259
And I change the passphrase of the Persistent Storage back to the original 33.535
After features/support/hooks.rb:326 2.439
After features/support/hooks.rb:100 0.007
Tags: @product
1:4.294
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 11.491
And I log in to a new session without activating the Persistent Storage 22.106
Then persistence is disabled 0.719
But a Tails persistence partition exists on USB drive "__internal" 11.961
And all notifications have disappeared 11.932
When I delete the persistent partition 5.564
Then there is no persistence partition on USB drive "__internal" 0.518
After features/support/hooks.rb:326 1.154
After features/support/hooks.rb:100 0.000
Tags: @product
2:53.847
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 12.419
When I write some dotfile expected to persist 0.079
And I shutdown Tails and wait for the computer to power off 13.193
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:27.455
Then the expected persistent dotfile is present in the filesystem 0.699
After features/support/hooks.rb:326 1.100
After features/support/hooks.rb:100 0.012
Tags: @product
1:51.135
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.730
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.088
When I try to enable persistence 0.326
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 32.847
When I log in to a new session after having activated the Persistent Storage 49.781
And all notifications have disappeared 8.143
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.836
And all tps features are enabled 2.807
And all tps features but the first one are active 2.572
After features/support/hooks.rb:326 1.438
After features/support/hooks.rb:100 0.000
Tags: @product
6:8.455
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 4:35.932
And I enable persistence 40.043
And I log in to a new session after having activated the Persistent Storage 49.952
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.407
And persistence is enabled 0.120
After features/support/hooks.rb:326 1.169
After features/support/hooks.rb:100 0.000
Tags: @product
36.320
Before features/support/hooks.rb:269 0.007
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 12.649
And I enable persistence but something goes wrong during the LUKS header upgrade 22.802
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.869
After features/support/hooks.rb:326 0.780
After features/support/hooks.rb:100 0.000
Tags: @product
53.359
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.319
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.365
When I enable persistence 37.209
Then the filesystem of the Persistent Storage was repaired 0.098
And persistence is successfully enabled 0.366
After features/support/hooks.rb:326 0.984
After features/support/hooks.rb:100 0.000
Tags: @product
35.638
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 9.552
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 15.186
When I try to enable persistence 0.496
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.882
When I repair the filesystem of the Persistent Storage 1.342
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.306
And the filesystem of the Persistent Storage was repaired 0.118
When I close the filesystem repair dialog 1.305
Then persistence is successfully enabled 0.448
After features/support/hooks.rb:326 0.868
After features/support/hooks.rb:100 0.000
Tags: @product
4:53.672
Scenario Manual filesystem repair fails
Before features/support/hooks.rb:269 0.006
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.599
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.127
When I try to enable persistence 0.442
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 30.879
When I repair the filesystem of the Persistent Storage 1.313
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.295
When I log in to a new session 41.874
And all notifications have disappeared 8.525
# 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.819
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.349
When I close the "whisperback" window 1.933
Then the Tor Browser starts 18.434
And "Tails - Recovering data from the Persistent Storage, if the Persistent Storage doesn't unlock" has loaded in the Tor Browser 3:0.078
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:201: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 7.170

SCENARIO FAILED: 'Manual filesystem repair fails' (at time 03:40:52)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5157/artifact/build-artifacts/03:40:52_Manual_filesystem_repair_fails.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5157/artifact/build-artifacts/03:40:52_Manual_filesystem_repair_fails.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5157/artifact/build-artifacts/03:40:52_Manual_filesystem_repair_fails.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5157/artifact/build-artifacts/03:40:52_Manual_filesystem_repair_fails.journal

After features/support/hooks.rb:100 0.000
Tags: @product
4:18.703
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 9.805
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 9.004
And Tails detects disk read failures on the boot device 2.089
When I try to enable persistence 0.435
Then the Welcome Screen tells me that my hardware is probably failing 5.592
When I log in to a new session 22.387
And all notifications have disappeared 8.301
Then the Tor Browser starts 20.986
And "Tails - Recovering data from the Persistent Storage, if the Persistent Storage doesn't unlock" has loaded in the Tor Browser 3:0.100
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.583

SCENARIO FAILED: 'Filesystem and I/O errors' (at time 03:45:18)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5157/artifact/build-artifacts/03:45:18_Filesystem_and_I_O_errors.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5157/artifact/build-artifacts/03:45:18_Filesystem_and_I_O_errors.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5157/artifact/build-artifacts/03:45:18_Filesystem_and_I_O_errors.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5157/artifact/build-artifacts/03:45:18_Filesystem_and_I_O_errors.journal

After features/support/hooks.rb:100 0.000