Project Number Date
test_Tails_ISO_stable 5326 11 Dec 2024, 08:37

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 153 1 3 0 0 157 20 1 21 41:21.104 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:23.058
Before features/support/hooks.rb:269 0.005
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:40.478
And I update APT using apt 13.879
And I install "python3-behave" using apt 26.452
Then the Tails Persistent Storage behave tests pass 2.247
After features/support/hooks.rb:326 1.041
After features/support/hooks.rb:100 0.000
Tags: @product
46.800
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 14.651
When I log in to a new session without activating the Persistent Storage 22.064
Then Tails is running from USB drive "__internal" 0.613
And persistence is disabled 0.282
But a Tails persistence partition exists on USB drive "__internal" 9.188
After features/support/hooks.rb:326 1.202
After features/support/hooks.rb:100 0.000
Tags: @product
3:8.205
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive without a persistent partition and logged in 11.171
Then Tails is running from USB drive "__internal" 0.617
When I create a file in the Persistent directory 0.220
And I create a persistent partition with the default settings 24.823
Then the file I created was copied to the Persistent Storage 0.475
When I shutdown Tails and wait for the computer to power off 13.030
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:17.350
Then persistence for "Persistent" is active 0.440
And the file I created in the Persistent directory exists 0.075
After features/support/hooks.rb:326 0.738
After features/support/hooks.rb:100 0.009
Tags: @product
58.709
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive without a persistent partition and logged in 10.840
And the system is very low on memory 4.098
When I create a file in the Persistent directory 0.824
When I try to create a persistent partition 26.338
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.142
When I close the Persistent Storage app 2.644
And I free up some memory 1.647
And I create a persistent partition with the default settings 11.952
Then the file I created was copied to the Persistent Storage 0.220
After features/support/hooks.rb:326 1.288
After features/support/hooks.rb:100 0.000
Tags: @product
2:41.026
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.873
Then Tails is running from USB drive "__internal" 0.367
And all tps features are active 2.188
And all persistent directories have safe access rights 2.427
When I disable the first tps feature 5.384
Then all tps features but the first one are active 1.994
And I shutdown Tails and wait for the computer to power off 8.270
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.266
Then all tps features but the first one are active 2.253
After features/support/hooks.rb:326 0.658
After features/support/hooks.rb:100 0.007
Tags: @product
20.224
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.612
Then persistence for "Persistent" is active 0.196
And I create a file in the Persistent directory 0.114
Then the file I created was copied to the Persistent Storage 0.091
When I disable the first tps feature 5.686
Then persistence for "Persistent" is not active 0.141
And the Persistent directory does not exist 0.052
When I enable the first tps feature 3.182
Then persistence for "Persistent" is active 0.081
And the file I created in the Persistent directory exists 0.065
After features/support/hooks.rb:326 0.789
After features/support/hooks.rb:100 0.000
Tags: @product
20.011
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.903
Then persistence for "Persistent" is active 0.427
When I create a file in the Persistent directory 0.119
And I disable the first tps feature 5.816
And I delete the data of the Persistent Folder feature 3.674
Then the file I created does not exist on the Persistent Storage 0.068
After features/support/hooks.rb:326 0.822
After features/support/hooks.rb:100 0.000
Tags: @product
1:9.602
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.092
And the network is plugged 0.082
And Tor is ready 22.821
And I take note of which tps features are available 0.668
When I write some files expected to persist 1.701
And I shutdown Tails and wait for the computer to power off 8.885
# 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" 25.348
After features/support/hooks.rb:326 0.127
After features/support/hooks.rb:100 0.000
Tags: @product
3:1.845
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.427
And the network is plugged 0.187
And Tor is ready 19.644
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.206
And I shutdown Tails and wait for the computer to power off 8.826
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:0.348
And I capture all network traffic 0.006
And the network is plugged 0.075
And Tor is ready 21.497
And I switch to the "persistent-con-current" NetworkManager connection 0.378
And the 1st network device has a spoofed MAC address configured 0.099
And no network device leaked the real MAC address 0.147
After features/support/hooks.rb:326 0.649
After features/support/hooks.rb:100 0.059
Tags: @product
1:1.573
Before features/support/hooks.rb:269 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 12.507
And I enable persistence creation in Tails Greeter 1.130
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.862
Then I create a persistent partition with the default settings using the wizard that was already open 24.073
After features/support/hooks.rb:326 1.609
After features/support/hooks.rb:100 0.000
Tags: @product
4:29.071
Before features/support/hooks.rb:269 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 13.975
When I enable persistence 41.070
Then no persistent Greeter options were restored 14.148
When I set all Greeter options to non-default values 24.136
And I log in to a new session in German (de) after having activated the Persistent Storage 49.388
Then all Greeter options are set to non-default values 0.608
When I cold reboot the computer 9.573
And the computer reboots Tails 58.448
Given I enable persistence 17.274
Then persistent Greeter options were restored 0.523
When I log in to a new session after having activated the Persistent Storage 39.407
Then all Greeter options are set to non-default values 0.514
After features/support/hooks.rb:326 0.777
After features/support/hooks.rb:100 0.026
Tags: @product
3:44.352
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.835
# 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 38.823
And I shutdown Tails and wait for the computer to power off 12.626
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:6.023
And I change the passphrase of the Persistent Storage back to the original 37.041
After features/support/hooks.rb:326 2.002
After features/support/hooks.rb:100 0.010
Tags: @product
56.947
Before features/support/hooks.rb:269 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 10.452
And I log in to a new session without activating the Persistent Storage 20.939
Then persistence is disabled 0.293
But a Tails persistence partition exists on USB drive "__internal" 5.818
And all notifications have disappeared 11.098
When I delete the persistent partition 7.818
Then there is no persistence partition on USB drive "__internal" 0.526
After features/support/hooks.rb:326 1.103
After features/support/hooks.rb:100 0.000
Tags: @product
2:30.433
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.481
When I write some dotfile expected to persist 0.140
And I shutdown Tails and wait for the computer to power off 8.681
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.523
Then the expected persistent dotfile is present in the filesystem 0.605
After features/support/hooks.rb:326 1.123
After features/support/hooks.rb:100 0.011
Tags: @product
3:23.424
Scenario Feature activation fails
Before features/support/hooks.rb:269 0.006
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.045
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.144
When I try to enable persistence 0.289
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 31.298
When I log in to a new session after having activated the Persistent Storage 47.619
And all notifications have disappeared 1:54.026
Operation failed (despite retrying 10 times) with
Dogtail::Failure: The Dogtail init script raised: SearchError: descendent of [application | ]: child with name="Do Not Disturb" roleName='label'
STDOUT:

STDERR:

 (MaxRetriesFailure)
./features/support/helpers/misc_helpers.rb:226:in `rescue in block in retry_action'
./features/support/helpers/misc_helpers.rb:209:in `block in retry_action'
./features/support/helpers/misc_helpers.rb:208:in `loop'
./features/support/helpers/misc_helpers.rb:208:in `retry_action'
./features/step_definitions/common_steps.rb:713: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:326 5.167

SCENARIO FAILED: 'Feature activation fails' (at time 03:23:27)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5326/artifact/build-artifacts/03:23:27_Feature_activation_fails.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5326/artifact/build-artifacts/03:23:27_Feature_activation_fails.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5326/artifact/build-artifacts/03:23:27_Feature_activation_fails.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5326/artifact/build-artifacts/03:23:27_Feature_activation_fails.journal

After features/support/hooks.rb:100 0.000
Tags: @product
5:4.087
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 3:28.922
And I enable persistence 36.724
And I log in to a new session after having activated the Persistent Storage 49.843
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.782
And persistence is enabled 4.813
After features/support/hooks.rb:326 1.187
After features/support/hooks.rb:100 0.000
Tags: @product
30.948
Before features/support/hooks.rb:269 0.009
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.834
And I enable persistence but something goes wrong during the LUKS header upgrade 20.352
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.761
After features/support/hooks.rb:326 0.742
After features/support/hooks.rb:100 0.000
Tags: @product
54.706
Before features/support/hooks.rb:269 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 9.822
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 4.784
When I enable persistence 37.386
Then the filesystem of the Persistent Storage was repaired 0.097
And persistence is successfully enabled 2.614
After features/support/hooks.rb:326 0.899
After features/support/hooks.rb:100 0.000
Tags: @product
41.283
Before features/support/hooks.rb:269 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 8.690
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 13.615
When I try to enable persistence 0.637
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 9.190
When I repair the filesystem of the Persistent Storage 1.351
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.405
And the filesystem of the Persistent Storage was repaired 0.591
When I close the filesystem repair dialog 1.339
Then persistence is successfully enabled 4.463
After features/support/hooks.rb:326 0.858
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:3.548
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.809
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.148
When I try to enable persistence 0.355
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 33.116
When I repair the filesystem of the Persistent Storage 1.328
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.089
When I log in to a new session 47.533
And all notifications have disappeared 12.739
# Now both WhisperBack and Tor Browser has started at the same
# time, so we do not know which window is focused. The steps about
# Tor Browser care about that, but the ones about WhisperBack do
# not, so we first deal with WhisperBack and then kill it to
# ensure that Tor Browser is focused.
Then WhisperBack is prefilled for fsck with summary: "Failed to repair the file system of your Persistent Storage" 0.575
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.571
When I close the "whisperback" window 1.558
Then the Tor Browser starts 14.559
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.163
After features/support/hooks.rb:326 3.273
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:11.243
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 8.678
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.553
And Tails detects disk read failures on the boot device 1.543
When I try to enable persistence 0.427
Then the Welcome Screen tells me that my hardware is probably failing 5.936
When I log in to a new session 21.285
And all notifications have disappeared 9.449
Then the Tor Browser starts 17.486
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.883
After features/support/hooks.rb:326 3.158
After features/support/hooks.rb:100 0.000