Project Number Date
test_Tails_ISO_10422-tor-browser-in-flatpak 13 13 Feb 2025, 04:49

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 153 2 2 0 0 157 19 2 21 41:7.129 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:22.658
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:37.104
And I update APT using apt 13.830
And I install "python3-behave" using apt 28.684
Then the Tails Persistent Storage behave tests pass 3.039
After features/support/hooks.rb:326 1.178
After features/support/hooks.rb:100 0.000
Tags: @product
46.970
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 11.405
When I log in to a new session without activating the Persistent Storage 23.119
Then Tails is running from USB drive "__internal" 0.544
And persistence is disabled 0.515
But a Tails persistence partition exists on USB drive "__internal" 11.385
After features/support/hooks.rb:326 1.171
After features/support/hooks.rb:100 0.000
Tags: @product
3:20.063
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive without a persistent partition and logged in 13.278
Then Tails is running from USB drive "__internal" 0.529
When I create a file in the Persistent directory 0.160
And I create a persistent partition with the default settings 22.932
Then the file I created was copied to the Persistent Storage 2.245
When I shutdown Tails and wait for the computer to power off 12.811
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:27.052
Then persistence for "Persistent" is active 0.950
And the file I created in the Persistent directory exists 0.103
After features/support/hooks.rb:326 1.192
After features/support/hooks.rb:100 0.007
Tags: @product
1:0.679
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive without a persistent partition and logged in 10.896
And the system is very low on memory 4.116
When I create a file in the Persistent directory 1.362
When I try to create a persistent partition 25.358
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.219
When I close the Persistent Storage app 2.847
And I free up some memory 3.019
And I create a persistent partition with the default settings 12.569
Then the file I created was copied to the Persistent Storage 0.287
After features/support/hooks.rb:326 1.563
After features/support/hooks.rb:100 0.000
Tags: @product
2:57.523
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 12.886
Then Tails is running from USB drive "__internal" 0.546
And all tps features are active 2.483
And all persistent directories have safe access rights 2.544
When I disable the first tps feature 5.745
Then all tps features but the first one are active 2.061
And I shutdown Tails and wait for the computer to power off 12.985
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.599
Then all tps features but the first one are active 2.670
After features/support/hooks.rb:326 0.830
After features/support/hooks.rb:100 0.006
Tags: @product
20.675
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.116
Then persistence for "Persistent" is active 0.305
And I create a file in the Persistent directory 0.077
Then the file I created was copied to the Persistent Storage 0.072
When I disable the first tps feature 6.558
Then persistence for "Persistent" is not active 0.070
And the Persistent directory does not exist 0.043
When I enable the first tps feature 3.289
Then persistence for "Persistent" is active 0.067
And the file I created in the Persistent directory exists 0.071
After features/support/hooks.rb:326 0.870
After features/support/hooks.rb:100 0.000
Tags: @product
18.753
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.382
Then persistence for "Persistent" is active 0.102
When I create a file in the Persistent directory 0.070
And I disable the first tps feature 5.321
And I delete the data of the Persistent Folder feature 3.817
Then the file I created does not exist on the Persistent Storage 0.058
After features/support/hooks.rb:326 0.907
After features/support/hooks.rb:100 0.000
Tags: @product
1:3.464
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.142
And the network is plugged 0.115
And Tor is ready 18.967
And I take note of which tps features are available 0.710
When I write some files expected to persist 1.474
And I shutdown Tails and wait for the computer to power off 8.587
# 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.468
After features/support/hooks.rb:326 0.146
After features/support/hooks.rb:100 0.000
Tags: @product
3:6.276
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.435
And the network is plugged 0.082
And Tor is ready 17.818
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.216
And I shutdown Tails and wait for the computer to power off 8.505
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.794
And I capture all network traffic 0.007
And the network is plugged 0.103
And Tor is ready 19.695
And I switch to the "persistent-con-current" NetworkManager connection 0.370
And the 1st network device has a spoofed MAC address configured 0.097
And no network device leaked the real MAC address 0.149
After features/support/hooks.rb:326 1.056
After features/support/hooks.rb:100 0.091
Tags: @product
54.501
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 11.614
And I enable persistence creation in Tails Greeter 1.111
And I log in to a new session expecting no warning about the Persistent Storage not being activated 19.371
Then I create a persistent partition with the default settings using the wizard that was already open 22.404
After features/support/hooks.rb:326 2.457
After features/support/hooks.rb:100 0.000
Tags: @product
4:32.611
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 13.150
When I enable persistence 35.111
Then no persistent Greeter options were restored 14.005
When I set all Greeter options to non-default values 24.872
And I log in to a new session in German (de) after having activated the Persistent Storage 46.455
Then all Greeter options are set to non-default values 0.529
When I cold reboot the computer 7.417
And the computer reboots Tails 1:12.382
Given I enable persistence 19.356
Then persistent Greeter options were restored 0.603
When I log in to a new session after having activated the Persistent Storage 38.451
Then all Greeter options are set to non-default values 0.274
After features/support/hooks.rb:326 3.180
After features/support/hooks.rb:100 0.005
Tags: @product
3:30.886
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.660
# 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.686
And I shutdown Tails and wait for the computer to power off 14.791
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:3.853
And I change the passphrase of the Persistent Storage back to the original 30.895
After features/support/hooks.rb:326 3.605
After features/support/hooks.rb:100 0.007
Tags: @product
56.192
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.542
And I log in to a new session without activating the Persistent Storage 20.584
Then persistence is disabled 0.559
But a Tails persistence partition exists on USB drive "__internal" 7.996
And all notifications have disappeared 10.078
When I delete the persistent partition 6.530
Then there is no persistence partition on USB drive "__internal" 0.899
After features/support/hooks.rb:326 0.832
After features/support/hooks.rb:100 0.000
Tags: @product
2:24.702
Before features/support/hooks.rb:269 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.259
When I write some dotfile expected to persist 0.078
And I shutdown Tails and wait for the computer to power off 10.592
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:4.429
Then the expected persistent dotfile is present in the filesystem 0.342
After features/support/hooks.rb:326 1.180
After features/support/hooks.rb:100 0.005
Tags: @product
1:36.691
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.131
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.080
When I try to enable persistence 0.262
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 26.206
When I log in to a new session after having activated the Persistent Storage 42.936
And all notifications have disappeared 9.139
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.301
And all tps features are enabled 2.689
And all tps features but the first one are active 1.942
After features/support/hooks.rb:326 1.024
After features/support/hooks.rb:100 0.000
Tags: @product
4:53.941
Before features/support/hooks.rb:269 0.002
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:29.141
And I enable persistence 33.445
And I log in to a new session after having activated the Persistent Storage 46.860
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.929
And persistence is enabled 2.564
After features/support/hooks.rb:326 0.916
After features/support/hooks.rb:100 0.000
Tags: @product
32.585
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 9.577
And I enable persistence but something goes wrong during the LUKS header upgrade 22.229
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.778
After features/support/hooks.rb:326 0.755
After features/support/hooks.rb:100 0.000
Tags: @product
44.095
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.070
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.681
When I enable persistence 26.628
Then the filesystem of the Persistent Storage was repaired 0.084
And persistence is successfully enabled 2.629
After features/support/hooks.rb:326 2.255
After features/support/hooks.rb:100 0.000
Tags: @product
48.140
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.123
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.702
When I try to enable persistence 0.419
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 24.459
When I repair the filesystem of the Persistent Storage 1.307
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.722
And the filesystem of the Persistent Storage was repaired 2.799
When I close the filesystem repair dialog 1.273
Then persistence is successfully enabled 1.333
After features/support/hooks.rb:326 0.930
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:23.962
Scenario Manual filesystem repair fails
Before features/support/hooks.rb:269 0.003
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.481
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.098
When I try to enable persistence 0.265
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 27.258
When I repair the filesystem of the Persistent Storage 1.235
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 3.882
When I log in to a new session 33.274
And all notifications have disappeared 6.905
# 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.204
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.108
When I close the "whisperback" window 1.246
Then the Tor Browser starts 1:0.001
try_for() timeout expired
Last ignored exception was: Dogtail::Failure: The Dogtail init script raised: SearchError: child of [desktop frame | main]: "Firefox" application
STDOUT:

STDERR:


./features/support/helpers/dogtail.rb:93:in `run'
./features/support/helpers/dogtail.rb:70:in `initialize'
./features/step_definitions/browser.rb:468:in `new'
./features/step_definitions/browser.rb:468:in `block (2 levels) in <top (required)>'
./features/support/helpers/misc_helpers.rb:78:in `block (2 levels) in try_for'
./features/support/helpers/misc_helpers.rb:66:in `loop'
./features/support/helpers/misc_helpers.rb:66:in `block in try_for'
./features/support/helpers/misc_helpers.rb:65:in `try_for'
./features/step_definitions/browser.rb:467:in `block in <top (required)>' (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:467:in `/^the Tor Browser (?:has started|starts)$/'
features/persistence.feature:201:in `Then the Tor Browser starts'
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.000
After features/support/hooks.rb:326 8.537

SCENARIO FAILED: 'Manual filesystem repair fails' (at time 03:23:41)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_10422-tor-browser-in-flatpak/13/artifact/build-artifacts/03:23:41_Manual_filesystem_repair_fails.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_10422-tor-browser-in-flatpak/13/artifact/build-artifacts/03:23:41_Manual_filesystem_repair_fails.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_10422-tor-browser-in-flatpak/13/artifact/build-artifacts/03:23:41_Manual_filesystem_repair_fails.journal

After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:31.753
Scenario Filesystem and I/O errors
Before features/support/hooks.rb:269 0.002
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.550
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.738
And Tails detects disk read failures on the boot device 1.564
When I try to enable persistence 0.443
Then the Welcome Screen tells me that my hardware is probably failing 17.440
When I log in to a new session 49.546
And all notifications have disappeared 8.466
Then the Tor Browser starts 1:0.001
try_for() timeout expired
Last ignored exception was: Dogtail::Failure: The Dogtail init script raised: SearchError: child of [desktop frame | main]: "Firefox" application
STDOUT:

STDERR:


./features/support/helpers/dogtail.rb:93:in `run'
./features/support/helpers/dogtail.rb:70:in `initialize'
./features/step_definitions/browser.rb:468:in `new'
./features/step_definitions/browser.rb:468:in `block (2 levels) in <top (required)>'
./features/support/helpers/misc_helpers.rb:78:in `block (2 levels) in try_for'
./features/support/helpers/misc_helpers.rb:66:in `loop'
./features/support/helpers/misc_helpers.rb:66:in `block in try_for'
./features/support/helpers/misc_helpers.rb:65:in `try_for'
./features/step_definitions/browser.rb:467:in `block in <top (required)>' (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:467:in `/^the Tor Browser (?:has started|starts)$/'
features/persistence.feature:213:in `Then the Tor Browser starts'
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.000
After features/support/hooks.rb:326 8.683

SCENARIO FAILED: 'Filesystem and I/O errors' (at time 03:26:22)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_10422-tor-browser-in-flatpak/13/artifact/build-artifacts/03:26:22_Filesystem_and_I_O_errors.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_10422-tor-browser-in-flatpak/13/artifact/build-artifacts/03:26:22_Filesystem_and_I_O_errors.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_10422-tor-browser-in-flatpak/13/artifact/build-artifacts/03:26:22_Filesystem_and_I_O_errors.journal

After features/support/hooks.rb:100 0.000