Project Number Date
test_Tails_ISO_stable 5155 07 Oct 2024, 19:32

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 48:9.355 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:16.432
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:35.936
And I update APT using apt 14.159
And I install "python3-behave" using apt 23.321
Then the Tails Persistent Storage behave tests pass 3.015
After features/support/hooks.rb:326 0.698
After features/support/hooks.rb:100 0.000
Tags: @product
51.875
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 15.647
When I log in to a new session without activating the Persistent Storage 24.233
Then Tails is running from USB drive "__internal" 0.627
And persistence is disabled 0.376
But a Tails persistence partition exists on USB drive "__internal" 10.990
After features/support/hooks.rb:326 1.085
After features/support/hooks.rb:100 0.000
Tags: @product
3:12.602
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 11.820
Then Tails is running from USB drive "__internal" 0.439
When I create a file in the Persistent directory 0.147
And I create a persistent partition with the default settings 25.900
Then the file I created was copied to the Persistent Storage 0.688
When I shutdown Tails and wait for the computer to power off 15.013
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:17.415
Then persistence for "Persistent" is active 1.098
And the file I created in the Persistent directory exists 0.078
After features/support/hooks.rb:326 0.904
After features/support/hooks.rb:100 0.007
Tags: @product
1:6.231
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 10.484
And the system is very low on memory 5.671
When I create a file in the Persistent directory 1.050
When I try to create a persistent partition 29.293
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.161
When I close the Persistent Storage app 2.550
And I free up some memory 1.450
And I create a persistent partition with the default settings 15.315
Then the file I created was copied to the Persistent Storage 0.254
After features/support/hooks.rb:326 1.697
After features/support/hooks.rb:100 0.000
Tags: @product
2:36.301
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.560
Then Tails is running from USB drive "__internal" 0.553
And all tps features are active 2.423
And all persistent directories have safe access rights 2.368
When I disable the first tps feature 7.112
Then all tps features but the first one are active 2.204
And I shutdown Tails and wait for the computer to power off 9.109
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:58.610
Then all tps features but the first one are active 2.358
After features/support/hooks.rb:326 0.652
After features/support/hooks.rb:100 0.009
Tags: @product
22.488
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.442
Then persistence for "Persistent" is active 0.089
And I create a file in the Persistent directory 0.155
Then the file I created was copied to the Persistent Storage 0.126
When I disable the first tps feature 7.643
Then persistence for "Persistent" is not active 0.104
And the Persistent directory does not exist 0.103
When I enable the first tps feature 3.670
Then persistence for "Persistent" is active 0.078
And the file I created in the Persistent directory exists 0.075
After features/support/hooks.rb:326 1.037
After features/support/hooks.rb:100 0.000
Tags: @product
22.289
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.333
Then persistence for "Persistent" is active 0.096
When I create a file in the Persistent directory 0.149
And I disable the first tps feature 7.242
And I delete the data of the Persistent Folder feature 4.404
Then the file I created does not exist on the Persistent Storage 0.063
After features/support/hooks.rb:326 1.010
After features/support/hooks.rb:100 0.000
Tags: @product
1:4.981
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.491
And the network is plugged 0.089
And Tor is ready 19.676
And I take note of which tps features are available 0.567
When I write some files expected to persist 1.637
And I shutdown Tails and wait for the computer to power off 8.319
# 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.199
After features/support/hooks.rb:326 0.153
After features/support/hooks.rb:100 0.000
Tags: @product
3:35.336
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.179
And the network is plugged 0.075
And Tor is ready 19.554
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.697
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.233
And I capture all network traffic 0.007
And the network is plugged 0.072
And Tor is ready 47.778
And I switch to the "persistent-con-current" NetworkManager connection 0.304
And the 1st network device has a spoofed MAC address configured 0.089
And no network device leaked the real MAC address 0.146
After features/support/hooks.rb:326 0.589
After features/support/hooks.rb:100 0.041
Tags: @product
56.199
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.186
And I enable persistence creation in Tails Greeter 1.188
And I log in to a new session expecting no warning about the Persistent Storage not being activated 19.771
Then I create a persistent partition with the default settings using the wizard that was already open 23.053
After features/support/hooks.rb:326 1.609
After features/support/hooks.rb:100 0.000
Tags: @product
4:53.540
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.191
When I enable persistence 44.080
Then no persistent Greeter options were restored 14.242
When I set all Greeter options to non-default values 24.431
And I log in to a new session in German (de) after having activated the Persistent Storage 47.342
Then all Greeter options are set to non-default values 0.466
When I cold reboot the computer 9.518
And the computer reboots Tails 58.311
Given I enable persistence 31.644
Then persistent Greeter options were restored 14.939
When I log in to a new session after having activated the Persistent Storage 34.938
Then all Greeter options are set to non-default values 0.433
After features/support/hooks.rb:326 0.934
After features/support/hooks.rb:100 0.010
Tags: @product
4:0.708
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.859
# 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 40.148
And I shutdown Tails and wait for the computer to power off 12.580
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:16.108
And I change the passphrase of the Persistent Storage back to the original 41.011
After features/support/hooks.rb:326 1.756
After features/support/hooks.rb:100 0.009
Tags: @product
59.586
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 10.020
And I log in to a new session without activating the Persistent Storage 21.372
Then persistence is disabled 0.236
But a Tails persistence partition exists on USB drive "__internal" 9.373
And all notifications have disappeared 12.007
When I delete the persistent partition 6.029
Then there is no persistence partition on USB drive "__internal" 0.546
After features/support/hooks.rb:326 0.836
After features/support/hooks.rb:100 0.000
Tags: @product
2:26.855
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.123
When I write some dotfile expected to persist 0.072
And I shutdown Tails and wait for the computer to power off 8.743
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.516
Then the expected persistent dotfile is present in the filesystem 0.399
After features/support/hooks.rb:326 0.967
After features/support/hooks.rb:100 0.016
Tags: @product
1:47.737
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.429
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.077
When I try to enable persistence 0.369
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 32.992
When I log in to a new session after having activated the Persistent Storage 48.099
And all notifications have disappeared 7.606
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.763
And all tps features are enabled 2.298
And all tps features but the first one are active 2.101
After features/support/hooks.rb:326 0.888
After features/support/hooks.rb:100 0.000
Tags: @product
6:55.601
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 5:31.982
And I enable persistence 34.712
And I log in to a new session after having activated the Persistent Storage 46.059
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.697
And persistence is enabled 0.148
After features/support/hooks.rb:326 0.965
After features/support/hooks.rb:100 0.000
Tags: @product
30.265
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 8.475
And I enable persistence but something goes wrong during the LUKS header upgrade 20.976
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.812
After features/support/hooks.rb:326 0.762
After features/support/hooks.rb:100 0.000
Tags: @product
45.579
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.292
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.839
When I enable persistence 29.992
Then the filesystem of the Persistent Storage was repaired 0.128
And persistence is successfully enabled 0.325
After features/support/hooks.rb:326 0.746
After features/support/hooks.rb:100 0.000
Tags: @product
25.539
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 8.565
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.240
When I try to enable persistence 0.491
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.049
When I repair the filesystem of the Persistent Storage 1.244
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.234
And the filesystem of the Persistent Storage was repaired 0.062
When I close the filesystem repair dialog 1.263
Then persistence is successfully enabled 0.387
After features/support/hooks.rb:326 0.852
After features/support/hooks.rb:100 0.000
Tags: @product
4:46.021
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 8.476
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.117
When I try to enable persistence 0.268
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.992
When I repair the filesystem of the Persistent Storage 1.203
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.077
When I log in to a new session 39.978
And all notifications have disappeared 8.813
# 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.682
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.216
When I close the "whisperback" window 1.852
Then the Tor Browser starts 14.228
And "Tails - Recovering data from the Persistent Storage, if the Persistent Storage doesn't unlock" has loaded in the Tor Browser 3:0.114
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.097

SCENARIO FAILED: 'Manual filesystem repair fails' (at time 03:43:30)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5155/artifact/build-artifacts/03:43:30_Manual_filesystem_repair_fails.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5155/artifact/build-artifacts/03:43:30_Manual_filesystem_repair_fails.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5155/artifact/build-artifacts/03:43:30_Manual_filesystem_repair_fails.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5155/artifact/build-artifacts/03:43:30_Manual_filesystem_repair_fails.journal

After features/support/hooks.rb:100 0.000
Tags: @product
4:13.179
Scenario Filesystem and I/O errors
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 9.083
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.083
And Tails detects disk read failures on the boot device 1.638
When I try to enable persistence 0.502
Then the Welcome Screen tells me that my hardware is probably failing 5.556
When I log in to a new session 20.857
And all notifications have disappeared 7.920
Then the Tor Browser starts 21.477
And "Tails - Recovering data from the Persistent Storage, if the Persistent Storage doesn't unlock" has loaded in the Tor Browser 3:0.059
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 6.024

SCENARIO FAILED: 'Filesystem and I/O errors' (at time 03:47:51)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5155/artifact/build-artifacts/03:47:51_Filesystem_and_I_O_errors.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5155/artifact/build-artifacts/03:47:51_Filesystem_and_I_O_errors.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5155/artifact/build-artifacts/03:47:51_Filesystem_and_I_O_errors.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5155/artifact/build-artifacts/03:47:51_Filesystem_and_I_O_errors.journal

After features/support/hooks.rb:100 0.000