Project Number Date
test_Tails_ISO_20268-more-early-patch-functionality 79 21 May 2024, 06:39

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 36:1.185 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:27.244
Before features/support/hooks.rb:259 0.004
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:38.622
And I update APT using apt 19.418
And I install "python3-behave" using apt 26.419
Then the Tails Persistent Storage behave tests pass 2.783
After features/support/hooks.rb:305 0.912
After features/support/hooks.rb:89 0.000
Tags: @product
45.381
Before features/support/hooks.rb:259 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.685
When I log in to a new session without activating the Persistent Storage 24.961
Then Tails is running from USB drive "__internal" 0.412
And persistence is disabled 0.364
But a Tails persistence partition exists on USB drive "__internal" 6.957
After features/support/hooks.rb:305 0.976
After features/support/hooks.rb:89 0.000
Tags: @product
3:27.103
Before features/support/hooks.rb:259 0.006
Given I have started Tails without network from a USB drive without a persistent partition and logged in 12.299
Then Tails is running from USB drive "__internal" 0.419
When I create a file in the Persistent directory 0.168
And I create a persistent partition with the default settings 32.213
Then the file I created was copied to the Persistent Storage 0.766
When I shutdown Tails and wait for the computer to power off 14.587
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:26.154
Then persistence for "Persistent" is active 0.415
And the file I created in the Persistent directory exists 0.078
After features/support/hooks.rb:305 1.009
After features/support/hooks.rb:89 0.019
Tags: @product
1:12.552
Before features/support/hooks.rb:259 0.011
Given I have started Tails without network from a USB drive without a persistent partition and logged in 23.804
And the system is very low on memory 4.388
When I create a file in the Persistent directory 0.727
When I try to create a persistent partition 24.116
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.274
When I close the Persistent Storage app 2.672
And I free up some memory 1.820
And I create a persistent partition with the default settings 14.510
Then the file I created was copied to the Persistent Storage 0.236
After features/support/hooks.rb:305 1.566
After features/support/hooks.rb:89 0.000
Tags: @product
2:46.069
Before features/support/hooks.rb:259 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.053
Then Tails is running from USB drive "__internal" 0.447
And all tps features are active 2.382
And all persistent directories have safe access rights 2.678
When I disable the first tps feature 6.394
Then all tps features but the first one are active 2.316
And I shutdown Tails and wait for the computer to power off 11.164
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.501
Then all tps features but the first one are active 2.130
After features/support/hooks.rb:305 0.644
After features/support/hooks.rb:89 0.009
Tags: @product
19.043
Before features/support/hooks.rb:259 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.716
Then persistence for "Persistent" is active 0.104
And I create a file in the Persistent directory 0.090
Then the file I created was copied to the Persistent Storage 0.084
When I disable the first tps feature 5.604
Then persistence for "Persistent" is not active 0.075
And the Persistent directory does not exist 0.063
When I enable the first tps feature 3.165
Then persistence for "Persistent" is active 0.072
And the file I created in the Persistent directory exists 0.066
After features/support/hooks.rb:305 0.974
After features/support/hooks.rb:89 0.000
Tags: @product
20.608
Before features/support/hooks.rb:259 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.965
Then persistence for "Persistent" is active 0.131
When I create a file in the Persistent directory 0.082
And I disable the first tps feature 6.616
And I delete the data of the Persistent Folder feature 3.737
Then the file I created does not exist on the Persistent Storage 0.074
After features/support/hooks.rb:305 1.002
After features/support/hooks.rb:89 0.000
Tags: @product
1:8.129
Before features/support/hooks.rb:259 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.668
And the network is plugged 0.063
And Tor is ready 21.270
And I take note of which tps features are available 0.585
When I write some files expected to persist 1.535
And I shutdown Tails and wait for the computer to power off 8.972
# 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" 25.032
After features/support/hooks.rb:305 0.148
After features/support/hooks.rb:89 0.000
Tags: @product
3:20.832
Before features/support/hooks.rb:259 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.693
And the network is plugged 0.041
And Tor is ready 19.712
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.287
And I shutdown Tails and wait for the computer to power off 9.334
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:18.039
And I capture all network traffic 0.008
And the network is plugged 0.042
And Tor is ready 23.023
And I switch to the "persistent-con-current" NetworkManager connection 0.361
And the 1st network device has a spoofed MAC address configured 0.078
And no network device leaked the real MAC address 0.210
After features/support/hooks.rb:305 0.541
After features/support/hooks.rb:89 0.051
Tags: @product
1:1.367
Before features/support/hooks.rb:259 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 12.584
And I enable persistence creation in Tails Greeter 1.134
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.578
Then I create a persistent partition with the default settings using the wizard that was already open 26.070
After features/support/hooks.rb:305 3.699
After features/support/hooks.rb:89 0.000
Tags: @product
5:4.093
Before features/support/hooks.rb:259 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.982
When I enable persistence 40.685
Then no persistent Greeter options were restored 15.452
When I set all Greeter options to non-default values 22.348
And I log in to a new session in German (de) after having activated the Persistent Storage 53.297
Then all Greeter options are set to non-default values 0.398
When I cold reboot the computer 7.868
And the computer reboots Tails 1:5.043
Given I enable persistence 32.920
Then persistent Greeter options were restored 15.855
When I log in to a new session after having activated the Persistent Storage 36.702
Then all Greeter options are set to non-default values 0.538
After features/support/hooks.rb:305 1.344
After features/support/hooks.rb:89 0.012
Tags: @product
3:45.689
Before features/support/hooks.rb:259 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.019
# 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 32.855
And I shutdown Tails and wait for the computer to power off 12.320
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:12.271
And I change the passphrase of the Persistent Storage back to the original 38.220
After features/support/hooks.rb:305 1.997
After features/support/hooks.rb:89 0.012
Tags: @product
15.349
Scenario Deleting a Tails persistent partition
Before features/support/hooks.rb:259 0.005
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.280
And I log in to a new session without activating the Persistent Storage 4.068
<false> is not true. (Test::Unit::AssertionFailedError)
./features/step_definitions/common_steps.rb:511: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:305 4.266

SCENARIO FAILED: 'Deleting a Tails persistent partition' (at time 03:25:04)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20268-more-early-patch-functionality/79/artifact/build-artifacts/03:25:04_Deleting_a_Tails_persistent_partition.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20268-more-early-patch-functionality/79/artifact/build-artifacts/03:25:04_Deleting_a_Tails_persistent_partition.mkv

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_20268-more-early-patch-functionality/79/artifact/build-artifacts/03:25:04_Deleting_a_Tails_persistent_partition.boot-log

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20268-more-early-patch-functionality/79/artifact/build-artifacts/03:25:04_Deleting_a_Tails_persistent_partition.journal

After features/support/hooks.rb:89 0.000
Tags: @product
2:43.962
Before features/support/hooks.rb:259 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.885
When I write some dotfile expected to persist 0.103
And I shutdown Tails and wait for the computer to power off 11.091
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:21.478
Then the expected persistent dotfile is present in the filesystem 0.403
After features/support/hooks.rb:305 0.696
After features/support/hooks.rb:89 0.009
Tags: @product
1:47.065
Before features/support/hooks.rb:259 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.635
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.093
When I try to enable persistence 0.287
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 34.575
When I log in to a new session after having activated the Persistent Storage 44.503
And all notifications have disappeared 9.166
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.214
And all tps features are enabled 2.466
And all tps features but the first one are active 2.122
After features/support/hooks.rb:305 1.082
After features/support/hooks.rb:89 0.000
Tags: @product
5:2.928
Before features/support/hooks.rb:259 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 3:44.081
And I enable persistence 33.282
And I log in to a new session after having activated the Persistent Storage 42.409
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.588
And persistence is enabled 0.566
After features/support/hooks.rb:305 1.621
After features/support/hooks.rb:89 0.000
Tags: @product
33.767
Before features/support/hooks.rb:259 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.445
And I enable persistence but something goes wrong during the LUKS header upgrade 23.608
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.714
After features/support/hooks.rb:305 0.849
After features/support/hooks.rb:89 0.000