Project Number Date
test_Tails_ISO_stable 5232 30 Oct 2024, 04:22

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 151 1 5 0 0 157 20 1 21 58:30.826 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:14.787
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:32.741
And I update APT using apt 13.743
And I install "python3-behave" using apt 25.869
Then the Tails Persistent Storage behave tests pass 2.432
After features/support/hooks.rb:326 0.718
After features/support/hooks.rb:100 0.000
Tags: @product
46.434
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 14.631
When I log in to a new session without activating the Persistent Storage 24.369
Then Tails is running from USB drive "__internal" 0.501
And persistence is disabled 0.341
But a Tails persistence partition exists on USB drive "__internal" 6.590
After features/support/hooks.rb:326 2.131
After features/support/hooks.rb:100 0.000
Tags: @product
3:3.132
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive without a persistent partition and logged in 11.911
Then Tails is running from USB drive "__internal" 0.595
When I create a file in the Persistent directory 0.160
And I create a persistent partition with the default settings 23.308
Then the file I created was copied to the Persistent Storage 0.514
When I shutdown Tails and wait for the computer to power off 10.517
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.727
Then persistence for "Persistent" is active 0.335
And the file I created in the Persistent directory exists 0.062
After features/support/hooks.rb:326 1.018
After features/support/hooks.rb:100 0.064
Tags: @product
1:11.334
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 11.168
And the system is very low on memory 15.602
When I create a file in the Persistent directory 1.273
When I try to create a persistent partition 25.336
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.384
When I close the Persistent Storage app 2.631
And I free up some memory 1.509
And I create a persistent partition with the default settings 13.172
Then the file I created was copied to the Persistent Storage 0.256
After features/support/hooks.rb:326 1.907
After features/support/hooks.rb:100 0.000
Tags: @product
2:40.782
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.650
Then Tails is running from USB drive "__internal" 0.737
And all tps features are active 2.223
And all persistent directories have safe access rights 2.529
When I disable the first tps feature 6.330
Then all tps features but the first one are active 2.141
And I shutdown Tails and wait for the computer to power off 10.525
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:3.330
Then all tps features but the first one are active 2.312
After features/support/hooks.rb:326 0.839
After features/support/hooks.rb:100 0.007
Tags: @product
19.261
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 9.523
Then persistence for "Persistent" is active 0.140
And I create a file in the Persistent directory 0.069
Then the file I created was copied to the Persistent Storage 0.079
When I disable the first tps feature 6.106
Then persistence for "Persistent" is not active 0.077
And the Persistent directory does not exist 0.049
When I enable the first tps feature 3.066
Then persistence for "Persistent" is active 0.084
And the file I created in the Persistent directory exists 0.064
After features/support/hooks.rb:326 0.966
After features/support/hooks.rb:100 0.000
Tags: @product
19.377
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 9.388
Then persistence for "Persistent" is active 0.079
When I create a file in the Persistent directory 0.078
And I disable the first tps feature 5.940
And I delete the data of the Persistent Folder feature 3.832
Then the file I created does not exist on the Persistent Storage 0.057
After features/support/hooks.rb:326 1.039
After features/support/hooks.rb:100 0.000
Tags: @product
59.883
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.692
And the network is plugged 0.078
And Tor is ready 15.535
And I take note of which tps features are available 0.584
When I write some files expected to persist 1.470
And I shutdown Tails and wait for the computer to power off 8.586
# 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" 23.936
After features/support/hooks.rb:326 0.117
After features/support/hooks.rb:100 0.000
Tags: @product
3:1.970
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.779
And the network is plugged 0.073
And Tor is ready 16.388
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.179
And I shutdown Tails and wait for the computer to power off 8.689
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.284
And I capture all network traffic 0.014
And the network is plugged 0.121
And Tor is ready 18.865
And I switch to the "persistent-con-current" NetworkManager connection 0.337
And the 1st network device has a spoofed MAC address configured 0.092
And no network device leaked the real MAC address 0.144
After features/support/hooks.rb:326 0.524
After features/support/hooks.rb:100 0.115
Tags: @product
59.470
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 12.384
And I enable persistence creation in Tails Greeter 1.106
And I log in to a new session expecting no warning about the Persistent Storage not being activated 24.755
Then I create a persistent partition with the default settings using the wizard that was already open 21.224
After features/support/hooks.rb:326 2.320
After features/support/hooks.rb:100 0.000
Tags: @product
4:46.510
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 11.955
When I enable persistence 36.270
Then no persistent Greeter options were restored 14.323
When I set all Greeter options to non-default values 25.940
And I log in to a new session in German (de) after having activated the Persistent Storage 50.014
Then all Greeter options are set to non-default values 0.548
When I cold reboot the computer 7.618
And the computer reboots Tails 56.807
Given I enable persistence 31.930
Then persistent Greeter options were restored 14.742
When I log in to a new session after having activated the Persistent Storage 36.013
Then all Greeter options are set to non-default values 0.347
After features/support/hooks.rb:326 1.663
After features/support/hooks.rb:100 0.008
Tags: @product
3:46.127
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 9.981
# 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.780
And I shutdown Tails and wait for the computer to power off 12.323
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:14.060
And I change the passphrase of the Persistent Storage back to the original 35.982
After features/support/hooks.rb:326 2.204
After features/support/hooks.rb:100 0.011
Tags: @product
58.554
Before features/support/hooks.rb:269 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.806
And I log in to a new session without activating the Persistent Storage 20.652
Then persistence is disabled 0.498
But a Tails persistence partition exists on USB drive "__internal" 9.302
And all notifications have disappeared 11.313
When I delete the persistent partition 6.493
Then there is no persistence partition on USB drive "__internal" 0.487
After features/support/hooks.rb:326 0.829
After features/support/hooks.rb:100 0.000
Tags: @product
2:17.485
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 9.585
When I write some dotfile expected to persist 0.219
And I shutdown Tails and wait for the computer to power off 8.619
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:58.580
Then the expected persistent dotfile is present in the filesystem 0.479
After features/support/hooks.rb:326 0.812
After features/support/hooks.rb:100 0.009
Tags: @product
1:33.137
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 8.806
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.075
When I try to enable persistence 0.279
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 30.142
When I log in to a new session after having activated the Persistent Storage 37.130
And all notifications have disappeared 8.291
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.940
And all tps features are enabled 2.373
And all tps features but the first one are active 2.097
After features/support/hooks.rb:326 1.334
After features/support/hooks.rb:100 0.000
Tags: @product
5:35.106
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 4:15.402
And I enable persistence 32.300
And I log in to a new session after having activated the Persistent Storage 45.180
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.129
And persistence is enabled 0.093
After features/support/hooks.rb:326 1.042
After features/support/hooks.rb:100 0.000
Tags: @product
27.983
Before features/support/hooks.rb:269 0.005
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.380
And I enable persistence but something goes wrong during the LUKS header upgrade 17.891
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.711
After features/support/hooks.rb:326 0.902
After features/support/hooks.rb:100 0.000
Tags: @product
37.222
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 8.933
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.398
When I enable persistence 22.473
Then the filesystem of the Persistent Storage was repaired 0.087
And persistence is successfully enabled 0.329
After features/support/hooks.rb:326 1.097
After features/support/hooks.rb:100 0.000
Tags: @product
25.490
Before features/support/hooks.rb:269 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.657
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.677
When I try to enable persistence 0.564
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.437
When I repair the filesystem of the Persistent Storage 1.202
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.203
And the filesystem of the Persistent Storage was repaired 0.106
When I close the filesystem repair dialog 1.187
Then persistence is successfully enabled 0.452
After features/support/hooks.rb:326 0.749
After features/support/hooks.rb:100 0.000
Tags: @product @doc
21:11.978
Scenario Manual filesystem repair fails
Before features/support/hooks.rb:269 0.004
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.522
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.099
When I try to enable persistence 0.269
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 26.079
When I repair the filesystem of the Persistent Storage 1.839
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.073
When I log in to a new session 34.797
And all notifications have disappeared 20:0.297
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:712:in `new'
./features/step_definitions/common_steps.rb:712:in `/^all notifications have disappeared$/'
features/persistence.feature:192:in `And all notifications have disappeared'
# 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.000
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.000
When I close the "whisperback" window 0.000
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:326 10.861

SCENARIO FAILED: 'Manual filesystem repair fails' (at time 03:40:00)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5232/artifact/build-artifacts/03:40:00_Manual_filesystem_repair_fails.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5232/artifact/build-artifacts/03:40:00_Manual_filesystem_repair_fails.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5232/artifact/build-artifacts/03:40:00_Manual_filesystem_repair_fails.journal

After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:14.794
Before features/support/hooks.rb:269 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.032
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.026
And Tails detects disk read failures on the boot device 1.580
When I try to enable persistence 0.398
Then the Welcome Screen tells me that my hardware is probably failing 5.328
When I log in to a new session 21.356
And all notifications have disappeared 7.892
Then the Tor Browser starts 22.444
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.734
After features/support/hooks.rb:326 1.425
After features/support/hooks.rb:100 0.000