Project Number Date
test_Tails_ISO_devel 3371 02 May 2024, 13:52

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 119 1 1 0 0 121 16 1 17 36:30.554 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:18.154
Before features/support/hooks.rb:259 0.006
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:33.489
And I update APT using apt 18.096
And I install "python3-behave" using apt 23.332
Then the Tails Persistent Storage behave tests pass 3.235
After features/support/hooks.rb:305 0.661
After features/support/hooks.rb:89 0.000
Tags: @product
48.941
Before features/support/hooks.rb:259 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 15.564
When I log in to a new session without activating the Persistent Storage 24.739
Then Tails is running from USB drive "__internal" 0.415
And persistence is disabled 0.466
But a Tails persistence partition exists on USB drive "__internal" 7.755
After features/support/hooks.rb:305 0.999
After features/support/hooks.rb:89 0.000
Tags: @product
3:13.664
Before features/support/hooks.rb:259 0.004
Given I have started Tails without network from a USB drive without a persistent partition and logged in 12.958
Then Tails is running from USB drive "__internal" 0.684
When I create a file in the Persistent directory 0.177
And I create a persistent partition with the default settings 25.836
Then the file I created was copied to the Persistent Storage 0.750
When I shutdown Tails and wait for the computer to power off 12.887
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:19.974
Then persistence for "Persistent" is active 0.322
And the file I created in the Persistent directory exists 0.072
After features/support/hooks.rb:305 1.500
After features/support/hooks.rb:89 0.024
Tags: @product
1:3.052
Before features/support/hooks.rb:259 0.059
Given I have started Tails without network from a USB drive without a persistent partition and logged in 12.355
And the system is very low on memory 4.890
When I create a file in the Persistent directory 1.268
When I try to create a persistent partition 23.173
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.216
When I close the Persistent Storage app 2.660
And I free up some memory 2.052
And I create a persistent partition with the default settings 16.187
Then the file I created was copied to the Persistent Storage 0.246
After features/support/hooks.rb:305 1.221
After features/support/hooks.rb:89 0.000
Tags: @product
2:49.921
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 10.556
Then Tails is running from USB drive "__internal" 0.494
And all tps features are active 2.658
And all persistent directories have safe access rights 2.600
When I disable the first tps feature 5.377
Then all tps features but the first one are active 2.544
And I shutdown Tails and wait for the computer to power off 11.111
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.436
Then all tps features but the first one are active 2.140
After features/support/hooks.rb:305 0.661
After features/support/hooks.rb:89 0.012
Tags: @product
18.473
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.480
Then persistence for "Persistent" is active 0.108
And I create a file in the Persistent directory 0.091
Then the file I created was copied to the Persistent Storage 0.062
When I disable the first tps feature 5.367
Then persistence for "Persistent" is not active 0.073
And the Persistent directory does not exist 0.098
When I enable the first tps feature 3.062
Then persistence for "Persistent" is active 0.078
And the file I created in the Persistent directory exists 0.050
After features/support/hooks.rb:305 0.847
After features/support/hooks.rb:89 0.000
Tags: @product
20.259
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.311
Then persistence for "Persistent" is active 0.088
When I create a file in the Persistent directory 0.062
And I disable the first tps feature 7.002
And I delete the data of the Persistent Folder feature 3.738
Then the file I created does not exist on the Persistent Storage 0.056
After features/support/hooks.rb:305 0.827
After features/support/hooks.rb:89 0.000
Tags: @product
1:3.111
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.826
And the network is plugged 0.031
And Tor is ready 18.119
And I take note of which tps features are available 0.555
When I write some files expected to persist 1.415
And I shutdown Tails and wait for the computer to power off 8.549
# 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.613
After features/support/hooks.rb:305 0.148
After features/support/hooks.rb:89 0.000
Tags: @product
3:2.507
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 9.335
And the network is plugged 0.030
And Tor is ready 17.910
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.192
And I shutdown Tails and wait for the computer to power off 8.691
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:3.297
And I capture all network traffic 0.010
And the network is plugged 0.045
And Tor is ready 22.329
And I switch to the "persistent-con-current" NetworkManager connection 0.338
And the 1st network device has a spoofed MAC address configured 0.102
And no network device leaked the real MAC address 0.222
After features/support/hooks.rb:305 0.696
After features/support/hooks.rb:89 0.128
Tags: @product
1:14.613
Before features/support/hooks.rb:259 0.010
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 15.182
And I enable persistence creation in Tails Greeter 1.113
And I log in to a new session expecting no warning about the Persistent Storage not being activated 29.944
Then I create a persistent partition with the default settings using the wizard that was already open 28.372
After features/support/hooks.rb:305 1.670
After features/support/hooks.rb:89 0.000
Tags: @product
4:58.760
Before features/support/hooks.rb:259 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 17.870
When I enable persistence 38.754
Then no persistent Greeter options were restored 15.671
When I set all Greeter options to non-default values 22.995
And I log in to a new session in German (de) after having activated the Persistent Storage 52.408
Then all Greeter options are set to non-default values 0.397
When I cold reboot the computer 7.505
And the computer reboots Tails 58.692
Given I enable persistence 31.556
Then persistent Greeter options were restored 15.720
When I log in to a new session after having activated the Persistent Storage 36.360
Then all Greeter options are set to non-default values 0.826
After features/support/hooks.rb:305 1.764
After features/support/hooks.rb:89 0.008
Tags: @product
3:8.909
Scenario Changing the Persistent Storage passphrase
Before features/support/hooks.rb:259 0.007
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.364
# 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 33.708
And I shutdown Tails and wait for the computer to power off 14.619
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:9.216
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.386

SCENARIO FAILED: 'Changing the Persistent Storage passphrase' (at time 03:32:26)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3371/artifact/build-artifacts/03:32:26_Changing_the_Persistent_Storage_passphrase.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3371/artifact/build-artifacts/03:32:26_Changing_the_Persistent_Storage_passphrase.mkv

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3371/artifact/build-artifacts/03:32:26_Changing_the_Persistent_Storage_passphrase.boot-log

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3371/artifact/build-artifacts/03:32:26_Changing_the_Persistent_Storage_passphrase.journal

After features/support/hooks.rb:89 0.011
Tags: @product
59.701
Before features/support/hooks.rb:259 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 11.101
And I log in to a new session without activating the Persistent Storage 20.025
Then persistence is disabled 0.216
But a Tails persistence partition exists on USB drive "__internal" 9.675
And all notifications have disappeared 12.056
When I delete the persistent partition 6.212
Then there is no persistence partition on USB drive "__internal" 0.413
After features/support/hooks.rb:305 1.032
After features/support/hooks.rb:89 0.000
Tags: @product
2:22.861
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.013
When I write some dotfile expected to persist 0.091
And I shutdown Tails and wait for the computer to power off 8.864
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:1.533
Then the expected persistent dotfile is present in the filesystem 0.359
After features/support/hooks.rb:305 0.577
After features/support/hooks.rb:89 0.016
Tags: @product
1:37.468
Before features/support/hooks.rb:259 0.011
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.207
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.086
When I try to enable persistence 0.317
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 31.981
When I log in to a new session after having activated the Persistent Storage 39.954
And all notifications have disappeared 7.934
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.778
And all tps features are enabled 2.147
And all tps features but the first one are active 2.061
After features/support/hooks.rb:305 1.303
After features/support/hooks.rb:89 0.000
Tags: @product
6:34.301
Before features/support/hooks.rb:259 0.010
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:19.381
And I enable persistence 31.369
And I log in to a new session after having activated the Persistent Storage 42.462
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.916
And persistence is enabled 0.171
After features/support/hooks.rb:305 1.150
After features/support/hooks.rb:89 0.000
Tags: @product
35.849
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 11.096
And I enable persistence but something goes wrong during the LUKS header upgrade 23.951
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.801
After features/support/hooks.rb:305 0.739
After features/support/hooks.rb:89 0.000