Project Number Date
test_Tails_ISO_stable 5420 27 Jan 2025, 15:17

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 50:21.779 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:20.522
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:36.567
And I update APT using apt 13.755
And I install "python3-behave" using apt 26.337
Then the Tails Persistent Storage behave tests pass 3.862
After features/support/hooks.rb:326 0.640
After features/support/hooks.rb:100 0.000
Tags: @product
46.960
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 15.292
When I log in to a new session without activating the Persistent Storage 23.969
Then Tails is running from USB drive "__internal" 0.674
And persistence is disabled 0.323
But a Tails persistence partition exists on USB drive "__internal" 6.700
After features/support/hooks.rb:326 1.072
After features/support/hooks.rb:100 0.000
Tags: @product
3:25.072
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 20.558
Then Tails is running from USB drive "__internal" 0.547
When I create a file in the Persistent directory 0.133
And I create a persistent partition with the default settings 22.765
Then the file I created was copied to the Persistent Storage 0.612
When I shutdown Tails and wait for the computer to power off 15.187
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:24.780
Then persistence for "Persistent" is active 0.399
And the file I created in the Persistent directory exists 0.088
After features/support/hooks.rb:326 0.928
After features/support/hooks.rb:100 0.007
Tags: @product
1:6.501
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 11.060
And the system is very low on memory 4.465
When I create a file in the Persistent directory 1.136
When I try to create a persistent partition 25.583
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.626
When I close the Persistent Storage app 4.154
And I free up some memory 1.627
And I create a persistent partition with the default settings 17.594
Then the file I created was copied to the Persistent Storage 0.252
After features/support/hooks.rb:326 1.604
After features/support/hooks.rb:100 0.000
Tags: @product
3:25.736
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 24.250
Then Tails is running from USB drive "__internal" 0.548
And all tps features are active 7.553
And all persistent directories have safe access rights 3.043
When I disable the first tps feature 5.930
Then all tps features but the first one are active 2.533
And I shutdown Tails and wait for the computer to power off 18.346
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:19.347
Then all tps features but the first one are active 4.181
After features/support/hooks.rb:326 1.204
After features/support/hooks.rb:100 0.009
Tags: @product
25.880
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 14.485
Then persistence for "Persistent" is active 0.081
And I create a file in the Persistent directory 0.093
Then the file I created was copied to the Persistent Storage 0.075
When I disable the first tps feature 7.636
Then persistence for "Persistent" is not active 0.079
And the Persistent directory does not exist 0.066
When I enable the first tps feature 3.186
Then persistence for "Persistent" is active 0.078
And the file I created in the Persistent directory exists 0.097
After features/support/hooks.rb:326 0.848
After features/support/hooks.rb:100 0.000
Tags: @product
20.122
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.336
Then persistence for "Persistent" is active 0.108
When I create a file in the Persistent directory 0.093
And I disable the first tps feature 5.730
And I delete the data of the Persistent Folder feature 3.773
Then the file I created does not exist on the Persistent Storage 0.079
After features/support/hooks.rb:326 0.972
After features/support/hooks.rb:100 0.000
Tags: @product
1:7.472
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.223
And the network is plugged 0.092
And Tor is ready 20.757
And I take note of which tps features are available 1.673
When I write some files expected to persist 1.565
And I shutdown Tails and wait for the computer to power off 8.867
# 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.293
After features/support/hooks.rb:326 0.134
After features/support/hooks.rb:100 0.000
Tags: @product
3:9.427
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.049
And the network is plugged 0.084
And Tor is ready 16.937
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.244
And I shutdown Tails and wait for the computer to power off 8.769
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.678
And I capture all network traffic 0.007
And the network is plugged 0.551
And Tor is ready 23.553
And I switch to the "persistent-con-current" NetworkManager connection 0.338
And the 1st network device has a spoofed MAC address configured 0.076
And no network device leaked the real MAC address 0.135
After features/support/hooks.rb:326 0.662
After features/support/hooks.rb:100 0.055
Tags: @product
1:56.555
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 1:7.356
And I enable persistence creation in Tails Greeter 1.135
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.518
Then I create a persistent partition with the default settings using the wizard that was already open 25.545
After features/support/hooks.rb:326 3.100
After features/support/hooks.rb:100 0.000
Tags: @product
4:26.943
Before features/support/hooks.rb:269 0.009
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 13.256
When I enable persistence 37.495
Then no persistent Greeter options were restored 14.801
When I set all Greeter options to non-default values 29.208
And I log in to a new session in German (de) after having activated the Persistent Storage 44.222
Then all Greeter options are set to non-default values 0.666
When I cold reboot the computer 7.449
And the computer reboots Tails 59.312
Given I enable persistence 20.436
Then persistent Greeter options were restored 0.617
When I log in to a new session after having activated the Persistent Storage 39.212
Then all Greeter options are set to non-default values 0.265
After features/support/hooks.rb:326 0.879
After features/support/hooks.rb:100 0.007
Tags: @product
4:16.772
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.024
# 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 40.778
And I shutdown Tails and wait for the computer to power off 13.761
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:30.001
And I change the passphrase of the Persistent Storage back to the original 42.207
After features/support/hooks.rb:326 2.256
After features/support/hooks.rb:100 0.010
Tags: @product
1:5.891
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 15.330
And I log in to a new session without activating the Persistent Storage 23.139
Then persistence is disabled 0.345
But a Tails persistence partition exists on USB drive "__internal" 12.159
And all notifications have disappeared 8.429
When I delete the persistent partition 6.025
Then there is no persistence partition on USB drive "__internal" 0.461
After features/support/hooks.rb:326 0.912
After features/support/hooks.rb:100 0.000
Tags: @product
2:36.118
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.763
When I write some dotfile expected to persist 0.085
And I shutdown Tails and wait for the computer to power off 11.281
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.537
Then the expected persistent dotfile is present in the filesystem 0.449
After features/support/hooks.rb:326 0.835
After features/support/hooks.rb:100 0.012
Tags: @product
1:11.289
Scenario Feature activation fails
Before features/support/hooks.rb:269 0.006
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.866
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.105
When I try to enable persistence 0.316
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:1724: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 7.866

SCENARIO FAILED: 'Feature activation fails' (at time 03:44:17)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5420/artifact/build-artifacts/03:44:17_Feature_activation_fails.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5420/artifact/build-artifacts/03:44:17_Feature_activation_fails.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5420/artifact/build-artifacts/03:44:17_Feature_activation_fails.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5420/artifact/build-artifacts/03:44:17_Feature_activation_fails.journal

After features/support/hooks.rb:100 0.000
Tags: @product
11:32.409
Before features/support/hooks.rb:269 0.005
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 10:4.700
And I enable persistence 34.936
And I log in to a new session after having activated the Persistent Storage 47.005
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.451
And persistence is enabled 3.314
After features/support/hooks.rb:326 1.139
After features/support/hooks.rb:100 0.000
Tags: @product
46.446
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 22.508
And I enable persistence but something goes wrong during the LUKS header upgrade 22.921
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 1.016
After features/support/hooks.rb:326 0.974
After features/support/hooks.rb:100 0.000
Tags: @product
1:6.858
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 12.705
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.911
When I enable persistence 44.160
Then the filesystem of the Persistent Storage was repaired 0.097
And persistence is successfully enabled 2.983
After features/support/hooks.rb:326 1.442
After features/support/hooks.rb:100 0.000
Tags: @product
56.100
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.439
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 9.050
When I try to enable persistence 0.449
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.241
When I repair the filesystem of the Persistent Storage 1.714
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.307
And the filesystem of the Persistent Storage was repaired 1.865
When I close the filesystem repair dialog 1.323
Then persistence is successfully enabled 1.709
After features/support/hooks.rb:326 1.281
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:59.299
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.040
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.139
When I try to enable persistence 0.292
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 35.772
When I repair the filesystem of the Persistent Storage 1.300
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.081
When I log in to a new session 38.436
And all notifications have disappeared 10.243
# 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.697
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.978
When I close the "whisperback" window 1.795
Then the Tor Browser starts 19.533
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.985
After features/support/hooks.rb:326 2.589
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:19.396
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.595
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 14.588
And Tails detects disk read failures on the boot device 1.599
When I try to enable persistence 0.401
Then the Welcome Screen tells me that my hardware is probably failing 26.681
When I log in to a new session 51.290
And all notifications have disappeared 12.037
Then the Tor Browser starts 19.157
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.044
After features/support/hooks.rb:326 2.490
After features/support/hooks.rb:100 0.000