Project Number Date
test_Tails_ISO_stable 4597 31 Dec 2023, 12:06

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 117 1 2 0 0 120 16 1 17 32:16.063 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:11.815
Before features/support/hooks.rb:245 0.004
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:28.750
And I update APT using apt 19.923
And I install "python3-behave" using apt 19.782
Then the Tails Persistent Storage behave tests pass 3.358
After features/support/hooks.rb:291 0.656
After features/support/hooks.rb:75 0.000
Tags: @product
34.227
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 10.766
When I log in to a new session without activating the Persistent Storage 17.940
Then Tails is running from USB drive "__internal" 0.374
And persistence is disabled 0.216
But a Tails persistence partition exists on USB drive "__internal" 4.930
After features/support/hooks.rb:291 0.627
After features/support/hooks.rb:75 0.000
Tags: @product
2:0.359
Scenario Creating a Persistent Storage
Before features/support/hooks.rb:245 0.005
Steps
Given I have started Tails without network from a USB drive without a persistent partition and logged in 10.639
Then Tails is running from USB drive "__internal" 0.465
When I create a file in the Persistent directory 0.152
And I create a persistent partition with the default settings 34.950
Then the file I created was copied to the Persistent Storage 0.416
When 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 1:4.676
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:26:in `And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled'
Then persistence for "Persistent" is active 0.000
And the file I created in the Persistent directory exists 0.000
After features/support/hooks.rb:291 4.072

SCENARIO FAILED: 'Creating a Persistent Storage' (at time 02:55:36)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4597/artifact/build-artifacts/02:55:36_Creating_a_Persistent_Storage.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4597/artifact/build-artifacts/02:55:36_Creating_a_Persistent_Storage.mkv

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4597/artifact/build-artifacts/02:55:36_Creating_a_Persistent_Storage.boot-log

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4597/artifact/build-artifacts/02:55:36_Creating_a_Persistent_Storage.journal

After features/support/hooks.rb:75 0.009
Tags: @product
1:8.338
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.512
And the system is very low on memory 2.255
When I create a file in the Persistent directory 1.410
When I try to create a persistent partition 25.341
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.164
When I close the Persistent Storage app 2.551
And I free up some memory 2.105
And I create a persistent partition with the default settings 22.737
Then the file I created was copied to the Persistent Storage 0.260
After features/support/hooks.rb:291 1.214
After features/support/hooks.rb:75 0.000
Tags: @product
2:39.597
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 10.146
Then Tails is running from USB drive "__internal" 0.440
And all tps features are active 2.553
And all persistent directories have safe access rights 2.921
When I disable the first tps feature 16.708
Then all tps features but the first one are active 2.201
And I shutdown Tails and wait for the computer to power off 5.173
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:57.184
Then all tps features but the first one are active 2.266
After features/support/hooks.rb:291 0.673
After features/support/hooks.rb:75 0.008
Tags: @product
40.503
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 8.397
Then persistence for "Persistent" is active 0.091
And I create a file in the Persistent directory 0.100
Then the file I created was copied to the Persistent Storage 0.078
When I disable the first tps feature 16.377
Then persistence for "Persistent" is not active 0.077
And the Persistent directory does not exist 0.056
When I enable the first tps feature 15.153
Then persistence for "Persistent" is active 0.080
And the file I created in the Persistent directory exists 0.090
After features/support/hooks.rb:291 0.742
After features/support/hooks.rb:75 0.000
Tags: @product
43.008
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.855
Then persistence for "Persistent" is active 0.101
When I create a file in the Persistent directory 0.097
And I disable the first tps feature 16.499
And I delete the data of the Persistent Folder feature 15.220
Then the file I created does not exist on the Persistent Storage 0.232
After features/support/hooks.rb:291 0.995
After features/support/hooks.rb:75 0.000
Tags: @product
51.212
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.178
And the network is plugged 0.046
And Tor is ready 17.525
And I take note of which tps features are available 0.753
When I write some files expected to persist 1.764
And I shutdown Tails and wait for the computer to power off 7.073
# 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" 14.869
After features/support/hooks.rb:291 0.119
After features/support/hooks.rb:75 0.000
Tags: @product
2:38.782
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.334
And the network is plugged 0.045
And Tor is ready 13.119
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.312
And I shutdown Tails and wait for the computer to power off 5.061
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:55.790
And I capture all network traffic 0.010
And the network is plugged 0.684
And Tor is ready 13.564
And I switch to the "persistent-con-current" NetworkManager connection 0.501
And the 1st network device has a spoofed MAC address configured 0.130
And no network device leaked the real MAC address 0.226
After features/support/hooks.rb:291 1.174
After features/support/hooks.rb:75 0.043
Tags: @product
1:16.893
Before features/support/hooks.rb:245 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 40.204
And I enable persistence creation in Tails Greeter 1.180
And I log in to a new session expecting no warning about the Persistent Storage not being activated 17.410
Then I create a persistent partition with the default settings using the wizard that was already open 18.097
After features/support/hooks.rb:291 1.352
After features/support/hooks.rb:75 0.000
Tags: @product
4:16.019
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 13.003
When I enable persistence 34.210
Then no persistent Greeter options were restored 14.278
When I set all Greeter options to non-default values 23.322
And I log in to a new session in German (de) after having activated the Persistent Storage 34.459
Then all Greeter options are set to non-default values 0.255
When I cold reboot the computer 5.042
And the computer reboots Tails 48.449
Given I enable persistence 47.785
Then persistent Greeter options were restored 14.388
When I log in to a new session after having activated the Persistent Storage 20.423
Then all Greeter options are set to non-default values 0.400
After features/support/hooks.rb:291 0.788
After features/support/hooks.rb:75 0.009
Tags: @product
3:40.902
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.444
# 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 46.670
And I shutdown Tails and wait for the computer to power off 10.794
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:47.182
And I change the passphrase of the Persistent Storage back to the original 46.810
After features/support/hooks.rb:291 1.154
After features/support/hooks.rb:75 0.009
Tags: @product
59.202
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 9.516
And I log in to a new session without activating the Persistent Storage 21.147
Then persistence is disabled 0.183
But a Tails persistence partition exists on USB drive "__internal" 5.674
And all notifications have disappeared 4.869
When I delete the persistent partition 17.467
Then there is no persistence partition on USB drive "__internal" 0.343
After features/support/hooks.rb:291 1.083
After features/support/hooks.rb:75 0.000
Tags: @product
2:5.318
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 10.563
When I write some dotfile expected to persist 0.125
And I shutdown Tails and wait for the computer to power off 5.074
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:49.197
Then the expected persistent dotfile is present in the filesystem 0.356
After features/support/hooks.rb:291 0.718
After features/support/hooks.rb:75 0.025
Tags: @product
1:20.031
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.417
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.049
When I try to enable persistence 0.235
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 24.421
When I log in to a new session after having activated the Persistent Storage 24.152
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 17.366
And all tps features are enabled 2.314
And all tps features but the first one are active 2.074
After features/support/hooks.rb:291 0.898
After features/support/hooks.rb:75 0.000
Tags: @product
4:28.147
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:28.285
And I enable persistence 30.828
And I log in to a new session after having activated the Persistent Storage 28.188
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.729
And persistence is enabled 0.115
After features/support/hooks.rb:291 0.847
After features/support/hooks.rb:75 0.000
Tags: @product
41.704
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 9.113
And I enable persistence but something goes wrong during the LUKS header upgrade 31.810
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.780
After features/support/hooks.rb:291 0.665
After features/support/hooks.rb:75 0.000