Project Number Date
test_Tails_ISO_20448-tor-browser-14-force-all-tests 73 15 Oct 2024, 20:12

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 155 1 1 0 0 157 20 1 21 44:7.382 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:31.658
Before features/support/hooks.rb:269 0.006
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:49.761
And I update APT using apt 13.765
And I install "python3-behave" using apt 25.663
Then the Tails Persistent Storage behave tests pass 2.466
After features/support/hooks.rb:326 1.217
After features/support/hooks.rb:100 0.000
Tags: @product
1:12.670
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 37.435
When I log in to a new session without activating the Persistent Storage 22.747
Then Tails is running from USB drive "__internal" 0.632
And persistence is disabled 0.288
But a Tails persistence partition exists on USB drive "__internal" 11.566
After features/support/hooks.rb:326 1.289
After features/support/hooks.rb:100 0.000
Tags: @product
3:19.536
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive without a persistent partition and logged in 14.387
Then Tails is running from USB drive "__internal" 0.737
When I create a file in the Persistent directory 0.143
And I create a persistent partition with the default settings 28.022
Then the file I created was copied to the Persistent Storage 0.671
When I shutdown Tails and wait for the computer to power off 15.714
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:19.328
Then persistence for "Persistent" is active 0.439
And the file I created in the Persistent directory exists 0.091
After features/support/hooks.rb:326 1.351
After features/support/hooks.rb:100 0.015
Tags: @product
1:11.748
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive without a persistent partition and logged in 13.322
And the system is very low on memory 8.158
When I create a file in the Persistent directory 1.137
When I try to create a persistent partition 28.930
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.309
When I close the Persistent Storage app 2.797
And I free up some memory 1.610
And I create a persistent partition with the default settings 15.216
Then the file I created was copied to the Persistent Storage 0.265
After features/support/hooks.rb:326 1.852
After features/support/hooks.rb:100 0.000
Tags: @product
2:29.091
Scenario Booting Tails from a USB drive with an enabled persistent partition and reconfiguring it
Before features/support/hooks.rb:269 0.005
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 25.107
Then Tails is running from USB drive "__internal" 0.448
And all tps features are active 2.325
And all persistent directories have safe access rights 2.677
When I disable the first tps feature 6.148
Then all tps features but the first one are active 2.256
And I shutdown Tails and wait for the computer to power off 12.989
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:37.137
try_for() timeout expired
Last ignored exception was: RemoteShell::ServerFailure: FileNotFoundError: [Errno 2] No such file or directory: '/tmp/gdm-env'
./features/support/helpers/remote_shell.rb:71:in `block (2 levels) in communicate'
./features/support/helpers/remote_shell.rb:42:in `loop'
./features/support/helpers/remote_shell.rb:42:in `block in communicate'
./features/support/helpers/remote_shell.rb:37:in `communicate'
./features/support/helpers/remote_shell.rb:174:in `execute'
./features/support/helpers/remote_shell.rb:185:in `initialize'
./features/support/helpers/dogtail.rb:80:in `new'
./features/support/helpers/dogtail.rb:80:in `run'
./features/support/helpers/dogtail.rb:70:in `initialize'
./features/step_definitions/usb.rb:108:in `new'
./features/step_definitions/usb.rb:108:in `greeter'
./features/step_definitions/common_steps.rb:451: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/common_steps.rb:450:in `block in <top (required)>'
./features/step_definitions/common_steps.rb:284: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/common_steps.rb:450:in `/^the computer (?:re)?boots Tails$/'
./features/step_definitions/common_steps.rb:284:in `/^I start Tails from (.+?) drive "(.+?)"( with network unplugged)?( and I login( with persistence enabled)?( with the changed persistence passphrase)?( (?:and|with) an administration password)?)?$/'
features/persistence.feature:49:in `And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled'
Then all tps features but the first one are active 0.000
After features/support/hooks.rb:326 4.946

SCENARIO FAILED: 'Booting Tails from a USB drive with an enabled persistent partition and reconfiguring it' (at time 03:24:35)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_20448-tor-browser-14-force-all-tests/73/artifact/build-artifacts/03:24:35_Booting_Tails_from_a_USB_drive_with_an_enabled_persistent_partition_and_reconfiguring_it.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20448-tor-browser-14-force-all-tests/73/artifact/build-artifacts/03:24:35_Booting_Tails_from_a_USB_drive_with_an_enabled_persistent_partition_and_reconfiguring_it.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20448-tor-browser-14-force-all-tests/73/artifact/build-artifacts/03:24:35_Booting_Tails_from_a_USB_drive_with_an_enabled_persistent_partition_and_reconfiguring_it.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20448-tor-browser-14-force-all-tests/73/artifact/build-artifacts/03:24:35_Booting_Tails_from_a_USB_drive_with_an_enabled_persistent_partition_and_reconfiguring_it.journal

After features/support/hooks.rb:100 0.009
Tags: @product
20.839
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.201
Then persistence for "Persistent" is active 0.094
And I create a file in the Persistent directory 0.062
Then the file I created was copied to the Persistent Storage 0.080
When I disable the first tps feature 5.996
Then persistence for "Persistent" is not active 0.092
And the Persistent directory does not exist 0.066
When I enable the first tps feature 3.098
Then persistence for "Persistent" is active 0.078
And the file I created in the Persistent directory exists 0.069
After features/support/hooks.rb:326 1.104
After features/support/hooks.rb:100 0.000
Tags: @product
20.011
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.322
Then persistence for "Persistent" is active 0.149
When I create a file in the Persistent directory 0.076
And I disable the first tps feature 6.463
And I delete the data of the Persistent Folder feature 3.886
Then the file I created does not exist on the Persistent Storage 0.111
After features/support/hooks.rb:326 1.273
After features/support/hooks.rb:100 0.000
Tags: @product
1:9.426
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 9.909
And the network is plugged 0.084
And Tor is ready 23.469
And I take note of which tps features are available 0.688
When I write some files expected to persist 1.654
And I shutdown Tails and wait for the computer to power off 9.152
# 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.467
After features/support/hooks.rb:326 0.117
After features/support/hooks.rb:100 0.000
Tags: @product
3:41.364
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.577
And the network is plugged 0.109
And Tor is ready 21.062
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.266
And I shutdown Tails and wait for the computer to power off 8.765
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.479
And I capture all network traffic 0.007
And the network is plugged 0.108
And Tor is ready 49.314
And I switch to the "persistent-con-current" NetworkManager connection 0.364
And the 1st network device has a spoofed MAC address configured 0.112
And no network device leaked the real MAC address 0.197
After features/support/hooks.rb:326 0.658
After features/support/hooks.rb:100 0.051
Tags: @product
1:11.047
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 18.120
And I enable persistence creation in Tails Greeter 1.173
And I log in to a new session expecting no warning about the Persistent Storage not being activated 26.128
Then I create a persistent partition with the default settings using the wizard that was already open 25.625
After features/support/hooks.rb:326 1.945
After features/support/hooks.rb:100 0.000
Tags: @product
5:11.949
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.410
When I enable persistence 47.836
Then no persistent Greeter options were restored 14.472
When I set all Greeter options to non-default values 26.800
And I log in to a new session in German (de) after having activated the Persistent Storage 50.531
Then all Greeter options are set to non-default values 0.770
When I cold reboot the computer 8.058
And the computer reboots Tails 1:3.030
Given I enable persistence 32.302
Then persistent Greeter options were restored 15.489
When I log in to a new session after having activated the Persistent Storage 38.681
Then all Greeter options are set to non-default values 0.565
After features/support/hooks.rb:326 0.833
After features/support/hooks.rb:100 0.010
Tags: @product
4:5.824
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.366
# 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 41.549
And I shutdown Tails and wait for the computer to power off 13.003
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:24.081
And I change the passphrase of the Persistent Storage back to the original 36.823
After features/support/hooks.rb:326 2.041
After features/support/hooks.rb:100 0.018
Tags: @product
1:5.243
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.195
And I log in to a new session without activating the Persistent Storage 23.453
Then persistence is disabled 0.499
But a Tails persistence partition exists on USB drive "__internal" 11.044
And all notifications have disappeared 13.240
When I delete the persistent partition 6.321
Then there is no persistence partition on USB drive "__internal" 0.487
After features/support/hooks.rb:326 0.974
After features/support/hooks.rb:100 0.000
Tags: @product
2:33.278
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 9.829
When I write some dotfile expected to persist 0.062
And I shutdown Tails and wait for the computer to power off 9.428
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.565
Then the expected persistent dotfile is present in the filesystem 0.392
After features/support/hooks.rb:326 1.105
After features/support/hooks.rb:100 0.008
Tags: @product
1:53.483
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 12.532
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.079
When I try to enable persistence 0.324
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 32.493
When I log in to a new session after having activated the Persistent Storage 47.778
And all notifications have disappeared 10.454
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.595
And all tps features are enabled 2.634
And all tps features but the first one are active 2.591
After features/support/hooks.rb:326 0.969
After features/support/hooks.rb:100 0.000
Tags: @product
6:56.636
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 5:34.764
And I enable persistence 37.023
And I log in to a new session after having activated the Persistent Storage 39.149
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 5.604
And persistence is enabled 0.094
After features/support/hooks.rb:326 1.150
After features/support/hooks.rb:100 0.000
Tags: @product
32.909
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 9.314
And I enable persistence but something goes wrong during the LUKS header upgrade 22.710
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.884
After features/support/hooks.rb:326 0.712
After features/support/hooks.rb:100 0.000
Tags: @product
48.725
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.346
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.232
When I enable persistence 32.669
Then the filesystem of the Persistent Storage was repaired 0.093
And persistence is successfully enabled 0.383
After features/support/hooks.rb:326 1.679
After features/support/hooks.rb:100 0.000
Tags: @product
25.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 8.822
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.195
When I try to enable persistence 0.466
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.514
When I repair the filesystem of the Persistent Storage 1.259
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.236
And the filesystem of the Persistent Storage was repaired 0.092
When I close the filesystem repair dialog 1.244
Then persistence is successfully enabled 0.372
After features/support/hooks.rb:326 0.813
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:52.559
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.033
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.110
When I try to enable persistence 0.270
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 31.382
When I repair the filesystem of the Persistent Storage 1.212
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.121
When I log in to a new session 43.070
And all notifications have disappeared 10.668
# 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.812
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.570
When I close the "whisperback" window 1.686
Then the Tor Browser starts 12.863
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.757
After features/support/hooks.rb:326 1.768
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:14.170
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 8.707
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.991
And Tails detects disk read failures on the boot device 1.646
When I try to enable persistence 0.425
Then the Welcome Screen tells me that my hardware is probably failing 8.015
When I log in to a new session 21.934
And all notifications have disappeared 7.208
Then the Tor Browser starts 19.514
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.727
After features/support/hooks.rb:326 1.371
After features/support/hooks.rb:100 0.000