Project Number Date
test_Tails_ISO_devel 3218 31 Dec 2023, 12:12

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 33:22.170 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:10.662
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:28.018
And I update APT using apt 17.275
And I install "python3-behave" using apt 22.865
Then the Tails Persistent Storage behave tests pass 2.502
After features/support/hooks.rb:291 0.671
After features/support/hooks.rb:75 0.000
Tags: @product
42.648
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.841
When I log in to a new session without activating the Persistent Storage 24.926
Then Tails is running from USB drive "__internal" 0.466
And persistence is disabled 0.234
But a Tails persistence partition exists on USB drive "__internal" 6.179
After features/support/hooks.rb:291 1.080
After features/support/hooks.rb:75 0.000
Tags: @product
1:59.657
Scenario Creating a Persistent Storage
Before features/support/hooks.rb:245 0.004
Steps
Given I have started Tails without network from a USB drive without a persistent partition and logged in 10.850
Then Tails is running from USB drive "__internal" 0.488
When I create a file in the Persistent directory 0.114
And I create a persistent partition with the default settings 34.056
Then the file I created was copied to the Persistent Storage 0.448
When I shutdown Tails and wait for the computer to power off 9.103
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:4.595
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.124

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

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

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

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

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

After features/support/hooks.rb:75 0.009
Tags: @product
1:9.202
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.628
And the system is very low on memory 2.595
When I create a file in the Persistent directory 1.169
When I try to create a persistent partition 26.402
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.136
When I close the Persistent Storage app 2.574
And I free up some memory 1.494
And I create a persistent partition with the default settings 23.903
Then the file I created was copied to the Persistent Storage 0.298
After features/support/hooks.rb:291 1.253
After features/support/hooks.rb:75 0.000
Tags: @product
2:26.662
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.450
Then Tails is running from USB drive "__internal" 0.458
And all tps features are active 2.565
And all persistent directories have safe access rights 2.672
When I disable the first tps feature 16.159
Then all tps features but the first one are active 2.161
And I shutdown Tails and wait for the computer to power off 6.077
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:44.942
Then all tps features but the first one are active 2.175
After features/support/hooks.rb:291 0.639
After features/support/hooks.rb:75 0.064
Tags: @product
41.464
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.563
Then persistence for "Persistent" is active 0.099
And I create a file in the Persistent directory 0.078
Then the file I created was copied to the Persistent Storage 0.080
When I disable the first tps feature 16.260
Then persistence for "Persistent" is not active 0.093
And the Persistent directory does not exist 0.054
When I enable the first tps feature 15.095
Then persistence for "Persistent" is active 0.075
And the file I created in the Persistent directory exists 0.063
After features/support/hooks.rb:291 0.918
After features/support/hooks.rb:75 0.000
Tags: @product
41.565
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.632
Then persistence for "Persistent" is active 0.091
When I create a file in the Persistent directory 0.072
And I disable the first tps feature 16.220
And I delete the data of the Persistent Folder feature 15.290
Then the file I created does not exist on the Persistent Storage 0.258
After features/support/hooks.rb:291 0.786
After features/support/hooks.rb:75 0.000
Tags: @product
1:0.661
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.770
And the network is plugged 0.069
And Tor is ready 17.597
And I take note of which tps features are available 0.661
When I write some files expected to persist 1.668
And I shutdown Tails and wait for the computer to power off 6.099
# 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" 24.795
After features/support/hooks.rb:291 0.138
After features/support/hooks.rb:75 0.000
Tags: @product
2:36.104
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.167
And the network is plugged 0.037
And Tor is ready 11.732
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.295
And I shutdown Tails and wait for the computer to power off 6.092
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:53.295
And I capture all network traffic 0.006
And the network is plugged 0.036
And Tor is ready 14.500
And I switch to the "persistent-con-current" NetworkManager connection 0.461
And the 1st network device has a spoofed MAC address configured 0.213
And no network device leaked the real MAC address 0.264
After features/support/hooks.rb:291 0.642
After features/support/hooks.rb:75 0.067
Tags: @product
45.111
Before features/support/hooks.rb:245 0.005
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 10.883
And I enable persistence creation in Tails Greeter 1.126
And I log in to a new session expecting no warning about the Persistent Storage not being activated 16.610
Then I create a persistent partition with the default settings using the wizard that was already open 16.491
After features/support/hooks.rb:291 1.212
After features/support/hooks.rb:75 0.000
Tags: @product
4:21.184
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 12.245
When I enable persistence 37.260
Then no persistent Greeter options were restored 18.679
When I set all Greeter options to non-default values 22.061
And I log in to a new session in German (de) after having activated the Persistent Storage 34.225
Then all Greeter options are set to non-default values 0.324
When I cold reboot the computer 5.277
And the computer reboots Tails 44.644
Given I enable persistence 50.344
Then persistent Greeter options were restored 14.584
When I log in to a new session after having activated the Persistent Storage 21.215
Then all Greeter options are set to non-default values 0.322
After features/support/hooks.rb:291 0.658
After features/support/hooks.rb:75 0.010
Tags: @product
3:35.205
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.517
# 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 44.982
And I shutdown Tails and wait for the computer to power off 11.613
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:47.959
And I change the passphrase of the Persistent Storage back to the original 41.133
After features/support/hooks.rb:291 2.896
After features/support/hooks.rb:75 0.010
Tags: @product
57.133
Before features/support/hooks.rb:245 0.004
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.321
And I log in to a new session without activating the Persistent Storage 18.108
Then persistence is disabled 0.194
But a Tails persistence partition exists on USB drive "__internal" 6.442
And all notifications have disappeared 5.840
When I delete the persistent partition 16.877
Then there is no persistence partition on USB drive "__internal" 0.348
After features/support/hooks.rb:291 1.277
After features/support/hooks.rb:75 0.000
Tags: @product
2:5.825
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.320
When I write some dotfile expected to persist 0.097
And I shutdown Tails and wait for the computer to power off 6.080
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:49.962
Then the expected persistent dotfile is present in the filesystem 0.364
After features/support/hooks.rb:291 1.589
After features/support/hooks.rb:75 0.021
Tags: @product
1:21.863
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.156
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.070
When I try to enable persistence 0.237
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 24.763
When I log in to a new session after having activated the Persistent Storage 25.767
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 17.294
And all tps features are enabled 2.466
And all tps features but the first one are active 2.106
After features/support/hooks.rb:291 0.906
After features/support/hooks.rb:75 0.000
Tags: @product
6:6.340
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 4:58.438
And I enable persistence 31.510
And I log in to a new session after having activated the Persistent Storage 35.526
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.745
And persistence is enabled 0.119
After features/support/hooks.rb:291 1.014
After features/support/hooks.rb:75 0.000
Tags: @product
40.876
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 8.966
And I enable persistence but something goes wrong during the LUKS header upgrade 31.120
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.789
After features/support/hooks.rb:291 0.683
After features/support/hooks.rb:75 0.000