Project Number Date
test_Tails_ISO_stable 4767 04 Apr 2024, 12:27

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 114 1 6 0 0 121 16 1 17 58:18.764 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:11.362
Before features/support/hooks.rb:245 0.007
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:25.621
And I update APT using apt 20.934
And I install "python3-behave" using apt 22.439
Then the Tails Persistent Storage behave tests pass 2.367
After features/support/hooks.rb:291 0.673
After features/support/hooks.rb:75 0.000
Tags: @product
42.962
Before features/support/hooks.rb:245 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 12.359
When I log in to a new session without activating the Persistent Storage 23.107
Then Tails is running from USB drive "__internal" 0.543
And persistence is disabled 0.403
But a Tails persistence partition exists on USB drive "__internal" 6.548
After features/support/hooks.rb:291 1.157
After features/support/hooks.rb:75 0.000
Tags: @product
3:0.252
Before features/support/hooks.rb:245 0.005
Given I have started Tails without network from a USB drive without a persistent partition and logged in 14.132
Then Tails is running from USB drive "__internal" 0.527
When I create a file in the Persistent directory 0.126
And I create a persistent partition with the default settings 25.723
Then the file I created was copied to the Persistent Storage 0.477
When I shutdown Tails and wait for the computer to power off 10.859
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.073
Then persistence for "Persistent" is active 0.256
And the file I created in the Persistent directory exists 0.074
After features/support/hooks.rb:291 0.640
After features/support/hooks.rb:75 0.012
Tags: @product
55.971
Before features/support/hooks.rb:245 0.007
Given I have started Tails without network from a USB drive without a persistent partition and logged in 11.029
And the system is very low on memory 3.265
When I create a file in the Persistent directory 1.839
When I try to create a persistent partition 21.314
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.169
When I close the Persistent Storage app 2.516
And I free up some memory 1.560
And I create a persistent partition with the default settings 14.033
Then the file I created was copied to the Persistent Storage 0.243
After features/support/hooks.rb:291 1.585
After features/support/hooks.rb:75 0.000
Tags: @product
2:24.687
Before features/support/hooks.rb:245 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 14.511
Then Tails is running from USB drive "__internal" 0.302
And all tps features are active 2.341
And all persistent directories have safe access rights 3.147
When I disable the first tps feature 4.683
Then all tps features but the first one are active 2.001
And I shutdown Tails and wait for the computer to power off 6.775
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:48.842
Then all tps features but the first one are active 2.082
After features/support/hooks.rb:291 0.560
After features/support/hooks.rb:75 0.007
Tags: @product
17.552
Before features/support/hooks.rb:245 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.276
Then persistence for "Persistent" is active 0.123
And I create a file in the Persistent directory 0.097
Then the file I created was copied to the Persistent Storage 0.092
When I disable the first tps feature 4.595
Then persistence for "Persistent" is not active 0.066
And the Persistent directory does not exist 0.050
When I enable the first tps feature 3.090
Then persistence for "Persistent" is active 0.066
And the file I created in the Persistent directory exists 0.094
After features/support/hooks.rb:291 0.635
After features/support/hooks.rb:75 0.000
Tags: @product
18.018
Before features/support/hooks.rb:245 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.450
Then persistence for "Persistent" is active 0.074
When I create a file in the Persistent directory 0.090
And I disable the first tps feature 4.870
And I delete the data of the Persistent Folder feature 3.458
Then the file I created does not exist on the Persistent Storage 0.073
After features/support/hooks.rb:291 0.721
After features/support/hooks.rb:75 0.000
Tags: @product
55.745
Before features/support/hooks.rb:245 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.471
And the network is plugged 0.044
And Tor is ready 19.861
And I take note of which tps features are available 1.583
When I write some files expected to persist 1.485
And I shutdown Tails and wait for the computer to power off 6.942
# 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" 16.355
After features/support/hooks.rb:291 0.129
After features/support/hooks.rb:75 0.000
Tags: @product
22:16.203
Scenario Creating and using a persistent NetworkManager connection
Before features/support/hooks.rb:245 0.007
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.631
And the network is plugged 0.082
And Tor is ready 19.144
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 6.423
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 21:40.688
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:713:in `new'
./features/step_definitions/common_steps.rb:713:in `/^all notifications have disappeared$/'
./features/step_definitions/common_steps.rb:297: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:291 9.861

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

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4767/artifact/build-artifacts/03:20:53_Creating_and_using_a_persistent_NetworkManager_connection.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4767/artifact/build-artifacts/03:20:53_Creating_and_using_a_persistent_NetworkManager_connection.mkv

After features/support/hooks.rb:75 0.010
Tags: @product
1:2.067
Before features/support/hooks.rb:245 0.008
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 12.606
And I enable persistence creation in Tails Greeter 1.115
And I log in to a new session expecting no warning about the Persistent Storage not being activated 19.279
Then I create a persistent partition with the default settings using the wizard that was already open 29.065
After features/support/hooks.rb:291 2.652
After features/support/hooks.rb:75 0.000
Tags: @product
4:41.407
Before features/support/hooks.rb:245 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.786
When I enable persistence 35.049
Then no persistent Greeter options were restored 15.379
When I set all Greeter options to non-default values 21.837
And I log in to a new session in German (de) after having activated the Persistent Storage 49.972
Then all Greeter options are set to non-default values 0.766
When I cold reboot the computer 7.646
And the computer reboots Tails 57.372
Given I enable persistence 30.855
Then persistent Greeter options were restored 15.326
When I log in to a new session after having activated the Persistent Storage 33.888
Then all Greeter options are set to non-default values 0.525
After features/support/hooks.rb:291 1.195
After features/support/hooks.rb:75 0.010
Tags: @product
3:59.627
Before features/support/hooks.rb:245 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.359
# 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.672
And I shutdown Tails and wait for the computer to power off 12.959
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:22.054
And I change the passphrase of the Persistent Storage back to the original 41.580
After features/support/hooks.rb:291 2.570
After features/support/hooks.rb:75 0.012
Tags: @product
51.042
Before features/support/hooks.rb:245 0.008
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 10.757
And I log in to a new session without activating the Persistent Storage 19.812
Then persistence is disabled 0.375
But a Tails persistence partition exists on USB drive "__internal" 5.317
And all notifications have disappeared 7.975
When I delete the persistent partition 6.392
Then there is no persistence partition on USB drive "__internal" 0.411
After features/support/hooks.rb:291 0.953
After features/support/hooks.rb:75 0.000
Tags: @product
2:10.281
Before features/support/hooks.rb:245 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.923
When I write some dotfile expected to persist 0.158
And I shutdown Tails and wait for the computer to power off 6.786
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:53.041
Then the expected persistent dotfile is present in the filesystem 0.371
After features/support/hooks.rb:291 0.942
After features/support/hooks.rb:75 0.012
Tags: @product
1:35.689
Before features/support/hooks.rb:245 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 10.243
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.090
When I try to enable persistence 0.262
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 31.206
When I log in to a new session after having activated the Persistent Storage 36.416
And all notifications have disappeared 9.623
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.254
And all tps features are enabled 2.580
And all tps features but the first one are active 2.010
After features/support/hooks.rb:291 0.811
After features/support/hooks.rb:75 0.000
Tags: @product
10:19.535
Before features/support/hooks.rb:245 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 9:3.751
And I enable persistence 33.457
And I log in to a new session after having activated the Persistent Storage 40.265
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.516
And persistence is enabled 0.544
After features/support/hooks.rb:291 1.347
After features/support/hooks.rb:75 0.000
Tags: @product
36.357
Before features/support/hooks.rb:245 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 10.854
And I enable persistence but something goes wrong during the LUKS header upgrade 24.518
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.984
After features/support/hooks.rb:291 0.755
After features/support/hooks.rb:75 0.000