Project Number Date
test_Tails_ISO_stable 5365 03 Jan 2025, 12:58

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 146 2 9 0 0 157 19 2 21 1:17:7.278 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:11.531
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:30.476
And I update APT using apt 13.551
And I install "python3-behave" using apt 25.443
Then the Tails Persistent Storage behave tests pass 2.059
After features/support/hooks.rb:326 0.647
After features/support/hooks.rb:100 0.000
Tags: @product
48.778
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.548
When I log in to a new session without activating the Persistent Storage 23.456
Then Tails is running from USB drive "__internal" 0.858
And persistence is disabled 0.348
But a Tails persistence partition exists on USB drive "__internal" 12.566
After features/support/hooks.rb:326 1.493
After features/support/hooks.rb:100 0.000
Tags: @product
3:1.981
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.990
Then Tails is running from USB drive "__internal" 0.362
When I create a file in the Persistent directory 0.140
And I create a persistent partition with the default settings 22.743
Then the file I created was copied to the Persistent Storage 0.511
When I shutdown Tails and wait for the computer to power off 10.559
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.416
Then persistence for "Persistent" is active 1.194
And the file I created in the Persistent directory exists 0.063
After features/support/hooks.rb:326 1.081
After features/support/hooks.rb:100 0.011
Tags: @product
57.026
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.356
And the system is very low on memory 5.199
When I create a file in the Persistent directory 1.015
When I try to create a persistent partition 21.455
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.309
When I close the Persistent Storage app 2.566
And I free up some memory 1.738
And I create a persistent partition with the default settings 13.169
Then the file I created was copied to the Persistent Storage 0.214
After features/support/hooks.rb:326 1.258
After features/support/hooks.rb:100 0.000
Tags: @product
2:45.511
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.807
Then Tails is running from USB drive "__internal" 0.797
And all tps features are active 2.328
And all persistent directories have safe access rights 3.175
When I disable the first tps feature 5.285
Then all tps features but the first one are active 2.138
And I shutdown Tails and wait for the computer to power off 8.628
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.165
Then all tps features but the first one are active 2.183
After features/support/hooks.rb:326 0.694
After features/support/hooks.rb:100 0.021
Tags: @product
18.092
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 9.113
Then persistence for "Persistent" is active 0.104
And I create a file in the Persistent directory 0.066
Then the file I created was copied to the Persistent Storage 0.093
When I disable the first tps feature 5.329
Then persistence for "Persistent" is not active 0.084
And the Persistent directory does not exist 0.045
When I enable the first tps feature 3.123
Then persistence for "Persistent" is active 0.073
And the file I created in the Persistent directory exists 0.058
After features/support/hooks.rb:326 0.635
After features/support/hooks.rb:100 0.000
Tags: @product
19.487
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 9.751
Then persistence for "Persistent" is active 0.109
When I create a file in the Persistent directory 0.076
And I disable the first tps feature 5.716
And I delete the data of the Persistent Folder feature 3.705
Then the file I created does not exist on the Persistent Storage 0.128
After features/support/hooks.rb:326 0.755
After features/support/hooks.rb:100 0.000
Tags: @product
1:4.170
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.250
And the network is plugged 0.177
And Tor is ready 20.019
And I take note of which tps features are available 0.587
When I write some files expected to persist 1.416
And I shutdown Tails and wait for the computer to power off 8.579
# 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" 24.138
After features/support/hooks.rb:326 0.085
After features/support/hooks.rb:100 0.000
Tags: @product
22:35.064
Scenario Creating and using a persistent NetworkManager connection
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 9.374
And the network is plugged 0.101
And Tor is ready 19.700
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.190
And I shutdown Tails and wait for the computer to power off 8.462
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 21:57.235
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:88:in `Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled'
And I capture all network traffic 0.000
And the network is plugged 0.000
And Tor is ready 0.000
And I switch to the "persistent-con-current" NetworkManager connection 0.000
And the 1st network device has a spoofed MAC address configured 0.000
And no network device leaked the real MAC address 0.000
After features/support/hooks.rb:326 10.800

SCENARIO FAILED: 'Creating and using a persistent NetworkManager connection' (at time 03:25:25)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5365/artifact/build-artifacts/03:25:25_Creating_and_using_a_persistent_NetworkManager_connection.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5365/artifact/build-artifacts/03:25:25_Creating_and_using_a_persistent_NetworkManager_connection.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5365/artifact/build-artifacts/03:25:25_Creating_and_using_a_persistent_NetworkManager_connection.journal

After features/support/hooks.rb:100 0.008
Tags: @product
52.733
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 12.366
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 18.821
Then I create a persistent partition with the default settings using the wizard that was already open 20.411
After features/support/hooks.rb:326 1.487
After features/support/hooks.rb:100 0.000
Tags: @product
4:21.604
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.156
When I enable persistence 35.213
Then no persistent Greeter options were restored 14.057
When I set all Greeter options to non-default values 24.914
And I log in to a new session in German (de) after having activated the Persistent Storage 46.443
Then all Greeter options are set to non-default values 0.389
When I cold reboot the computer 7.294
And the computer reboots Tails 1:0.952
Given I enable persistence 18.345
Then persistent Greeter options were restored 0.512
When I log in to a new session after having activated the Persistent Storage 41.755
Then all Greeter options are set to non-default values 0.567
After features/support/hooks.rb:326 0.764
After features/support/hooks.rb:100 0.008
Tags: @product
3:30.614
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 9.587
# 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 30.476
And I shutdown Tails and wait for the computer to power off 12.321
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:4.568
And I change the passphrase of the Persistent Storage back to the original 33.660
After features/support/hooks.rb:326 1.703
After features/support/hooks.rb:100 0.008
Tags: @product
58.305
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.782
And I log in to a new session without activating the Persistent Storage 21.238
Then persistence is disabled 0.345
But a Tails persistence partition exists on USB drive "__internal" 10.267
And all notifications have disappeared 9.644
When I delete the persistent partition 5.513
Then there is no persistence partition on USB drive "__internal" 0.513
After features/support/hooks.rb:326 0.935
After features/support/hooks.rb:100 0.000
Tags: @product
2:30.812
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 9.603
When I write some dotfile expected to persist 0.081
And I shutdown Tails and wait for the computer to power off 8.934
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.780
Then the expected persistent dotfile is present in the filesystem 0.412
After features/support/hooks.rb:326 0.730
After features/support/hooks.rb:100 0.009
Tags: @product
21:20.399
Scenario Feature activation fails
Before features/support/hooks.rb:269 0.005
Steps
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.779
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.079
When I try to enable persistence 0.264
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 31.055
When I log in to a new session after having activated the Persistent Storage 39.926
And all notifications have disappeared 20:0.294
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/persistence.feature:148:in `And all notifications have disappeared'
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 10.812

SCENARIO FAILED: 'Feature activation fails' (at time 03:59:16)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5365/artifact/build-artifacts/03:59:16_Feature_activation_fails.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5365/artifact/build-artifacts/03:59:16_Feature_activation_fails.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5365/artifact/build-artifacts/03:59:16_Feature_activation_fails.journal

After features/support/hooks.rb:100 0.000
Tags: @product
4:47.592
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 3:27.553
And I enable persistence 30.246
And I log in to a new session after having activated the Persistent Storage 43.949
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.247
And persistence is enabled 3.594
After features/support/hooks.rb:326 0.905
After features/support/hooks.rb:100 0.000
Tags: @product
31.866
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 8.568
And I enable persistence but something goes wrong during the LUKS header upgrade 22.533
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.764
After features/support/hooks.rb:326 1.081
After features/support/hooks.rb:100 0.000
Tags: @product
46.888
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.581
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.012
When I enable persistence 28.771
Then the filesystem of the Persistent Storage was repaired 0.095
And persistence is successfully enabled 2.427
After features/support/hooks.rb:326 0.856
After features/support/hooks.rb:100 0.000
Tags: @product
25.335
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.406
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.033
When I try to enable persistence 0.416
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.367
When I repair the filesystem of the Persistent Storage 1.255
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.225
And the filesystem of the Persistent Storage was repaired 0.066
When I close the filesystem repair dialog 1.192
Then persistence is successfully enabled 1.369
After features/support/hooks.rb:326 1.725
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:50.301
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.297
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.098
When I try to enable persistence 0.253
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.961
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.068
When I log in to a new session 41.711
And all notifications have disappeared 9.916
# 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.396
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.850
When I close the "whisperback" window 1.533
Then the Tor Browser starts 16.152
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.823
After features/support/hooks.rb:326 2.470
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:9.180
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.926
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.911
And Tails detects disk read failures on the boot device 1.511
When I try to enable persistence 0.429
Then the Welcome Screen tells me that my hardware is probably failing 5.164
When I log in to a new session 19.197
And all notifications have disappeared 7.013
Then the Tor Browser starts 20.163
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.861
After features/support/hooks.rb:326 2.396
After features/support/hooks.rb:100 0.000