Project Number Date
test_Tails_ISO_stable 4604 07 Jan 2024, 12:32

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 118 1 1 0 0 120 16 1 17 32:32.409 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:5.617
Before features/support/hooks.rb:245 0.006
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:22.471
And I update APT using apt 17.803
And I install "python3-behave" using apt 23.023
Then the Tails Persistent Storage behave tests pass 2.318
After features/support/hooks.rb:291 0.669
After features/support/hooks.rb:75 0.000
Tags: @product
47.540
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 10.307
When I log in to a new session without activating the Persistent Storage 29.484
Then Tails is running from USB drive "__internal" 0.650
And persistence is disabled 0.237
But a Tails persistence partition exists on USB drive "__internal" 6.859
After features/support/hooks.rb:291 0.811
After features/support/hooks.rb:75 0.000
Tags: @product
2:53.024
Before features/support/hooks.rb:245 0.004
Given I have started Tails without network from a USB drive without a persistent partition and logged in 13.280
Then Tails is running from USB drive "__internal" 0.978
When I create a file in the Persistent directory 0.155
And I create a persistent partition with the default settings 32.293
Then the file I created was copied to the Persistent Storage 0.496
When I shutdown Tails and wait for the computer to power off 10.116
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:55.298
Then persistence for "Persistent" is active 0.317
And the file I created in the Persistent directory exists 0.086
After features/support/hooks.rb:291 0.937
After features/support/hooks.rb:75 0.008
Tags: @product
1:9.586
Before features/support/hooks.rb:245 0.006
Given I have started Tails without network from a USB drive without a persistent partition and logged in 10.222
And the system is very low on memory 2.189
When I create a file in the Persistent directory 0.661
When I try to create a persistent partition 25.001
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.159
When I close the Persistent Storage app 2.550
And I free up some memory 1.642
And I create a persistent partition with the default settings 26.626
Then the file I created was copied to the Persistent Storage 0.533
After features/support/hooks.rb:291 1.184
After features/support/hooks.rb:75 0.000
Tags: @product
2:39.269
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 11.939
Then Tails is running from USB drive "__internal" 0.476
And all tps features are active 2.561
And all persistent directories have safe access rights 2.923
When I disable the first tps feature 16.693
Then all tps features but the first one are active 2.421
And I shutdown Tails and wait for the computer to power off 5.086
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:54.741
Then all tps features but the first one are active 2.425
After features/support/hooks.rb:291 0.798
After features/support/hooks.rb:75 0.010
Tags: @product
43.984
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.555
Then persistence for "Persistent" is active 0.101
And I create a file in the Persistent directory 0.102
Then the file I created was copied to the Persistent Storage 0.077
When I disable the first tps feature 18.819
Then persistence for "Persistent" is not active 0.096
And the Persistent directory does not exist 0.069
When I enable the first tps feature 15.023
Then persistence for "Persistent" is active 0.071
And the file I created in the Persistent directory exists 0.068
After features/support/hooks.rb:291 0.768
After features/support/hooks.rb:75 0.000
Tags: @product
42.716
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.731
Then persistence for "Persistent" is active 0.123
When I create a file in the Persistent directory 0.080
And I disable the first tps feature 16.999
And I delete the data of the Persistent Folder feature 15.544
Then the file I created does not exist on the Persistent Storage 0.235
After features/support/hooks.rb:291 0.868
After features/support/hooks.rb:75 0.000
Tags: @product
1:16.706
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 9.368
And the network is plugged 0.048
And Tor is ready 44.223
And I take note of which tps features are available 0.685
When I write some files expected to persist 1.505
And I shutdown Tails and wait for the computer to power off 6.068
# 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.807
After features/support/hooks.rb:291 0.156
After features/support/hooks.rb:75 0.000
Tags: @product
2:30.064
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.026
And the network is plugged 0.075
And Tor is ready 14.009
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.360
And I shutdown Tails and wait for the computer to power off 6.097
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:45.145
And I capture all network traffic 0.010
And the network is plugged 0.039
And Tor is ready 14.583
And I switch to the "persistent-con-current" NetworkManager connection 0.273
And the 1st network device has a spoofed MAC address configured 0.187
And no network device leaked the real MAC address 0.256
After features/support/hooks.rb:291 0.714
After features/support/hooks.rb:75 0.073
Tags: @product
52.064
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 10.894
And I enable persistence creation in Tails Greeter 1.134
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.310
Then I create a persistent partition with the default settings using the wizard that was already open 16.725
After features/support/hooks.rb:291 1.188
After features/support/hooks.rb:75 0.000
Tags: @product
4:30.517
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 13.261
When I enable persistence 35.137
Then no persistent Greeter options were restored 13.957
When I set all Greeter options to non-default values 26.303
And I log in to a new session in German (de) after having activated the Persistent Storage 34.789
Then all Greeter options are set to non-default values 0.334
When I cold reboot the computer 6.167
And the computer reboots Tails 46.072
Given I enable persistence 50.885
Then persistent Greeter options were restored 14.638
When I log in to a new session after having activated the Persistent Storage 28.766
Then all Greeter options are set to non-default values 0.203
After features/support/hooks.rb:291 0.743
After features/support/hooks.rb:75 0.010
Tags: @product
2:14.015
Scenario Changing the Persistent Storage passphrase
Before features/support/hooks.rb:245 0.006
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.277
# 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 47.278
And I shutdown Tails and wait for the computer to power off 12.887
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:4.571
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:237: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:123:in `Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase'
And I change the passphrase of the Persistent Storage back to the original 0.000
After features/support/hooks.rb:291 4.161

SCENARIO FAILED: 'Changing the Persistent Storage passphrase' (at time 03:15:17)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4604/artifact/build-artifacts/03:15:17_Changing_the_Persistent_Storage_passphrase.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4604/artifact/build-artifacts/03:15:17_Changing_the_Persistent_Storage_passphrase.mkv

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4604/artifact/build-artifacts/03:15:17_Changing_the_Persistent_Storage_passphrase.boot-log

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4604/artifact/build-artifacts/03:15:17_Changing_the_Persistent_Storage_passphrase.journal

After features/support/hooks.rb:75 0.010
Tags: @product
1:6.084
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.692
And I log in to a new session without activating the Persistent Storage 20.986
Then persistence is disabled 0.196
But a Tails persistence partition exists on USB drive "__internal" 6.473
And all notifications have disappeared 6.898
When I delete the persistent partition 21.461
Then there is no persistence partition on USB drive "__internal" 0.376
After features/support/hooks.rb:291 1.150
After features/support/hooks.rb:75 0.000
Tags: @product
2:5.239
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.178
When I write some dotfile expected to persist 0.092
And I shutdown Tails and wait for the computer to power off 5.090
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:50.396
Then the expected persistent dotfile is present in the filesystem 0.481
After features/support/hooks.rb:291 0.744
After features/support/hooks.rb:75 0.011
Tags: @product
1:23.591
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 9.633
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.052
When I try to enable persistence 0.250
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 24.232
When I log in to a new session after having activated the Persistent Storage 25.893
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 19.174
And all tps features are enabled 2.270
And all tps features but the first one are active 2.084
After features/support/hooks.rb:291 0.923
After features/support/hooks.rb:75 0.000
Tags: @product
4:49.107
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:41.413
And I enable persistence 33.092
And I log in to a new session after having activated the Persistent Storage 33.637
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.825
And persistence is enabled 0.139
After features/support/hooks.rb:291 0.698
After features/support/hooks.rb:75 0.000
Tags: @product
43.276
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 8.573
And I enable persistence but something goes wrong during the LUKS header upgrade 33.925
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.778
After features/support/hooks.rb:291 0.635
After features/support/hooks.rb:75 0.000