Project Number Date
test_Tails_ISO_20263-remote-shell-debug-logging 14 14 Mar 2025, 22:44

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:19:12.911 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
36:36.411
Scenario Tails Persistent Storage behave tests
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Steps
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:36.395
And I update APT using apt 35:0.015
execution expired (RemoteShell::Timeout)
./features/support/helpers/remote_shell.rb:62:in `read'
./features/support/helpers/remote_shell.rb:62:in `block (3 levels) in communicate'
./features/support/helpers/remote_shell.rb:61:in `block (2 levels) in communicate'
./features/support/helpers/remote_shell.rb:44:in `loop'
./features/support/helpers/remote_shell.rb:44:in `block in communicate'
./features/support/helpers/remote_shell.rb:37:in `communicate'
./features/support/helpers/remote_shell.rb:182:in `execute'
./features/support/helpers/remote_shell.rb:193:in `initialize'
./features/support/helpers/misc_helpers.rb:180:in `new'
./features/support/helpers/misc_helpers.rb:180:in `force_new_tor_circuit'
./features/support/helpers/misc_helpers.rb:192:in `block in retry_tor'
./features/support/helpers/misc_helpers.rb:222: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/support/helpers/misc_helpers.rb:196:in `retry_tor'
./features/step_definitions/apt.rb:59:in `/^I update APT using apt$/'
features/persistence.feature:8:in `And I update APT using apt'
And I install "python3-behave" using apt 0.000
Then the Tails Persistent Storage behave tests pass 0.000
After features/support/hooks.rb:330 10.872

SCENARIO FAILED: 'Tails Persistent Storage behave tests' (at time 03:47:42)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20263-remote-shell-debug-logging/14/artifact/build-artifacts/03:47:42_Tails_Persistent_Storage_behave_tests.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20263-remote-shell-debug-logging/14/artifact/build-artifacts/03:47:42_Tails_Persistent_Storage_behave_tests.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20263-remote-shell-debug-logging/14/artifact/build-artifacts/03:47:42_Tails_Persistent_Storage_behave_tests.journal

After features/support/hooks.rb:100 0.000
Tags: @product
51.584
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 and stopped at Tails Greeter's login screen 17.362
When I log in to a new session without activating the Persistent Storage 23.028
Then Tails is running from USB drive "__internal" 0.483
And persistence is disabled 0.319
But a Tails persistence partition exists on USB drive "__internal" 10.390
After features/support/hooks.rb:330 2.049
After features/support/hooks.rb:100 0.000
Tags: @product
3:22.077
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.044
Then Tails is running from USB drive "__internal" 0.601
When I create a file in the Persistent directory 0.168
And I create a persistent partition with the default settings 31.726
Then the file I created was copied to the Persistent Storage 0.606
When I shutdown Tails and wait for the computer to power off 13.540
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:19.667
Then persistence for "Persistent" is active 0.627
And the file I created in the Persistent directory exists 0.094
After features/support/hooks.rb:330 1.416
After features/support/hooks.rb:100 0.008
Tags: @product
1:7.216
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 without a persistent partition and logged in 12.084
And the system is very low on memory 4.067
When I create a file in the Persistent directory 1.401
When I try to create a persistent partition 30.056
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.348
When I close the Persistent Storage app 3.221
And I free up some memory 1.656
And I create a persistent partition with the default settings 14.116
Then the file I created was copied to the Persistent Storage 0.264
After features/support/hooks.rb:330 2.122
After features/support/hooks.rb:100 0.000
Tags: @product
3:14.962
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.015
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 29.628
Then Tails is running from USB drive "__internal" 0.469
And all tps features are active 2.939
And all persistent directories have safe access rights 2.754
When I disable the first tps feature 7.130
Then all tps features but the first one are active 2.274
And I shutdown Tails and wait for the computer to power off 10.871
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.361
Then all tps features but the first one are active 2.532
After features/support/hooks.rb:330 2.174
After features/support/hooks.rb:100 0.015
Tags: @product
21.344
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 9.748
Then persistence for "Persistent" is active 0.272
And I create a file in the Persistent directory 0.393
Then the file I created was copied to the Persistent Storage 0.094
When I disable the first tps feature 7.124
Then persistence for "Persistent" is not active 0.091
And the Persistent directory does not exist 0.097
When I enable the first tps feature 3.354
Then persistence for "Persistent" is active 0.083
And the file I created in the Persistent directory exists 0.083
After features/support/hooks.rb:330 1.567
After features/support/hooks.rb:100 0.000
Tags: @product
20.248
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 9.798
Then persistence for "Persistent" is active 0.096
When I create a file in the Persistent directory 0.082
And I disable the first tps feature 5.967
And I delete the data of the Persistent Folder feature 4.216
Then the file I created does not exist on the Persistent Storage 0.087
After features/support/hooks.rb:330 1.541
After features/support/hooks.rb:100 0.000
Tags: @product
1:10.535
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.963
And the network is plugged 0.206
And Tor is ready 20.890
And I take note of which tps features are available 1.138
When I write some files expected to persist 2.078
And I shutdown Tails and wait for the computer to power off 11.097
# 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.160
After features/support/hooks.rb:330 0.147
After features/support/hooks.rb:100 0.000
Tags: @product
3:22.909
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.343
And the network is plugged 0.198
And Tor is ready 22.917
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.208
And I shutdown Tails and wait for the computer to power off 10.965
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.819
And I capture all network traffic 0.005
And the network is plugged 0.092
And Tor is ready 20.765
And I switch to the "persistent-con-current" NetworkManager connection 0.335
And the 1st network device has a spoofed MAC address configured 0.096
And no network device leaked the real MAC address 0.160
After features/support/hooks.rb:330 0.678
After features/support/hooks.rb:100 0.059
Tags: @product
1:2.079
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 14.310
And I enable persistence creation in Tails Greeter 1.444
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.026
Then I create a persistent partition with the default settings using the wizard that was already open 24.298
After features/support/hooks.rb:330 2.224
After features/support/hooks.rb:100 0.000
Tags: @product
4:33.484
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 13.135
When I enable persistence 37.118
Then no persistent Greeter options were restored 14.552
When I set all Greeter options to non-default values 25.197
And I log in to a new session in German (de) after having activated the Persistent Storage 51.514
Then all Greeter options are set to non-default values 0.437
When I cold reboot the computer 7.680
And the computer reboots Tails 1:3.760
Given I enable persistence 20.278
Then persistent Greeter options were restored 0.972
When I log in to a new session after having activated the Persistent Storage 38.367
Then all Greeter options are set to non-default values 0.470
After features/support/hooks.rb:330 1.514
After features/support/hooks.rb:100 0.010
Tags: @product
3:49.209
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 9.845
# 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.999
And I shutdown Tails and wait for the computer to power off 12.539
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:7.357
And I change the passphrase of the Persistent Storage back to the original 34.468
After features/support/hooks.rb:330 1.780
After features/support/hooks.rb:100 0.009
Tags: @product
58.565
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 11.958
And I log in to a new session without activating the Persistent Storage 19.635
Then persistence is disabled 0.441
But a Tails persistence partition exists on USB drive "__internal" 8.031
And all notifications have disappeared 10.687
When I delete the persistent partition 7.420
Then there is no persistence partition on USB drive "__internal" 0.391
After features/support/hooks.rb:330 1.434
After features/support/hooks.rb:100 0.000
Tags: @product
2:40.577
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 9.615
When I write some dotfile expected to persist 0.155
And I shutdown Tails and wait for the computer to power off 10.650
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:19.516
Then the expected persistent dotfile is present in the filesystem 0.641
After features/support/hooks.rb:330 1.141
After features/support/hooks.rb:100 0.011
Tags: @product
1:48.281
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.726
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.097
When I try to enable persistence 0.455
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 31.857
When I log in to a new session after having activated the Persistent Storage 47.493
And all notifications have disappeared 8.928
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.630
And all tps features are enabled 2.825
And all tps features but the first one are active 2.266
After features/support/hooks.rb:330 2.583
After features/support/hooks.rb:100 0.000
Tags: @product
7:3.022
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 5:37.974
And I enable persistence 32.539
And I log in to a new session after having activated the Persistent Storage 46.773
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.551
And persistence is enabled 3.182
After features/support/hooks.rb:330 2.335
After features/support/hooks.rb:100 0.000
Tags: @product
30.815
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 9.633
And I enable persistence but something goes wrong during the LUKS header upgrade 20.270
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.911
After features/support/hooks.rb:330 0.807
After features/support/hooks.rb:100 0.000
Tags: @product
1:2.483
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 9.842
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 10.100
When I enable persistence 39.318
Then the filesystem of the Persistent Storage was repaired 0.101
And persistence is successfully enabled 3.120
After features/support/hooks.rb:330 2.476
After features/support/hooks.rb:100 0.000
Tags: @product
55.461
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.383
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.690
When I try to enable persistence 0.499
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.462
When I repair the filesystem of the Persistent Storage 1.371
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.394
And the filesystem of the Persistent Storage was repaired 2.558
When I close the filesystem repair dialog 1.365
Then persistence is successfully enabled 1.735
After features/support/hooks.rb:330 2.411
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:7.741
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 10.344
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.118
When I try to enable persistence 0.356
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 30.365
When I repair the filesystem of the Persistent Storage 1.311
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.161
When I log in to a new session 44.298
And all notifications have disappeared 13.301
# 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.852
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.831
When I close the "whisperback" window 2.185
Then the Tor Browser starts 22.620
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.992
After features/support/hooks.rb:330 2.560
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:13.896
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.515
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.193
And Tails detects disk read failures on the boot device 1.582
When I try to enable persistence 0.509
Then the Welcome Screen tells me that my hardware is probably failing 25.486
When I log in to a new session 56.007
And all notifications have disappeared 9.360
Then the Tor Browser starts 24.251
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.989
After features/support/hooks.rb:330 2.131
After features/support/hooks.rb:100 0.000