Project Number Date
test_Tails_ISO_stable 4563 11 Dec 2023, 14:59

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 31:30.734 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:27.841
Before features/support/hooks.rb:245 0.005
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:48.285
And I update APT using apt 16.480
And I install "python3-behave" using apt 19.872
Then the Tails Persistent Storage behave tests pass 3.202
After features/support/hooks.rb:291 0.644
After features/support/hooks.rb:75 0.000
Tags: @product
35.536
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.957
When I log in to a new session without activating the Persistent Storage 17.528
Then Tails is running from USB drive "__internal" 0.378
And persistence is disabled 0.177
But a Tails persistence partition exists on USB drive "__internal" 6.494
After features/support/hooks.rb:291 0.895
After features/support/hooks.rb:75 0.000
Tags: @product
2:40.239
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 10.747
Then Tails is running from USB drive "__internal" 0.391
When I create a file in the Persistent directory 0.150
And I create a persistent partition with the default settings 31.585
Then the file I created was copied to the Persistent Storage 0.513
When I shutdown Tails and wait for the computer to power off 9.092
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:47.424
Then persistence for "Persistent" is active 0.269
And the file I created in the Persistent directory exists 0.064
After features/support/hooks.rb:291 0.894
After features/support/hooks.rb:75 0.018
Tags: @product
1:9.983
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 10.346
And the system is very low on memory 2.841
When I create a file in the Persistent directory 0.712
When I try to create a persistent partition 28.001
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.215
When I close the Persistent Storage app 2.521
And I free up some memory 1.330
And I create a persistent partition with the default settings 23.769
Then the file I created was copied to the Persistent Storage 0.244
After features/support/hooks.rb:291 1.588
After features/support/hooks.rb:75 0.000
Tags: @product
1:42.652
Scenario Booting Tails from a USB drive with an enabled persistent partition and reconfiguring it
Before features/support/hooks.rb:245 0.005
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.682
Then Tails is running from USB drive "__internal" 0.460
And all tps features are active 2.459
And all persistent directories have safe access rights 2.743
When I disable the first tps feature 15.982
Then all tps features but the first one are active 2.138
And I shutdown Tails and wait for the computer to power off 5.056
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:4.129
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:49:in `And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled'
Then all tps features but the first one are active 0.000
After features/support/hooks.rb:291 4.096

SCENARIO FAILED: 'Booting Tails from a USB drive with an enabled persistent partition and reconfiguring it' (at time 03:01:00)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4563/artifact/build-artifacts/03:01:00_Booting_Tails_from_a_USB_drive_with_an_enabled_persistent_partition_and_reconfiguring_it.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4563/artifact/build-artifacts/03:01:00_Booting_Tails_from_a_USB_drive_with_an_enabled_persistent_partition_and_reconfiguring_it.mkv

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4563/artifact/build-artifacts/03:01:00_Booting_Tails_from_a_USB_drive_with_an_enabled_persistent_partition_and_reconfiguring_it.boot-log

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4563/artifact/build-artifacts/03:01:00_Booting_Tails_from_a_USB_drive_with_an_enabled_persistent_partition_and_reconfiguring_it.journal

After features/support/hooks.rb:75 0.007
Tags: @product
41.290
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.400
Then persistence for "Persistent" is active 0.093
And I create a file in the Persistent directory 0.124
Then the file I created was copied to the Persistent Storage 0.080
When I disable the first tps feature 16.230
Then persistence for "Persistent" is not active 0.080
And the Persistent directory does not exist 0.061
When I enable the first tps feature 15.037
Then persistence for "Persistent" is active 0.077
And the file I created in the Persistent directory exists 0.103
After features/support/hooks.rb:291 0.843
After features/support/hooks.rb:75 0.000
Tags: @product
40.834
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.954
Then persistence for "Persistent" is active 0.103
When I create a file in the Persistent directory 0.099
And I disable the first tps feature 16.135
And I delete the data of the Persistent Folder feature 15.296
Then the file I created does not exist on the Persistent Storage 0.245
After features/support/hooks.rb:291 0.872
After features/support/hooks.rb:75 0.000
Tags: @product
47.441
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.309
And the network is plugged 0.044
And Tor is ready 15.108
And I take note of which tps features are available 0.691
When I write some files expected to persist 1.639
And I shutdown Tails and wait for the computer to power off 6.139
# 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.508
After features/support/hooks.rb:291 0.091
After features/support/hooks.rb:75 0.000
Tags: @product
2:34.687
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 8.753
And the network is plugged 0.034
And Tor is ready 14.164
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.194
And I shutdown Tails and wait for the computer to power off 6.064
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:50.014
And I capture all network traffic 0.013
And the network is plugged 0.034
And Tor is ready 14.685
And I switch to the "persistent-con-current" NetworkManager connection 0.405
And the 1st network device has a spoofed MAC address configured 0.093
And no network device leaked the real MAC address 0.228
After features/support/hooks.rb:291 0.594
After features/support/hooks.rb:75 0.042
Tags: @product
46.856
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 10.722
And I enable persistence creation in Tails Greeter 1.096
And I log in to a new session expecting no warning about the Persistent Storage not being activated 16.404
Then I create a persistent partition with the default settings using the wizard that was already open 18.633
After features/support/hooks.rb:291 1.089
After features/support/hooks.rb:75 0.000
Tags: @product
4:7.016
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.310
When I enable persistence 32.571
Then no persistent Greeter options were restored 14.377
When I set all Greeter options to non-default values 21.458
And I log in to a new session in German (de) after having activated the Persistent Storage 34.350
Then all Greeter options are set to non-default values 0.375
When I cold reboot the computer 5.061
And the computer reboots Tails 43.832
Given I enable persistence 49.761
Then persistent Greeter options were restored 14.689
When I log in to a new session after having activated the Persistent Storage 18.905
Then all Greeter options are set to non-default values 0.323
After features/support/hooks.rb:291 0.794
After features/support/hooks.rb:75 0.024
Tags: @product
3:46.909
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.967
# 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 45.715
And I shutdown Tails and wait for the computer to power off 10.439
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:59.268
And I change the passphrase of the Persistent Storage back to the original 41.517
After features/support/hooks.rb:291 0.986
After features/support/hooks.rb:75 0.008
Tags: @product
56.025
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.611
And I log in to a new session without activating the Persistent Storage 16.976
Then persistence is disabled 0.190
But a Tails persistence partition exists on USB drive "__internal" 6.450
And all notifications have disappeared 5.435
When I delete the persistent partition 17.069
Then there is no persistence partition on USB drive "__internal" 0.290
After features/support/hooks.rb:291 0.994
After features/support/hooks.rb:75 0.000
Tags: @product
2:2.230
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.145
When I write some dotfile expected to persist 0.106
And I shutdown Tails and wait for the computer to power off 5.093
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:47.526
Then the expected persistent dotfile is present in the filesystem 0.358
After features/support/hooks.rb:291 0.685
After features/support/hooks.rb:75 0.009
Tags: @product
1:21.661
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.607
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.060
When I try to enable persistence 0.242
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 26.331
When I log in to a new session after having activated the Persistent Storage 25.758
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 15.420
And all tps features are enabled 2.552
And all tps features but the first one are active 2.689
After features/support/hooks.rb:291 0.778
After features/support/hooks.rb:75 0.000
Tags: @product
4:30.488
Before features/support/hooks.rb:245 0.005
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:23.574
And I enable persistence 32.571
And I log in to a new session after having activated the Persistent Storage 33.453
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.760
And persistence is enabled 0.128
After features/support/hooks.rb:291 0.894
After features/support/hooks.rb:75 0.000
Tags: @product
39.039
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.657
And I enable persistence but something goes wrong during the LUKS header upgrade 29.627
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.754
After features/support/hooks.rb:291 0.715
After features/support/hooks.rb:75 0.000