Project Number Date
test_Tails_ISO_devel 3209 24 Dec 2023, 12:24

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:1.628 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:2.539
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:23.141
And I update APT using apt 17.230
And I install "python3-behave" using apt 19.718
Then the Tails Persistent Storage behave tests pass 2.449
After features/support/hooks.rb:291 0.704
After features/support/hooks.rb:75 0.000
Tags: @product
37.016
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 11.234
When I log in to a new session without activating the Persistent Storage 18.972
Then Tails is running from USB drive "__internal" 0.323
And persistence is disabled 0.224
But a Tails persistence partition exists on USB drive "__internal" 6.262
After features/support/hooks.rb:291 0.928
After features/support/hooks.rb:75 0.000
Tags: @product
1:53.865
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.292
Then Tails is running from USB drive "__internal" 0.479
When I create a file in the Persistent directory 0.137
And I create a persistent partition with the default settings 31.016
Then the file I created was copied to the Persistent Storage 0.384
When I shutdown Tails and wait for the computer to power off 9.082
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:2.472
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.134

SCENARIO FAILED: 'Creating a Persistent Storage' (at time 02:59:00)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3209/artifact/build-artifacts/02:59:00_Creating_a_Persistent_Storage.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3209/artifact/build-artifacts/02:59:00_Creating_a_Persistent_Storage.mkv

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3209/artifact/build-artifacts/02:59:00_Creating_a_Persistent_Storage.boot-log

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3209/artifact/build-artifacts/02:59:00_Creating_a_Persistent_Storage.journal

After features/support/hooks.rb:75 0.010
Tags: @product
1:8.969
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 10.510
And the system is very low on memory 2.860
When I create a file in the Persistent directory 1.052
When I try to create a persistent partition 26.092
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.113
When I close the Persistent Storage app 2.603
And I free up some memory 1.370
And I create a persistent partition with the default settings 24.124
Then the file I created was copied to the Persistent Storage 0.242
After features/support/hooks.rb:291 1.158
After features/support/hooks.rb:75 0.000
Tags: @product
2:39.594
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.802
Then Tails is running from USB drive "__internal" 0.426
And all tps features are active 2.117
And all persistent directories have safe access rights 2.504
When I disable the first tps feature 15.990
Then all tps features but the first one are active 2.161
And I shutdown Tails and wait for the computer to power off 5.076
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:59.272
Then all tps features but the first one are active 2.243
After features/support/hooks.rb:291 0.788
After features/support/hooks.rb:75 0.011
Tags: @product
41.445
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.789
Then persistence for "Persistent" is active 0.098
And I create a file in the Persistent directory 0.078
Then the file I created was copied to the Persistent Storage 0.066
When I disable the first tps feature 16.175
Then persistence for "Persistent" is not active 0.076
And the Persistent directory does not exist 0.061
When I enable the first tps feature 14.961
Then persistence for "Persistent" is active 0.071
And the file I created in the Persistent directory exists 0.065
After features/support/hooks.rb:291 1.143
After features/support/hooks.rb:75 0.000
Tags: @product
40.329
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.414
Then persistence for "Persistent" is active 0.124
When I create a file in the Persistent directory 0.076
And I disable the first tps feature 16.395
And I delete the data of the Persistent Folder feature 15.059
Then the file I created does not exist on the Persistent Storage 0.258
After features/support/hooks.rb:291 0.868
After features/support/hooks.rb:75 0.000
Tags: @product
52.810
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.959
And the network is plugged 0.044
And Tor is ready 17.679
And I take note of which tps features are available 0.659
When I write some files expected to persist 1.536
And I shutdown Tails and wait for the computer to power off 9.241
# 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.690
After features/support/hooks.rb:291 0.115
After features/support/hooks.rb:75 0.000
Tags: @product
3:3.975
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.505
And the network is plugged 0.045
And Tor is ready 43.002
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.197
And I shutdown Tails and wait for the computer to power off 6.088
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:50.146
And I capture all network traffic 0.008
And the network is plugged 0.038
And Tor is ready 14.088
And I switch to the "persistent-con-current" NetworkManager connection 0.461
And the 1st network device has a spoofed MAC address configured 0.139
And no network device leaked the real MAC address 0.254
After features/support/hooks.rb:291 0.566
After features/support/hooks.rb:75 0.047
Tags: @product
50.720
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 11.139
And I enable persistence creation in Tails Greeter 1.129
And I log in to a new session expecting no warning about the Persistent Storage not being activated 17.248
Then I create a persistent partition with the default settings using the wizard that was already open 21.203
After features/support/hooks.rb:291 1.238
After features/support/hooks.rb:75 0.000
Tags: @product
4:15.119
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.861
When I enable persistence 35.807
Then no persistent Greeter options were restored 14.077
When I set all Greeter options to non-default values 22.110
And I log in to a new session in German (de) after having activated the Persistent Storage 37.237
Then all Greeter options are set to non-default values 0.236
When I cold reboot the computer 5.135
And the computer reboots Tails 43.575
Given I enable persistence 48.844
Then persistent Greeter options were restored 14.601
When I log in to a new session after having activated the Persistent Storage 22.412
Then all Greeter options are set to non-default values 0.216
After features/support/hooks.rb:291 0.633
After features/support/hooks.rb:75 0.070
Tags: @product
3:40.018
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.701
# 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.010
And I shutdown Tails and wait for the computer to power off 10.632
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:51.162
And I change the passphrase of the Persistent Storage back to the original 45.511
After features/support/hooks.rb:291 2.403
After features/support/hooks.rb:75 0.009
Tags: @product
55.560
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.703
And I log in to a new session without activating the Persistent Storage 17.259
Then persistence is disabled 0.200
But a Tails persistence partition exists on USB drive "__internal" 5.745
And all notifications have disappeared 5.403
When I delete the persistent partition 16.947
Then there is no persistence partition on USB drive "__internal" 0.300
After features/support/hooks.rb:291 0.773
After features/support/hooks.rb:75 0.000
Tags: @product
1:59.540
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.524
When I write some dotfile expected to persist 0.127
And I shutdown Tails and wait for the computer to power off 5.097
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:44.458
Then the expected persistent dotfile is present in the filesystem 0.331
After features/support/hooks.rb:291 0.675
After features/support/hooks.rb:75 0.010
Tags: @product
1:19.223
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 8.436
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.118
When I try to enable persistence 0.250
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 27.067
When I log in to a new session after having activated the Persistent Storage 23.984
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 14.895
And all tps features are enabled 2.314
And all tps features but the first one are active 2.154
After features/support/hooks.rb:291 1.411
After features/support/hooks.rb:75 0.000
Tags: @product
4:31.999
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 3:25.364
And I enable persistence 32.131
And I log in to a new session after having activated the Persistent Storage 33.691
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.686
And persistence is enabled 0.124
After features/support/hooks.rb:291 0.833
After features/support/hooks.rb:75 0.000
Tags: @product
48.900
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 18.714
And I enable persistence but something goes wrong during the LUKS header upgrade 29.385
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.800
After features/support/hooks.rb:291 0.657
After features/support/hooks.rb:75 0.000