Project Number Date
test_Tails_ISO_devel 3565 28 Oct 2024, 15:27

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 153 1 3 0 0 157 20 1 21 43:58.960 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:20.476
Before features/support/hooks.rb:269 0.026
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:33.826
And I update APT using apt 15.985
And I install "python3-behave" using apt 26.482
Then the Tails Persistent Storage behave tests pass 4.182
After features/support/hooks.rb:326 0.885
After features/support/hooks.rb:100 0.000
Tags: @product
49.993
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.780
When I log in to a new session without activating the Persistent Storage 24.693
Then Tails is running from USB drive "__internal" 0.682
And persistence is disabled 0.517
But a Tails persistence partition exists on USB drive "__internal" 10.318
After features/support/hooks.rb:326 1.177
After features/support/hooks.rb:100 0.000
Tags: @product
3:21.730
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 12.986
Then Tails is running from USB drive "__internal" 0.482
When I create a file in the Persistent directory 0.149
And I create a persistent partition with the default settings 27.302
Then the file I created was copied to the Persistent Storage 0.773
When I shutdown Tails and wait for the computer to power off 15.287
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:24.006
Then persistence for "Persistent" is active 0.670
And the file I created in the Persistent directory exists 0.071
After features/support/hooks.rb:326 1.092
After features/support/hooks.rb:100 0.009
Tags: @product
1:3.364
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 10.999
And the system is very low on memory 4.968
When I create a file in the Persistent directory 1.454
When I try to create a persistent partition 25.469
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.559
When I close the Persistent Storage app 2.831
And I free up some memory 1.392
And I create a persistent partition with the default settings 15.456
Then the file I created was copied to the Persistent Storage 0.231
After features/support/hooks.rb:326 1.638
After features/support/hooks.rb:100 0.000
Tags: @product
2:56.317
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 15.572
Then Tails is running from USB drive "__internal" 0.408
And all tps features are active 2.817
And all persistent directories have safe access rights 2.946
When I disable the first tps feature 7.622
Then all tps features but the first one are active 2.377
And I shutdown Tails and wait for the computer to power off 13.586
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.613
Then all tps features but the first one are active 2.373
After features/support/hooks.rb:326 0.989
After features/support/hooks.rb:100 0.010
Tags: @product
20.997
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.954
Then persistence for "Persistent" is active 0.585
And I create a file in the Persistent directory 0.074
Then the file I created was copied to the Persistent Storage 0.182
When I disable the first tps feature 6.341
Then persistence for "Persistent" is not active 0.119
And the Persistent directory does not exist 0.072
When I enable the first tps feature 3.468
Then persistence for "Persistent" is active 0.102
And the file I created in the Persistent directory exists 0.096
After features/support/hooks.rb:326 1.061
After features/support/hooks.rb:100 0.000
Tags: @product
21.688
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 11.306
Then persistence for "Persistent" is active 0.101
When I create a file in the Persistent directory 0.079
And I disable the first tps feature 6.079
And I delete the data of the Persistent Folder feature 4.061
Then the file I created does not exist on the Persistent Storage 0.059
After features/support/hooks.rb:326 1.004
After features/support/hooks.rb:100 0.000
Tags: @product
1:12.476
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 11.070
And the network is plugged 0.105
And Tor is ready 22.773
And I take note of which tps features are available 0.571
When I write some files expected to persist 1.680
And I shutdown Tails and wait for the computer to power off 11.163
# 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.113
After features/support/hooks.rb:326 0.138
After features/support/hooks.rb:100 0.000
Tags: @product
4:14.940
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.130
And the network is plugged 0.096
And Tor is ready 47.544
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.201
And I shutdown Tails and wait for the computer to power off 8.694
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.760
And I capture all network traffic 0.011
And the network is plugged 0.102
And Tor is ready 50.493
And I switch to the "persistent-con-current" NetworkManager connection 0.503
And the 1st network device has a spoofed MAC address configured 0.172
And no network device leaked the real MAC address 0.229
After features/support/hooks.rb:326 0.798
After features/support/hooks.rb:100 0.046
Tags: @product
1:51.830
Before features/support/hooks.rb:269 0.011
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 48.900
And I enable persistence creation in Tails Greeter 1.146
And I log in to a new session expecting no warning about the Persistent Storage not being activated 25.960
Then I create a persistent partition with the default settings using the wizard that was already open 35.823
After features/support/hooks.rb:326 2.460
After features/support/hooks.rb:100 0.000
Tags: @product
5:0.442
Scenario Persistent Greeter options
Before features/support/hooks.rb:269 0.022
Steps
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 15.918
When I enable persistence 51.053
Then no persistent Greeter options were restored 15.369
When I set all Greeter options to non-default values 31.748
And I log in to a new session in German (de) after having activated the Persistent Storage 55.087
Then all Greeter options are set to non-default values 0.444
When I cold reboot the computer 12.058
And the computer reboots Tails 1:18.825
Given I enable persistence 39.937
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/usb.rb:721:in `greeter_language'
./features/step_definitions/usb.rb:689:in `/^persistence is successfully enabled$/'
./features/step_definitions/usb.rb:702:in `/^I enable persistence( with the changed passphrase)?$/'
features/persistence.feature:111:in `Given I enable persistence'
Then persistent Greeter options were restored 0.000
When I log in to a new session after having activated the Persistent Storage 0.000
Then all Greeter options are set to non-default values 0.000
After features/support/hooks.rb:326 6.528

SCENARIO FAILED: 'Persistent Greeter options' (at time 03:33:42)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3565/artifact/build-artifacts/03:33:42_Persistent_Greeter_options.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3565/artifact/build-artifacts/03:33:42_Persistent_Greeter_options.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3565/artifact/build-artifacts/03:33:42_Persistent_Greeter_options.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3565/artifact/build-artifacts/03:33:42_Persistent_Greeter_options.journal

After features/support/hooks.rb:100 0.009
Tags: @product
4:23.062
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 17.094
# 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.568
And I shutdown Tails and wait for the computer to power off 14.961
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:30.632
And I change the passphrase of the Persistent Storage back to the original 42.805
After features/support/hooks.rb:326 1.843
After features/support/hooks.rb:100 0.011
Tags: @product
1:12.354
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 20.097
And I log in to a new session without activating the Persistent Storage 21.070
Then persistence is disabled 0.393
But a Tails persistence partition exists on USB drive "__internal" 11.609
And all notifications have disappeared 12.014
When I delete the persistent partition 6.698
Then there is no persistence partition on USB drive "__internal" 0.468
After features/support/hooks.rb:326 1.081
After features/support/hooks.rb:100 0.000
Tags: @product
2:33.275
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 11.637
When I write some dotfile expected to persist 0.478
And I shutdown Tails and wait for the computer to power off 9.452
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.379
Then the expected persistent dotfile is present in the filesystem 0.327
After features/support/hooks.rb:326 0.671
After features/support/hooks.rb:100 0.007
Tags: @product
1:59.367
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.653
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.112
When I try to enable persistence 0.301
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 46.634
When I log in to a new session after having activated the Persistent Storage 43.288
And all notifications have disappeared 10.738
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.087
And all tps features are enabled 2.398
And all tps features but the first one are active 2.152
After features/support/hooks.rb:326 1.418
After features/support/hooks.rb:100 0.000
Tags: @product
5:10.344
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 3:40.536
And I enable persistence 39.577
And I log in to a new session after having activated the Persistent Storage 46.153
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.243
And persistence is enabled 0.833
After features/support/hooks.rb:326 1.555
After features/support/hooks.rb:100 0.000
Tags: @product
43.240
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 23.441
And I enable persistence but something goes wrong during the LUKS header upgrade 19.000
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.797
After features/support/hooks.rb:326 1.096
After features/support/hooks.rb:100 0.000
Tags: @product
46.635
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.414
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 8.187
When I enable persistence 28.590
Then the filesystem of the Persistent Storage was repaired 0.105
And persistence is successfully enabled 0.335
After features/support/hooks.rb:326 1.208
After features/support/hooks.rb:100 0.000
Tags: @product
24.913
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.168
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.037
When I try to enable persistence 0.454
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 5.997
When I repair the filesystem of the Persistent Storage 1.260
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.252
And the filesystem of the Persistent Storage was repaired 0.091
When I close the filesystem repair dialog 1.233
Then persistence is successfully enabled 0.417
After features/support/hooks.rb:326 0.962
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:56.187
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 8.941
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.122
When I try to enable persistence 0.297
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 32.882
When I repair the filesystem of the Persistent Storage 1.287
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 3.893
When I log in to a new session 40.227
And all notifications have disappeared 8.573
# 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.486
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.172
When I close the "whisperback" window 1.478
Then the Tor Browser starts 16.699
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.124
After features/support/hooks.rb:326 3.403
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:15.321
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.351
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.964
And Tails detects disk read failures on the boot device 0.579
When I try to enable persistence 0.389
Then the Welcome Screen tells me that my hardware is probably failing 5.447
When I log in to a new session 21.507
And all notifications have disappeared 7.931
Then the Tor Browser starts 23.271
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.878
After features/support/hooks.rb:326 1.593
After features/support/hooks.rb:100 0.000