Project Number Date
test_Tails_ISO_devel 3246 22 Jan 2024, 16:09

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 117 1 2 0 0 120 16 1 17 36:43.211 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:9.838
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:26.749
And I update APT using apt 17.785
And I install "python3-behave" using apt 22.891
Then the Tails Persistent Storage behave tests pass 2.413
After features/support/hooks.rb:291 0.673
After features/support/hooks.rb:75 0.000
Tags: @product
44.945
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 12.752
When I log in to a new session without activating the Persistent Storage 24.007
Then Tails is running from USB drive "__internal" 0.720
And persistence is disabled 0.206
But a Tails persistence partition exists on USB drive "__internal" 7.257
After features/support/hooks.rb:291 1.018
After features/support/hooks.rb:75 0.000
Tags: @product
3:12.580
Before features/support/hooks.rb:245 0.009
Given I have started Tails without network from a USB drive without a persistent partition and logged in 34.990
Then Tails is running from USB drive "__internal" 0.647
When I create a file in the Persistent directory 0.157
And I create a persistent partition with the default settings 33.148
Then the file I created was copied to the Persistent Storage 0.781
When I shutdown Tails and wait for the computer to power off 9.083
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:53.342
Then persistence for "Persistent" is active 0.362
And the file I created in the Persistent directory exists 0.068
After features/support/hooks.rb:291 0.639
After features/support/hooks.rb:75 0.011
Tags: @product
1:6.070
Before features/support/hooks.rb:245 0.007
Given I have started Tails without network from a USB drive without a persistent partition and logged in 8.993
And the system is very low on memory 2.619
When I create a file in the Persistent directory 0.979
When I try to create a persistent partition 23.742
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.316
When I close the Persistent Storage app 2.609
And I free up some memory 1.588
And I create a persistent partition with the default settings 24.963
Then the file I created was copied to the Persistent Storage 0.257
After features/support/hooks.rb:291 1.177
After features/support/hooks.rb:75 0.000
Tags: @product
2:32.493
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.509
Then Tails is running from USB drive "__internal" 0.416
And all tps features are active 1.888
And all persistent directories have safe access rights 2.909
When I disable the first tps feature 19.175
Then all tps features but the first one are active 2.173
And I shutdown Tails and wait for the computer to power off 5.085
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:49.231
Then all tps features but the first one are active 2.103
After features/support/hooks.rb:291 0.855
After features/support/hooks.rb:75 0.009
Tags: @product
44.138
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.981
Then persistence for "Persistent" is active 0.125
And I create a file in the Persistent directory 0.112
Then the file I created was copied to the Persistent Storage 0.079
When I disable the first tps feature 19.146
Then persistence for "Persistent" is not active 0.095
And the Persistent directory does not exist 0.062
When I enable the first tps feature 15.349
Then persistence for "Persistent" is active 0.102
And the file I created in the Persistent directory exists 0.081
After features/support/hooks.rb:291 1.097
After features/support/hooks.rb:75 0.000
Tags: @product
41.976
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.322
Then persistence for "Persistent" is active 0.106
When I create a file in the Persistent directory 0.096
And I disable the first tps feature 16.809
And I delete the data of the Persistent Folder feature 15.413
Then the file I created does not exist on the Persistent Storage 0.228
After features/support/hooks.rb:291 0.894
After features/support/hooks.rb:75 0.000
Tags: @product
52.618
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.357
And the network is plugged 0.100
And Tor is ready 16.983
And I take note of which tps features are available 3.504
When I write some files expected to persist 1.596
And I shutdown Tails and wait for the computer to power off 6.182
# 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.893
After features/support/hooks.rb:291 0.118
After features/support/hooks.rb:75 0.000
Tags: @product
3:12.233
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.410
And the network is plugged 0.039
And Tor is ready 17.272
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.321
And I shutdown Tails and wait for the computer to power off 7.092
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:50.465
And I capture all network traffic 0.009
And the network is plugged 0.038
And Tor is ready 45.693
And I switch to the "persistent-con-current" NetworkManager connection 0.449
And the 1st network device has a spoofed MAC address configured 0.114
And no network device leaked the real MAC address 0.325
After features/support/hooks.rb:291 0.835
After features/support/hooks.rb:75 0.057
Tags: @product
44.691
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 10.087
And I enable persistence creation in Tails Greeter 1.105
And I log in to a new session expecting no warning about the Persistent Storage not being activated 17.432
Then I create a persistent partition with the default settings using the wizard that was already open 16.066
After features/support/hooks.rb:291 1.260
After features/support/hooks.rb:75 0.000
Tags: @product
4:24.491
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.872
When I enable persistence 35.355
Then no persistent Greeter options were restored 14.298
When I set all Greeter options to non-default values 23.083
And I log in to a new session in German (de) after having activated the Persistent Storage 34.741
Then all Greeter options are set to non-default values 0.352
When I cold reboot the computer 5.303
And the computer reboots Tails 51.744
Given I enable persistence 52.122
Then persistent Greeter options were restored 14.789
When I log in to a new session after having activated the Persistent Storage 21.520
Then all Greeter options are set to non-default values 0.308
After features/support/hooks.rb:291 0.700
After features/support/hooks.rb:75 0.010
Tags: @product
3:59.422
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.678
# 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 54.913
And I shutdown Tails and wait for the computer to power off 11.892
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:53.632
And I change the passphrase of the Persistent Storage back to the original 49.305
After features/support/hooks.rb:291 1.497
After features/support/hooks.rb:75 0.012
Tags: @product
47.275
Scenario Deleting a Tails persistent partition
Before features/support/hooks.rb:245 0.010
Steps
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 10.071
And I log in to a new session without activating the Persistent Storage 20.558
Then persistence is disabled 0.179
But a Tails persistence partition exists on USB drive "__internal" 3.556
And all notifications have disappeared 12.909
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:715:in `new'
./features/step_definitions/common_steps.rb:715:in `/^all notifications have disappeared$/'
features/persistence.feature:131:in `And all notifications have disappeared'
When I delete the persistent partition 0.000
Then there is no persistence partition on USB drive "__internal" 0.000
After features/support/hooks.rb:291 4.271

SCENARIO FAILED: 'Deleting a Tails persistent partition' (at time 03:24:25)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3246/artifact/build-artifacts/03:24:25_Deleting_a_Tails_persistent_partition.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3246/artifact/build-artifacts/03:24:25_Deleting_a_Tails_persistent_partition.mkv

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3246/artifact/build-artifacts/03:24:25_Deleting_a_Tails_persistent_partition.boot-log

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3246/artifact/build-artifacts/03:24:25_Deleting_a_Tails_persistent_partition.journal

After features/support/hooks.rb:75 0.000
Tags: @product
2:15.797
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.248
When I write some dotfile expected to persist 0.112
And I shutdown Tails and wait for the computer to power off 6.162
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:59.953
Then the expected persistent dotfile is present in the filesystem 0.321
After features/support/hooks.rb:291 1.319
After features/support/hooks.rb:75 0.011
Tags: @product
1:25.038
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 11.128
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.056
When I try to enable persistence 0.241
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 26.899
When I log in to a new session after having activated the Persistent Storage 26.503
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 15.107
And all tps features are enabled 2.812
And all tps features but the first one are active 2.289
After features/support/hooks.rb:291 1.104
After features/support/hooks.rb:75 0.000
Tags: @product
7:9.904
Before features/support/hooks.rb:245 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 5:59.932
And I enable persistence 34.356
And I log in to a new session after having activated the Persistent Storage 34.387
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.909
And persistence is enabled 0.318
After features/support/hooks.rb:291 1.109
After features/support/hooks.rb:75 0.000
Tags: @product
39.694
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 9.016
And I enable persistence but something goes wrong during the LUKS header upgrade 29.859
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.819
After features/support/hooks.rb:291 0.613
After features/support/hooks.rb:75 0.000