Project Number Date
test_Tails_ISO_devel 3652 16 Jan 2025, 23:10

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 51:51.701 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
6:32.112
Scenario Tails Persistent Storage behave tests
Before features/support/hooks.rb:269 0.004
Steps
Given I have started Tails from DVD and logged in with an administration password and the network is connected 6:32.112
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/step_definitions/common_steps.rb:708:in `/^available upgrades have been checked$/'
./features/step_definitions/snapshots.rb:153:in `block in reach_checkpoint'
./features/step_definitions/snapshots.rb:150:in `each'
./features/step_definitions/snapshots.rb:150:in `reach_checkpoint'
./features/step_definitions/snapshots.rb:173:in `/^I\ have\ started\ Tails\ from\ DVD\ and\ logged\ in\ with\ an\ administration\ password\ and\ the\ network\ is\ connected$/'
features/persistence.feature:7:in `Given I have started Tails from DVD and logged in with an administration password and the network is connected'
And I update APT using apt 0.000
And I install "python3-behave" using apt 0.000
Then the Tails Persistent Storage behave tests pass 0.000
After features/support/hooks.rb:326 5.302

SCENARIO FAILED: 'Tails Persistent Storage behave tests' (at time 04:19:38)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3652/artifact/build-artifacts/04:19:38_Tails_Persistent_Storage_behave_tests.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3652/artifact/build-artifacts/04:19:38_Tails_Persistent_Storage_behave_tests.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3652/artifact/build-artifacts/04:19:38_Tails_Persistent_Storage_behave_tests.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3652/artifact/build-artifacts/04:19:38_Tails_Persistent_Storage_behave_tests.journal

After features/support/hooks.rb:100 0.000
Tags: @product
55.048
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 15.834
When I log in to a new session without activating the Persistent Storage 29.315
Then Tails is running from USB drive "__internal" 0.726
And persistence is disabled 0.549
But a Tails persistence partition exists on USB drive "__internal" 8.623
After features/support/hooks.rb:326 1.378
After features/support/hooks.rb:100 0.000
Tags: @product
4:6.892
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive without a persistent partition and logged in 52.813
Then Tails is running from USB drive "__internal" 0.625
When I create a file in the Persistent directory 0.139
And I create a persistent partition with the default settings 32.177
Then the file I created was copied to the Persistent Storage 0.651
When I shutdown Tails and wait for the computer to power off 13.061
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:26.936
Then persistence for "Persistent" is active 0.408
And the file I created in the Persistent directory exists 0.078
After features/support/hooks.rb:326 0.944
After features/support/hooks.rb:100 0.008
Tags: @product
1:16.421
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive without a persistent partition and logged in 19.798
And the system is very low on memory 4.403
When I create a file in the Persistent directory 1.197
When I try to create a persistent partition 31.696
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.692
When I close the Persistent Storage app 2.658
And I free up some memory 1.602
And I create a persistent partition with the default settings 14.116
Then the file I created was copied to the Persistent Storage 0.253
After features/support/hooks.rb:326 2.062
After features/support/hooks.rb:100 0.000
Tags: @product
3:8.179
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 25.029
Then Tails is running from USB drive "__internal" 0.634
And all tps features are active 2.816
And all persistent directories have safe access rights 3.207
When I disable the first tps feature 6.761
Then all tps features but the first one are active 2.372
And I shutdown Tails and wait for the computer to power off 13.246
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.833
Then all tps features but the first one are active 2.278
After features/support/hooks.rb:326 0.641
After features/support/hooks.rb:100 0.008
Tags: @product
21.561
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.238
Then persistence for "Persistent" is active 0.758
And I create a file in the Persistent directory 0.083
Then the file I created was copied to the Persistent Storage 0.937
When I disable the first tps feature 5.967
Then persistence for "Persistent" is not active 0.100
And the Persistent directory does not exist 0.070
When I enable the first tps feature 3.246
Then persistence for "Persistent" is active 0.086
And the file I created in the Persistent directory exists 0.071
After features/support/hooks.rb:326 1.805
After features/support/hooks.rb:100 0.000
Tags: @product
20.080
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 9.746
Then persistence for "Persistent" is active 0.096
When I create a file in the Persistent directory 0.090
And I disable the first tps feature 6.282
And I delete the data of the Persistent Folder feature 3.815
Then the file I created does not exist on the Persistent Storage 0.049
After features/support/hooks.rb:326 1.296
After features/support/hooks.rb:100 0.000
Tags: @product
1:10.097
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.224
And the network is plugged 0.105
And Tor is ready 22.142
And I take note of which tps features are available 0.766
When I write some files expected to persist 2.068
And I shutdown Tails and wait for the computer to power off 9.567
# 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.222
After features/support/hooks.rb:326 0.120
After features/support/hooks.rb:100 0.000
Tags: @product
3:17.114
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 9.567
And the network is plugged 0.139
And Tor is ready 18.042
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.226
And I shutdown Tails and wait for the computer to power off 13.325
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.310
And I capture all network traffic 0.004
And the network is plugged 0.096
And Tor is ready 23.429
And I switch to the "persistent-con-current" NetworkManager connection 0.515
And the 1st network device has a spoofed MAC address configured 0.246
And no network device leaked the real MAC address 0.209
After features/support/hooks.rb:326 0.915
After features/support/hooks.rb:100 0.072
Tags: @product
1:0.594
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 14.571
And I enable persistence creation in Tails Greeter 1.148
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.192
Then I create a persistent partition with the default settings using the wizard that was already open 22.681
After features/support/hooks.rb:326 1.645
After features/support/hooks.rb:100 0.000
Tags: @product
4:29.877
Before features/support/hooks.rb:269 0.002
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 11.700
When I enable persistence 41.457
Then no persistent Greeter options were restored 14.596
When I set all Greeter options to non-default values 27.410
And I log in to a new session in German (de) after having activated the Persistent Storage 46.645
Then all Greeter options are set to non-default values 0.324
When I cold reboot the computer 7.549
And the computer reboots Tails 1:4.381
Given I enable persistence 17.062
Then persistent Greeter options were restored 0.544
When I log in to a new session after having activated the Persistent Storage 37.643
Then all Greeter options are set to non-default values 0.561
After features/support/hooks.rb:326 1.104
After features/support/hooks.rb:100 0.008
Tags: @product
3:53.371
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.165
# 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.078
And I shutdown Tails and wait for the computer to power off 10.949
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:16.322
And I change the passphrase of the Persistent Storage back to the original 37.856
After features/support/hooks.rb:326 2.172
After features/support/hooks.rb:100 0.005
Tags: @product
59.846
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.876
And I log in to a new session without activating the Persistent Storage 21.561
Then persistence is disabled 0.553
But a Tails persistence partition exists on USB drive "__internal" 10.522
And all notifications have disappeared 10.805
When I delete the persistent partition 6.027
Then there is no persistence partition on USB drive "__internal" 0.499
After features/support/hooks.rb:326 0.813
After features/support/hooks.rb:100 0.000
Tags: @product
2:36.578
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 9.867
When I write some dotfile expected to persist 0.066
And I shutdown Tails and wait for the computer to power off 10.947
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.994
Then the expected persistent dotfile is present in the filesystem 0.702
After features/support/hooks.rb:326 0.880
After features/support/hooks.rb:100 0.006
Tags: @product
1:39.965
Before features/support/hooks.rb:269 0.002
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 10.138
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.081
When I try to enable persistence 0.335
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 31.920
When I log in to a new session after having activated the Persistent Storage 40.254
And all notifications have disappeared 8.395
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.260
And all tps features are enabled 2.411
And all tps features but the first one are active 2.167
After features/support/hooks.rb:326 1.808
After features/support/hooks.rb:100 0.000
Tags: @product
10:42.318
Before features/support/hooks.rb:269 0.008
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:9.354
And I enable persistence 39.150
And I log in to a new session after having activated the Persistent Storage 48.054
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.139
And persistence is enabled 2.620
After features/support/hooks.rb:326 1.131
After features/support/hooks.rb:100 0.000
Tags: @product
29.641
Before features/support/hooks.rb:269 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 9.431
And I enable persistence but something goes wrong during the LUKS header upgrade 19.403
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.807
After features/support/hooks.rb:326 0.716
After features/support/hooks.rb:100 0.000
Tags: @product
1:2.449
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.513
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 11.953
When I enable persistence 37.753
Then the filesystem of the Persistent Storage was repaired 0.097
And persistence is successfully enabled 3.132
After features/support/hooks.rb:326 1.126
After features/support/hooks.rb:100 0.000
Tags: @product
30.939
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.545
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 10.471
When I try to enable persistence 0.453
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.127
When I repair the filesystem of the Persistent Storage 1.265
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.194
And the filesystem of the Persistent Storage was repaired 0.094
When I close the filesystem repair dialog 1.234
Then persistence is successfully enabled 1.551
After features/support/hooks.rb:326 0.840
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:59.983
Before features/support/hooks.rb:269 0.002
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.378
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.111
When I try to enable persistence 0.266
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 33.923
When I repair the filesystem of the Persistent Storage 1.254
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.085
When I log in to a new session 43.137
And all notifications have disappeared 9.185
# 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.489
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.920
When I close the "whisperback" window 1.677
Then the Tor Browser starts 18.613
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.939
After features/support/hooks.rb:326 3.627
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:18.627
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.264
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.126
And Tails detects disk read failures on the boot device 1.679
When I try to enable persistence 0.478
Then the Welcome Screen tells me that my hardware is probably failing 7.570
When I log in to a new session 21.953
And all notifications have disappeared 7.701
Then the Tor Browser starts 21.047
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.805
After features/support/hooks.rb:326 1.647
After features/support/hooks.rb:100 0.000