Project Number Date
test_Tails_ISO_feature-arti 3 18 Nov 2024, 16:51

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:5.835 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:14.956
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:32.593
And I update APT using apt 13.249
And I install "python3-behave" using apt 26.306
Then the Tails Persistent Storage behave tests pass 2.807
After features/support/hooks.rb:326 0.733
After features/support/hooks.rb:100 0.000
Tags: @product
46.774
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 12.514
When I log in to a new session without activating the Persistent Storage 26.658
Then Tails is running from USB drive "__internal" 0.422
And persistence is disabled 0.359
But a Tails persistence partition exists on USB drive "__internal" 6.819
After features/support/hooks.rb:326 1.209
After features/support/hooks.rb:100 0.000
Tags: @product
3:6.337
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 11.736
Then Tails is running from USB drive "__internal" 0.404
When I create a file in the Persistent directory 0.159
And I create a persistent partition with the default settings 24.255
Then the file I created was copied to the Persistent Storage 0.577
When I shutdown Tails and wait for the computer to power off 12.718
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.966
Then persistence for "Persistent" is active 0.402
And the file I created in the Persistent directory exists 0.117
After features/support/hooks.rb:326 0.825
After features/support/hooks.rb:100 0.007
Tags: @product
55.066
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.671
And the system is very low on memory 4.298
When I create a file in the Persistent directory 0.878
When I try to create a persistent partition 19.351
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.278
When I close the Persistent Storage app 2.613
And I free up some memory 1.531
And I create a persistent partition with the default settings 13.178
Then the file I created was copied to the Persistent Storage 0.265
After features/support/hooks.rb:326 1.045
After features/support/hooks.rb:100 0.000
Tags: @product
2:46.529
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 11.509
Then Tails is running from USB drive "__internal" 0.502
And all tps features are active 2.452
And all persistent directories have safe access rights 3.208
When I disable the first tps feature 6.088
Then all tps features but the first one are active 2.035
And I shutdown Tails and wait for the computer to power off 11.031
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.436
Then all tps features but the first one are active 2.264
After features/support/hooks.rb:326 0.876
After features/support/hooks.rb:100 0.009
Tags: @product
19.446
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.077
Then persistence for "Persistent" is active 0.066
And I create a file in the Persistent directory 0.140
Then the file I created was copied to the Persistent Storage 0.090
When I disable the first tps feature 5.640
Then persistence for "Persistent" is not active 0.098
And the Persistent directory does not exist 0.065
When I enable the first tps feature 3.108
Then persistence for "Persistent" is active 0.091
And the file I created in the Persistent directory exists 0.067
After features/support/hooks.rb:326 0.926
After features/support/hooks.rb:100 0.000
Tags: @product
19.772
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.969
Then persistence for "Persistent" is active 0.130
When I create a file in the Persistent directory 0.069
And I disable the first tps feature 5.676
And I delete the data of the Persistent Folder feature 3.859
Then the file I created does not exist on the Persistent Storage 0.067
After features/support/hooks.rb:326 1.084
After features/support/hooks.rb:100 0.000
Tags: @product
1:33.325
Before features/support/hooks.rb:269 0.014
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.096
And the network is plugged 0.093
And Tor is ready 47.660
And I take note of which tps features are available 0.724
When I write some files expected to persist 1.463
And I shutdown Tails and wait for the computer to power off 8.925
# 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.360
After features/support/hooks.rb:326 0.143
After features/support/hooks.rb:100 0.000
Tags: @product
3:17.403
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.909
And the network is plugged 0.091
And Tor is ready 18.161
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.198
And I shutdown Tails and wait for the computer to power off 9.211
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.690
And I capture all network traffic 0.014
And the network is plugged 0.103
And Tor is ready 23.359
And I switch to the "persistent-con-current" NetworkManager connection 0.345
And the 1st network device has a spoofed MAC address configured 0.103
And no network device leaked the real MAC address 0.212
After features/support/hooks.rb:326 0.601
After features/support/hooks.rb:100 0.050
Tags: @product
1:5.371
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 17.091
And I enable persistence creation in Tails Greeter 1.842
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.441
Then I create a persistent partition with the default settings using the wizard that was already open 22.995
After features/support/hooks.rb:326 1.703
After features/support/hooks.rb:100 0.000
Tags: @product
4:41.955
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 13.844
When I enable persistence 44.022
Then no persistent Greeter options were restored 14.212
When I set all Greeter options to non-default values 25.621
And I log in to a new session in German (de) after having activated the Persistent Storage 53.632
Then all Greeter options are set to non-default values 0.430
When I cold reboot the computer 7.846
And the computer reboots Tails 1:2.938
Given I enable persistence 18.015
Then persistent Greeter options were restored 0.584
When I log in to a new session after having activated the Persistent Storage 40.303
Then all Greeter options are set to non-default values 0.503
After features/support/hooks.rb:326 1.067
After features/support/hooks.rb:100 0.008
Tags: @product
22:58.987
Scenario Changing the Persistent Storage passphrase
Before features/support/hooks.rb:269 0.004
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.571
# 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 31.846
And I shutdown Tails and wait for the computer to power off 12.591
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 22:3.977
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: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 10.915

SCENARIO FAILED: 'Changing the Persistent Storage passphrase' (at time 04:27:52)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/3/artifact/build-artifacts/04:27:52_Changing_the_Persistent_Storage_passphrase.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/3/artifact/build-artifacts/04:27:52_Changing_the_Persistent_Storage_passphrase.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/3/artifact/build-artifacts/04:27:52_Changing_the_Persistent_Storage_passphrase.journal

After features/support/hooks.rb:100 0.007
Tags: @product
1:8.459
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 12.199
And I log in to a new session without activating the Persistent Storage 22.624
Then persistence is disabled 0.329
But a Tails persistence partition exists on USB drive "__internal" 11.823
And all notifications have disappeared 13.523
When I delete the persistent partition 7.484
Then there is no persistence partition on USB drive "__internal" 0.474
After features/support/hooks.rb:326 0.936
After features/support/hooks.rb:100 0.000
Tags: @product
2:39.116
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 11.366
When I write some dotfile expected to persist 0.079
And I shutdown Tails and wait for the computer to power off 11.014
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.245
Then the expected persistent dotfile is present in the filesystem 0.409
After features/support/hooks.rb:326 1.231
After features/support/hooks.rb:100 0.011
Tags: @product
1:54.827
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.007
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.083
When I try to enable persistence 0.271
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 32.839
When I log in to a new session after having activated the Persistent Storage 53.984
And all notifications have disappeared 7.978
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.208
And all tps features are enabled 2.281
And all tps features but the first one are active 2.173
After features/support/hooks.rb:326 0.849
After features/support/hooks.rb:100 0.000
Tags: @product
5:9.914
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:39.570
And I enable persistence 37.440
And I log in to a new session after having activated the Persistent Storage 47.105
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.150
And persistence is enabled 2.648
After features/support/hooks.rb:326 2.088
After features/support/hooks.rb:100 0.000
Tags: @product
36.018
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 8.540
And I enable persistence but something goes wrong during the LUKS header upgrade 26.640
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.838
After features/support/hooks.rb:326 0.820
After features/support/hooks.rb:100 0.000
Tags: @product
46.522
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.221
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.318
When I enable persistence 28.839
Then the filesystem of the Persistent Storage was repaired 0.120
And persistence is successfully enabled 3.022
After features/support/hooks.rb:326 1.035
After features/support/hooks.rb:100 0.000
Tags: @product
30.918
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.746
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 10.126
When I try to enable persistence 0.474
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.365
When I repair the filesystem of the Persistent Storage 1.259
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.193
And the filesystem of the Persistent Storage was repaired 0.060
When I close the filesystem repair dialog 1.264
Then persistence is successfully enabled 1.427
After features/support/hooks.rb:326 0.889
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:58.059
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.034
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.129
When I try to enable persistence 1.359
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 33.346
When I repair the filesystem of the Persistent Storage 1.263
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.082
When I log in to a new session 43.702
And all notifications have disappeared 10.828
# 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.835
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.959
When I close the "whisperback" window 1.424
Then the Tor Browser starts 14.277
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.815
After features/support/hooks.rb:326 2.969
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:16.070
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 11.003
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.979
And Tails detects disk read failures on the boot device 0.517
When I try to enable persistence 0.458
Then the Welcome Screen tells me that my hardware is probably failing 6.126
When I log in to a new session 20.860
And all notifications have disappeared 8.158
Then the Tor Browser starts 22.236
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.729
After features/support/hooks.rb:326 1.081
After features/support/hooks.rb:100 0.000