Project Number Date
test_Tails_ISO_tca-misc-improvements 15 22 Apr 2025, 19:07

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 154 1 2 0 0 157 20 1 21 1:3:30.744 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
3:19.733
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:37.419
And I update APT using apt 1:13.420
And I install "python3-behave" using apt 26.250
Then the Tails Persistent Storage behave tests pass 2.642
After features/support/hooks.rb:330 0.740
After features/support/hooks.rb:100 0.000
Tags: @product
52.448
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 11.248
When I log in to a new session without activating the Persistent Storage 32.162
Then Tails is running from USB drive "__internal" 0.799
And persistence is disabled 0.516
But a Tails persistence partition exists on USB drive "__internal" 7.721
After features/support/hooks.rb:330 1.990
After features/support/hooks.rb:100 0.000
Tags: @product
3:16.141
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Given I have started Tails without network from a USB drive without a persistent partition and logged in 15.122
Then Tails is running from USB drive "__internal" 0.403
When I create a file in the Persistent directory 0.185
And I create a persistent partition with the default settings 24.261
Then the file I created was copied to the Persistent Storage 1.813
When I shutdown Tails and wait for the computer to power off 11.707
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:22.232
Then persistence for "Persistent" is active 0.341
And the file I created in the Persistent directory exists 0.073
After features/support/hooks.rb:330 1.965
After features/support/hooks.rb:100 0.033
Tags: @product
1:15.547
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.023
Given I have started Tails without network from a USB drive without a persistent partition and logged in 22.187
And the system is very low on memory 6.036
When I create a file in the Persistent directory 0.775
When I try to create a persistent partition 23.021
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.167
When I close the Persistent Storage app 2.616
And I free up some memory 3.530
And I create a persistent partition with the default settings 16.937
Then the file I created was copied to the Persistent Storage 0.274
After features/support/hooks.rb:330 3.116
After features/support/hooks.rb:100 0.000
Tags: @product
3:7.786
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 24.300
Then Tails is running from USB drive "__internal" 0.893
And all tps features are active 2.906
And all persistent directories have safe access rights 2.602
When I disable the first tps feature 5.814
Then all tps features but the first one are active 2.393
And I shutdown Tails and wait for the computer to power off 12.908
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.620
Then all tps features but the first one are active 2.346
After features/support/hooks.rb:330 1.273
After features/support/hooks.rb:100 0.008
Tags: @product
20.664
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.866
Then persistence for "Persistent" is active 0.402
And I create a file in the Persistent directory 0.154
Then the file I created was copied to the Persistent Storage 0.111
When I disable the first tps feature 5.715
Then persistence for "Persistent" is not active 0.075
And the Persistent directory does not exist 0.059
When I enable the first tps feature 3.144
Then persistence for "Persistent" is active 0.075
And the file I created in the Persistent directory exists 0.061
After features/support/hooks.rb:330 1.071
After features/support/hooks.rb:100 0.000
Tags: @product
21.141
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.285
Then persistence for "Persistent" is active 0.233
When I create a file in the Persistent directory 0.330
And I disable the first tps feature 6.010
And I delete the data of the Persistent Folder feature 4.219
Then the file I created does not exist on the Persistent Storage 0.061
After features/support/hooks.rb:330 1.238
After features/support/hooks.rb:100 0.000
Tags: @product
1:8.089
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.219
And the network is plugged 0.154
And Tor is ready 22.382
And I take note of which tps features are available 0.684
When I write some files expected to persist 1.490
And I shutdown Tails and wait for the computer to power off 8.705
# 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.453
After features/support/hooks.rb:330 0.120
After features/support/hooks.rb:100 0.000
Tags: @product
3:31.943
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 25.971
And the network is plugged 0.090
And Tor is ready 21.628
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.272
And I shutdown Tails and wait for the computer to power off 9.201
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.807
And I capture all network traffic 0.008
And the network is plugged 0.083
And Tor is ready 20.263
And I switch to the "persistent-con-current" NetworkManager connection 0.392
And the 1st network device has a spoofed MAC address configured 0.091
And no network device leaked the real MAC address 0.131
After features/support/hooks.rb:330 0.667
After features/support/hooks.rb:100 0.053
Tags: @product
1:2.545
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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.570
And I enable persistence creation in Tails Greeter 1.743
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.105
Then I create a persistent partition with the default settings using the wizard that was already open 25.125
After features/support/hooks.rb:330 2.629
After features/support/hooks.rb:100 0.000
Tags: @product
4:44.112
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 13.100
When I enable persistence 40.006
Then no persistent Greeter options were restored 14.502
When I set all Greeter options to non-default values 27.026
And I log in to a new session in German (de) after having activated the Persistent Storage 56.377
Then all Greeter options are set to non-default values 0.581
When I cold reboot the computer 7.725
And the computer reboots Tails 1:4.209
Given I enable persistence 16.467
Then persistent Greeter options were restored 0.591
When I log in to a new session after having activated the Persistent Storage 43.202
Then all Greeter options are set to non-default values 0.318
After features/support/hooks.rb:330 1.942
After features/support/hooks.rb:100 0.009
Tags: @product
4:0.533
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.644
# 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 44.960
And I shutdown Tails and wait for the computer to power off 15.035
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:13.388
And I change the passphrase of the Persistent Storage back to the original 35.504
After features/support/hooks.rb:330 3.554
After features/support/hooks.rb:100 0.008
Tags: @product
1:3.540
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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.281
And I log in to a new session without activating the Persistent Storage 23.392
Then persistence is disabled 0.298
But a Tails persistence partition exists on USB drive "__internal" 11.117
And all notifications have disappeared 11.629
When I delete the persistent partition 6.118
Then there is no persistence partition on USB drive "__internal" 0.703
After features/support/hooks.rb:330 1.140
After features/support/hooks.rb:100 0.000
Tags: @product
2:31.136
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.749
When I write some dotfile expected to persist 0.087
And I shutdown Tails and wait for the computer to power off 9.121
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.402
Then the expected persistent dotfile is present in the filesystem 0.775
After features/support/hooks.rb:330 1.377
After features/support/hooks.rb:100 0.008
Tags: @product
1:42.284
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.877
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.101
When I try to enable persistence 0.344
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 32.021
When I log in to a new session after having activated the Persistent Storage 42.194
And all notifications have disappeared 7.759
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.391
And all tps features are enabled 3.250
And all tps features but the first one are active 2.343
After features/support/hooks.rb:330 2.581
After features/support/hooks.rb:100 0.000
Tags: @product
5:23.372
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 3:52.673
And I enable persistence 35.932
And I log in to a new session after having activated the Persistent Storage 50.304
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.748
And persistence is enabled 2.713
After features/support/hooks.rb:330 1.376
After features/support/hooks.rb:100 0.000
Tags: @product
30.700
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 9.768
And I enable persistence but something goes wrong during the LUKS header upgrade 20.056
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.875
After features/support/hooks.rb:330 0.758
After features/support/hooks.rb:100 0.000
Tags: @product
47.730
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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.519
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.808
When I enable persistence 29.527
Then the filesystem of the Persistent Storage was repaired 0.110
And persistence is successfully enabled 2.764
After features/support/hooks.rb:330 2.753
After features/support/hooks.rb:100 0.000
Tags: @product
53.363
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.938
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.847
When I try to enable persistence 0.499
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.306
When I repair the filesystem of the Persistent Storage 1.335
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.125
And the filesystem of the Persistent Storage was repaired 3.493
When I close the filesystem repair dialog 1.291
Then persistence is successfully enabled 1.525
After features/support/hooks.rb:330 1.499
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:0.400
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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.827
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.110
When I try to enable persistence 0.299
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 34.292
When I repair the filesystem of the Persistent Storage 1.275
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.088
When I log in to a new session 41.546
And all notifications have disappeared 10.363
# 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.698
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.923
When I close the "whisperback" window 1.581
Then the Tor Browser starts 17.940
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.451
After features/support/hooks.rb:330 4.827
After features/support/hooks.rb:100 0.000
Tags: @product @doc
21:37.526
Scenario Filesystem and I/O errors
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Steps
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.691
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.395
And Tails detects disk read failures on the boot device 0.649
When I try to enable persistence 0.483
Then the Welcome Screen tells me that my hardware is probably failing 26.522
When I log in to a new session 53.617
And all notifications have disappeared 20:0.168
execution expired (RemoteShell::Timeout)
./features/support/helpers/remote_shell.rb:56:in `read'
./features/support/helpers/remote_shell.rb:56:in `block (3 levels) in communicate'
./features/support/helpers/remote_shell.rb:55:in `block (2 levels) in communicate'
./features/support/helpers/remote_shell.rb:42:in `loop'
./features/support/helpers/remote_shell.rb:42:in `block in communicate'
./features/support/helpers/remote_shell.rb:37:in `communicate'
./features/support/helpers/remote_shell.rb:174:in `execute'
./features/support/helpers/remote_shell.rb:185:in `initialize'
./features/support/helpers/dogtail.rb:80:in `new'
./features/support/helpers/dogtail.rb:80:in `run'
./features/support/helpers/dogtail.rb:70:in `initialize'
./features/step_definitions/common_steps.rb:719:in `new'
./features/step_definitions/common_steps.rb:719:in `/^all notifications have disappeared$/'
features/persistence.feature:212:in `And all notifications have disappeared'
Then the Tor Browser starts 0.000
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.000
After features/support/hooks.rb:330 11.126

SCENARIO FAILED: 'Filesystem and I/O errors' (at time 04:52:58)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_tca-misc-improvements/15/artifact/build-artifacts/04:52:58_Filesystem_and_I_O_errors.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_tca-misc-improvements/15/artifact/build-artifacts/04:52:58_Filesystem_and_I_O_errors.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_tca-misc-improvements/15/artifact/build-artifacts/04:52:58_Filesystem_and_I_O_errors.journal

After features/support/hooks.rb:100 0.000