Project Number Date
test_Tails_ISO_devel 3556 21 Oct 2024, 13:07

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 1:14.030 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:17.289
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:35.801
And I update APT using apt 13.248
And I install "python3-behave" using apt 25.457
Then the Tails Persistent Storage behave tests pass 2.780
After features/support/hooks.rb:326 0.645
After features/support/hooks.rb:100 0.000
Tags: @product
43.685
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 11.679
When I log in to a new session without activating the Persistent Storage 22.401
Then Tails is running from USB drive "__internal" 0.717
And persistence is disabled 0.421
But a Tails persistence partition exists on USB drive "__internal" 8.464
After features/support/hooks.rb:326 2.853
After features/support/hooks.rb:100 0.000
Tags: @product
3:4.274
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.995
Then Tails is running from USB drive "__internal" 0.564
When I create a file in the Persistent directory 0.240
And I create a persistent partition with the default settings 23.665
Then the file I created was copied to the Persistent Storage 0.523
When I shutdown Tails and wait for the computer to power off 12.947
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.838
Then persistence for "Persistent" is active 0.426
And the file I created in the Persistent directory exists 0.072
After features/support/hooks.rb:326 1.327
After features/support/hooks.rb:100 0.008
Tags: @product
59.952
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 12.926
And the system is very low on memory 5.275
When I create a file in the Persistent directory 1.112
When I try to create a persistent partition 23.080
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.209
When I close the Persistent Storage app 2.619
And I free up some memory 1.163
And I create a persistent partition with the default settings 13.329
Then the file I created was copied to the Persistent Storage 0.236
After features/support/hooks.rb:326 1.568
After features/support/hooks.rb:100 0.000
Tags: @product
22:32.527
Scenario Booting Tails from a USB drive with an enabled persistent partition and reconfiguring it
Before features/support/hooks.rb:269 0.006
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.787
Then Tails is running from USB drive "__internal" 0.452
And all tps features are active 2.546
And all persistent directories have safe access rights 2.635
When I disable the first tps feature 6.027
Then all tps features but the first one are active 2.114
And I shutdown Tails and wait for the computer to power off 10.916
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 21:57.047
execution expired (RemoteShell::Timeout)
./features/support/helpers/remote_shell.rb:56:in `read'
./features/support/helpers/remote_shell.rb:56:in `block (3 levels) in communicate'
./features/support/helpers/remote_shell.rb:55:in `block (2 levels) in communicate'
./features/support/helpers/remote_shell.rb:42:in `loop'
./features/support/helpers/remote_shell.rb:42:in `block in communicate'
./features/support/helpers/remote_shell.rb:37:in `communicate'
./features/support/helpers/remote_shell.rb:174:in `execute'
./features/support/helpers/remote_shell.rb:185:in `initialize'
./features/support/helpers/dogtail.rb:80:in `new'
./features/support/helpers/dogtail.rb:80:in `run'
./features/support/helpers/dogtail.rb:70:in `initialize'
./features/step_definitions/common_steps.rb:712:in `new'
./features/step_definitions/common_steps.rb:712:in `/^all notifications have disappeared$/'
./features/step_definitions/common_steps.rb:298: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:49:in `And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled'
Then all tps features but the first one are active 0.000
After features/support/hooks.rb:326 10.895

SCENARIO FAILED: 'Booting Tails from a USB drive with an enabled persistent partition and reconfiguring it' (at time 03:24:45)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3556/artifact/build-artifacts/03:24:45_Booting_Tails_from_a_USB_drive_with_an_enabled_persistent_partition_and_reconfiguring_it.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3556/artifact/build-artifacts/03:24:45_Booting_Tails_from_a_USB_drive_with_an_enabled_persistent_partition_and_reconfiguring_it.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3556/artifact/build-artifacts/03:24:45_Booting_Tails_from_a_USB_drive_with_an_enabled_persistent_partition_and_reconfiguring_it.journal

After features/support/hooks.rb:100 0.007
Tags: @product
21.961
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.874
Then persistence for "Persistent" is active 0.088
And I create a file in the Persistent directory 0.091
Then the file I created was copied to the Persistent Storage 0.059
When I disable the first tps feature 6.133
Then persistence for "Persistent" is not active 0.111
And the Persistent directory does not exist 0.055
When I enable the first tps feature 3.367
Then persistence for "Persistent" is active 0.113
And the file I created in the Persistent directory exists 0.065
After features/support/hooks.rb:326 0.839
After features/support/hooks.rb:100 0.000
Tags: @product
20.242
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 9.017
Then persistence for "Persistent" is active 0.115
When I create a file in the Persistent directory 0.104
And I disable the first tps feature 6.644
And I delete the data of the Persistent Folder feature 4.254
Then the file I created does not exist on the Persistent Storage 0.105
After features/support/hooks.rb:326 0.982
After features/support/hooks.rb:100 0.000
Tags: @product
1:14.711
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 9.281
And the network is plugged 0.071
And Tor is ready 22.519
And I take note of which tps features are available 0.586
When I write some files expected to persist 1.541
And I shutdown Tails and wait for the computer to power off 15.570
# 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.140
After features/support/hooks.rb:326 0.094
After features/support/hooks.rb:100 0.000
Tags: @product
3:9.119
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.701
And the network is plugged 0.082
And Tor is ready 20.562
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.232
And I shutdown Tails and wait for the computer to power off 11.262
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.021
And I capture all network traffic 0.007
And the network is plugged 0.094
And Tor is ready 19.582
And I switch to the "persistent-con-current" NetworkManager connection 0.368
And the 1st network device has a spoofed MAC address configured 0.074
And no network device leaked the real MAC address 0.128
After features/support/hooks.rb:326 0.704
After features/support/hooks.rb:100 0.047
Tags: @product
1:51.901
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 1:6.824
And I enable persistence creation in Tails Greeter 1.590
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.462
Then I create a persistent partition with the default settings using the wizard that was already open 22.023
After features/support/hooks.rb:326 2.120
After features/support/hooks.rb:100 0.000
Tags: @product
4:54.474
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 13.616
When I enable persistence 40.995
Then no persistent Greeter options were restored 14.639
When I set all Greeter options to non-default values 24.853
And I log in to a new session in German (de) after having activated the Persistent Storage 45.128
Then all Greeter options are set to non-default values 0.603
When I cold reboot the computer 7.493
And the computer reboots Tails 1:0.393
Given I enable persistence 33.476
Then persistent Greeter options were restored 14.911
When I log in to a new session after having activated the Persistent Storage 37.991
Then all Greeter options are set to non-default values 0.372
After features/support/hooks.rb:326 0.854
After features/support/hooks.rb:100 0.009
Tags: @product
3:31.671
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.824
# 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 33.050
And I shutdown Tails and wait for the computer to power off 12.748
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:7.029
And I change the passphrase of the Persistent Storage back to the original 29.019
After features/support/hooks.rb:326 2.320
After features/support/hooks.rb:100 0.007
Tags: @product
59.403
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 10.830
And I log in to a new session without activating the Persistent Storage 23.514
Then persistence is disabled 0.426
But a Tails persistence partition exists on USB drive "__internal" 8.488
And all notifications have disappeared 9.413
When I delete the persistent partition 6.256
Then there is no persistence partition on USB drive "__internal" 0.473
After features/support/hooks.rb:326 0.946
After features/support/hooks.rb:100 0.000
Tags: @product
2:28.195
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.075
When I write some dotfile expected to persist 0.085
And I shutdown Tails and wait for the computer to power off 8.820
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.787
Then the expected persistent dotfile is present in the filesystem 0.426
After features/support/hooks.rb:326 0.922
After features/support/hooks.rb:100 0.008
Tags: @product
1:38.628
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.667
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.084
When I try to enable persistence 0.265
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 32.815
When I log in to a new session after having activated the Persistent Storage 38.364
And all notifications have disappeared 8.507
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.125
And all tps features are enabled 2.616
And all tps features but the first one are active 2.181
After features/support/hooks.rb:326 2.430
After features/support/hooks.rb:100 0.000
Tags: @product
5:25.882
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:56.683
And I enable persistence 41.603
And I log in to a new session after having activated the Persistent Storage 44.477
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.882
And persistence is enabled 0.235
After features/support/hooks.rb:326 1.392
After features/support/hooks.rb:100 0.000
Tags: @product
31.105
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.253
And I enable persistence but something goes wrong during the LUKS header upgrade 21.039
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.812
After features/support/hooks.rb:326 0.739
After features/support/hooks.rb:100 0.000
Tags: @product
47.464
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.214
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 7.782
When I enable persistence 29.963
Then the filesystem of the Persistent Storage was repaired 0.096
And persistence is successfully enabled 0.408
After features/support/hooks.rb:326 1.042
After features/support/hooks.rb:100 0.000
Tags: @product
28.221
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.131
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.026
When I try to enable persistence 0.412
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 7.419
When I repair the filesystem of the Persistent Storage 1.253
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.241
And the filesystem of the Persistent Storage was repaired 0.073
When I close the filesystem repair dialog 1.260
Then persistence is successfully enabled 0.402
After features/support/hooks.rb:326 0.916
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:42.363
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.491
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.100
When I try to enable persistence 0.357
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 30.525
When I repair the filesystem of the Persistent Storage 1.276
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.082
When I log in to a new session 34.243
And all notifications have disappeared 7.974
# 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.872
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.780
When I close the "whisperback" window 1.485
Then the Tor Browser starts 14.404
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.767
After features/support/hooks.rb:326 2.090
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:10.954
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.483
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.753
And Tails detects disk read failures on the boot device 0.541
When I try to enable persistence 0.424
Then the Welcome Screen tells me that my hardware is probably failing 5.405
When I log in to a new session 21.498
And all notifications have disappeared 7.712
Then the Tor Browser starts 20.381
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.754
After features/support/hooks.rb:326 1.673
After features/support/hooks.rb:100 0.000