Project Number Date
test_Tails_ISO_stable 5127 30 Sep 2024, 18:26

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 151 1 5 0 0 157 20 1 21 43:55.437 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:21.223
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:38.812
And I update APT using apt 13.497
And I install "python3-behave" using apt 25.917
Then the Tails Persistent Storage behave tests pass 2.995
After features/support/hooks.rb:326 0.895
After features/support/hooks.rb:100 0.000
Tags: @product
51.418
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 14.177
When I log in to a new session without activating the Persistent Storage 25.356
Then Tails is running from USB drive "__internal" 0.842
And persistence is disabled 0.670
But a Tails persistence partition exists on USB drive "__internal" 10.370
After features/support/hooks.rb:326 1.165
After features/support/hooks.rb:100 0.000
Tags: @product
3:39.692
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 14.453
Then Tails is running from USB drive "__internal" 0.603
When I create a file in the Persistent directory 0.173
And I create a persistent partition with the default settings 33.349
Then the file I created was copied to the Persistent Storage 0.740
When I shutdown Tails and wait for the computer to power off 15.826
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:33.992
Then persistence for "Persistent" is active 0.476
And the file I created in the Persistent directory exists 0.076
After features/support/hooks.rb:326 0.748
After features/support/hooks.rb:100 0.008
Tags: @product
1:5.946
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 14.785
And the system is very low on memory 6.574
When I create a file in the Persistent directory 1.734
When I try to create a persistent partition 24.716
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.215
When I close the Persistent Storage app 2.658
And I free up some memory 2.080
And I create a persistent partition with the default settings 12.899
Then the file I created was copied to the Persistent Storage 0.281
After features/support/hooks.rb:326 1.476
After features/support/hooks.rb:100 0.000
Tags: @product
2:58.646
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 12.389
Then Tails is running from USB drive "__internal" 0.391
And all tps features are active 2.538
And all persistent directories have safe access rights 2.552
When I disable the first tps feature 6.250
Then all tps features but the first one are active 2.252
And I shutdown Tails and wait for the computer to power off 11.088
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:17.710
Then all tps features but the first one are active 3.473
After features/support/hooks.rb:326 0.689
After features/support/hooks.rb:100 0.012
Tags: @product
22.096
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.331
Then persistence for "Persistent" is active 0.168
And I create a file in the Persistent directory 0.109
Then the file I created was copied to the Persistent Storage 0.111
When I disable the first tps feature 6.579
Then persistence for "Persistent" is not active 0.129
And the Persistent directory does not exist 0.067
When I enable the first tps feature 3.442
Then persistence for "Persistent" is active 0.081
And the file I created in the Persistent directory exists 0.076
After features/support/hooks.rb:326 0.894
After features/support/hooks.rb:100 0.000
Tags: @product
22.018
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.358
Then persistence for "Persistent" is active 0.603
When I create a file in the Persistent directory 0.081
And I disable the first tps feature 6.151
And I delete the data of the Persistent Folder feature 3.764
Then the file I created does not exist on the Persistent Storage 0.058
After features/support/hooks.rb:326 0.963
After features/support/hooks.rb:100 0.000
Tags: @product
1:17.108
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 12.105
And the network is plugged 0.094
And Tor is ready 22.477
And I take note of which tps features are available 0.779
When I write some files expected to persist 1.766
And I shutdown Tails and wait for the computer to power off 12.950
# 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" 26.934
After features/support/hooks.rb:326 0.202
After features/support/hooks.rb:100 0.000
Tags: @product
3:13.223
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.566
And the network is plugged 0.100
And Tor is ready 20.779
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 8.653
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.883
And I capture all network traffic 0.011
And the network is plugged 0.102
And Tor is ready 19.084
And I switch to the "persistent-con-current" NetworkManager connection 0.444
And the 1st network device has a spoofed MAC address configured 0.113
And no network device leaked the real MAC address 0.289
After features/support/hooks.rb:326 0.938
After features/support/hooks.rb:100 0.066
Tags: @product
1:5.666
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 15.396
And I enable persistence creation in Tails Greeter 1.149
And I log in to a new session expecting no warning about the Persistent Storage not being activated 24.477
Then I create a persistent partition with the default settings using the wizard that was already open 24.643
After features/support/hooks.rb:326 1.762
After features/support/hooks.rb:100 0.000
Tags: @product
4:53.808
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.754
When I enable persistence 45.302
Then no persistent Greeter options were restored 14.281
When I set all Greeter options to non-default values 24.469
And I log in to a new session in German (de) after having activated the Persistent Storage 40.798
Then all Greeter options are set to non-default values 0.469
When I cold reboot the computer 7.674
And the computer reboots Tails 1:2.262
Given I enable persistence 32.976
Then persistent Greeter options were restored 14.845
When I log in to a new session after having activated the Persistent Storage 35.612
Then all Greeter options are set to non-default values 0.363
After features/support/hooks.rb:326 0.987
After features/support/hooks.rb:100 0.008
Tags: @product
3:53.080
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.697
# 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 34.821
And I shutdown Tails and wait for the computer to power off 15.200
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:13.323
And I change the passphrase of the Persistent Storage back to the original 38.038
After features/support/hooks.rb:326 2.379
After features/support/hooks.rb:100 0.008
Tags: @product
1:0.413
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 11.045
And I log in to a new session without activating the Persistent Storage 24.993
Then persistence is disabled 0.255
But a Tails persistence partition exists on USB drive "__internal" 8.890
And all notifications have disappeared 8.877
When I delete the persistent partition 5.853
Then there is no persistence partition on USB drive "__internal" 0.496
After features/support/hooks.rb:326 0.953
After features/support/hooks.rb:100 0.000
Tags: @product
2:32.660
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.425
When I write some dotfile expected to persist 0.106
And I shutdown Tails and wait for the computer to power off 11.027
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.669
Then the expected persistent dotfile is present in the filesystem 0.431
After features/support/hooks.rb:326 0.745
After features/support/hooks.rb:100 0.009
Tags: @product
1:11.705
Scenario Feature activation 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 11.328
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.087
When I try to enable persistence 0.288
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 1:0.001
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:1725:in `/^the Welcome Screen tells me that the Persistent Folder feature couldn't be activated$/'
features/persistence.feature:146:in `Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated'
When I log in to a new session after having activated the Persistent Storage 0.000
And all notifications have disappeared 0.000
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 0.000
And all tps features are enabled 0.000
And all tps features but the first one are active 0.000
After features/support/hooks.rb:326 9.125

SCENARIO FAILED: 'Feature activation fails' (at time 03:37:12)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5127/artifact/build-artifacts/03:37:12_Feature_activation_fails.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5127/artifact/build-artifacts/03:37:12_Feature_activation_fails.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5127/artifact/build-artifacts/03:37:12_Feature_activation_fails.journal

After features/support/hooks.rb:100 0.000
Tags: @product
7:56.290
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 6:23.305
And I enable persistence 41.446
And I log in to a new session after having activated the Persistent Storage 49.203
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.034
And persistence is enabled 0.300
After features/support/hooks.rb:326 1.772
After features/support/hooks.rb:100 0.000
Tags: @product
34.103
Before features/support/hooks.rb:269 0.013
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.526
And I enable persistence but something goes wrong during the LUKS header upgrade 23.819
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.757
After features/support/hooks.rb:326 0.943
After features/support/hooks.rb:100 0.000
Tags: @product
49.175
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.049
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 7.187
When I enable persistence 30.857
Then the filesystem of the Persistent Storage was repaired 0.138
And persistence is successfully enabled 0.942
After features/support/hooks.rb:326 1.423
After features/support/hooks.rb:100 0.000
Tags: @product
28.895
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.819
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.540
When I try to enable persistence 0.422
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 8.181
When I repair the filesystem of the Persistent Storage 1.332
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.429
And the filesystem of the Persistent Storage was repaired 0.394
When I close the filesystem repair dialog 1.255
Then persistence is successfully enabled 0.519
After features/support/hooks.rb:326 1.159
After features/support/hooks.rb:100 0.000
Tags: @product
1:58.620
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 9.743
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.128
When I try to enable persistence 0.300
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 39.423
When I repair the filesystem of the Persistent Storage 1.313
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.094
When I log in to a new session 43.260
And all notifications have disappeared 8.800
# 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.594
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.259
When I close the "whisperback" window 1.980
Then the Tor Browser starts 12.227
And "Tails - Recovering data from the Persistent Storage, if the Persistent Storage doesn't unlock" has loaded in the Tor Browser 0.492
After features/support/hooks.rb:326 2.083
After features/support/hooks.rb:100 0.000
Tags: @product
1:19.642
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.901
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.767
And Tails detects disk read failures on the boot device 0.603
When I try to enable persistence 0.500
Then the Welcome Screen tells me that my hardware is probably failing 7.558
When I log in to a new session 23.910
And all notifications have disappeared 9.253
Then the Tor Browser starts 19.580
And "Tails - Recovering data from the Persistent Storage, if the Persistent Storage doesn't unlock" has loaded in the Tor Browser 0.565
After features/support/hooks.rb:326 3.940
After features/support/hooks.rb:100 0.000