Project Number Date
test_Tails_ISO_20263-remote-shell-debug-logging 3 06 Mar 2025, 01:38

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 1:6:39.625 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
5:52.093
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:39.198
And I update APT using apt 3:14.487
And I install "python3-behave" using apt 53.853
Then the Tails Persistent Storage behave tests pass 4.553
After features/support/hooks.rb:330 0.945
After features/support/hooks.rb:100 0.000
Tags: @product
44.499
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 13.636
When I log in to a new session without activating the Persistent Storage 22.738
Then Tails is running from USB drive "__internal" 0.406
And persistence is disabled 0.309
But a Tails persistence partition exists on USB drive "__internal" 7.407
After features/support/hooks.rb:330 1.696
After features/support/hooks.rb:100 0.000
Tags: @product
3:16.562
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 logged in 14.456
Then Tails is running from USB drive "__internal" 0.407
When I create a file in the Persistent directory 0.165
And I create a persistent partition with the default settings 28.083
Then the file I created was copied to the Persistent Storage 0.753
When I shutdown Tails and wait for the computer to power off 13.885
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:18.325
Then persistence for "Persistent" is active 0.407
And the file I created in the Persistent directory exists 0.078
After features/support/hooks.rb:330 2.197
After features/support/hooks.rb:100 0.011
Tags: @product
1:12.601
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 13.271
And the system is very low on memory 8.139
When I create a file in the Persistent directory 1.191
When I try to create a persistent partition 29.781
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.269
When I close the Persistent Storage app 3.112
And I free up some memory 1.671
And I create a persistent partition with the default settings 14.892
Then the file I created was copied to the Persistent Storage 0.272
After features/support/hooks.rb:330 2.360
After features/support/hooks.rb:100 0.000
Tags: @product
3:25.482
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 19.790
Then Tails is running from USB drive "__internal" 1.292
And all tps features are active 2.440
And all persistent directories have safe access rights 2.590
When I disable the first tps feature 8.189
Then all tps features but the first one are active 3.757
And I shutdown Tails and wait for the computer to power off 17.536
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:27.638
Then all tps features but the first one are active 2.246
After features/support/hooks.rb:330 0.997
After features/support/hooks.rb:100 0.007
Tags: @product
20.361
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.378
Then persistence for "Persistent" is active 0.237
And I create a file in the Persistent directory 0.224
Then the file I created was copied to the Persistent Storage 0.084
When I disable the first tps feature 5.834
Then persistence for "Persistent" is not active 0.070
And the Persistent directory does not exist 0.052
When I enable the first tps feature 3.315
Then persistence for "Persistent" is active 0.079
And the file I created in the Persistent directory exists 0.082
After features/support/hooks.rb:330 1.259
After features/support/hooks.rb:100 0.000
Tags: @product
24.239
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 13.682
Then persistence for "Persistent" is active 0.109
When I create a file in the Persistent directory 0.070
And I disable the first tps feature 6.077
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.078
After features/support/hooks.rb:330 1.375
After features/support/hooks.rb:100 0.000
Tags: @product
1:6.613
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.021
And the network is plugged 0.104
And Tor is ready 19.145
And I take note of which tps features are available 0.666
When I write some files expected to persist 2.674
And I shutdown Tails and wait for the computer to power off 9.054
# 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.946
After features/support/hooks.rb:330 0.131
After features/support/hooks.rb:100 0.000
Tags: @product
3:9.255
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.780
And the network is plugged 0.088
And Tor is ready 18.404
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.189
And I shutdown Tails and wait for the computer to power off 8.679
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.066
And I capture all network traffic 0.009
And the network is plugged 0.066
And Tor is ready 21.383
And I switch to the "persistent-con-current" NetworkManager connection 0.376
And the 1st network device has a spoofed MAC address configured 0.069
And no network device leaked the real MAC address 0.140
After features/support/hooks.rb:330 0.625
After features/support/hooks.rb:100 0.041
Tags: @product
1:0.578
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 without a persistent partition and stopped at Tails Greeter's login screen 13.394
And I enable persistence creation in Tails Greeter 1.187
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.852
Then I create a persistent partition with the default settings using the wizard that was already open 24.142
After features/support/hooks.rb:330 2.115
After features/support/hooks.rb:100 0.000
Tags: @product
4:52.027
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 12.509
When I enable persistence 56.294
Then no persistent Greeter options were restored 15.459
When I set all Greeter options to non-default values 26.529
And I log in to a new session in German (de) after having activated the Persistent Storage 56.346
Then all Greeter options are set to non-default values 0.648
When I cold reboot the computer 8.144
And the computer reboots Tails 1:3.466
Given I enable persistence 22.990
Then persistent Greeter options were restored 0.949
When I log in to a new session after having activated the Persistent Storage 28.106
Then all Greeter options are set to non-default values 0.580
After features/support/hooks.rb:330 1.468
After features/support/hooks.rb:100 0.007
Tags: @product
4:2.422
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 11.235
# 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 40.331
And I shutdown Tails and wait for the computer to power off 14.548
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:23.839
And I change the passphrase of the Persistent Storage back to the original 32.467
After features/support/hooks.rb:330 1.642
After features/support/hooks.rb:100 0.008
Tags: @product
55.359
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 9.827
And I log in to a new session without activating the Persistent Storage 20.764
Then persistence is disabled 0.286
But a Tails persistence partition exists on USB drive "__internal" 6.041
And all notifications have disappeared 9.919
When I delete the persistent partition 7.987
Then there is no persistence partition on USB drive "__internal" 0.531
After features/support/hooks.rb:330 1.600
After features/support/hooks.rb:100 0.000
Tags: @product
2:33.420
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 10.249
When I write some dotfile expected to persist 0.114
And I shutdown Tails and wait for the computer to power off 10.653
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.865
Then the expected persistent dotfile is present in the filesystem 0.537
After features/support/hooks.rb:330 1.397
After features/support/hooks.rb:100 0.010
Tags: @product
21:28.614
Scenario Feature activation fails
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 9.019
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.114
When I try to enable persistence 0.370
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 35.472
When I log in to a new session after having activated the Persistent Storage 43.104
And all notifications have disappeared 20:0.533
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/dogtail.rb:81:in `new'
./features/support/helpers/dogtail.rb:81:in `block in run'
./features/support/helpers/dogtail.rb:80:in `each'
./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: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:330 10.850

SCENARIO FAILED: 'Feature activation fails' (at time 04:04:31)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20263-remote-shell-debug-logging/3/artifact/build-artifacts/04:04:31_Feature_activation_fails.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20263-remote-shell-debug-logging/3/artifact/build-artifacts/04:04:31_Feature_activation_fails.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20263-remote-shell-debug-logging/3/artifact/build-artifacts/04:04:31_Feature_activation_fails.journal

After features/support/hooks.rb:100 0.000
Tags: @product
5:50.256
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 4:19.975
And I enable persistence 35.597
And I log in to a new session after having activated the Persistent Storage 45.999
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 5.956
And persistence is enabled 2.727
After features/support/hooks.rb:330 1.839
After features/support/hooks.rb:100 0.000
Tags: @product
33.338
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.393
And I enable persistence but something goes wrong during the LUKS header upgrade 23.069
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.874
After features/support/hooks.rb:330 0.768
After features/support/hooks.rb:100 0.000
Tags: @product
59.819
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.409
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 8.409
When I enable persistence 38.971
Then the filesystem of the Persistent Storage was repaired 0.082
And persistence is successfully enabled 2.947
After features/support/hooks.rb:330 1.621
After features/support/hooks.rb:100 0.000
Tags: @product
49.299
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.009
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.294
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.335
When I try to enable persistence 0.498
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 23.692
When I repair the filesystem of the Persistent Storage 2.694
Then the Welcome Screen tells me that the filesystem was repaired successfully 2.002
And the filesystem of the Persistent Storage was repaired 1.387
When I close the filesystem repair dialog 1.660
Then persistence is successfully enabled 1.734
After features/support/hooks.rb:330 1.485
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:59.889
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 10.147
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.184
When I try to enable persistence 0.380
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 34.356
When I repair the filesystem of the Persistent Storage 1.308
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.154
When I log in to a new session 39.119
And all notifications have disappeared 10.256
# 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.633
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 1.037
When I close the "whisperback" window 1.922
Then the Tor Browser starts 19.188
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.199
After features/support/hooks.rb:330 2.636
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:2.890
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 persistent partition and stopped at Tails Greeter's login screen 9.722
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.119
And Tails detects disk read failures on the boot device 1.802
When I try to enable persistence 0.531
Then the Welcome Screen tells me that my hardware is probably failing 19.215
When I log in to a new session 46.063
And all notifications have disappeared 10.630
Then the Tor Browser starts 26.736
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.068
After features/support/hooks.rb:330 2.107
After features/support/hooks.rb:100 0.000