Project Number Date
test_Tails_ISO_stable 4832 08 May 2024, 12:47

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 108 3 10 0 0 121 14 3 17 37:17.135 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:29.855
Before features/support/hooks.rb:259 0.008
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:40.958
And I update APT using apt 18.588
And I install "python3-behave" using apt 26.358
Then the Tails Persistent Storage behave tests pass 3.951
After features/support/hooks.rb:305 0.848
After features/support/hooks.rb:89 0.000
Tags: @product
1:23.911
Before features/support/hooks.rb:259 0.009
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 54.238
When I log in to a new session without activating the Persistent Storage 23.070
Then Tails is running from USB drive "__internal" 0.399
And persistence is disabled 0.674
But a Tails persistence partition exists on USB drive "__internal" 5.528
After features/support/hooks.rb:305 0.840
After features/support/hooks.rb:89 0.000
Tags: @product
3:27.029
Before features/support/hooks.rb:259 0.005
Given I have started Tails without network from a USB drive without a persistent partition and logged in 17.013
Then Tails is running from USB drive "__internal" 0.587
When I create a file in the Persistent directory 0.176
And I create a persistent partition with the default settings 30.430
Then the file I created was copied to the Persistent Storage 0.964
When I shutdown Tails and wait for the computer to power off 13.324
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:23.999
Then persistence for "Persistent" is active 0.472
And the file I created in the Persistent directory exists 0.061
After features/support/hooks.rb:305 0.902
After features/support/hooks.rb:89 0.009
Tags: @product
1:9.944
Before features/support/hooks.rb:259 0.005
Given I have started Tails without network from a USB drive without a persistent partition and logged in 11.889
And the system is very low on memory 6.962
When I create a file in the Persistent directory 0.698
When I try to create a persistent partition 28.218
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.297
When I close the Persistent Storage app 2.812
And I free up some memory 1.914
And I create a persistent partition with the default settings 16.699
Then the file I created was copied to the Persistent Storage 0.450
After features/support/hooks.rb:305 1.505
After features/support/hooks.rb:89 0.000
Tags: @product
3:13.053
Before features/support/hooks.rb:259 0.008
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 12.753
Then Tails is running from USB drive "__internal" 0.515
And all tps features are active 2.422
And all persistent directories have safe access rights 3.009
When I disable the first tps feature 6.810
Then all tps features but the first one are active 2.169
And I shutdown Tails and wait for the computer to power off 15.743
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:26.974
Then all tps features but the first one are active 2.654
After features/support/hooks.rb:305 0.722
After features/support/hooks.rb:89 0.009
Tags: @product
20.592
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 10.284
Then persistence for "Persistent" is active 0.216
And I create a file in the Persistent directory 0.096
Then the file I created was copied to the Persistent Storage 0.089
When I disable the first tps feature 6.414
Then persistence for "Persistent" is not active 0.098
And the Persistent directory does not exist 0.077
When I enable the first tps feature 3.138
Then persistence for "Persistent" is active 0.079
And the file I created in the Persistent directory exists 0.096
After features/support/hooks.rb:305 0.859
After features/support/hooks.rb:89 0.000
Tags: @product
19.715
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 9.749
Then persistence for "Persistent" is active 0.121
When I create a file in the Persistent directory 0.090
And I disable the first tps feature 6.022
And I delete the data of the Persistent Folder feature 3.681
Then the file I created does not exist on the Persistent Storage 0.048
After features/support/hooks.rb:305 0.879
After features/support/hooks.rb:89 0.000
Tags: @product
1:7.573
Before features/support/hooks.rb:259 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.805
And the network is plugged 0.037
And Tor is ready 21.818
And I take note of which tps features are available 0.625
When I write some files expected to persist 1.782
And I shutdown Tails and wait for the computer to power off 8.875
# 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.628
After features/support/hooks.rb:305 0.104
After features/support/hooks.rb:89 0.000
Tags: @product
2:54.204
Scenario Creating and using a persistent NetworkManager connection
Before features/support/hooks.rb:259 0.005
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.639
And the network is plugged 0.053
And Tor is ready 18.956
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.345
And I shutdown Tails and wait for the computer to power off 9.696
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.511
The
The Dogtail init script raised: SearchError: child of [desktop frame | main]: "gnome-shell" application
STDOUT:

STDERR:

 (Dogtail::Failure)
./features/support/helpers/dogtail.rb:93:in `run'
./features/support/helpers/dogtail.rb:70:in `initialize'
./features/step_definitions/common_steps.rb:711:in `new'
./features/step_definitions/common_steps.rb:711:in `/^all notifications have disappeared$/'
./features/step_definitions/common_steps.rb:295: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:88:in `Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled'
And I capture all network traffic 0.000
And the network is plugged 0.000
And Tor is ready 0.000
And I switch to the "persistent-con-current" NetworkManager connection 0.000
And the 1st network device has a spoofed MAC address configured 0.000
And no network device leaked the real MAC address 0.000
After features/support/hooks.rb:305 4.319

SCENARIO FAILED: 'Creating and using a persistent NetworkManager connection' (at time 03:35:11)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4832/artifact/build-artifacts/03:35:11_Creating_and_using_a_persistent_NetworkManager_connection.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4832/artifact/build-artifacts/03:35:11_Creating_and_using_a_persistent_NetworkManager_connection.mkv

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4832/artifact/build-artifacts/03:35:11_Creating_and_using_a_persistent_NetworkManager_connection.boot-log

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4832/artifact/build-artifacts/03:35:11_Creating_and_using_a_persistent_NetworkManager_connection.journal

After features/support/hooks.rb:89 0.011
Tags: @product
1:11.888
Before features/support/hooks.rb:259 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 12.821
And I enable persistence creation in Tails Greeter 1.517
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.165
Then I create a persistent partition with the default settings using the wizard that was already open 35.384
After features/support/hooks.rb:305 2.155
After features/support/hooks.rb:89 0.000
Tags: @product
5:7.588
Before features/support/hooks.rb:259 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 18.746
When I enable persistence 43.105
Then no persistent Greeter options were restored 15.356
When I set all Greeter options to non-default values 22.279
And I log in to a new session in German (de) after having activated the Persistent Storage 51.946
Then all Greeter options are set to non-default values 0.867
When I cold reboot the computer 7.601
And the computer reboots Tails 1:2.031
Given I enable persistence 33.519
Then persistent Greeter options were restored 16.219
When I log in to a new session after having activated the Persistent Storage 35.434
Then all Greeter options are set to non-default values 0.480
After features/support/hooks.rb:305 0.894
After features/support/hooks.rb:89 0.011
Tags: @product
3:15.477
Scenario Changing the Persistent Storage passphrase
Before features/support/hooks.rb:259 0.006
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.512
# 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 40.328
And I shutdown Tails and wait for the computer to power off 15.554
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:9.082
The
The Dogtail init script raised: SearchError: child of [desktop frame | main]: "gnome-shell" application
STDOUT:

STDERR:

 (Dogtail::Failure)
./features/support/helpers/dogtail.rb:93:in `run'
./features/support/helpers/dogtail.rb:70:in `initialize'
./features/step_definitions/common_steps.rb:711:in `new'
./features/step_definitions/common_steps.rb:711:in `/^all notifications have disappeared$/'
./features/step_definitions/common_steps.rb:295: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:305 4.152

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

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

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

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

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

After features/support/hooks.rb:89 0.025
Tags: @product
1:7.240
Before features/support/hooks.rb:259 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 10.025
And I log in to a new session without activating the Persistent Storage 23.592
Then persistence is disabled 0.510
But a Tails persistence partition exists on USB drive "__internal" 15.767
And all notifications have disappeared 9.585
When I delete the persistent partition 7.536
Then there is no persistence partition on USB drive "__internal" 0.222
After features/support/hooks.rb:305 0.910
After features/support/hooks.rb:89 0.000
Tags: @product
2:26.247
Before features/support/hooks.rb:259 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.516
When I write some dotfile expected to persist 0.083
And I shutdown Tails and wait for the computer to power off 9.062
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.125
Then the expected persistent dotfile is present in the filesystem 0.458
After features/support/hooks.rb:305 0.815
After features/support/hooks.rb:89 0.007
Tags: @product
1:38.993
Scenario Feature activation fails
Before features/support/hooks.rb:259 0.004
Steps
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.702
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.098
When I try to enable persistence 0.309
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 34.294
When I log in to a new session after having activated the Persistent Storage 43.663
And all notifications have disappeared 10.926
The
The Dogtail init script raised: SearchError: child of [desktop frame | main]: "gnome-shell" application
STDOUT:

STDERR:

 (Dogtail::Failure)
./features/support/helpers/dogtail.rb:93:in `run'
./features/support/helpers/dogtail.rb:70:in `initialize'
./features/step_definitions/common_steps.rb:711:in `new'
./features/step_definitions/common_steps.rb:711:in `/^all notifications have disappeared$/'
features/persistence.feature:148:in `And all notifications have disappeared'
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 0.000
And all tps features are enabled 0.000
And all tps features but the first one are active 0.000
After features/support/hooks.rb:305 4.712

SCENARIO FAILED: 'Feature activation fails' (at time 03:50:12)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4832/artifact/build-artifacts/03:50:12_Feature_activation_fails.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4832/artifact/build-artifacts/03:50:12_Feature_activation_fails.mkv

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4832/artifact/build-artifacts/03:50:12_Feature_activation_fails.boot-log

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4832/artifact/build-artifacts/03:50:12_Feature_activation_fails.journal

After features/support/hooks.rb:89 0.000
Tags: @product
5:28.389
Before features/support/hooks.rb:259 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 4:9.277
And I enable persistence 34.287
And I log in to a new session after having activated the Persistent Storage 43.662
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.962
And persistence is enabled 0.198
After features/support/hooks.rb:305 2.546
After features/support/hooks.rb:89 0.000
Tags: @product
35.429
Before features/support/hooks.rb:259 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 9.086
And I enable persistence but something goes wrong during the LUKS header upgrade 25.530
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.811
After features/support/hooks.rb:305 1.336
After features/support/hooks.rb:89 0.000