Project Number Date
test_Tails_ISO_devel 3550 16 Oct 2024, 12:58

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 43:19.707 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:27.060
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:44.234
And I update APT using apt 14.472
And I install "python3-behave" using apt 25.492
Then the Tails Persistent Storage behave tests pass 2.860
After features/support/hooks.rb:326 2.187
After features/support/hooks.rb:100 0.000
Tags: @product
48.721
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 15.195
When I log in to a new session without activating the Persistent Storage 23.735
Then Tails is running from USB drive "__internal" 0.991
And persistence is disabled 0.295
But a Tails persistence partition exists on USB drive "__internal" 8.503
After features/support/hooks.rb:326 0.993
After features/support/hooks.rb:100 0.000
Tags: @product
3:13.975
Before features/support/hooks.rb:269 0.017
Given I have started Tails without network from a USB drive without a persistent partition and logged in 12.103
Then Tails is running from USB drive "__internal" 0.413
When I create a file in the Persistent directory 0.142
And I create a persistent partition with the default settings 26.600
Then the file I created was copied to the Persistent Storage 0.482
When I shutdown Tails and wait for the computer to power off 13.023
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:20.537
Then persistence for "Persistent" is active 0.589
And the file I created in the Persistent directory exists 0.081
After features/support/hooks.rb:326 1.199
After features/support/hooks.rb:100 0.010
Tags: @product
1:14.376
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 16.494
And the system is very low on memory 4.980
When I create a file in the Persistent directory 2.005
When I try to create a persistent partition 23.777
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 1.721
When I close the Persistent Storage app 2.890
And I free up some memory 1.620
And I create a persistent partition with the default settings 20.570
Then the file I created was copied to the Persistent Storage 0.314
After features/support/hooks.rb:326 2.328
After features/support/hooks.rb:100 0.000
Tags: @product
3:49.631
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 14.497
Then Tails is running from USB drive "__internal" 0.402
And all tps features are active 8.763
And all persistent directories have safe access rights 2.771
When I disable the first tps feature 6.870
Then all tps features but the first one are active 8.693
And I shutdown Tails and wait for the computer to power off 18.812
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:44.880
Then all tps features but the first one are active 3.941
After features/support/hooks.rb:326 0.951
After features/support/hooks.rb:100 0.011
Tags: @product
21.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 11.182
Then persistence for "Persistent" is active 0.250
And I create a file in the Persistent directory 0.073
Then the file I created was copied to the Persistent Storage 0.077
When I disable the first tps feature 6.395
Then persistence for "Persistent" is not active 0.069
And the Persistent directory does not exist 0.052
When I enable the first tps feature 3.413
Then persistence for "Persistent" is active 0.073
And the file I created in the Persistent directory exists 0.071
After features/support/hooks.rb:326 1.059
After features/support/hooks.rb:100 0.000
Tags: @product
22.100
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.262
Then persistence for "Persistent" is active 0.289
When I create a file in the Persistent directory 0.065
And I disable the first tps feature 6.662
And I delete the data of the Persistent Folder feature 3.746
Then the file I created does not exist on the Persistent Storage 0.072
After features/support/hooks.rb:326 1.047
After features/support/hooks.rb:100 0.000
Tags: @product
1:18.328
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.274
And the network is plugged 1.306
And Tor is ready 22.051
And I take note of which tps features are available 1.454
When I write some files expected to persist 1.796
And I shutdown Tails and wait for the computer to power off 13.316
# 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" 28.128
After features/support/hooks.rb:326 0.145
After features/support/hooks.rb:100 0.000
Tags: @product
3:18.205
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 12.289
And the network is plugged 0.108
And Tor is ready 19.442
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.280
And I shutdown Tails and wait for the computer to power off 10.836
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.013
And I capture all network traffic 0.009
And the network is plugged 0.089
And Tor is ready 20.551
And I switch to the "persistent-con-current" NetworkManager connection 0.349
And the 1st network device has a spoofed MAC address configured 0.076
And no network device leaked the real MAC address 0.155
After features/support/hooks.rb:326 1.152
After features/support/hooks.rb:100 0.054
Tags: @product
1:26.794
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 36.848
And I enable persistence creation in Tails Greeter 1.169
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.098
Then I create a persistent partition with the default settings using the wizard that was already open 25.678
After features/support/hooks.rb:326 3.748
After features/support/hooks.rb:100 0.000
Tags: @product
6:15.895
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 42.706
When I enable persistence 47.243
Then no persistent Greeter options were restored 14.631
When I set all Greeter options to non-default values 28.222
And I log in to a new session in German (de) after having activated the Persistent Storage 52.522
Then all Greeter options are set to non-default values 0.611
When I cold reboot the computer 7.954
And the computer reboots Tails 1:15.645
Given I enable persistence 40.948
Then persistent Greeter options were restored 15.944
When I log in to a new session after having activated the Persistent Storage 48.831
Then all Greeter options are set to non-default values 0.633
After features/support/hooks.rb:326 1.285
After features/support/hooks.rb:100 0.011
Tags: @product
3:5.408
Scenario Changing the Persistent Storage passphrase
Before features/support/hooks.rb:269 0.009
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 13.693
# 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 38.372
And I shutdown Tails and wait for the computer to power off 15.490
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:57.851
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:292: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:123:in `Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase'
And I change the passphrase of the Persistent Storage back to the original 0.000
After features/support/hooks.rb:326 6.075

SCENARIO FAILED: 'Changing the Persistent Storage passphrase' (at time 03:33:41)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3550/artifact/build-artifacts/03:33:41_Changing_the_Persistent_Storage_passphrase.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3550/artifact/build-artifacts/03:33:41_Changing_the_Persistent_Storage_passphrase.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3550/artifact/build-artifacts/03:33:41_Changing_the_Persistent_Storage_passphrase.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3550/artifact/build-artifacts/03:33:41_Changing_the_Persistent_Storage_passphrase.journal

After features/support/hooks.rb:100 0.008
Tags: @product
1:6.506
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 16.633
And I log in to a new session without activating the Persistent Storage 25.209
Then persistence is disabled 0.311
But a Tails persistence partition exists on USB drive "__internal" 7.081
And all notifications have disappeared 8.712
When I delete the persistent partition 8.095
Then there is no persistence partition on USB drive "__internal" 0.462
After features/support/hooks.rb:326 1.217
After features/support/hooks.rb:100 0.000
Tags: @product
2:36.834
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 11.443
When I write some dotfile expected to persist 0.329
And I shutdown Tails and wait for the computer to power off 8.778
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.755
Then the expected persistent dotfile is present in the filesystem 0.527
After features/support/hooks.rb:326 1.081
After features/support/hooks.rb:100 0.010
Tags: @product
1:43.845
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 11.030
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.085
When I try to enable persistence 0.356
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 36.022
When I log in to a new session after having activated the Persistent Storage 36.787
And all notifications have disappeared 8.747
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.257
And all tps features are enabled 3.104
And all tps features but the first one are active 3.451
After features/support/hooks.rb:326 1.046
After features/support/hooks.rb:100 0.000
Tags: @product
5:30.295
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 4:0.746
And I enable persistence 38.114
And I log in to a new session after having activated the Persistent Storage 47.038
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 4.189
And persistence is enabled 0.206
After features/support/hooks.rb:326 1.606
After features/support/hooks.rb:100 0.000
Tags: @product
28.678
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.561
And I enable persistence but something goes wrong during the LUKS header upgrade 18.359
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.757
After features/support/hooks.rb:326 1.128
After features/support/hooks.rb:100 0.000
Tags: @product
46.710
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.240
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.802
When I enable persistence 31.121
Then the filesystem of the Persistent Storage was repaired 0.126
And persistence is successfully enabled 0.418
After features/support/hooks.rb:326 1.057
After features/support/hooks.rb:100 0.000
Tags: @product
28.702
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.176
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.256
When I try to enable persistence 1.692
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 7.111
When I repair the filesystem of the Persistent Storage 1.211
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.169
And the filesystem of the Persistent Storage was repaired 0.390
When I close the filesystem repair dialog 1.245
Then persistence is successfully enabled 0.448
After features/support/hooks.rb:326 0.843
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:43.544
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.406
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.122
When I try to enable persistence 0.365
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 32.108
When I repair the filesystem of the Persistent Storage 1.238
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.083
When I log in to a new session 32.698
And all notifications have disappeared 9.150
# 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" 1.505
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.990
When I close the "whisperback" window 2.032
Then the Tor Browser starts 9.669
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 4.173
After features/support/hooks.rb:326 1.743
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:12.432
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.269
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.607
And Tails detects disk read failures on the boot device 0.708
When I try to enable persistence 0.478
Then the Welcome Screen tells me that my hardware is probably failing 5.638
When I log in to a new session 21.120
And all notifications have disappeared 8.284
Then the Tor Browser starts 19.656
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.670
After features/support/hooks.rb:326 1.505
After features/support/hooks.rb:100 0.000