Project Number Date
test_Tails_ISO_stable 5163 09 Oct 2024, 15:51

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 48:24.849 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:21.167
Before features/support/hooks.rb:269 0.008
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:39.583
And I update APT using apt 13.501
And I install "python3-behave" using apt 25.875
Then the Tails Persistent Storage behave tests pass 2.208
After features/support/hooks.rb:326 1.330
After features/support/hooks.rb:100 0.000
Tags: @product
1:3.877
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 21.543
When I log in to a new session without activating the Persistent Storage 24.808
Then Tails is running from USB drive "__internal" 0.752
And persistence is disabled 0.622
But a Tails persistence partition exists on USB drive "__internal" 16.150
After features/support/hooks.rb:326 1.984
After features/support/hooks.rb:100 0.000
Tags: @product
3:27.291
Before features/support/hooks.rb:269 0.010
Given I have started Tails without network from a USB drive without a persistent partition and logged in 15.978
Then Tails is running from USB drive "__internal" 0.747
When I create a file in the Persistent directory 0.165
And I create a persistent partition with the default settings 31.767
Then the file I created was copied to the Persistent Storage 0.653
When I shutdown Tails and wait for the computer to power off 14.451
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:22.720
Then persistence for "Persistent" is active 0.715
And the file I created in the Persistent directory exists 0.092
After features/support/hooks.rb:326 1.021
After features/support/hooks.rb:100 0.010
Tags: @product
1:1.004
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 12.432
And the system is very low on memory 4.377
When I create a file in the Persistent directory 1.663
When I try to create a persistent partition 23.578
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.275
When I close the Persistent Storage app 2.640
And I free up some memory 1.631
And I create a persistent partition with the default settings 14.150
Then the file I created was copied to the Persistent Storage 0.252
After features/support/hooks.rb:326 1.358
After features/support/hooks.rb:100 0.000
Tags: @product
3:1.495
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 12.218
Then Tails is running from USB drive "__internal" 0.631
And all tps features are active 3.125
And all persistent directories have safe access rights 3.094
When I disable the first tps feature 6.436
Then all tps features but the first one are active 2.345
And I shutdown Tails and wait for the computer to power off 12.933
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:17.753
Then all tps features but the first one are active 2.956
After features/support/hooks.rb:326 0.941
After features/support/hooks.rb:100 0.012
Tags: @product
22.411
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.398
Then persistence for "Persistent" is active 0.170
And I create a file in the Persistent directory 0.115
Then the file I created was copied to the Persistent Storage 0.117
When I disable the first tps feature 6.006
Then persistence for "Persistent" is not active 0.105
And the Persistent directory does not exist 0.057
When I enable the first tps feature 3.274
Then persistence for "Persistent" is active 0.082
And the file I created in the Persistent directory exists 0.083
After features/support/hooks.rb:326 1.043
After features/support/hooks.rb:100 0.000
Tags: @product
20.226
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.144
Then persistence for "Persistent" is active 0.153
When I create a file in the Persistent directory 0.105
And I disable the first tps feature 5.992
And I delete the data of the Persistent Folder feature 3.751
Then the file I created does not exist on the Persistent Storage 0.078
After features/support/hooks.rb:326 0.998
After features/support/hooks.rb:100 0.000
Tags: @product
1:9.701
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 9.397
And the network is plugged 0.099
And Tor is ready 20.618
And I take note of which tps features are available 0.757
When I write some files expected to persist 1.582
And I shutdown Tails and wait for the computer to power off 11.527
# 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.718
After features/support/hooks.rb:326 0.109
After features/support/hooks.rb:100 0.000
Tags: @product
3:52.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 10.071
And the network is plugged 0.125
And Tor is ready 21.901
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.241
And I shutdown Tails and wait for the computer to power off 9.066
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:18.780
And I capture all network traffic 0.012
And the network is plugged 0.083
And Tor is ready 51.149
And I switch to the "persistent-con-current" NetworkManager connection 0.352
And the 1st network device has a spoofed MAC address configured 0.082
And no network device leaked the real MAC address 0.196
After features/support/hooks.rb:326 0.795
After features/support/hooks.rb:100 0.054
Tags: @product
1:16.713
Before features/support/hooks.rb:269 0.039
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 22.921
And I enable persistence creation in Tails Greeter 1.293
And I log in to a new session expecting no warning about the Persistent Storage not being activated 25.284
Then I create a persistent partition with the default settings using the wizard that was already open 27.213
After features/support/hooks.rb:326 1.818
After features/support/hooks.rb:100 0.000
Tags: @product
5:53.851
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 43.647
When I enable persistence 48.646
Then no persistent Greeter options were restored 14.375
When I set all Greeter options to non-default values 25.323
And I log in to a new session in German (de) after having activated the Persistent Storage 45.375
Then all Greeter options are set to non-default values 0.578
When I cold reboot the computer 10.077
And the computer reboots Tails 1:5.833
Given I enable persistence 36.025
Then persistent Greeter options were restored 15.467
When I log in to a new session after having activated the Persistent Storage 48.068
Then all Greeter options are set to non-default values 0.431
After features/support/hooks.rb:326 2.172
After features/support/hooks.rb:100 0.020
Tags: @product
4:21.923
Before features/support/hooks.rb:269 0.011
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 14.018
# 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 48.446
And I shutdown Tails and wait for the computer to power off 16.535
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:28.082
And I change the passphrase of the Persistent Storage back to the original 34.840
After features/support/hooks.rb:326 2.213
After features/support/hooks.rb:100 0.019
Tags: @product
1:10.637
Before features/support/hooks.rb:269 0.010
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 17.296
And I log in to a new session without activating the Persistent Storage 21.062
Then persistence is disabled 0.570
But a Tails persistence partition exists on USB drive "__internal" 10.493
And all notifications have disappeared 14.286
When I delete the persistent partition 6.474
Then there is no persistence partition on USB drive "__internal" 0.453
After features/support/hooks.rb:326 1.072
After features/support/hooks.rb:100 0.000
Tags: @product
2:9.727
Scenario Dotfiles persistence
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 12.903
When I write some dotfile expected to persist 0.116
And I shutdown Tails and wait for the computer to power off 15.153
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:41.554
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/step_definitions/common_steps.rb:291: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:139:in `And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled'
Then the expected persistent dotfile is present in the filesystem 0.000
After features/support/hooks.rb:326 9.931

SCENARIO FAILED: 'Dotfiles persistence' (at time 03:54:26)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5163/artifact/build-artifacts/03:54:26_Dotfiles_persistence.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5163/artifact/build-artifacts/03:54:26_Dotfiles_persistence.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5163/artifact/build-artifacts/03:54:26_Dotfiles_persistence.journal

After features/support/hooks.rb:100 0.010
Tags: @product
2:16.179
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 14.249
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.086
When I try to enable persistence 0.277
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 56.344
When I log in to a new session after having activated the Persistent Storage 46.427
And all notifications have disappeared 9.603
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.103
And all tps features are enabled 2.722
And all tps features but the first one are active 2.364
After features/support/hooks.rb:326 0.962
After features/support/hooks.rb:100 0.000
Tags: @product
9:59.622
Before features/support/hooks.rb:269 0.008
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 8:34.513
And I enable persistence 36.946
And I log in to a new session after having activated the Persistent Storage 44.765
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.629
And persistence is enabled 0.766
After features/support/hooks.rb:326 1.828
After features/support/hooks.rb:100 0.000
Tags: @product
28.190
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 8.606
And I enable persistence but something goes wrong during the LUKS header upgrade 18.849
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.734
After features/support/hooks.rb:326 0.778
After features/support/hooks.rb:100 0.000
Tags: @product
43.842
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 8.801
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.419
When I enable persistence 29.139
Then the filesystem of the Persistent Storage was repaired 0.094
And persistence is successfully enabled 0.388
After features/support/hooks.rb:326 1.080
After features/support/hooks.rb:100 0.000
Tags: @product
25.590
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.904
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.738
When I try to enable persistence 0.405
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.370
When I repair the filesystem of the Persistent Storage 1.202
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.239
And the filesystem of the Persistent Storage was repaired 0.098
When I close the filesystem repair dialog 1.243
Then persistence is successfully enabled 0.386
After features/support/hooks.rb:326 0.836
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:45.235
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.848
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.411
When I try to enable persistence 0.356
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 32.367
When I repair the filesystem of the Persistent Storage 1.209
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 3.903
When I log in to a new session 32.187
And all notifications have disappeared 7.323
# 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.973
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.260
When I close the "whisperback" window 2.034
Then the Tor Browser starts 13.578
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.780
After features/support/hooks.rb:326 2.466
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:14.096
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 8.940
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.574
And Tails detects disk read failures on the boot device 1.671
When I try to enable persistence 0.461
Then the Welcome Screen tells me that my hardware is probably failing 5.558
When I log in to a new session 19.429
And all notifications have disappeared 7.915
Then the Tor Browser starts 23.693
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.850
After features/support/hooks.rb:326 1.516
After features/support/hooks.rb:100 0.000