Project Number Date
test_Tails_ISO_20268-more-early-patch-functionality 32 06 Apr 2024, 06:19

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 30:42.789 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:7.955
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:26.948
And I update APT using apt 19.007
And I install "python3-behave" using apt 19.224
Then the Tails Persistent Storage behave tests pass 2.774
After features/support/hooks.rb:305 0.615
After features/support/hooks.rb:89 0.000
Tags: @product
45.812
Before features/support/hooks.rb:259 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.240
When I log in to a new session without activating the Persistent Storage 29.455
Then Tails is running from USB drive "__internal" 0.648
And persistence is disabled 0.202
But a Tails persistence partition exists on USB drive "__internal" 5.265
After features/support/hooks.rb:305 1.037
After features/support/hooks.rb:89 0.000
Tags: @product
2:43.979
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.006
Then Tails is running from USB drive "__internal" 0.389
When I create a file in the Persistent directory 0.125
And I create a persistent partition with the default settings 22.929
Then the file I created was copied to the Persistent Storage 0.524
When I shutdown Tails and wait for the computer to power off 10.517
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:58.138
Then persistence for "Persistent" is active 0.285
And the file I created in the Persistent directory exists 0.062
After features/support/hooks.rb:305 1.061
After features/support/hooks.rb:89 0.010
Tags: @product
53.844
Before features/support/hooks.rb:259 0.007
Given I have started Tails without network from a USB drive without a persistent partition and logged in 10.172
And the system is very low on memory 3.238
When I create a file in the Persistent directory 1.094
When I try to create a persistent partition 20.986
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.679
When I close the Persistent Storage app 2.580
And I free up some memory 1.333
And I create a persistent partition with the default settings 13.550
Then the file I created was copied to the Persistent Storage 0.207
After features/support/hooks.rb:305 1.306
After features/support/hooks.rb:89 0.000
Tags: @product
2:21.477
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.920
Then Tails is running from USB drive "__internal" 0.369
And all tps features are active 1.943
And all persistent directories have safe access rights 2.543
When I disable the first tps feature 4.705
Then all tps features but the first one are active 1.922
And I shutdown Tails and wait for the computer to power off 6.481
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:51.633
Then all tps features but the first one are active 1.957
After features/support/hooks.rb:305 0.641
After features/support/hooks.rb:89 0.010
Tags: @product
18.390
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.574
Then persistence for "Persistent" is active 0.107
And I create a file in the Persistent directory 0.087
Then the file I created was copied to the Persistent Storage 0.097
When I disable the first tps feature 5.067
Then persistence for "Persistent" is not active 0.099
And the Persistent directory does not exist 0.059
When I enable the first tps feature 3.159
Then persistence for "Persistent" is active 0.066
And the file I created in the Persistent directory exists 0.071
After features/support/hooks.rb:305 0.732
After features/support/hooks.rb:89 0.000
Tags: @product
18.786
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.170
Then persistence for "Persistent" is active 0.109
When I create a file in the Persistent directory 0.074
And I disable the first tps feature 4.811
And I delete the data of the Persistent Folder feature 3.573
Then the file I created does not exist on the Persistent Storage 0.046
After features/support/hooks.rb:305 0.917
After features/support/hooks.rb:89 0.000
Tags: @product
47.611
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.183
And the network is plugged 0.050
And Tor is ready 14.689
And I take note of which tps features are available 0.560
When I write some files expected to persist 1.449
And I shutdown Tails and wait for the computer to power off 6.588
# 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" 15.090
After features/support/hooks.rb:305 0.119
After features/support/hooks.rb:89 0.000
Tags: @product
1:37.262
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 8.915
And the network is plugged 0.080
And Tor is ready 15.782
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.185
And I shutdown Tails and wait for the computer to power off 6.644
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:5.653
try_for() timeout expired (Timeout::Error)
./features/support/helpers/misc_helpers.rb:146:in `rescue in try_for'
./features/support/helpers/misc_helpers.rb:52:in `try_for'
./features/support/helpers/dogtail.rb:353:in `grabFocus'
./features/step_definitions/usb.rb:639:in `/^I try to enable persistence( with the changed passphrase)?$/'
./features/step_definitions/usb.rb:650:in `/^I enable persistence( with the changed passphrase)?$/'
./features/step_definitions/common_steps.rb:290: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 3.967

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

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20268-more-early-patch-functionality/32/artifact/build-artifacts/02:53:57_Creating_and_using_a_persistent_NetworkManager_connection.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20268-more-early-patch-functionality/32/artifact/build-artifacts/02:53:57_Creating_and_using_a_persistent_NetworkManager_connection.mkv

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_20268-more-early-patch-functionality/32/artifact/build-artifacts/02:53:57_Creating_and_using_a_persistent_NetworkManager_connection.boot-log

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20268-more-early-patch-functionality/32/artifact/build-artifacts/02:53:57_Creating_and_using_a_persistent_NetworkManager_connection.journal

After features/support/hooks.rb:89 0.008
Tags: @product
48.341
Before features/support/hooks.rb:259 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 10.158
And I enable persistence creation in Tails Greeter 1.102
And I log in to a new session expecting no warning about the Persistent Storage not being activated 15.718
Then I create a persistent partition with the default settings using the wizard that was already open 21.362
After features/support/hooks.rb:305 1.917
After features/support/hooks.rb:89 0.000
Tags: @product
4:53.987
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 11.850
When I enable persistence 47.607
Then no persistent Greeter options were restored 15.109
When I set all Greeter options to non-default values 24.421
And I log in to a new session in German (de) after having activated the Persistent Storage 45.044
Then all Greeter options are set to non-default values 0.436
When I cold reboot the computer 5.505
And the computer reboots Tails 1:3.602
Given I enable persistence 31.239
Then persistent Greeter options were restored 15.342
When I log in to a new session after having activated the Persistent Storage 32.940
Then all Greeter options are set to non-default values 0.886
After features/support/hooks.rb:305 1.241
After features/support/hooks.rb:89 0.011
Tags: @product
3:22.065
Before features/support/hooks.rb:259 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 8.994
# 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 34.887
And I shutdown Tails and wait for the computer to power off 12.449
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:53.403
And I change the passphrase of the Persistent Storage back to the original 32.331
After features/support/hooks.rb:305 2.357
After features/support/hooks.rb:89 0.012
Tags: @product
55.390
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 9.545
And I log in to a new session without activating the Persistent Storage 20.219
Then persistence is disabled 0.294
But a Tails persistence partition exists on USB drive "__internal" 8.551
And all notifications have disappeared 10.866
When I delete the persistent partition 5.514
Then there is no persistence partition on USB drive "__internal" 0.399
After features/support/hooks.rb:305 1.380
After features/support/hooks.rb:89 0.000
Tags: @product
2:8.629
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.371
When I write some dotfile expected to persist 0.074
And I shutdown Tails and wait for the computer to power off 6.484
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:52.399
Then the expected persistent dotfile is present in the filesystem 0.298
After features/support/hooks.rb:305 0.719
After features/support/hooks.rb:89 0.010
Tags: @product
1:34.574
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 8.807
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.080
When I try to enable persistence 1.307
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 30.597
When I log in to a new session after having activated the Persistent Storage 38.873
And all notifications have disappeared 7.459
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.332
And all tps features are enabled 2.222
And all tps features but the first one are active 1.892
After features/support/hooks.rb:305 1.020
After features/support/hooks.rb:89 0.000
Tags: @product
4:33.896
Before features/support/hooks.rb:259 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:24.470
And I enable persistence 28.878
And I log in to a new session after having activated the Persistent Storage 38.357
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.539
And persistence is enabled 0.650
After features/support/hooks.rb:305 1.151
After features/support/hooks.rb:89 0.000
Tags: @product
30.783
Before features/support/hooks.rb:259 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.597
And I enable persistence but something goes wrong during the LUKS header upgrade 21.484
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.701
After features/support/hooks.rb:305 0.686
After features/support/hooks.rb:89 0.000