Project Number Date
test_Tails_ISO_devel 3480 14 Aug 2024, 20:50

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 41:0.883 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
3:19.331
Scenario Tails Persistent Storage behave tests
Before features/support/hooks.rb:269 0.008
Steps
Given I have started Tails from DVD and logged in with an administration password and the network is connected 3:19.331
cannot find GnomeApplicationsMenu.png on the screen (FindFailed)
./features/support/helpers/screen.rb:173:in `rescue in wait'
./features/support/helpers/screen.rb:157:in `wait'
./features/step_definitions/common_steps.rb:562:in `/^the Tails desktop is ready$/'
./features/step_definitions/common_steps.rb:518: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/step_definitions/snapshots.rb:153:in `block in reach_checkpoint'
./features/step_definitions/snapshots.rb:150:in `each'
./features/step_definitions/snapshots.rb:150:in `reach_checkpoint'
./features/step_definitions/snapshots.rb:137:in `reach_checkpoint'
./features/step_definitions/snapshots.rb:173:in `/^I\ have\ started\ Tails\ from\ DVD\ and\ logged\ in\ with\ an\ administration\ password\ and\ the\ network\ is\ connected$/'
features/persistence.feature:7:in `Given I have started Tails from DVD and logged in with an administration password and the network is connected'
And I update APT using apt 0.000
And I install "python3-behave" using apt 0.000
Then the Tails Persistent Storage behave tests pass 0.000
After features/support/hooks.rb:326 5.688

SCENARIO FAILED: 'Tails Persistent Storage behave tests' (at time 03:05:00)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3480/artifact/build-artifacts/03:05:00_Tails_Persistent_Storage_behave_tests.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3480/artifact/build-artifacts/03:05:00_Tails_Persistent_Storage_behave_tests.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3480/artifact/build-artifacts/03:05:00_Tails_Persistent_Storage_behave_tests.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3480/artifact/build-artifacts/03:05:00_Tails_Persistent_Storage_behave_tests.journal

After features/support/hooks.rb:100 0.000
Tags: @product
50.887
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 13.670
When I log in to a new session without activating the Persistent Storage 29.448
Then Tails is running from USB drive "__internal" 0.812
And persistence is disabled 0.375
But a Tails persistence partition exists on USB drive "__internal" 6.580
After features/support/hooks.rb:326 1.180
After features/support/hooks.rb:100 0.000
Tags: @product
3:29.023
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 17.683
Then Tails is running from USB drive "__internal" 0.581
When I create a file in the Persistent directory 0.127
And I create a persistent partition with the default settings 25.817
Then the file I created was copied to the Persistent Storage 0.621
When I shutdown Tails and wait for the computer to power off 15.504
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:28.290
Then persistence for "Persistent" is active 0.325
And the file I created in the Persistent directory exists 0.070
After features/support/hooks.rb:326 1.076
After features/support/hooks.rb:100 0.012
Tags: @product
1:6.572
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 12.019
And the system is very low on memory 4.876
When I create a file in the Persistent directory 0.838
When I try to create a persistent partition 29.062
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.165
When I close the Persistent Storage app 2.931
And I free up some memory 1.628
And I create a persistent partition with the default settings 14.810
Then the file I created was copied to the Persistent Storage 0.239
After features/support/hooks.rb:326 1.711
After features/support/hooks.rb:100 0.000
Tags: @product
2:50.272
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 12.132
Then Tails is running from USB drive "__internal" 0.471
And all tps features are active 2.555
And all persistent directories have safe access rights 2.750
When I disable the first tps feature 5.216
Then all tps features but the first one are active 2.183
And I shutdown Tails and wait for the computer to power off 10.705
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.889
Then all tps features but the first one are active 2.367
After features/support/hooks.rb:326 0.795
After features/support/hooks.rb:100 0.012
Tags: @product
19.921
Before features/support/hooks.rb:269 0.009
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.561
Then persistence for "Persistent" is active 0.112
And I create a file in the Persistent directory 0.091
Then the file I created was copied to the Persistent Storage 0.080
When I disable the first tps feature 5.570
Then persistence for "Persistent" is not active 0.080
And the Persistent directory does not exist 0.052
When I enable the first tps feature 3.231
Then persistence for "Persistent" is active 0.080
And the file I created in the Persistent directory exists 0.060
After features/support/hooks.rb:326 0.917
After features/support/hooks.rb:100 0.000
Tags: @product
20.004
Before features/support/hooks.rb:269 0.010
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.221
Then persistence for "Persistent" is active 0.189
When I create a file in the Persistent directory 0.118
And I disable the first tps feature 5.754
And I delete the data of the Persistent Folder feature 3.664
Then the file I created does not exist on the Persistent Storage 0.056
After features/support/hooks.rb:326 1.066
After features/support/hooks.rb:100 0.000
Tags: @product
1:38.842
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 15.364
And the network is plugged 0.090
And Tor is ready 47.587
And I take note of which tps features are available 0.596
When I write some files expected to persist 1.451
And I shutdown Tails and wait for the computer to power off 8.870
# 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.882
After features/support/hooks.rb:326 0.104
After features/support/hooks.rb:100 0.000
Tags: @product
3:15.819
Before features/support/hooks.rb:269 0.009
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 12.479
And the network is plugged 0.084
And Tor is ready 17.620
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.205
And I shutdown Tails and wait for the computer to power off 9.107
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.424
And I capture all network traffic 0.012
And the network is plugged 0.090
And Tor is ready 21.034
And I switch to the "persistent-con-current" NetworkManager connection 0.404
And the 1st network device has a spoofed MAC address configured 0.090
And no network device leaked the real MAC address 0.263
After features/support/hooks.rb:326 0.711
After features/support/hooks.rb:100 0.085
Tags: @product
1:2.495
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 13.816
And I enable persistence creation in Tails Greeter 1.228
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.587
Then I create a persistent partition with the default settings using the wizard that was already open 24.863
After features/support/hooks.rb:326 1.974
After features/support/hooks.rb:100 0.000
Tags: @product
5:53.966
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 31.373
When I enable persistence 53.830
Then no persistent Greeter options were restored 16.401
When I set all Greeter options to non-default values 28.471
And I log in to a new session in German (de) after having activated the Persistent Storage 56.942
Then all Greeter options are set to non-default values 0.417
When I cold reboot the computer 7.968
And the computer reboots Tails 1:6.124
Given I enable persistence 35.536
Then persistent Greeter options were restored 16.329
When I log in to a new session after having activated the Persistent Storage 40.222
Then all Greeter options are set to non-default values 0.350
After features/support/hooks.rb:326 1.128
After features/support/hooks.rb:100 0.019
Tags: @product
4:22.977
Before features/support/hooks.rb:269 0.033
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.853
# 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 48.681
And I shutdown Tails and wait for the computer to power off 12.840
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:37.601
And I change the passphrase of the Persistent Storage back to the original 33.000
After features/support/hooks.rb:326 1.882
After features/support/hooks.rb:100 0.014
Tags: @product
1:1.080
Before features/support/hooks.rb:269 0.010
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.545
And I log in to a new session without activating the Persistent Storage 21.800
Then persistence is disabled 0.426
But a Tails persistence partition exists on USB drive "__internal" 12.399
And all notifications have disappeared 10.371
When I delete the persistent partition 5.988
Then there is no persistence partition on USB drive "__internal" 0.547
After features/support/hooks.rb:326 1.151
After features/support/hooks.rb:100 0.000
Tags: @product
2:43.698
Before features/support/hooks.rb:269 0.009
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 25.699
When I write some dotfile expected to persist 0.057
And I shutdown Tails and wait for the computer to power off 8.556
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.996
Then the expected persistent dotfile is present in the filesystem 0.387
After features/support/hooks.rb:326 1.024
After features/support/hooks.rb:100 0.010
Tags: @product
1:44.684
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 9.510
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.137
When I try to enable persistence 0.386
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 35.378
When I log in to a new session after having activated the Persistent Storage 42.043
And all notifications have disappeared 8.512
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.857
And all tps features are enabled 2.767
And all tps features but the first one are active 2.089
After features/support/hooks.rb:326 0.821
After features/support/hooks.rb:100 0.000
Tags: @product
6:29.459
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 5:10.639
And I enable persistence 32.478
And I log in to a new session after having activated the Persistent Storage 43.989
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.837
And persistence is enabled 0.514
After features/support/hooks.rb:326 2.132
After features/support/hooks.rb:100 0.000
Tags: @product
31.844
Before features/support/hooks.rb:269 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 10.796
And I enable persistence but something goes wrong during the LUKS header upgrade 20.247
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.801
After features/support/hooks.rb:326 1.055
After features/support/hooks.rb:100 0.000