Project Number Date
test_Tails_ISO_devel 3562 26 Oct 2024, 13:07

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 156 1 0 0 0 157 20 1 21 1:2:20.611 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:15.969
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:37.103
And I update APT using apt 12.975
And I install "python3-behave" using apt 22.311
Then the Tails Persistent Storage behave tests pass 3.578
After features/support/hooks.rb:326 0.742
After features/support/hooks.rb:100 0.000
Tags: @product
49.789
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 13.549
When I log in to a new session without activating the Persistent Storage 26.490
Then Tails is running from USB drive "__internal" 1.099
And persistence is disabled 0.663
But a Tails persistence partition exists on USB drive "__internal" 7.986
After features/support/hooks.rb:326 1.241
After features/support/hooks.rb:100 0.000
Tags: @product
3:19.333
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 12.685
Then Tails is running from USB drive "__internal" 0.507
When I create a file in the Persistent directory 0.698
And I create a persistent partition with the default settings 23.887
Then the file I created was copied to the Persistent Storage 0.687
When I shutdown Tails and wait for the computer to power off 12.883
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:27.515
Then persistence for "Persistent" is active 0.395
And the file I created in the Persistent directory exists 0.071
After features/support/hooks.rb:326 0.868
After features/support/hooks.rb:100 0.009
Tags: @product
1:2.796
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 11.960
And the system is very low on memory 5.767
When I create a file in the Persistent directory 1.121
When I try to create a persistent partition 25.709
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.352
When I close the Persistent Storage app 2.658
And I free up some memory 1.643
And I create a persistent partition with the default settings 13.332
Then the file I created was copied to the Persistent Storage 0.250
After features/support/hooks.rb:326 1.463
After features/support/hooks.rb:100 0.000
Tags: @product
2:57.989
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.900
Then Tails is running from USB drive "__internal" 0.954
And all tps features are active 2.606
And all persistent directories have safe access rights 2.670
When I disable the first tps feature 6.520
Then all tps features but the first one are active 2.298
And I shutdown Tails and wait for the computer to power off 10.900
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:17.510
Then all tps features but the first one are active 2.627
After features/support/hooks.rb:326 1.141
After features/support/hooks.rb:100 0.013
Tags: @product
24.647
Before features/support/hooks.rb:269 0.009
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 12.452
Then persistence for "Persistent" is active 0.097
And I create a file in the Persistent directory 0.079
Then the file I created was copied to the Persistent Storage 0.086
When I disable the first tps feature 7.789
Then persistence for "Persistent" is not active 0.114
And the Persistent directory does not exist 0.069
When I enable the first tps feature 3.814
Then persistence for "Persistent" is active 0.070
And the file I created in the Persistent directory exists 0.073
After features/support/hooks.rb:326 0.746
After features/support/hooks.rb:100 0.000
Tags: @product
23.128
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.515
Then persistence for "Persistent" is active 0.094
When I create a file in the Persistent directory 0.085
And I disable the first tps feature 6.847
And I delete the data of the Persistent Folder feature 5.507
Then the file I created does not exist on the Persistent Storage 0.077
After features/support/hooks.rb:326 1.049
After features/support/hooks.rb:100 0.000
Tags: @product
1:15.152
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.459
And the network is plugged 0.072
And Tor is ready 25.630
And I take note of which tps features are available 0.649
When I write some files expected to persist 1.569
And I shutdown Tails and wait for the computer to power off 11.310
# 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.461
After features/support/hooks.rb:326 0.137
After features/support/hooks.rb:100 0.000
Tags: @product
3:24.756
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 10.907
And the network is plugged 0.110
And Tor is ready 23.899
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.238
And I shutdown Tails and wait for the computer to power off 11.084
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.717
And I capture all network traffic 0.009
And the network is plugged 0.093
And Tor is ready 21.088
And I switch to the "persistent-con-current" NetworkManager connection 0.358
And the 1st network device has a spoofed MAC address configured 0.112
And no network device leaked the real MAC address 0.135
After features/support/hooks.rb:326 0.610
After features/support/hooks.rb:100 0.048
Tags: @product
20:38.231
Scenario Creating persistence from the Welcome Screen
Before features/support/hooks.rb:269 0.005
Steps
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 15.068
And I enable persistence creation in Tails Greeter 1.161
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.790
Then I create a persistent partition with the default settings using the wizard that was already open 20:0.210
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/usb.rb:80:in `new'
./features/step_definitions/usb.rb:80:in `persistent_storage_frontend'
./features/step_definitions/usb.rb:84:in `persistent_storage_main_frame'
./features/step_definitions/usb.rb:349:in `/^I try to create a persistent partition( for Additional Software)?( using the wizard that was already open)?$/'
./features/step_definitions/usb.rb:333:in `/^I create a persistent partition( with the default settings)?( for Additional Software)?( using the wizard that was already open)?$/'
features/persistence.feature:100:in `Then I create a persistent partition with the default settings using the wizard that was already open'
After features/support/hooks.rb:326 11.109

SCENARIO FAILED: 'Creating persistence from the Welcome Screen' (at time 03:34:10)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3562/artifact/build-artifacts/03:34:10_Creating_persistence_from_the_Welcome_Screen.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3562/artifact/build-artifacts/03:34:10_Creating_persistence_from_the_Welcome_Screen.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3562/artifact/build-artifacts/03:34:10_Creating_persistence_from_the_Welcome_Screen.journal

After features/support/hooks.rb:100 0.000
Tags: @product
5:34.577
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 24.426
When I enable persistence 45.227
Then no persistent Greeter options were restored 14.989
When I set all Greeter options to non-default values 27.758
And I log in to a new session in German (de) after having activated the Persistent Storage 48.030
Then all Greeter options are set to non-default values 0.554
When I cold reboot the computer 10.000
And the computer reboots Tails 1:8.925
Given I enable persistence 35.217
Then persistent Greeter options were restored 15.728
When I log in to a new session after having activated the Persistent Storage 43.225
Then all Greeter options are set to non-default values 0.493
After features/support/hooks.rb:326 1.286
After features/support/hooks.rb:100 0.009
Tags: @product
3:56.504
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.236
# 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 41.243
And I shutdown Tails and wait for the computer to power off 12.894
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:15.005
And I change the passphrase of the Persistent Storage back to the original 35.124
After features/support/hooks.rb:326 1.353
After features/support/hooks.rb:100 0.010
Tags: @product
1:1.647
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.860
And I log in to a new session without activating the Persistent Storage 22.453
Then persistence is disabled 0.385
But a Tails persistence partition exists on USB drive "__internal" 8.268
And all notifications have disappeared 10.355
When I delete the persistent partition 6.847
Then there is no persistence partition on USB drive "__internal" 0.476
After features/support/hooks.rb:326 0.944
After features/support/hooks.rb:100 0.000
Tags: @product
2:37.399
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 12.233
When I write some dotfile expected to persist 0.059
And I shutdown Tails and wait for the computer to power off 9.022
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.707
Then the expected persistent dotfile is present in the filesystem 0.376
After features/support/hooks.rb:326 0.853
After features/support/hooks.rb:100 0.043
Tags: @product
1:46.977
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.303
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.086
When I try to enable persistence 1.448
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 35.105
When I log in to a new session after having activated the Persistent Storage 43.607
And all notifications have disappeared 7.982
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.361
And all tps features are enabled 2.841
And all tps features but the first one are active 2.240
After features/support/hooks.rb:326 1.305
After features/support/hooks.rb:100 0.000
Tags: @product
5:54.295
Before features/support/hooks.rb:269 0.007
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:22.554
And I enable persistence 47.128
And I log in to a new session after having activated the Persistent Storage 39.419
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 5.080
And persistence is enabled 0.113
After features/support/hooks.rb:326 1.189
After features/support/hooks.rb:100 0.000
Tags: @product
32.920
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 11.606
And I enable persistence but something goes wrong during the LUKS header upgrade 20.462
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.851
After features/support/hooks.rb:326 0.763
After features/support/hooks.rb:100 0.000
Tags: @product
43.651
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.095
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.986
When I enable persistence 28.084
Then the filesystem of the Persistent Storage was repaired 0.094
And persistence is successfully enabled 0.390
After features/support/hooks.rb:326 1.028
After features/support/hooks.rb:100 0.000
Tags: @product
26.788
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.188
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.895
When I try to enable persistence 0.543
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.770
When I repair the filesystem of the Persistent Storage 1.259
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.321
And the filesystem of the Persistent Storage was repaired 0.096
When I close the filesystem repair dialog 1.292
Then persistence is successfully enabled 0.419
After features/support/hooks.rb:326 0.977
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:59.243
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.942
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.114
When I try to enable persistence 1.448
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 34.936
When I repair the filesystem of the Persistent Storage 1.312
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.133
When I log in to a new session 45.024
And all notifications have disappeared 9.652
# 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.609
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 1.058
When I close the "whisperback" window 1.552
Then the Tor Browser starts 13.648
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.809
After features/support/hooks.rb:326 2.519
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:14.811
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.643
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.170
And Tails detects disk read failures on the boot device 1.726
When I try to enable persistence 0.400
Then the Welcome Screen tells me that my hardware is probably failing 5.826
When I log in to a new session 20.714
And all notifications have disappeared 8.448
Then the Tor Browser starts 21.261
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.619
After features/support/hooks.rb:326 3.735
After features/support/hooks.rb:100 0.000