Project Number Date
test_Tails_ISO_20268-more-early-patch-functionality 9 19 Mar 2024, 23:03

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 32:3.641 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:8.135
Before features/support/hooks.rb:245 0.006
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:28.089
And I update APT using apt 16.735
And I install "python3-behave" using apt 20.394
Then the Tails Persistent Storage behave tests pass 2.916
After features/support/hooks.rb:291 0.664
After features/support/hooks.rb:75 0.000
Tags: @product
38.254
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 14.288
When I log in to a new session without activating the Persistent Storage 18.810
Then Tails is running from USB drive "__internal" 0.436
And persistence is disabled 0.268
But a Tails persistence partition exists on USB drive "__internal" 4.449
After features/support/hooks.rb:291 1.427
After features/support/hooks.rb:75 0.000
Tags: @product
2:43.502
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 13.049
Then Tails is running from USB drive "__internal" 0.420
When I create a file in the Persistent directory 0.271
And I create a persistent partition with the default settings 21.435
Then the file I created was copied to the Persistent Storage 0.590
When I shutdown Tails and wait for the computer to power off 10.066
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:57.266
Then persistence for "Persistent" is active 0.337
And the file I created in the Persistent directory exists 0.063
After features/support/hooks.rb:291 0.643
After features/support/hooks.rb:75 0.009
Tags: @product
54.817
Before features/support/hooks.rb:245 0.008
Given I have started Tails without network from a USB drive without a persistent partition and logged in 10.282
And the system is very low on memory 3.536
When I create a file in the Persistent directory 1.007
When I try to create a persistent partition 22.562
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.172
When I close the Persistent Storage app 2.494
And I free up some memory 1.412
And I create a persistent partition with the default settings 13.140
Then the file I created was copied to the Persistent Storage 0.207
After features/support/hooks.rb:291 1.439
After features/support/hooks.rb:75 0.000
Tags: @product
2:19.092
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.433
Then Tails is running from USB drive "__internal" 0.496
And all tps features are active 2.282
And all persistent directories have safe access rights 2.403
When I disable the first tps feature 4.602
Then all tps features but the first one are active 1.881
And I shutdown Tails and wait for the computer to power off 7.138
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:47.993
Then all tps features but the first one are active 1.859
After features/support/hooks.rb:291 0.696
After features/support/hooks.rb:75 0.015
Tags: @product
17.280
Before features/support/hooks.rb:245 0.008
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.725
Then persistence for "Persistent" is active 0.192
And I create a file in the Persistent directory 0.071
Then the file I created was copied to the Persistent Storage 0.068
When I disable the first tps feature 4.403
Then persistence for "Persistent" is not active 0.076
And the Persistent directory does not exist 0.045
When I enable the first tps feature 2.553
Then persistence for "Persistent" is active 0.069
And the file I created in the Persistent directory exists 0.073
After features/support/hooks.rb:291 0.975
After features/support/hooks.rb:75 0.000
Tags: @product
17.066
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.275
Then persistence for "Persistent" is active 0.185
When I create a file in the Persistent directory 0.088
And I disable the first tps feature 4.401
And I delete the data of the Persistent Folder feature 3.061
Then the file I created does not exist on the Persistent Storage 0.053
After features/support/hooks.rb:291 1.016
After features/support/hooks.rb:75 0.000
Tags: @product
48.369
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.334
And the network is plugged 0.058
And Tor is ready 15.745
And I take note of which tps features are available 0.536
When I write some files expected to persist 1.444
And I shutdown Tails and wait for the computer to power off 6.020
# 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" 15.229
After features/support/hooks.rb:291 0.106
After features/support/hooks.rb:75 0.000
Tags: @product
2:42.398
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.381
And the network is plugged 0.057
And Tor is ready 17.074
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.179
And I shutdown Tails and wait for the computer to power off 7.065
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:50.817
And I capture all network traffic 0.007
And the network is plugged 0.048
And Tor is ready 17.084
And I switch to the "persistent-con-current" NetworkManager connection 0.340
And the 1st network device has a spoofed MAC address configured 0.081
And no network device leaked the real MAC address 0.259
After features/support/hooks.rb:291 1.422
After features/support/hooks.rb:75 0.047
Tags: @product
48.231
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.266
And I enable persistence creation in Tails Greeter 1.107
And I log in to a new session expecting no warning about the Persistent Storage not being activated 16.768
Then I create a persistent partition with the default settings using the wizard that was already open 19.088
After features/support/hooks.rb:291 1.754
After features/support/hooks.rb:75 0.000
Tags: @product
4:20.657
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 10.925
When I enable persistence 31.531
Then no persistent Greeter options were restored 14.577
When I set all Greeter options to non-default values 23.076
And I log in to a new session in German (de) after having activated the Persistent Storage 46.323
Then all Greeter options are set to non-default values 1.323
When I cold reboot the computer 6.000
And the computer reboots Tails 53.690
Given I enable persistence 27.185
Then persistent Greeter options were restored 14.607
When I log in to a new session after having activated the Persistent Storage 30.927
Then all Greeter options are set to non-default values 0.487
After features/support/hooks.rb:291 1.539
After features/support/hooks.rb:75 0.009
Tags: @product
3:57.849
Scenario Changing the Persistent Storage passphrase
Before features/support/hooks.rb:245 0.005
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.925
# 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 36.584
And I shutdown Tails and wait for the computer to power off 11.030
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:49.959
And I change the passphrase of the Persistent Storage back to the original 1:8.348
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.660

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

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

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

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

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

After features/support/hooks.rb:75 0.010
Tags: @product
56.705
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 10.029
And I log in to a new session without activating the Persistent Storage 21.463
Then persistence is disabled 0.602
But a Tails persistence partition exists on USB drive "__internal" 9.585
And all notifications have disappeared 9.320
When I delete the persistent partition 5.343
Then there is no persistence partition on USB drive "__internal" 0.360
After features/support/hooks.rb:291 0.748
After features/support/hooks.rb:75 0.000
Tags: @product
2:6.110
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.593
When I write some dotfile expected to persist 0.077
And I shutdown Tails and wait for the computer to power off 6.026
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:50.100
Then the expected persistent dotfile is present in the filesystem 0.312
After features/support/hooks.rb:291 0.824
After features/support/hooks.rb:75 0.010
Tags: @product
1:27.902
Before features/support/hooks.rb:245 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 8.578
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.072
When I try to enable persistence 0.254
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 31.313
When I log in to a new session after having activated the Persistent Storage 33.323
And all notifications have disappeared 7.312
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.134
And all tps features are enabled 2.086
And all tps features but the first one are active 1.827
After features/support/hooks.rb:291 1.207
After features/support/hooks.rb:75 0.000
Tags: @product
5:4.706
Before features/support/hooks.rb:245 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 3:57.073
And I enable persistence 28.550
And I log in to a new session after having activated the Persistent Storage 37.146
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.738
And persistence is enabled 0.197
After features/support/hooks.rb:291 1.530
After features/support/hooks.rb:75 0.000
Tags: @product
32.561
Before features/support/hooks.rb:245 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 11.341
And I enable persistence but something goes wrong during the LUKS header upgrade 20.481
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.737
After features/support/hooks.rb:291 0.703
After features/support/hooks.rb:75 0.000