Project Number Date
test_Tails_ISO_stable 4593 27 Dec 2023, 12:28

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 114 1 5 0 0 120 16 1 17 32:38.709 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:1.829
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:19.072
And I update APT using apt 19.820
And I install "python3-behave" using apt 19.899
Then the Tails Persistent Storage behave tests pass 3.037
After features/support/hooks.rb:291 0.712
After features/support/hooks.rb:75 0.000
Tags: @product
38.595
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 12.137
When I log in to a new session without activating the Persistent Storage 19.263
Then Tails is running from USB drive "__internal" 0.386
And persistence is disabled 0.223
But a Tails persistence partition exists on USB drive "__internal" 6.583
After features/support/hooks.rb:291 1.051
After features/support/hooks.rb:75 0.000
Tags: @product
2:43.233
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 11.035
Then Tails is running from USB drive "__internal" 0.527
When I create a file in the Persistent directory 0.164
And I create a persistent partition with the default settings 30.859
Then the file I created was copied to the Persistent Storage 0.420
When I shutdown Tails and wait for the computer to power off 9.073
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:50.746
Then persistence for "Persistent" is active 0.335
And the file I created in the Persistent directory exists 0.069
After features/support/hooks.rb:291 1.105
After features/support/hooks.rb:75 0.007
Tags: @product
1:8.652
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.673
And the system is very low on memory 4.984
When I create a file in the Persistent directory 0.709
When I try to create a persistent partition 23.986
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.135
When I close the Persistent Storage app 2.626
And I free up some memory 1.479
And I create a persistent partition with the default settings 23.757
Then the file I created was copied to the Persistent Storage 0.298
After features/support/hooks.rb:291 1.059
After features/support/hooks.rb:75 0.000
Tags: @product
2:29.826
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 10.168
Then Tails is running from USB drive "__internal" 0.418
And all tps features are active 2.190
And all persistent directories have safe access rights 2.737
When I disable the first tps feature 16.105
Then all tps features but the first one are active 2.217
And I shutdown Tails and wait for the computer to power off 5.183
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:48.390
Then all tps features but the first one are active 2.413
After features/support/hooks.rb:291 0.884
After features/support/hooks.rb:75 0.064
Tags: @product
40.662
Before features/support/hooks.rb:245 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 8.881
Then persistence for "Persistent" is active 0.133
And I create a file in the Persistent directory 0.160
Then the file I created was copied to the Persistent Storage 0.091
When I disable the first tps feature 16.450
Then persistence for "Persistent" is not active 0.074
And the Persistent directory does not exist 0.066
When I enable the first tps feature 14.633
Then persistence for "Persistent" is active 0.082
And the file I created in the Persistent directory exists 0.087
After features/support/hooks.rb:291 0.781
After features/support/hooks.rb:75 0.000
Tags: @product
41.697
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.410
Then persistence for "Persistent" is active 0.104
When I create a file in the Persistent directory 0.100
And I disable the first tps feature 16.533
And I delete the data of the Persistent Folder feature 15.280
Then the file I created does not exist on the Persistent Storage 0.267
After features/support/hooks.rb:291 0.701
After features/support/hooks.rb:75 0.000
Tags: @product
50.825
Before features/support/hooks.rb:245 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.390
And the network is plugged 0.053
And Tor is ready 16.127
And I take note of which tps features are available 1.590
When I write some files expected to persist 1.656
And I shutdown Tails and wait for the computer to power off 6.330
# 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.676
After features/support/hooks.rb:291 0.167
After features/support/hooks.rb:75 0.000
Tags: @product
2:30.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 8.790
And the network is plugged 0.043
And Tor is ready 16.003
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.254
And I shutdown Tails and wait for the computer to power off 6.058
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:44.466
And I capture all network traffic 0.007
And the network is plugged 0.042
And Tor is ready 14.000
And I switch to the "persistent-con-current" NetworkManager connection 0.582
And the 1st network device has a spoofed MAC address configured 0.179
And no network device leaked the real MAC address 0.232
After features/support/hooks.rb:291 0.726
After features/support/hooks.rb:75 0.073
Tags: @product
1:1.547
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 25.858
And I enable persistence creation in Tails Greeter 1.106
And I log in to a new session expecting no warning about the Persistent Storage not being activated 16.709
Then I create a persistent partition with the default settings using the wizard that was already open 17.872
After features/support/hooks.rb:291 1.559
After features/support/hooks.rb:75 0.000
Tags: @product
4:13.847
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.462
When I enable persistence 35.452
Then no persistent Greeter options were restored 14.264
When I set all Greeter options to non-default values 24.640
And I log in to a new session in German (de) after having activated the Persistent Storage 33.646
Then all Greeter options are set to non-default values 0.480
When I cold reboot the computer 5.408
And the computer reboots Tails 45.086
Given I enable persistence 48.530
Then persistent Greeter options were restored 14.795
When I log in to a new session after having activated the Persistent Storage 19.785
Then all Greeter options are set to non-default values 0.293
After features/support/hooks.rb:291 0.884
After features/support/hooks.rb:75 0.007
Tags: @product
3:43.213
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 10.502
# 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.015
And I shutdown Tails and wait for the computer to power off 11.862
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:53.541
And I change the passphrase of the Persistent Storage back to the original 42.292
After features/support/hooks.rb:291 1.862
After features/support/hooks.rb:75 0.009
Tags: @product
16.171
Scenario Deleting a Tails persistent partition
Before features/support/hooks.rb:245 0.004
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.875
And I log in to a new session without activating the Persistent Storage 4.295
<false> is not true. (Test::Unit::AssertionFailedError)
./features/step_definitions/common_steps.rb:451: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:128:in `And I log in to a new session without activating the Persistent Storage'
Then persistence is disabled 0.000
But a Tails persistence partition exists on USB drive "__internal" 0.000
And all notifications have disappeared 0.000
When I delete the persistent partition 0.000
Then there is no persistence partition on USB drive "__internal" 0.000
After features/support/hooks.rb:291 4.109

SCENARIO FAILED: 'Deleting a Tails persistent partition' (at time 03:15:01)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4593/artifact/build-artifacts/03:15:01_Deleting_a_Tails_persistent_partition.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4593/artifact/build-artifacts/03:15:01_Deleting_a_Tails_persistent_partition.mkv

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4593/artifact/build-artifacts/03:15:01_Deleting_a_Tails_persistent_partition.boot-log

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4593/artifact/build-artifacts/03:15:01_Deleting_a_Tails_persistent_partition.journal

After features/support/hooks.rb:75 0.000
Tags: @product
2:16.680
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.655
When I write some dotfile expected to persist 0.093
And I shutdown Tails and wait for the computer to power off 5.198
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:1.397
Then the expected persistent dotfile is present in the filesystem 0.336
After features/support/hooks.rb:291 0.710
After features/support/hooks.rb:75 0.009
Tags: @product
1:27.619
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.344
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.061
When I try to enable persistence 0.261
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 29.726
When I log in to a new session after having activated the Persistent Storage 28.680
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 14.864
And all tps features are enabled 2.455
And all tps features but the first one are active 2.225
After features/support/hooks.rb:291 0.957
After features/support/hooks.rb:75 0.000
Tags: @product
5:13.600
Before features/support/hooks.rb:245 0.004
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:4.877
And I enable persistence 31.242
And I log in to a new session after having activated the Persistent Storage 36.619
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.732
And persistence is enabled 0.128
After features/support/hooks.rb:291 0.826
After features/support/hooks.rb:75 0.000
Tags: @product
40.044
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 9.618
And I enable persistence but something goes wrong during the LUKS header upgrade 29.664
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.761
After features/support/hooks.rb:291 0.615
After features/support/hooks.rb:75 0.000