Project Number Date
test_Tails_ISO_stable 4602 05 Jan 2024, 12:15

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 118 1 1 0 0 120 16 1 17 31:19.473 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:1.961
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:21.221
And I update APT using apt 17.460
And I install "python3-behave" using apt 19.943
Then the Tails Persistent Storage behave tests pass 3.336
After features/support/hooks.rb:291 0.670
After features/support/hooks.rb:75 0.000
Tags: @product
44.376
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 18.861
When I log in to a new session without activating the Persistent Storage 18.717
Then Tails is running from USB drive "__internal" 0.364
And persistence is disabled 0.220
But a Tails persistence partition exists on USB drive "__internal" 6.211
After features/support/hooks.rb:291 1.633
After features/support/hooks.rb:75 0.000
Tags: @product
2:42.360
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.778
Then Tails is running from USB drive "__internal" 0.595
When I create a file in the Persistent directory 0.131
And I create a persistent partition with the default settings 31.187
Then the file I created was copied to the Persistent Storage 0.712
When I shutdown Tails and wait for the computer to power off 9.164
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:48.409
Then persistence for "Persistent" is active 0.305
And the file I created in the Persistent directory exists 0.075
After features/support/hooks.rb:291 0.731
After features/support/hooks.rb:75 0.069
Tags: @product
1:18.816
Before features/support/hooks.rb:245 0.004
Given I have started Tails without network from a USB drive without a persistent partition and logged in 23.853
And the system is very low on memory 2.811
When I create a file in the Persistent directory 0.871
When I try to create a persistent partition 22.855
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.170
When I close the Persistent Storage app 2.514
And I free up some memory 1.015
And I create a persistent partition with the default settings 24.485
Then the file I created was copied to the Persistent Storage 0.238
After features/support/hooks.rb:291 1.348
After features/support/hooks.rb:75 0.000
Tags: @product
2:35.319
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 15.647
Then Tails is running from USB drive "__internal" 0.441
And all tps features are active 2.576
And all persistent directories have safe access rights 2.805
When I disable the first tps feature 16.361
Then all tps features but the first one are active 2.514
And I shutdown Tails and wait for the computer to power off 6.062
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:46.568
Then all tps features but the first one are active 2.340
After features/support/hooks.rb:291 0.663
After features/support/hooks.rb:75 0.008
Tags: @product
41.454
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 9.336
Then persistence for "Persistent" is active 0.084
And I create a file in the Persistent directory 0.082
Then the file I created was copied to the Persistent Storage 0.112
When I disable the first tps feature 16.379
Then persistence for "Persistent" is not active 0.095
And the Persistent directory does not exist 0.098
When I enable the first tps feature 15.085
Then persistence for "Persistent" is active 0.085
And the file I created in the Persistent directory exists 0.091
After features/support/hooks.rb:291 0.804
After features/support/hooks.rb:75 0.000
Tags: @product
42.230
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.463
Then persistence for "Persistent" is active 0.083
When I create a file in the Persistent directory 0.086
And I disable the first tps feature 16.825
And I delete the data of the Persistent Folder feature 15.523
Then the file I created does not exist on the Persistent Storage 0.247
After features/support/hooks.rb:291 0.795
After features/support/hooks.rb:75 0.000
Tags: @product
49.147
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 8.832
And the network is plugged 0.033
And Tor is ready 16.776
And I take note of which tps features are available 0.771
When I write some files expected to persist 1.988
And I shutdown Tails and wait for the computer to power off 6.060
# 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.685
After features/support/hooks.rb:291 0.123
After features/support/hooks.rb:75 0.000
Tags: @product
2:34.958
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.958
And the network is plugged 0.042
And Tor is ready 14.797
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.298
And I shutdown Tails and wait for the computer to power off 6.193
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:49.089
And I capture all network traffic 0.016
And the network is plugged 0.070
And Tor is ready 14.546
And I switch to the "persistent-con-current" NetworkManager connection 0.510
And the 1st network device has a spoofed MAC address configured 0.156
And no network device leaked the real MAC address 0.277
After features/support/hooks.rb:291 0.711
After features/support/hooks.rb:75 0.066
Tags: @product
51.959
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 13.529
And I enable persistence creation in Tails Greeter 1.101
And I log in to a new session expecting no warning about the Persistent Storage not being activated 17.822
Then I create a persistent partition with the default settings using the wizard that was already open 19.504
After features/support/hooks.rb:291 1.486
After features/support/hooks.rb:75 0.000
Tags: @product
4:12.934
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.996
When I enable persistence 35.113
Then no persistent Greeter options were restored 13.886
When I set all Greeter options to non-default values 23.562
And I log in to a new session in German (de) after having activated the Persistent Storage 34.752
Then all Greeter options are set to non-default values 0.244
When I cold reboot the computer 5.190
And the computer reboots Tails 46.051
Given I enable persistence 49.225
Then persistent Greeter options were restored 14.662
When I log in to a new session after having activated the Persistent Storage 20.058
Then all Greeter options are set to non-default values 0.190
After features/support/hooks.rb:291 0.733
After features/support/hooks.rb:75 0.007
Tags: @product
2:8.236
Scenario Changing the Persistent Storage passphrase
Before features/support/hooks.rb:245 0.003
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.441
# 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.526
And I shutdown Tails and wait for the computer to power off 10.532
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:2.736
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/support/helpers/dogtail.rb:345:in `grabFocus'
./features/step_definitions/usb.rb:654:in `/^I try to enable persistence( with the changed passphrase)?$/'
./features/step_definitions/usb.rb:665:in `/^I enable persistence( with the changed passphrase)?$/'
./features/step_definitions/common_steps.rb:237:in `/^I start Tails from (.+?) drive "(.+?)"( with network unplugged)?( and I login( with persistence enabled)?( with the changed persistence passphrase)?( (?:and|with) an administration password)?)?$/'
features/persistence.feature:123:in `Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase'
And I change the passphrase of the Persistent Storage back to the original 0.000
After features/support/hooks.rb:291 4.033

SCENARIO FAILED: 'Changing the Persistent Storage passphrase' (at time 03:13:44)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4602/artifact/build-artifacts/03:13:44_Changing_the_Persistent_Storage_passphrase.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4602/artifact/build-artifacts/03:13:44_Changing_the_Persistent_Storage_passphrase.mkv

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4602/artifact/build-artifacts/03:13:44_Changing_the_Persistent_Storage_passphrase.boot-log

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4602/artifact/build-artifacts/03:13:44_Changing_the_Persistent_Storage_passphrase.journal

After features/support/hooks.rb:75 0.012
Tags: @product
58.312
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.278
And I log in to a new session without activating the Persistent Storage 19.122
Then persistence is disabled 0.258
But a Tails persistence partition exists on USB drive "__internal" 6.786
And all notifications have disappeared 4.933
When I delete the persistent partition 17.614
Then there is no persistence partition on USB drive "__internal" 0.318
After features/support/hooks.rb:291 3.236
After features/support/hooks.rb:75 0.000
Tags: @product
2:9.483
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.473
When I write some dotfile expected to persist 0.093
And I shutdown Tails and wait for the computer to power off 5.071
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:54.328
Then the expected persistent dotfile is present in the filesystem 0.516
After features/support/hooks.rb:291 1.030
After features/support/hooks.rb:75 0.008
Tags: @product
1:25.274
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 9.783
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.075
When I try to enable persistence 0.263
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 25.756
When I log in to a new session after having activated the Persistent Storage 26.531
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 18.165
And all tps features are enabled 2.503
And all tps features but the first one are active 2.193
After features/support/hooks.rb:291 0.743
After features/support/hooks.rb:75 0.000
Tags: @product
4:41.537
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:33.816
And I enable persistence 34.286
And I log in to a new session after having activated the Persistent Storage 32.514
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.792
And persistence is enabled 0.127
After features/support/hooks.rb:291 0.829
After features/support/hooks.rb:75 0.000
Tags: @product
41.110
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 8.655
And I enable persistence but something goes wrong during the LUKS header upgrade 31.680
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.774
After features/support/hooks.rb:291 0.684
After features/support/hooks.rb:75 0.000