Project Number Date
test_Tails_ISO_devel 3243 19 Jan 2024, 13:28

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 36:32.109 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:4.778
Before features/support/hooks.rb:245 0.014
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:23.933
And I update APT using apt 17.443
And I install "python3-behave" using apt 20.289
Then the Tails Persistent Storage behave tests pass 3.112
After features/support/hooks.rb:291 0.634
After features/support/hooks.rb:75 0.000
Tags: @product
45.072
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 11.918
When I log in to a new session without activating the Persistent Storage 25.936
Then Tails is running from USB drive "__internal" 0.353
And persistence is disabled 0.228
But a Tails persistence partition exists on USB drive "__internal" 6.635
After features/support/hooks.rb:291 1.106
After features/support/hooks.rb:75 0.000
Tags: @product
5:18.796
Scenario Creating a Persistent Storage
Before features/support/hooks.rb:245 0.006
Steps
Given I have started Tails without network from a USB drive without a persistent partition and logged in 11.471
Then Tails is running from USB drive "__internal" 0.697
When I create a file in the Persistent directory 0.158
And I create a persistent partition with the default settings 32.079
Then the file I created was copied to the Persistent Storage 0.526
When I shutdown Tails and wait for the computer to power off 9.063
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 4:24.800
cannot find GnomeApplicationsMenu.png on the screen (FindFailed)
./features/support/helpers/screen.rb:166:in `rescue in wait'
./features/support/helpers/screen.rb:159:in `wait'
./features/step_definitions/common_steps.rb:499:in `/^the Tails desktop is ready$/'
./features/step_definitions/common_steps.rb:454:in `/^I log in to a new session(?: in ([^ ]*) \(([^ ]*)\))?( without activating the Persistent Storage)?( after having activated the Persistent Storage| expecting no warning about the Persistent Storage not being activated)?$/'
./features/step_definitions/common_steps.rb:240: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 5.152

SCENARIO FAILED: 'Creating a Persistent Storage' (at time 03:08:01)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3243/artifact/build-artifacts/03:08:01_Creating_a_Persistent_Storage.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3243/artifact/build-artifacts/03:08:01_Creating_a_Persistent_Storage.mkv

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3243/artifact/build-artifacts/03:08:01_Creating_a_Persistent_Storage.boot-log

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3243/artifact/build-artifacts/03:08:01_Creating_a_Persistent_Storage.journal

After features/support/hooks.rb:75 0.010
Tags: @product
1:6.777
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 9.958
And the system is very low on memory 2.263
When I create a file in the Persistent directory 0.857
When I try to create a persistent partition 25.048
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.213
When I close the Persistent Storage app 2.677
And I free up some memory 1.643
And I create a persistent partition with the default settings 23.860
Then the file I created was copied to the Persistent Storage 0.254
After features/support/hooks.rb:291 1.071
After features/support/hooks.rb:75 0.000
Tags: @product
2:28.466
Before features/support/hooks.rb:245 0.008
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.030
Then Tails is running from USB drive "__internal" 0.439
And all tps features are active 2.241
And all persistent directories have safe access rights 2.773
When I disable the first tps feature 16.761
Then all tps features but the first one are active 2.140
And I shutdown Tails and wait for the computer to power off 5.210
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:46.621
Then all tps features but the first one are active 2.246
After features/support/hooks.rb:291 0.693
After features/support/hooks.rb:75 0.008
Tags: @product
41.925
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.367
Then persistence for "Persistent" is active 0.107
And I create a file in the Persistent directory 0.097
Then the file I created was copied to the Persistent Storage 0.090
When I disable the first tps feature 16.989
Then persistence for "Persistent" is not active 0.077
And the Persistent directory does not exist 0.045
When I enable the first tps feature 14.982
Then persistence for "Persistent" is active 0.093
And the file I created in the Persistent directory exists 0.072
After features/support/hooks.rb:291 0.956
After features/support/hooks.rb:75 0.000
Tags: @product
43.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 10.339
Then persistence for "Persistent" is active 0.115
When I create a file in the Persistent directory 0.107
And I disable the first tps feature 17.008
And I delete the data of the Persistent Folder feature 15.390
Then the file I created does not exist on the Persistent Storage 0.308
After features/support/hooks.rb:291 0.992
After features/support/hooks.rb:75 0.000
Tags: @product
51.502
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 8.889
And the network is plugged 0.044
And Tor is ready 18.211
And I take note of which tps features are available 0.697
When I write some files expected to persist 1.756
And I shutdown Tails and wait for the computer to power off 6.062
# 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.840
After features/support/hooks.rb:291 0.101
After features/support/hooks.rb:75 0.000
Tags: @product
2:38.413
Before features/support/hooks.rb:245 0.008
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.065
And the network is plugged 0.046
And Tor is ready 13.679
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.291
And I shutdown Tails and wait for the computer to power off 7.076
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:51.722
And I capture all network traffic 0.010
And the network is plugged 0.079
And Tor is ready 15.595
And I switch to the "persistent-con-current" NetworkManager connection 0.464
And the 1st network device has a spoofed MAC address configured 0.133
And no network device leaked the real MAC address 0.247
After features/support/hooks.rb:291 0.752
After features/support/hooks.rb:75 0.057
Tags: @product
53.811
Before features/support/hooks.rb:245 0.007
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 12.359
And I enable persistence creation in Tails Greeter 1.124
And I log in to a new session expecting no warning about the Persistent Storage not being activated 19.591
Then I create a persistent partition with the default settings using the wizard that was already open 20.735
After features/support/hooks.rb:291 1.361
After features/support/hooks.rb:75 0.000
Tags: @product
4:17.493
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.625
When I enable persistence 35.030
Then no persistent Greeter options were restored 13.959
When I set all Greeter options to non-default values 22.991
And I log in to a new session in German (de) after having activated the Persistent Storage 35.677
Then all Greeter options are set to non-default values 0.250
When I cold reboot the computer 5.025
And the computer reboots Tails 48.032
Given I enable persistence 50.335
Then persistent Greeter options were restored 14.618
When I log in to a new session after having activated the Persistent Storage 20.737
Then all Greeter options are set to non-default values 0.210
After features/support/hooks.rb:291 0.894
After features/support/hooks.rb:75 0.009
Tags: @product
3:50.976
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.761
# 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 55.631
And I shutdown Tails and wait for the computer to power off 13.915
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:46.919
And I change the passphrase of the Persistent Storage back to the original 44.749
After features/support/hooks.rb:291 1.829
After features/support/hooks.rb:75 0.011
Tags: @product
1:0.153
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 12.363
And I log in to a new session without activating the Persistent Storage 19.039
Then persistence is disabled 0.207
But a Tails persistence partition exists on USB drive "__internal" 5.589
And all notifications have disappeared 5.338
When I delete the persistent partition 17.317
Then there is no persistence partition on USB drive "__internal" 0.297
After features/support/hooks.rb:291 0.816
After features/support/hooks.rb:75 0.000
Tags: @product
2:9.647
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.967
When I write some dotfile expected to persist 0.085
And I shutdown Tails and wait for the computer to power off 6.151
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:53.077
Then the expected persistent dotfile is present in the filesystem 0.366
After features/support/hooks.rb:291 0.781
After features/support/hooks.rb:75 0.010
Tags: @product
1:23.791
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.594
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.057
When I try to enable persistence 0.272
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 28.566
When I log in to a new session after having activated the Persistent Storage 25.196
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 15.496
And all tps features are enabled 2.565
And all tps features but the first one are active 2.041
After features/support/hooks.rb:291 1.278
After features/support/hooks.rb:75 0.000
Tags: @product
5:32.725
Before features/support/hooks.rb:245 0.009
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:22.738
And I enable persistence 33.630
And I log in to a new session after having activated the Persistent Storage 35.417
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.811
And persistence is enabled 0.127
After features/support/hooks.rb:291 0.814
After features/support/hooks.rb:75 0.000
Tags: @product
44.508
Before features/support/hooks.rb:245 0.007
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 12.683
And I enable persistence but something goes wrong during the LUKS header upgrade 31.027
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.797
After features/support/hooks.rb:291 0.617
After features/support/hooks.rb:75 0.000