Project Number Date
test_Tails_ISO_10422-tor-browser-in-flatpak 14 13 Feb 2025, 14:42

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:1.279 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:36.020
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:55.090
And I update APT using apt 13.586
And I install "python3-behave" using apt 23.272
Then the Tails Persistent Storage behave tests pass 4.070
After features/support/hooks.rb:326 0.801
After features/support/hooks.rb:100 0.000
Tags: @product
51.362
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.638
When I log in to a new session without activating the Persistent Storage 25.609
Then Tails is running from USB drive "__internal" 0.580
And persistence is disabled 0.473
But a Tails persistence partition exists on USB drive "__internal" 11.060
After features/support/hooks.rb:326 1.132
After features/support/hooks.rb:100 0.000
Tags: @product
3:25.308
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 13.722
Then Tails is running from USB drive "__internal" 0.868
When I create a file in the Persistent directory 0.147
And I create a persistent partition with the default settings 23.778
Then the file I created was copied to the Persistent Storage 2.696
When I shutdown Tails and wait for the computer to power off 14.856
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:28.401
Then persistence for "Persistent" is active 0.733
And the file I created in the Persistent directory exists 0.102
After features/support/hooks.rb:326 1.081
After features/support/hooks.rb:100 0.011
Tags: @product
1:7.025
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 11.995
And the system is very low on memory 3.488
When I create a file in the Persistent directory 1.202
When I try to create a persistent partition 30.110
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 2.605
And I free up some memory 3.288
And I create a persistent partition with the default settings 13.501
Then the file I created was copied to the Persistent Storage 0.601
After features/support/hooks.rb:326 1.121
After features/support/hooks.rb:100 0.000
Tags: @product
2:57.377
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.953
Then Tails is running from USB drive "__internal" 0.394
And all tps features are active 2.489
And all persistent directories have safe access rights 2.742
When I disable the first tps feature 5.657
Then all tps features but the first one are active 3.433
And I shutdown Tails and wait for the computer to power off 12.127
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.396
Then all tps features but the first one are active 2.182
After features/support/hooks.rb:326 0.664
After features/support/hooks.rb:100 0.009
Tags: @product
19.151
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.796
Then persistence for "Persistent" is active 0.199
And I create a file in the Persistent directory 0.067
Then the file I created was copied to the Persistent Storage 0.076
When I disable the first tps feature 5.611
Then persistence for "Persistent" is not active 0.085
And the Persistent directory does not exist 0.060
When I enable the first tps feature 3.100
Then persistence for "Persistent" is active 0.085
And the file I created in the Persistent directory exists 0.067
After features/support/hooks.rb:326 1.077
After features/support/hooks.rb:100 0.000
Tags: @product
19.333
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.227
Then persistence for "Persistent" is active 0.081
When I create a file in the Persistent directory 0.133
And I disable the first tps feature 6.119
And I delete the data of the Persistent Folder feature 3.690
Then the file I created does not exist on the Persistent Storage 0.080
After features/support/hooks.rb:326 1.226
After features/support/hooks.rb:100 0.000
Tags: @product
1:6.996
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.866
And the network is plugged 0.075
And Tor is ready 19.825
And I take note of which tps features are available 0.724
When I write some files expected to persist 1.935
And I shutdown Tails and wait for the computer to power off 9.067
# 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.501
After features/support/hooks.rb:326 0.162
After features/support/hooks.rb:100 0.000
Tags: @product
3:29.300
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.927
And the network is plugged 0.152
And Tor is ready 16.350
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.217
And I shutdown Tails and wait for the computer to power off 8.556
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:30.186
And I capture all network traffic 0.010
And the network is plugged 0.087
And Tor is ready 22.166
And I switch to the "persistent-con-current" NetworkManager connection 0.369
And the 1st network device has a spoofed MAC address configured 0.111
And no network device leaked the real MAC address 0.164
After features/support/hooks.rb:326 0.700
After features/support/hooks.rb:100 0.051
Tags: @product
59.118
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.456
And I enable persistence creation in Tails Greeter 1.143
And I log in to a new session expecting no warning about the Persistent Storage not being activated 24.579
Then I create a persistent partition with the default settings using the wizard that was already open 20.938
After features/support/hooks.rb:326 2.175
After features/support/hooks.rb:100 0.000
Tags: @product
4:35.563
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 14.483
When I enable persistence 44.539
Then no persistent Greeter options were restored 14.294
When I set all Greeter options to non-default values 26.159
And I log in to a new session in German (de) after having activated the Persistent Storage 42.298
Then all Greeter options are set to non-default values 2.153
When I cold reboot the computer 9.544
And the computer reboots Tails 1:3.026
Given I enable persistence 18.361
Then persistent Greeter options were restored 0.616
When I log in to a new session after having activated the Persistent Storage 39.727
Then all Greeter options are set to non-default values 0.357
After features/support/hooks.rb:326 1.492
After features/support/hooks.rb:100 0.009
Tags: @product
3:49.806
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.892
# 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 31.097
And I shutdown Tails and wait for the computer to power off 15.017
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:16.696
And I change the passphrase of the Persistent Storage back to the original 37.102
After features/support/hooks.rb:326 3.516
After features/support/hooks.rb:100 0.008
Tags: @product
1:2.212
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.990
And I log in to a new session without activating the Persistent Storage 21.116
Then persistence is disabled 0.448
But a Tails persistence partition exists on USB drive "__internal" 10.788
And all notifications have disappeared 10.268
When I delete the persistent partition 7.507
Then there is no persistence partition on USB drive "__internal" 1.091
After features/support/hooks.rb:326 0.881
After features/support/hooks.rb:100 0.000
Tags: @product
2:29.332
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.567
When I write some dotfile expected to persist 0.090
And I shutdown Tails and wait for the computer to power off 8.439
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.842
Then the expected persistent dotfile is present in the filesystem 0.393
After features/support/hooks.rb:326 1.057
After features/support/hooks.rb:100 0.011
Tags: @product
1:47.428
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 9.173
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.080
When I try to enable persistence 0.297
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 34.410
When I log in to a new session after having activated the Persistent Storage 45.601
And all notifications have disappeared 7.977
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.677
And all tps features are enabled 3.019
And all tps features but the first one are active 2.191
After features/support/hooks.rb:326 1.209
After features/support/hooks.rb:100 0.000
Tags: @product
4:55.942
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 3:27.810
And I enable persistence 34.520
And I log in to a new session after having activated the Persistent Storage 48.570
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.022
And persistence is enabled 3.019
After features/support/hooks.rb:326 1.175
After features/support/hooks.rb:100 0.000
Tags: @product
32.408
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 9.002
And I enable persistence but something goes wrong during the LUKS header upgrade 22.586
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.819
After features/support/hooks.rb:326 0.809
After features/support/hooks.rb:100 0.000
Tags: @product
1:2.838
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 22.857
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.170
When I enable persistence 30.241
Then the filesystem of the Persistent Storage was repaired 0.097
And persistence is successfully enabled 3.470
After features/support/hooks.rb:326 0.898
After features/support/hooks.rb:100 0.000
Tags: @product
53.954
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.249
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.412
When I try to enable persistence 0.410
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 26.049
When I repair the filesystem of the Persistent Storage 2.739
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.378
And the filesystem of the Persistent Storage was repaired 4.908
When I close the filesystem repair dialog 1.250
Then persistence is successfully enabled 1.556
After features/support/hooks.rb:326 2.371
After features/support/hooks.rb:100 0.000
Tags: @product @doc
4:45.114
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.653
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.110
When I try to enable persistence 0.271
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 26.656
When I repair the filesystem of the Persistent Storage 1.890
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.079
When I log in to a new session 39.998
And all notifications have disappeared 8.527
# 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.375
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.136
When I close the "whisperback" window 1.569
Then the Tor Browser starts 15.821
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 3:0.021
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:208:in `page_has_loaded_in_the_tor_browser'
./features/step_definitions/browser.rb:223:in `/^"([^"]+)" has loaded in the Tor Browser$/'
features/persistence.feature:202:in `And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser'
After features/support/hooks.rb:326 6.942

SCENARIO FAILED: 'Manual filesystem repair fails' (at time 04:05:58)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_10422-tor-browser-in-flatpak/14/artifact/build-artifacts/04:05:58_Manual_filesystem_repair_fails.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_10422-tor-browser-in-flatpak/14/artifact/build-artifacts/04:05:58_Manual_filesystem_repair_fails.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_10422-tor-browser-in-flatpak/14/artifact/build-artifacts/04:05:58_Manual_filesystem_repair_fails.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_10422-tor-browser-in-flatpak/14/artifact/build-artifacts/04:05:58_Manual_filesystem_repair_fails.journal

After features/support/hooks.rb:100 0.000
Tags: @product @doc
4:55.684
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.017
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.928
And Tails detects disk read failures on the boot device 0.554
When I try to enable persistence 0.553
Then the Welcome Screen tells me that my hardware is probably failing 18.207
When I log in to a new session 52.654
And all notifications have disappeared 8.852
Then the Tor Browser starts 18.815
And "Tails - Recovering data from the Persistent Storage when it has file system errors" 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:208:in `page_has_loaded_in_the_tor_browser'
./features/step_definitions/browser.rb:223:in `/^"([^"]+)" has loaded in the Tor Browser$/'
features/persistence.feature:214:in `And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser'
After features/support/hooks.rb:326 8.252

SCENARIO FAILED: 'Filesystem and I/O errors' (at time 04:11:01)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_10422-tor-browser-in-flatpak/14/artifact/build-artifacts/04:11:01_Filesystem_and_I_O_errors.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_10422-tor-browser-in-flatpak/14/artifact/build-artifacts/04:11:01_Filesystem_and_I_O_errors.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_10422-tor-browser-in-flatpak/14/artifact/build-artifacts/04:11:01_Filesystem_and_I_O_errors.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_10422-tor-browser-in-flatpak/14/artifact/build-artifacts/04:11:01_Filesystem_and_I_O_errors.journal

After features/support/hooks.rb:100 0.000