Project Number Date
test_Tails_ISO_feature-arti 6 21 Nov 2024, 17:32

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 150 1 6 0 0 157 20 1 21 1:4:19.298 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:29.836
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.593
And I update APT using apt 15.848
And I install "python3-behave" using apt 26.434
Then the Tails Persistent Storage behave tests pass 2.961
After features/support/hooks.rb:326 0.960
After features/support/hooks.rb:100 0.000
Tags: @product
1:27.467
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 46.039
When I log in to a new session without activating the Persistent Storage 24.901
Then Tails is running from USB drive "__internal" 0.566
And persistence is disabled 0.466
But a Tails persistence partition exists on USB drive "__internal" 15.493
After features/support/hooks.rb:326 2.895
After features/support/hooks.rb:100 0.000
Tags: @product
3:39.650
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 33.207
Then Tails is running from USB drive "__internal" 0.698
When I create a file in the Persistent directory 0.139
And I create a persistent partition with the default settings 25.953
Then the file I created was copied to the Persistent Storage 0.804
When I shutdown Tails and wait for the computer to power off 14.735
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:22.951
Then persistence for "Persistent" is active 1.061
And the file I created in the Persistent directory exists 0.099
After features/support/hooks.rb:326 1.135
After features/support/hooks.rb:100 0.011
Tags: @product
1:4.774
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 13.764
And the system is very low on memory 5.529
When I create a file in the Persistent directory 1.273
When I try to create a persistent partition 26.512
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.322
When I close the Persistent Storage app 2.565
And I free up some memory 1.526
And I create a persistent partition with the default settings 12.994
Then the file I created was copied to the Persistent Storage 0.284
After features/support/hooks.rb:326 1.216
After features/support/hooks.rb:100 0.000
Tags: @product
3:5.098
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.082
Then Tails is running from USB drive "__internal" 0.525
And all tps features are active 2.497
And all persistent directories have safe access rights 2.487
When I disable the first tps feature 6.844
Then all tps features but the first one are active 2.337
And I shutdown Tails and wait for the computer to power off 11.129
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:25.602
Then all tps features but the first one are active 2.592
After features/support/hooks.rb:326 1.159
After features/support/hooks.rb:100 0.013
Tags: @product
20.178
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.156
Then persistence for "Persistent" is active 0.189
And I create a file in the Persistent directory 0.160
Then the file I created was copied to the Persistent Storage 0.077
When I disable the first tps feature 6.109
Then persistence for "Persistent" is not active 0.119
And the Persistent directory does not exist 0.062
When I enable the first tps feature 3.154
Then persistence for "Persistent" is active 0.071
And the file I created in the Persistent directory exists 0.077
After features/support/hooks.rb:326 0.740
After features/support/hooks.rb:100 0.000
Tags: @product
19.773
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 9.659
Then persistence for "Persistent" is active 0.097
When I create a file in the Persistent directory 0.139
And I disable the first tps feature 5.902
And I delete the data of the Persistent Folder feature 3.914
Then the file I created does not exist on the Persistent Storage 0.061
After features/support/hooks.rb:326 0.855
After features/support/hooks.rb:100 0.000
Tags: @product
1:10.823
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.444
And the network is plugged 0.122
And Tor is ready 22.053
And I take note of which tps features are available 0.632
When I write some files expected to persist 1.601
And I shutdown Tails and wait for the computer to power off 10.785
# 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" 26.182
After features/support/hooks.rb:326 0.105
After features/support/hooks.rb:100 0.000
Tags: @product
22:42.149
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.427
And the network is plugged 0.110
And Tor is ready 20.564
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.327
And I shutdown Tails and wait for the computer to power off 8.566
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 22:3.153
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:723:in `new'
./features/step_definitions/common_steps.rb:723:in `/^all notifications have disappeared$/'
./features/step_definitions/common_steps.rb:309: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.836

SCENARIO FAILED: 'Creating and using a persistent NetworkManager connection' (at time 04:29:46)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/6/artifact/build-artifacts/04:29:46_Creating_and_using_a_persistent_NetworkManager_connection.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/6/artifact/build-artifacts/04:29:46_Creating_and_using_a_persistent_NetworkManager_connection.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/6/artifact/build-artifacts/04:29:46_Creating_and_using_a_persistent_NetworkManager_connection.journal

After features/support/hooks.rb:100 0.011
Tags: @product
1:4.790
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 14.929
And I enable persistence creation in Tails Greeter 1.223
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.752
Then I create a persistent partition with the default settings using the wizard that was already open 25.886
After features/support/hooks.rb:326 2.005
After features/support/hooks.rb:100 0.000
Tags: @product
5:2.281
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.209
When I enable persistence 46.663
Then no persistent Greeter options were restored 14.472
When I set all Greeter options to non-default values 27.066
And I log in to a new session in German (de) after having activated the Persistent Storage 1:0.816
Then all Greeter options are set to non-default values 0.497
When I cold reboot the computer 7.374
And the computer reboots Tails 1:10.354
Given I enable persistence 20.893
Then persistent Greeter options were restored 0.560
When I log in to a new session after having activated the Persistent Storage 39.008
Then all Greeter options are set to non-default values 0.364
After features/support/hooks.rb:326 0.994
After features/support/hooks.rb:100 0.007
Tags: @product
3:36.239
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 10.376
# 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 32.365
And I shutdown Tails and wait for the computer to power off 15.053
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:6.703
And I change the passphrase of the Persistent Storage back to the original 31.740
After features/support/hooks.rb:326 2.539
After features/support/hooks.rb:100 0.008
Tags: @product
1:5.547
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.993
And I log in to a new session without activating the Persistent Storage 22.758
Then persistence is disabled 0.323
But a Tails persistence partition exists on USB drive "__internal" 12.530
And all notifications have disappeared 11.965
When I delete the persistent partition 6.535
Then there is no persistence partition on USB drive "__internal" 0.441
After features/support/hooks.rb:326 1.003
After features/support/hooks.rb:100 0.000
Tags: @product
2:41.430
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.323
When I write some dotfile expected to persist 0.075
And I shutdown Tails and wait for the computer to power off 11.202
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:18.977
Then the expected persistent dotfile is present in the filesystem 0.851
After features/support/hooks.rb:326 0.711
After features/support/hooks.rb:100 0.010
Tags: @product
1:59.700
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.477
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.103
When I try to enable persistence 0.313
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 35.025
When I log in to a new session after having activated the Persistent Storage 52.803
And all notifications have disappeared 7.786
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.220
And all tps features are enabled 5.278
And all tps features but the first one are active 4.690
After features/support/hooks.rb:326 1.639
After features/support/hooks.rb:100 0.000
Tags: @product
7:4.613
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 5:40.159
And I enable persistence 33.918
And I log in to a new session after having activated the Persistent Storage 45.338
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.483
And persistence is enabled 2.713
After features/support/hooks.rb:326 1.072
After features/support/hooks.rb:100 0.000
Tags: @product
35.588
Before features/support/hooks.rb:269 0.009
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.085
And I enable persistence but something goes wrong during the LUKS header upgrade 25.696
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.806
After features/support/hooks.rb:326 0.847
After features/support/hooks.rb:100 0.000
Tags: @product
51.057
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.784
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 4.960
When I enable persistence 33.244
Then the filesystem of the Persistent Storage was repaired 0.099
And persistence is successfully enabled 2.969
After features/support/hooks.rb:326 1.229
After features/support/hooks.rb:100 0.000
Tags: @product
33.939
Before features/support/hooks.rb:269 0.013
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.141
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.190
When I try to enable persistence 0.500
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 12.109
When I repair the filesystem of the Persistent Storage 1.293
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.371
And the filesystem of the Persistent Storage was repaired 0.843
When I close the filesystem repair dialog 1.947
Then persistence is successfully enabled 1.541
After features/support/hooks.rb:326 0.776
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:49.865
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.849
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.101
When I try to enable persistence 0.319
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 35.593
When I repair the filesystem of the Persistent Storage 2.279
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.081
When I log in to a new session 33.695
And all notifications have disappeared 7.812
# 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.458
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.296
When I close the "whisperback" window 1.687
Then the Tor Browser starts 16.784
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.906
After features/support/hooks.rb:326 2.517
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:34.492
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 11.539
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 20.562
And Tails detects disk read failures on the boot device 1.650
When I try to enable persistence 0.438
Then the Welcome Screen tells me that my hardware is probably failing 8.868
When I log in to a new session 24.708
And all notifications have disappeared 7.578
Then the Tor Browser starts 18.411
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.733
After features/support/hooks.rb:326 1.631
After features/support/hooks.rb:100 0.000