Project Number Date
test_Tails_ISO_stable 4981 29 Jul 2024, 21:46

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 117 1 3 0 0 121 16 1 17 36:8.040 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:21.575
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:34.444
And I update APT using apt 18.919
And I install "python3-behave" using apt 25.877
Then the Tails Persistent Storage behave tests pass 2.334
After features/support/hooks.rb:326 0.559
After features/support/hooks.rb:100 0.000
Tags: @product
17.977
Scenario Booting Tails from a USB drive with a disabled persistent partition
Before features/support/hooks.rb:269 0.007
Steps
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 14.061
When I log in to a new session without activating the Persistent Storage 3.916
<false> is not true. (Test::Unit::AssertionFailedError)
./features/step_definitions/common_steps.rb:506: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/persistence.feature:14:in `When I log in to a new session without activating the Persistent Storage'
Then Tails is running from USB drive "__internal" 0.000
And persistence is disabled 0.000
But a Tails persistence partition exists on USB drive "__internal" 0.000
After features/support/hooks.rb:326 5.255

SCENARIO FAILED: 'Booting Tails from a USB drive with a disabled persistent partition' (at time 02:52:10)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4981/artifact/build-artifacts/02:52:10_Booting_Tails_from_a_USB_drive_with_a_disabled_persistent_partition.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4981/artifact/build-artifacts/02:52:10_Booting_Tails_from_a_USB_drive_with_a_disabled_persistent_partition.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4981/artifact/build-artifacts/02:52:10_Booting_Tails_from_a_USB_drive_with_a_disabled_persistent_partition.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4981/artifact/build-artifacts/02:52:10_Booting_Tails_from_a_USB_drive_with_a_disabled_persistent_partition.journal

After features/support/hooks.rb:100 0.000
Tags: @product
3:16.916
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 18.461
Then Tails is running from USB drive "__internal" 0.496
When I create a file in the Persistent directory 0.285
And I create a persistent partition with the default settings 29.177
Then the file I created was copied to the Persistent Storage 0.608
When I shutdown Tails and wait for the computer to power off 13.321
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.091
Then persistence for "Persistent" is active 0.392
And the file I created in the Persistent directory exists 0.081
After features/support/hooks.rb:326 0.727
After features/support/hooks.rb:100 0.008
Tags: @product
1:7.079
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive without a persistent partition and logged in 11.429
And the system is very low on memory 10.056
When I create a file in the Persistent directory 0.937
When I try to create a persistent partition 26.474
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.184
When I close the Persistent Storage app 2.865
And I free up some memory 1.849
And I create a persistent partition with the default settings 13.011
Then the file I created was copied to the Persistent Storage 0.269
After features/support/hooks.rb:326 1.307
After features/support/hooks.rb:100 0.000
Tags: @product
2:42.803
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 14.182
Then Tails is running from USB drive "__internal" 0.402
And all tps features are active 2.261
And all persistent directories have safe access rights 2.590
When I disable the first tps feature 5.508
Then all tps features but the first one are active 2.222
And I shutdown Tails and wait for the computer to power off 11.006
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:2.253
Then all tps features but the first one are active 2.375
After features/support/hooks.rb:326 1.149
After features/support/hooks.rb:100 0.011
Tags: @product
22.418
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 13.035
Then persistence for "Persistent" is active 0.167
And I create a file in the Persistent directory 0.083
Then the file I created was copied to the Persistent Storage 0.084
When I disable the first tps feature 5.628
Then persistence for "Persistent" is not active 0.085
And the Persistent directory does not exist 0.040
When I enable the first tps feature 3.155
Then persistence for "Persistent" is active 0.070
And the file I created in the Persistent directory exists 0.067
After features/support/hooks.rb:326 0.899
After features/support/hooks.rb:100 0.000
Tags: @product
19.307
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.546
Then persistence for "Persistent" is active 0.082
When I create a file in the Persistent directory 0.155
And I disable the first tps feature 5.666
And I delete the data of the Persistent Folder feature 3.791
Then the file I created does not exist on the Persistent Storage 0.065
After features/support/hooks.rb:326 0.909
After features/support/hooks.rb:100 0.000
Tags: @product
1:6.233
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.576
And the network is plugged 0.051
And Tor is ready 21.257
And I take note of which tps features are available 0.620
When I write some files expected to persist 1.493
And I shutdown Tails and wait for the computer to power off 8.562
# 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.671
After features/support/hooks.rb:326 0.109
After features/support/hooks.rb:100 0.000
Tags: @product
4:23.291
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 11.936
And the network is plugged 0.068
And Tor is ready 44.404
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 8.915
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:26.355
And I capture all network traffic 0.007
And the network is plugged 0.036
And Tor is ready 50.518
And I switch to the "persistent-con-current" NetworkManager connection 0.362
And the 1st network device has a spoofed MAC address configured 0.141
And no network device leaked the real MAC address 0.349
After features/support/hooks.rb:326 0.617
After features/support/hooks.rb:100 0.075
Tags: @product
59.647
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 13.102
And I enable persistence creation in Tails Greeter 1.150
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.018
Then I create a persistent partition with the default settings using the wizard that was already open 22.374
After features/support/hooks.rb:326 1.585
After features/support/hooks.rb:100 0.000
Tags: @product
4:55.581
Before features/support/hooks.rb:269 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 12.615
When I enable persistence 38.762
Then no persistent Greeter options were restored 15.538
When I set all Greeter options to non-default values 27.538
And I log in to a new session in German (de) after having activated the Persistent Storage 42.717
Then all Greeter options are set to non-default values 0.499
When I cold reboot the computer 10.204
And the computer reboots Tails 1:0.847
Given I enable persistence 32.224
Then persistent Greeter options were restored 15.681
When I log in to a new session after having activated the Persistent Storage 38.201
Then all Greeter options are set to non-default values 0.749
After features/support/hooks.rb:326 1.153
After features/support/hooks.rb:100 0.009
Tags: @product
3:36.085
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 10.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 39.284
And I shutdown Tails and wait for the computer to power off 12.642
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:2.632
And I change the passphrase of the Persistent Storage back to the original 31.008
After features/support/hooks.rb:326 2.110
After features/support/hooks.rb:100 0.040
Tags: @product
1:2.397
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.377
And I log in to a new session without activating the Persistent Storage 23.206
Then persistence is disabled 0.419
But a Tails persistence partition exists on USB drive "__internal" 9.965
And all notifications have disappeared 9.448
When I delete the persistent partition 6.415
Then there is no persistence partition on USB drive "__internal" 0.565
After features/support/hooks.rb:326 1.053
After features/support/hooks.rb:100 0.000
Tags: @product
2:26.319
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.186
When I write some dotfile expected to persist 0.082
And I shutdown Tails and wait for the computer to power off 8.876
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.852
Then the expected persistent dotfile is present in the filesystem 0.321
After features/support/hooks.rb:326 2.004
After features/support/hooks.rb:100 0.009
Tags: @product
1:45.884
Before features/support/hooks.rb:269 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 13.421
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.080
When I try to enable persistence 0.289
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 34.212
When I log in to a new session after having activated the Persistent Storage 36.726
And all notifications have disappeared 8.705
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.162
And all tps features are enabled 3.634
And all tps features but the first one are active 4.651
After features/support/hooks.rb:326 1.171
After features/support/hooks.rb:100 0.000
Tags: @product
4:54.078
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 3:37.945
And I enable persistence 36.035
And I log in to a new session after having activated the Persistent Storage 37.778
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.784
And persistence is enabled 0.535
After features/support/hooks.rb:326 1.953
After features/support/hooks.rb:100 0.000
Tags: @product
30.442
Before features/support/hooks.rb:269 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 9.690
And I enable persistence but something goes wrong during the LUKS header upgrade 19.908
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.842
After features/support/hooks.rb:326 0.820
After features/support/hooks.rb:100 0.000