Project Number Date
test_Tails_ISO_devel 3423 10 Jun 2024, 12:43

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 115 1 5 0 0 121 16 1 17 40:35.103 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:36.513
Before features/support/hooks.rb:269 0.005
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:46.325
And I update APT using apt 19.904
And I install "python3-behave" using apt 26.074
Then the Tails Persistent Storage behave tests pass 4.210
After features/support/hooks.rb:315 0.757
After features/support/hooks.rb:100 0.000
Tags: @product
51.408
Before features/support/hooks.rb:269 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 13.418
When I log in to a new session without activating the Persistent Storage 24.471
Then Tails is running from USB drive "__internal" 0.779
And persistence is disabled 0.332
But a Tails persistence partition exists on USB drive "__internal" 12.405
After features/support/hooks.rb:315 2.075
After features/support/hooks.rb:100 0.000
Tags: @product
3:40.859
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive without a persistent partition and logged in 28.262
Then Tails is running from USB drive "__internal" 0.478
When I create a file in the Persistent directory 0.131
And I create a persistent partition with the default settings 27.097
Then the file I created was copied to the Persistent Storage 0.726
When I shutdown Tails and wait for the computer to power off 13.292
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:30.424
Then persistence for "Persistent" is active 0.360
And the file I created in the Persistent directory exists 0.086
After features/support/hooks.rb:315 0.974
After features/support/hooks.rb:100 0.014
Tags: @product
59.669
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive without a persistent partition and logged in 12.919
And the system is very low on memory 4.056
When I create a file in the Persistent directory 1.244
When I try to create a persistent partition 23.026
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.258
When I close the Persistent Storage app 2.570
And I free up some memory 1.867
And I create a persistent partition with the default settings 13.475
Then the file I created was copied to the Persistent Storage 0.251
After features/support/hooks.rb:315 1.478
After features/support/hooks.rb:100 0.000
Tags: @product
2:46.944
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 12.337
Then Tails is running from USB drive "__internal" 0.512
And all tps features are active 2.558
And all persistent directories have safe access rights 2.590
When I disable the first tps feature 5.534
Then all tps features but the first one are active 2.326
And I shutdown Tails and wait for the computer to power off 11.224
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.366
Then all tps features but the first one are active 2.493
After features/support/hooks.rb:315 0.808
After features/support/hooks.rb:100 0.010
Tags: @product
19.331
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.947
Then persistence for "Persistent" is active 0.123
And I create a file in the Persistent directory 0.099
Then the file I created was copied to the Persistent Storage 0.100
When I disable the first tps feature 5.629
Then persistence for "Persistent" is not active 0.088
And the Persistent directory does not exist 0.045
When I enable the first tps feature 3.156
Then persistence for "Persistent" is active 0.068
And the file I created in the Persistent directory exists 0.071
After features/support/hooks.rb:315 0.756
After features/support/hooks.rb:100 0.000
Tags: @product
19.610
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.826
Then persistence for "Persistent" is active 0.090
When I create a file in the Persistent directory 0.115
And I disable the first tps feature 5.731
And I delete the data of the Persistent Folder feature 3.743
Then the file I created does not exist on the Persistent Storage 0.103
After features/support/hooks.rb:315 0.904
After features/support/hooks.rb:100 0.000
Tags: @product
1:8.431
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.805
And the network is plugged 0.050
And Tor is ready 23.089
And I take note of which tps features are available 0.669
When I write some files expected to persist 1.560
And I shutdown Tails and wait for the computer to power off 8.650
# 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.606
After features/support/hooks.rb:315 0.104
After features/support/hooks.rb:100 0.000
Tags: @product
3:8.418
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.898
And the network is plugged 0.038
And Tor is ready 19.788
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.178
And I shutdown Tails and wait for the computer to power off 8.537
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.354
And I capture all network traffic 0.010
And the network is plugged 0.046
And Tor is ready 19.878
And I switch to the "persistent-con-current" NetworkManager connection 0.323
And the 1st network device has a spoofed MAC address configured 0.100
And no network device leaked the real MAC address 0.262
After features/support/hooks.rb:315 0.849
After features/support/hooks.rb:100 0.074
Tags: @product
59.514
Before features/support/hooks.rb:269 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 15.785
And I enable persistence creation in Tails Greeter 1.153
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.323
Then I create a persistent partition with the default settings using the wizard that was already open 21.251
After features/support/hooks.rb:315 1.333
After features/support/hooks.rb:100 0.000
Tags: @product
5:1.534
Before features/support/hooks.rb:269 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 12.312
When I enable persistence 38.956
Then no persistent Greeter options were restored 15.646
When I set all Greeter options to non-default values 28.816
And I log in to a new session in German (de) after having activated the Persistent Storage 46.493
Then all Greeter options are set to non-default values 0.420
When I cold reboot the computer 7.261
And the computer reboots Tails 1:6.847
Given I enable persistence 31.222
Then persistent Greeter options were restored 16.030
When I log in to a new session after having activated the Persistent Storage 37.058
Then all Greeter options are set to non-default values 0.468
After features/support/hooks.rb:315 1.629
After features/support/hooks.rb:100 0.010
Tags: @product
4:16.036
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.392
# 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 38.134
And I shutdown Tails and wait for the computer to power off 13.121
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:20.114
And I change the passphrase of the Persistent Storage back to the original 54.273
After features/support/hooks.rb:315 2.254
After features/support/hooks.rb:100 0.055
Tags: @product
1:1.358
Before features/support/hooks.rb:269 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 10.576
And I log in to a new session without activating the Persistent Storage 21.690
Then persistence is disabled 0.467
But a Tails persistence partition exists on USB drive "__internal" 13.854
And all notifications have disappeared 8.568
When I delete the persistent partition 5.989
Then there is no persistence partition on USB drive "__internal" 0.211
After features/support/hooks.rb:315 1.058
After features/support/hooks.rb:100 0.000
Tags: @product
2:48.813
Before features/support/hooks.rb:269 0.026
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.999
When I write some dotfile expected to persist 0.071
And I shutdown Tails and wait for the computer to power off 11.168
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:26.173
Then the expected persistent dotfile is present in the filesystem 0.399
After features/support/hooks.rb:315 0.746
After features/support/hooks.rb:100 0.014
Tags: @product
1:11.721
Scenario Feature activation fails
Before features/support/hooks.rb:269 0.022
Steps
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 11.068
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.095
When I try to enable persistence 0.506
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 1:0.050
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/step_definitions/usb.rb:1680:in `/^the Welcome Screen tells me that the Persistent Folder feature couldn't be activated$/'
features/persistence.feature:146:in `Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated'
When I log in to a new session after having activated the Persistent Storage 0.000
And all notifications have disappeared 0.000
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 0.000
And all tps features are enabled 0.000
And all tps features but the first one are active 0.000
After features/support/hooks.rb:315 6.781

SCENARIO FAILED: 'Feature activation fails' (at time 03:33:57)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3423/artifact/build-artifacts/03:33:57_Feature_activation_fails.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3423/artifact/build-artifacts/03:33:57_Feature_activation_fails.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3423/artifact/build-artifacts/03:33:57_Feature_activation_fails.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3423/artifact/build-artifacts/03:33:57_Feature_activation_fails.journal

After features/support/hooks.rb:100 0.000
Tags: @product
8:51.777
Before features/support/hooks.rb:269 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 7:14.935
And I enable persistence 44.898
And I log in to a new session after having activated the Persistent Storage 48.863
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.556
And persistence is enabled 0.524
After features/support/hooks.rb:315 1.437
After features/support/hooks.rb:100 0.000
Tags: @product
33.158
Before features/support/hooks.rb:269 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 10.073
And I enable persistence but something goes wrong during the LUKS header upgrade 22.308
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.775
After features/support/hooks.rb:315 1.164
After features/support/hooks.rb:100 0.000