Project Number Date
test_Tails_ISO_stable 4564 12 Dec 2023, 12:06

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 113 1 6 0 0 120 16 1 17 33:24.321 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:8.207
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.384
And I update APT using apt 18.091
And I install "python3-behave" using apt 20.172
Then the Tails Persistent Storage behave tests pass 4.558
After features/support/hooks.rb:291 0.786
After features/support/hooks.rb:75 0.000
Tags: @product
39.932
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.765
When I log in to a new session without activating the Persistent Storage 19.823
Then Tails is running from USB drive "__internal" 0.616
And persistence is disabled 0.201
But a Tails persistence partition exists on USB drive "__internal" 6.526
After features/support/hooks.rb:291 0.865
After features/support/hooks.rb:75 0.000
Tags: @product
2:55.434
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 12.435
Then Tails is running from USB drive "__internal" 0.576
When I create a file in the Persistent directory 0.194
And I create a persistent partition with the default settings 33.174
Then the file I created was copied to the Persistent Storage 0.444
When I shutdown Tails and wait for the computer to power off 14.104
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:54.127
Then persistence for "Persistent" is active 0.282
And the file I created in the Persistent directory exists 0.094
After features/support/hooks.rb:291 0.739
After features/support/hooks.rb:75 0.007
Tags: @product
1:13.850
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.428
And the system is very low on memory 3.124
When I create a file in the Persistent directory 1.079
When I try to create a persistent partition 25.913
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.226
When I close the Persistent Storage app 2.589
And I free up some memory 1.615
And I create a persistent partition with the default settings 24.579
Then the file I created was copied to the Persistent Storage 0.293
After features/support/hooks.rb:291 2.152
After features/support/hooks.rb:75 0.000
Tags: @product
2:34.764
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 10.123
Then Tails is running from USB drive "__internal" 0.417
And all tps features are active 2.320
And all persistent directories have safe access rights 2.983
When I disable the first tps feature 16.805
Then all tps features but the first one are active 2.307
And I shutdown Tails and wait for the computer to power off 6.068
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:50.635
Then all tps features but the first one are active 3.104
After features/support/hooks.rb:291 0.669
After features/support/hooks.rb:75 0.008
Tags: @product
41.956
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 10.127
Then persistence for "Persistent" is active 0.097
And I create a file in the Persistent directory 0.080
Then the file I created was copied to the Persistent Storage 0.056
When I disable the first tps feature 16.798
Then persistence for "Persistent" is not active 0.071
And the Persistent directory does not exist 0.082
When I enable the first tps feature 14.496
Then persistence for "Persistent" is active 0.070
And the file I created in the Persistent directory exists 0.076
After features/support/hooks.rb:291 0.723
After features/support/hooks.rb:75 0.000
Tags: @product
41.897
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.182
Then persistence for "Persistent" is active 0.137
When I create a file in the Persistent directory 0.094
And I disable the first tps feature 16.788
And I delete the data of the Persistent Folder feature 15.493
Then the file I created does not exist on the Persistent Storage 0.201
After features/support/hooks.rb:291 0.723
After features/support/hooks.rb:75 0.000
Tags: @product
59.317
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.401
And the network is plugged 0.034
And Tor is ready 15.354
And I take note of which tps features are available 0.695
When I write some files expected to persist 1.677
And I shutdown Tails and wait for the computer to power off 11.080
# 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" 21.072
After features/support/hooks.rb:291 0.097
After features/support/hooks.rb:75 0.000
Tags: @product
1:40.767
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 11.377
And the network is plugged 0.055
And Tor is ready 15.206
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.290
And I shutdown Tails and wait for the computer to power off 8.059
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:5.778
try_for() timeout expired (Timeout::Error)
./features/support/helpers/misc_helpers.rb:145:in `rescue in try_for'
./features/support/helpers/misc_helpers.rb:51:in `try_for'
./features/support/helpers/dogtail.rb:345:in `grabFocus'
./features/step_definitions/usb.rb:654:in `/^I try to enable persistence( with the changed passphrase)?$/'
./features/step_definitions/usb.rb:665:in `/^I enable persistence( with the changed passphrase)?$/'
./features/step_definitions/common_steps.rb:236: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 3.999

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

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4564/artifact/build-artifacts/03:05:13_Creating_and_using_a_persistent_NetworkManager_connection.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4564/artifact/build-artifacts/03:05:13_Creating_and_using_a_persistent_NetworkManager_connection.mkv

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4564/artifact/build-artifacts/03:05:13_Creating_and_using_a_persistent_NetworkManager_connection.boot-log

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4564/artifact/build-artifacts/03:05:13_Creating_and_using_a_persistent_NetworkManager_connection.journal

After features/support/hooks.rb:75 0.008
Tags: @product
1:21.934
Before features/support/hooks.rb:245 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 45.260
And I enable persistence creation in Tails Greeter 1.104
And I log in to a new session expecting no warning about the Persistent Storage not being activated 18.249
Then I create a persistent partition with the default settings using the wizard that was already open 17.320
After features/support/hooks.rb:291 1.273
After features/support/hooks.rb:75 0.000
Tags: @product
5:5.581
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 1:1.266
When I enable persistence 36.786
Then no persistent Greeter options were restored 14.668
When I set all Greeter options to non-default values 22.368
And I log in to a new session in German (de) after having activated the Persistent Storage 35.376
Then all Greeter options are set to non-default values 0.277
When I cold reboot the computer 5.153
And the computer reboots Tails 45.082
Given I enable persistence 49.591
Then persistent Greeter options were restored 14.688
When I log in to a new session after having activated the Persistent Storage 19.995
Then all Greeter options are set to non-default values 0.325
After features/support/hooks.rb:291 0.710
After features/support/hooks.rb:75 0.027
Tags: @product
3:44.424
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 10.305
# 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 43.520
And I shutdown Tails and wait for the computer to power off 10.584
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:53.702
And I change the passphrase of the Persistent Storage back to the original 46.311
After features/support/hooks.rb:291 2.696
After features/support/hooks.rb:75 0.011
Tags: @product
58.791
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 9.142
And I log in to a new session without activating the Persistent Storage 18.413
Then persistence is disabled 0.188
But a Tails persistence partition exists on USB drive "__internal" 5.860
And all notifications have disappeared 5.743
When I delete the persistent partition 19.128
Then there is no persistence partition on USB drive "__internal" 0.314
After features/support/hooks.rb:291 0.749
After features/support/hooks.rb:75 0.000
Tags: @product
2:4.496
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.476
When I write some dotfile expected to persist 0.104
And I shutdown Tails and wait for the computer to power off 5.085
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:49.511
Then the expected persistent dotfile is present in the filesystem 0.318
After features/support/hooks.rb:291 0.655
After features/support/hooks.rb:75 0.009
Tags: @product
1:19.534
Before features/support/hooks.rb:245 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 8.735
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.078
When I try to enable persistence 0.235
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 25.402
When I log in to a new session after having activated the Persistent Storage 25.270
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 15.232
And all tps features are enabled 2.334
And all tps features but the first one are active 2.243
After features/support/hooks.rb:291 1.430
After features/support/hooks.rb:75 0.000
Tags: @product
4:31.737
Before features/support/hooks.rb:245 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 3:23.293
And I enable persistence 32.308
And I log in to a new session after having activated the Persistent Storage 35.153
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.817
And persistence is enabled 0.164
After features/support/hooks.rb:291 0.885
After features/support/hooks.rb:75 0.000
Tags: @product
41.691
Before features/support/hooks.rb:245 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 10.560
And I enable persistence but something goes wrong during the LUKS header upgrade 30.318
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.812
After features/support/hooks.rb:291 0.711
After features/support/hooks.rb:75 0.000