Project Number Date
test_Tails_ISO_20268-more-early-patch-functionality 6 19 Mar 2024, 06:28

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 120 1 0 0 0 121 16 1 17 30:35.895 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:3.910
Before features/support/hooks.rb:245 0.004
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:24.733
And I update APT using apt 17.067
And I install "python3-behave" using apt 19.493
Then the Tails Persistent Storage behave tests pass 2.616
After features/support/hooks.rb:291 0.659
After features/support/hooks.rb:75 0.000
Tags: @product
34.672
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.584
When I log in to a new session without activating the Persistent Storage 18.252
Then Tails is running from USB drive "__internal" 0.366
And persistence is disabled 0.191
But a Tails persistence partition exists on USB drive "__internal" 5.278
After features/support/hooks.rb:291 1.090
After features/support/hooks.rb:75 0.000
Tags: @product
2:44.801
Before features/support/hooks.rb:245 0.006
Given I have started Tails without network from a USB drive without a persistent partition and logged in 11.875
Then Tails is running from USB drive "__internal" 0.487
When I create a file in the Persistent directory 0.118
And I create a persistent partition with the default settings 21.509
Then the file I created was copied to the Persistent Storage 0.521
When I shutdown Tails and wait for the computer to power off 10.037
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:59.850
Then persistence for "Persistent" is active 0.320
And the file I created in the Persistent directory exists 0.080
After features/support/hooks.rb:291 0.727
After features/support/hooks.rb:75 0.009
Tags: @product
49.799
Before features/support/hooks.rb:245 0.006
Given I have started Tails without network from a USB drive without a persistent partition and logged in 10.140
And the system is very low on memory 3.270
When I create a file in the Persistent directory 1.268
When I try to create a persistent partition 17.856
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.362
When I close the Persistent Storage app 3.107
And I free up some memory 1.363
And I create a persistent partition with the default settings 12.198
Then the file I created was copied to the Persistent Storage 0.230
After features/support/hooks.rb:291 1.307
After features/support/hooks.rb:75 0.000
Tags: @product
2:18.548
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.799
Then Tails is running from USB drive "__internal" 0.353
And all tps features are active 1.986
And all persistent directories have safe access rights 2.223
When I disable the first tps feature 4.532
Then all tps features but the first one are active 1.698
And I shutdown Tails and wait for the computer to power off 7.021
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:48.199
Then all tps features but the first one are active 1.731
After features/support/hooks.rb:291 0.598
After features/support/hooks.rb:75 0.009
Tags: @product
17.127
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.812
Then persistence for "Persistent" is active 0.116
And I create a file in the Persistent directory 0.094
Then the file I created was copied to the Persistent Storage 0.070
When I disable the first tps feature 4.252
Then persistence for "Persistent" is not active 0.068
And the Persistent directory does not exist 0.042
When I enable the first tps feature 2.526
Then persistence for "Persistent" is active 0.069
And the file I created in the Persistent directory exists 0.072
After features/support/hooks.rb:291 0.763
After features/support/hooks.rb:75 0.000
Tags: @product
17.031
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.397
Then persistence for "Persistent" is active 0.109
When I create a file in the Persistent directory 0.072
And I disable the first tps feature 4.408
And I delete the data of the Persistent Folder feature 2.996
Then the file I created does not exist on the Persistent Storage 0.046
After features/support/hooks.rb:291 0.742
After features/support/hooks.rb:75 0.000
Tags: @product
1:14.979
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.762
And the network is plugged 0.034
And Tor is ready 42.763
And I take note of which tps features are available 0.494
When I write some files expected to persist 1.256
And I shutdown Tails and wait for the computer to power off 6.018
# 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.648
After features/support/hooks.rb:291 0.144
After features/support/hooks.rb:75 0.000
Tags: @product
2:41.920
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.635
And the network is plugged 0.040
And Tor is ready 16.028
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.200
And I shutdown Tails and wait for the computer to power off 7.025
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:50.113
And I capture all network traffic 0.008
And the network is plugged 0.047
And Tor is ready 18.064
And I switch to the "persistent-con-current" NetworkManager connection 0.401
And the 1st network device has a spoofed MAC address configured 0.072
And no network device leaked the real MAC address 0.281
After features/support/hooks.rb:291 0.611
After features/support/hooks.rb:75 0.060
Tags: @product
50.063
Before features/support/hooks.rb:245 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 11.660
And I enable persistence creation in Tails Greeter 1.344
And I log in to a new session expecting no warning about the Persistent Storage not being activated 16.860
Then I create a persistent partition with the default settings using the wizard that was already open 20.198
After features/support/hooks.rb:291 2.028
After features/support/hooks.rb:75 0.000
Tags: @product
4:19.659
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.244
When I enable persistence 28.992
Then no persistent Greeter options were restored 14.029
When I set all Greeter options to non-default values 21.337
And I log in to a new session in German (de) after having activated the Persistent Storage 46.611
Then all Greeter options are set to non-default values 0.246
When I cold reboot the computer 5.961
And the computer reboots Tails 54.508
Given I enable persistence 26.770
Then persistent Greeter options were restored 14.793
When I log in to a new session after having activated the Persistent Storage 33.548
Then all Greeter options are set to non-default values 0.614
After features/support/hooks.rb:291 1.127
After features/support/hooks.rb:75 0.009
Tags: @product
3:55.154
Scenario Changing the Persistent Storage passphrase
Before features/support/hooks.rb:245 0.006
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.351
# 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 35.586
And I shutdown Tails and wait for the computer to power off 10.061
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:52.204
And I change the passphrase of the Persistent Storage back to the original 1:6.949
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:474:in `/^I change the passphrase of the Persistent Storage( back to the original)?$/'
features/persistence.feature:124:in `And I change the passphrase of the Persistent Storage back to the original'
After features/support/hooks.rb:291 4.500

SCENARIO FAILED: 'Changing the Persistent Storage passphrase' (at time 03:08:02)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20268-more-early-patch-functionality/6/artifact/build-artifacts/03:08:02_Changing_the_Persistent_Storage_passphrase.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20268-more-early-patch-functionality/6/artifact/build-artifacts/03:08:02_Changing_the_Persistent_Storage_passphrase.mkv

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_20268-more-early-patch-functionality/6/artifact/build-artifacts/03:08:02_Changing_the_Persistent_Storage_passphrase.boot-log

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20268-more-early-patch-functionality/6/artifact/build-artifacts/03:08:02_Changing_the_Persistent_Storage_passphrase.journal

After features/support/hooks.rb:75 0.007
Tags: @product
46.179
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.569
And I log in to a new session without activating the Persistent Storage 17.198
Then persistence is disabled 0.208
But a Tails persistence partition exists on USB drive "__internal" 4.602
And all notifications have disappeared 8.158
When I delete the persistent partition 6.039
Then there is no persistence partition on USB drive "__internal" 0.402
After features/support/hooks.rb:291 0.670
After features/support/hooks.rb:75 0.000
Tags: @product
2:4.546
Before features/support/hooks.rb:245 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.344
When I write some dotfile expected to persist 0.070
And I shutdown Tails and wait for the computer to power off 6.023
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:48.765
Then the expected persistent dotfile is present in the filesystem 0.341
After features/support/hooks.rb:291 0.797
After features/support/hooks.rb:75 0.010
Tags: @product
1:24.797
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 9.128
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.078
When I try to enable persistence 0.275
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 24.632
When I log in to a new session after having activated the Persistent Storage 35.115
And all notifications have disappeared 9.002
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.029
And all tps features are enabled 1.857
And all tps features but the first one are active 1.675
After features/support/hooks.rb:291 0.677
After features/support/hooks.rb:75 0.000
Tags: @product
3:46.001
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 2:44.306
And I enable persistence 25.244
And I log in to a new session after having activated the Persistent Storage 34.659
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.495
And persistence is enabled 0.295
After features/support/hooks.rb:291 1.411
After features/support/hooks.rb:75 0.000
Tags: @product
26.703
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.234
And I enable persistence but something goes wrong during the LUKS header upgrade 17.764
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.704
After features/support/hooks.rb:291 0.663
After features/support/hooks.rb:75 0.000