Project Number Date
test_Tails_ISO_20268-more-early-patch-functionality 68 08 May 2024, 07:11

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 56:46.578 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:25.999
Before features/support/hooks.rb:259 0.005
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:39.017
And I update APT using apt 18.653
And I install "python3-behave" using apt 25.531
Then the Tails Persistent Storage behave tests pass 2.796
After features/support/hooks.rb:305 0.618
After features/support/hooks.rb:89 0.000
Tags: @product
40.183
Before features/support/hooks.rb:259 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.739
When I log in to a new session without activating the Persistent Storage 21.024
Then Tails is running from USB drive "__internal" 0.433
And persistence is disabled 0.464
But a Tails persistence partition exists on USB drive "__internal" 6.521
After features/support/hooks.rb:305 1.140
After features/support/hooks.rb:89 0.000
Tags: @product
3:26.942
Before features/support/hooks.rb:259 0.006
Given I have started Tails without network from a USB drive without a persistent partition and logged in 11.873
Then Tails is running from USB drive "__internal" 0.487
When I create a file in the Persistent directory 0.138
And I create a persistent partition with the default settings 31.906
Then the file I created was copied to the Persistent Storage 0.623
When I shutdown Tails and wait for the computer to power off 15.909
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:25.605
Then persistence for "Persistent" is active 0.331
And the file I created in the Persistent directory exists 0.066
After features/support/hooks.rb:305 0.673
After features/support/hooks.rb:89 0.009
Tags: @product
1:6.455
Before features/support/hooks.rb:259 0.004
Given I have started Tails without network from a USB drive without a persistent partition and logged in 11.504
And the system is very low on memory 5.022
When I create a file in the Persistent directory 1.603
When I try to create a persistent partition 28.042
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.160
When I close the Persistent Storage app 2.535
And I free up some memory 1.774
And I create a persistent partition with the default settings 15.591
Then the file I created was copied to the Persistent Storage 0.221
After features/support/hooks.rb:305 1.334
After features/support/hooks.rb:89 0.000
Tags: @product
2:59.596
Before features/support/hooks.rb:259 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 13.807
Then Tails is running from USB drive "__internal" 0.372
And all tps features are active 7.227
And all persistent directories have safe access rights 2.350
When I disable the first tps feature 5.639
Then all tps features but the first one are active 6.804
And I shutdown Tails and wait for the computer to power off 13.045
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.980
Then all tps features but the first one are active 3.367
After features/support/hooks.rb:305 0.656
After features/support/hooks.rb:89 0.008
Tags: @product
18.480
Before features/support/hooks.rb:259 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.286
Then persistence for "Persistent" is active 0.098
And I create a file in the Persistent directory 0.076
Then the file I created was copied to the Persistent Storage 0.077
When I disable the first tps feature 5.509
Then persistence for "Persistent" is not active 0.078
And the Persistent directory does not exist 0.068
When I enable the first tps feature 3.148
Then persistence for "Persistent" is active 0.070
And the file I created in the Persistent directory exists 0.065
After features/support/hooks.rb:305 0.748
After features/support/hooks.rb:89 0.000
Tags: @product
19.512
Before features/support/hooks.rb:259 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.853
Then persistence for "Persistent" is active 0.218
When I create a file in the Persistent directory 0.075
And I disable the first tps feature 5.739
And I delete the data of the Persistent Folder feature 3.574
Then the file I created does not exist on the Persistent Storage 0.051
After features/support/hooks.rb:305 0.844
After features/support/hooks.rb:89 0.000
Tags: @product
1:4.384
Before features/support/hooks.rb:259 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.232
And the network is plugged 0.045
And Tor is ready 17.088
And I take note of which tps features are available 3.166
When I write some files expected to persist 1.460
And I shutdown Tails and wait for the computer to power off 8.836
# 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.554
After features/support/hooks.rb:305 0.147
After features/support/hooks.rb:89 0.000
Tags: @product
22:44.576
Scenario Creating and using a persistent NetworkManager connection
Before features/support/hooks.rb:259 0.006
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.071
And the network is plugged 0.042
And Tor is ready 20.168
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.261
And I shutdown Tails and wait for the computer to power off 8.701
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 22:5.331
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:711:in `new'
./features/step_definitions/common_steps.rb:711:in `/^all notifications have disappeared$/'
./features/step_definitions/common_steps.rb:295: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:305 10.005

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

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20268-more-early-patch-functionality/68/artifact/build-artifacts/03:32:52_Creating_and_using_a_persistent_NetworkManager_connection.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20268-more-early-patch-functionality/68/artifact/build-artifacts/03:32:52_Creating_and_using_a_persistent_NetworkManager_connection.mkv

After features/support/hooks.rb:89 0.012
Tags: @product
1:10.901
Before features/support/hooks.rb:259 0.009
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 14.669
And I enable persistence creation in Tails Greeter 1.560
And I log in to a new session expecting no warning about the Persistent Storage not being activated 25.715
Then I create a persistent partition with the default settings using the wizard that was already open 28.955
After features/support/hooks.rb:305 2.003
After features/support/hooks.rb:89 0.000
Tags: @product
5:12.225
Before features/support/hooks.rb:259 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 13.173
When I enable persistence 48.011
Then no persistent Greeter options were restored 15.217
When I set all Greeter options to non-default values 22.805
And I log in to a new session in German (de) after having activated the Persistent Storage 52.054
Then all Greeter options are set to non-default values 0.343
When I cold reboot the computer 8.245
And the computer reboots Tails 1:6.804
Given I enable persistence 33.117
Then persistent Greeter options were restored 16.175
When I log in to a new session after having activated the Persistent Storage 35.754
Then all Greeter options are set to non-default values 0.523
After features/support/hooks.rb:305 1.012
After features/support/hooks.rb:89 0.009
Tags: @product
3:44.521
Before features/support/hooks.rb:259 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 15.059
# 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.623
And I shutdown Tails and wait for the computer to power off 13.287
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:5.588
And I change the passphrase of the Persistent Storage back to the original 37.962
After features/support/hooks.rb:305 2.575
After features/support/hooks.rb:89 0.009
Tags: @product
59.407
Before features/support/hooks.rb:259 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.938
And I log in to a new session without activating the Persistent Storage 20.547
Then persistence is disabled 0.535
But a Tails persistence partition exists on USB drive "__internal" 11.496
And all notifications have disappeared 9.882
When I delete the persistent partition 6.537
Then there is no persistence partition on USB drive "__internal" 0.469
After features/support/hooks.rb:305 1.133
After features/support/hooks.rb:89 0.000
Tags: @product
2:33.068
Before features/support/hooks.rb:259 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.050
When I write some dotfile expected to persist 0.060
And I shutdown Tails and wait for the computer to power off 9.058
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.418
Then the expected persistent dotfile is present in the filesystem 0.481
After features/support/hooks.rb:305 1.181
After features/support/hooks.rb:89 0.011
Tags: @product
1:46.177
Before features/support/hooks.rb:259 0.009
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.662
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.220
When I try to enable persistence 0.471
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 39.094
When I log in to a new session after having activated the Persistent Storage 39.210
And all notifications have disappeared 8.734
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.688
And all tps features are enabled 2.717
And all tps features but the first one are active 2.378
After features/support/hooks.rb:305 1.221
After features/support/hooks.rb:89 0.000
Tags: @product
5:36.996
Before features/support/hooks.rb:259 0.008
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:14.580
And I enable persistence 37.603
And I log in to a new session after having activated the Persistent Storage 43.073
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.554
And persistence is enabled 0.184
After features/support/hooks.rb:305 2.344
After features/support/hooks.rb:89 0.000
Tags: @product
37.148
Before features/support/hooks.rb:259 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 9.047
And I enable persistence but something goes wrong during the LUKS header upgrade 27.312
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.787
After features/support/hooks.rb:305 0.884
After features/support/hooks.rb:89 0.000