Project Number Date
test_Tails_ISO_20263-remote-shell-debug-logging 34 03 Apr 2025, 22:23

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 155 1 1 0 0 157 20 1 21 1:13.743 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
4:1.710
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:49.993
And I update APT using apt 1:14.883
And I install "python3-behave" using apt 54.313
Then the Tails Persistent Storage behave tests pass 2.519
After features/support/hooks.rb:330 1.437
After features/support/hooks.rb:100 0.000
Tags: @product
41.534
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.442
When I log in to a new session without activating the Persistent Storage 21.339
Then Tails is running from USB drive "__internal" 0.716
And persistence is disabled 0.345
But a Tails persistence partition exists on USB drive "__internal" 7.690
After features/support/hooks.rb:330 1.589
After features/support/hooks.rb:100 0.000
Tags: @product
3:1.707
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.079
Then Tails is running from USB drive "__internal" 0.528
When I create a file in the Persistent directory 0.127
And I create a persistent partition with the default settings 25.664
Then the file I created was copied to the Persistent Storage 2.764
When I shutdown Tails and wait for the computer to power off 12.560
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.092
Then persistence for "Persistent" is active 0.823
And the file I created in the Persistent directory exists 0.065
After features/support/hooks.rb:330 2.361
After features/support/hooks.rb:100 0.008
Tags: @product
1:4.480
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 11.745
And the system is very low on memory 3.590
When I create a file in the Persistent directory 1.182
When I try to create a persistent partition 28.413
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.407
When I close the Persistent Storage app 3.029
And I free up some memory 2.947
And I create a persistent partition with the default settings 12.846
Then the file I created was copied to the Persistent Storage 0.316
After features/support/hooks.rb:330 2.160
After features/support/hooks.rb:100 0.000
Tags: @product
2:46.325
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 12.268
Then Tails is running from USB drive "__internal" 0.379
And all tps features are active 2.488
And all persistent directories have safe access rights 4.559
When I disable the first tps feature 5.198
Then all tps features but the first one are active 2.128
And I shutdown Tails and wait for the computer to power off 12.546
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:4.541
Then all tps features but the first one are active 2.215
After features/support/hooks.rb:330 0.651
After features/support/hooks.rb:100 0.009
Tags: @product
21.248
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 11.817
Then persistence for "Persistent" is active 0.135
And I create a file in the Persistent directory 0.061
Then the file I created was copied to the Persistent Storage 0.067
When I disable the first tps feature 5.584
Then persistence for "Persistent" is not active 0.083
And the Persistent directory does not exist 0.067
When I enable the first tps feature 3.299
Then persistence for "Persistent" is active 0.058
And the file I created in the Persistent directory exists 0.074
After features/support/hooks.rb:330 1.330
After features/support/hooks.rb:100 0.000
Tags: @product
19.430
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.839
Then persistence for "Persistent" is active 0.124
When I create a file in the Persistent directory 0.085
And I disable the first tps feature 5.366
And I delete the data of the Persistent Folder feature 3.958
Then the file I created does not exist on the Persistent Storage 0.055
After features/support/hooks.rb:330 1.348
After features/support/hooks.rb:100 0.000
Tags: @product
1:1.709
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.197
And the network is plugged 0.086
And Tor is ready 17.303
And I take note of which tps features are available 0.664
When I write some files expected to persist 1.464
And I shutdown Tails and wait for the computer to power off 8.827
# 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.166
After features/support/hooks.rb:330 0.133
After features/support/hooks.rb:100 0.000
Tags: @product
3:7.869
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.652
And the network is plugged 0.090
And Tor is ready 21.585
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.201
And I shutdown Tails and wait for the computer to power off 8.635
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.872
And I capture all network traffic 0.015
And the network is plugged 0.103
And Tor is ready 19.146
And I switch to the "persistent-con-current" NetworkManager connection 0.345
And the 1st network device has a spoofed MAC address configured 0.108
And no network device leaked the real MAC address 0.111
After features/support/hooks.rb:330 0.635
After features/support/hooks.rb:100 0.056
Tags: @product
59.082
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 13.413
And I enable persistence creation in Tails Greeter 1.199
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.815
Then I create a persistent partition with the default settings using the wizard that was already open 22.654
After features/support/hooks.rb:330 2.575
After features/support/hooks.rb:100 0.000
Tags: @product
4:26.112
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 11.890
When I enable persistence 30.616
Then no persistent Greeter options were restored 14.291
When I set all Greeter options to non-default values 25.497
And I log in to a new session in German (de) after having activated the Persistent Storage 52.678
Then all Greeter options are set to non-default values 0.407
When I cold reboot the computer 7.389
And the computer reboots Tails 1:0.998
Given I enable persistence 17.752
Then persistent Greeter options were restored 0.731
When I log in to a new session after having activated the Persistent Storage 43.501
Then all Greeter options are set to non-default values 0.358
After features/support/hooks.rb:330 1.856
After features/support/hooks.rb:100 0.007
Tags: @product
22:55.465
Scenario Changing the Persistent Storage passphrase
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 enabled and logged in 10.008
# 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 31.781
And I shutdown Tails and wait for the computer to power off 14.609
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 21:59.065
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/step_definitions/common_steps.rb:298:in `/^I start Tails from (.+?) drive "(.+?)"( with network unplugged)?( and I login( with persistence enabled)?( with the changed persistence passphrase)?( (?:and|with) an administration password)?)?$/'
features/persistence.feature:123:in `Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase'
And I change the passphrase of the Persistent Storage back to the original 0.000
After features/support/hooks.rb:330 10.870

SCENARIO FAILED: 'Changing the Persistent Storage passphrase' (at time 03:48:09)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20263-remote-shell-debug-logging/34/artifact/build-artifacts/03:48:09_Changing_the_Persistent_Storage_passphrase.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20263-remote-shell-debug-logging/34/artifact/build-artifacts/03:48:09_Changing_the_Persistent_Storage_passphrase.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20263-remote-shell-debug-logging/34/artifact/build-artifacts/03:48:09_Changing_the_Persistent_Storage_passphrase.journal

After features/support/hooks.rb:100 0.009
Tags: @product
54.680
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.869
And I log in to a new session without activating the Persistent Storage 19.790
Then persistence is disabled 0.453
But a Tails persistence partition exists on USB drive "__internal" 10.627
And all notifications have disappeared 7.611
When I delete the persistent partition 5.667
Then there is no persistence partition on USB drive "__internal" 0.659
After features/support/hooks.rb:330 1.337
After features/support/hooks.rb:100 0.000
Tags: @product
2:22.342
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.595
When I write some dotfile expected to persist 0.097
And I shutdown Tails and wait for the computer to power off 8.614
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:3.600
Then the expected persistent dotfile is present in the filesystem 0.434
After features/support/hooks.rb:330 1.237
After features/support/hooks.rb:100 0.009
Tags: @product
1:37.948
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.308
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.070
When I try to enable persistence 0.396
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 27.747
When I log in to a new session after having activated the Persistent Storage 43.108
And all notifications have disappeared 9.395
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.813
And all tps features are enabled 2.163
And all tps features but the first one are active 1.944
After features/support/hooks.rb:330 1.414
After features/support/hooks.rb:100 0.000
Tags: @product
4:49.211
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 3:34.938
And I enable persistence 27.364
And I log in to a new session after having activated the Persistent Storage 41.546
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.735
And persistence is enabled 3.626
After features/support/hooks.rb:330 1.735
After features/support/hooks.rb:100 0.000
Tags: @product
31.836
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 8.739
And I enable persistence but something goes wrong during the LUKS header upgrade 22.278
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.818
After features/support/hooks.rb:330 0.758
After features/support/hooks.rb:100 0.000
Tags: @product
40.538
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.406
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.106
When I enable persistence 23.168
Then the filesystem of the Persistent Storage was repaired 0.122
And persistence is successfully enabled 2.734
After features/support/hooks.rb:330 2.460
After features/support/hooks.rb:100 0.000
Tags: @product
46.566
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 8.990
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.081
When I try to enable persistence 0.447
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 23.055
When I repair the filesystem of the Persistent Storage 1.349
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.002
And the filesystem of the Persistent Storage was repaired 2.282
When I close the filesystem repair dialog 1.284
Then persistence is successfully enabled 2.072
After features/support/hooks.rb:330 1.658
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:51.589
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 8.789
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.204
When I try to enable persistence 0.427
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.020
When I repair the filesystem of the Persistent Storage 1.313
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.148
When I log in to a new session 40.082
And all notifications have disappeared 9.385
# 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.516
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.621
When I close the "whisperback" window 1.800
Then the Tor Browser starts 19.276
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.002
After features/support/hooks.rb:330 2.641
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:52.354
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.194
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.887
And Tails detects disk read failures on the boot device 1.583
When I try to enable persistence 0.473
Then the Welcome Screen tells me that my hardware is probably failing 17.185
When I log in to a new session 46.687
And all notifications have disappeared 9.462
Then the Tor Browser starts 20.981
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.898
After features/support/hooks.rb:330 1.744
After features/support/hooks.rb:100 0.000