Project Number Date
test_Tails_ISO_10422-tor-browser-in-flatpak 16 14 Feb 2025, 05:24

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 50:51.251 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
3:1.325
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 2:17.320
And I update APT using apt 15.862
And I install "python3-behave" using apt 23.642
Then the Tails Persistent Storage behave tests pass 4.499
After features/support/hooks.rb:326 1.786
After features/support/hooks.rb:100 0.000
Tags: @product
1:12.762
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 40.376
When I log in to a new session without activating the Persistent Storage 22.464
Then Tails is running from USB drive "__internal" 0.599
And persistence is disabled 0.460
But a Tails persistence partition exists on USB drive "__internal" 8.861
After features/support/hooks.rb:326 2.753
After features/support/hooks.rb:100 0.000
Tags: @product
4:1.897
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 56.761
Then Tails is running from USB drive "__internal" 0.712
When I create a file in the Persistent directory 0.174
And I create a persistent partition with the default settings 24.444
Then the file I created was copied to the Persistent Storage 2.349
When I shutdown Tails and wait for the computer to power off 12.774
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:23.668
Then persistence for "Persistent" is active 0.934
And the file I created in the Persistent directory exists 0.078
After features/support/hooks.rb:326 0.986
After features/support/hooks.rb:100 0.011
Tags: @product
1:29.105
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 25.037
And the system is very low on memory 8.705
When I create a file in the Persistent directory 1.196
When I try to create a persistent partition 29.992
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.809
When I close the Persistent Storage app 2.825
And I free up some memory 3.868
And I create a persistent partition with the default settings 16.061
Then the file I created was copied to the Persistent Storage 0.608
After features/support/hooks.rb:326 1.847
After features/support/hooks.rb:100 0.000
Tags: @product
3:14.626
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 29.626
Then Tails is running from USB drive "__internal" 0.657
And all tps features are active 3.056
And all persistent directories have safe access rights 3.353
When I disable the first tps feature 6.344
Then all tps features but the first one are active 2.917
And I shutdown Tails and wait for the computer to power off 15.009
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.191
Then all tps features but the first one are active 2.469
After features/support/hooks.rb:326 1.020
After features/support/hooks.rb:100 0.011
Tags: @product
25.542
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 14.944
Then persistence for "Persistent" is active 0.077
And I create a file in the Persistent directory 0.276
Then the file I created was copied to the Persistent Storage 0.076
When I disable the first tps feature 6.597
Then persistence for "Persistent" is not active 0.073
And the Persistent directory does not exist 0.055
When I enable the first tps feature 3.295
Then persistence for "Persistent" is active 0.079
And the file I created in the Persistent directory exists 0.066
After features/support/hooks.rb:326 0.984
After features/support/hooks.rb:100 0.000
Tags: @product
20.628
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.299
Then persistence for "Persistent" is active 0.077
When I create a file in the Persistent directory 0.094
And I disable the first tps feature 6.148
And I delete the data of the Persistent Folder feature 3.951
Then the file I created does not exist on the Persistent Storage 0.057
After features/support/hooks.rb:326 0.924
After features/support/hooks.rb:100 0.000
Tags: @product
1:12.270
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.739
And the network is plugged 0.092
And Tor is ready 25.425
And I take note of which tps features are available 0.903
When I write some files expected to persist 1.596
And I shutdown Tails and wait for the computer to power off 9.099
# 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.413
After features/support/hooks.rb:326 0.139
After features/support/hooks.rb:100 0.000
Tags: @product
3:6.570
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.069
And the network is plugged 0.115
And Tor is ready 19.516
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.194
And I shutdown Tails and wait for the computer to power off 9.242
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.862
And I capture all network traffic 0.016
And the network is plugged 0.083
And Tor is ready 19.811
And I switch to the "persistent-con-current" NetworkManager connection 0.372
And the 1st network device has a spoofed MAC address configured 0.157
And no network device leaked the real MAC address 0.129
After features/support/hooks.rb:326 0.586
After features/support/hooks.rb:100 0.043
Tags: @product
1:3.511
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 12.006
And I enable persistence creation in Tails Greeter 1.119
And I log in to a new session expecting no warning about the Persistent Storage not being activated 26.897
Then I create a persistent partition with the default settings using the wizard that was already open 23.487
After features/support/hooks.rb:326 2.597
After features/support/hooks.rb:100 0.000
Tags: @product
4:41.043
Before features/support/hooks.rb:269 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.474
When I enable persistence 39.827
Then no persistent Greeter options were restored 14.536
When I set all Greeter options to non-default values 27.245
And I log in to a new session in German (de) after having activated the Persistent Storage 53.042
Then all Greeter options are set to non-default values 0.361
When I cold reboot the computer 7.626
And the computer reboots Tails 1:5.049
Given I enable persistence 18.799
Then persistent Greeter options were restored 0.619
When I log in to a new session after having activated the Persistent Storage 40.979
Then all Greeter options are set to non-default values 0.481
After features/support/hooks.rb:326 1.350
After features/support/hooks.rb:100 0.007
Tags: @product
3:56.240
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.340
# 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 37.311
And I shutdown Tails and wait for the computer to power off 15.024
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:15.995
And I change the passphrase of the Persistent Storage back to the original 37.568
After features/support/hooks.rb:326 3.904
After features/support/hooks.rb:100 0.009
Tags: @product
1:0.205
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.627
And I log in to a new session without activating the Persistent Storage 20.607
Then persistence is disabled 0.537
But a Tails persistence partition exists on USB drive "__internal" 11.173
And all notifications have disappeared 10.198
When I delete the persistent partition 6.014
Then there is no persistence partition on USB drive "__internal" 1.046
After features/support/hooks.rb:326 0.878
After features/support/hooks.rb:100 0.000
Tags: @product
2:40.972
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.521
When I write some dotfile expected to persist 0.079
And I shutdown Tails and wait for the computer to power off 11.244
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:18.503
Then the expected persistent dotfile is present in the filesystem 0.622
After features/support/hooks.rb:326 0.877
After features/support/hooks.rb:100 0.016
Tags: @product
2:12.362
Before features/support/hooks.rb:269 0.010
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 11.684
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.082
When I try to enable persistence 0.276
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 53.533
When I log in to a new session after having activated the Persistent Storage 46.766
And all notifications have disappeared 10.756
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.375
And all tps features are enabled 2.718
And all tps features but the first one are active 2.167
After features/support/hooks.rb:326 1.678
After features/support/hooks.rb:100 0.000
Tags: @product
5:1.629
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:38.377
And I enable persistence 33.187
And I log in to a new session after having activated the Persistent Storage 43.450
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.000
And persistence is enabled 4.613
After features/support/hooks.rb:326 0.979
After features/support/hooks.rb:100 0.000
Tags: @product
33.379
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 9.120
And I enable persistence but something goes wrong during the LUKS header upgrade 23.339
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.920
After features/support/hooks.rb:326 0.791
After features/support/hooks.rb:100 0.000
Tags: @product
52.490
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.602
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 12.269
When I enable persistence 27.301
Then the filesystem of the Persistent Storage was repaired 0.089
And persistence is successfully enabled 3.227
After features/support/hooks.rb:326 1.987
After features/support/hooks.rb:100 0.000
Tags: @product
56.059
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 10.319
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.317
When I try to enable persistence 0.997
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.388
When I repair the filesystem of the Persistent Storage 1.354
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.974
And the filesystem of the Persistent Storage was repaired 4.697
When I close the filesystem repair dialog 1.282
Then persistence is successfully enabled 1.728
After features/support/hooks.rb:326 3.068
After features/support/hooks.rb:100 0.000
Tags: @product @doc
4:54.197
Scenario Manual filesystem repair fails
Before features/support/hooks.rb:269 0.008
Steps
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 10.298
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.112
When I try to enable persistence 0.305
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 34.902
When I repair the filesystem of the Persistent Storage 1.348
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.090
When I log in to a new session 39.669
And all notifications have disappeared 8.462
# 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.720
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.803
When I close the "whisperback" window 1.461
Then the Tor Browser starts 14.903
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 3:0.119
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.648

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

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_10422-tor-browser-in-flatpak/16/artifact/build-artifacts/04:04:08_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/16/artifact/build-artifacts/04:04:08_Manual_filesystem_repair_fails.png

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

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

After features/support/hooks.rb:100 0.000
Tags: @product @doc
4:54.431
Scenario Filesystem and I/O errors
Before features/support/hooks.rb:269 0.007
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.980
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.058
And Tails detects disk read failures on the boot device 0.542
When I try to enable persistence 0.622
Then the Welcome Screen tells me that my hardware is probably failing 19.744
When I log in to a new session 50.971
And all notifications have disappeared 8.563
Then the Tor Browser starts 17.877
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 3:0.070
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 6.980

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

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_10422-tor-browser-in-flatpak/16/artifact/build-artifacts/04:09:09_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/16/artifact/build-artifacts/04:09:09_Filesystem_and_I_O_errors.png

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

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

After features/support/hooks.rb:100 0.000