Project Number Date
test_Tails_ISO_20263-remote-shell-debug-logging 5 06 Mar 2025, 15:27

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:4:54.657 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
6:18.867
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:35.062
And I update APT using apt 3:47.011
And I install "python3-behave" using apt 53.442
Then the Tails Persistent Storage behave tests pass 3.351
After features/support/hooks.rb:330 0.802
After features/support/hooks.rb:100 0.000
Tags: @product
50.762
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.747
When I log in to a new session without activating the Persistent Storage 27.729
Then Tails is running from USB drive "__internal" 0.753
And persistence is disabled 0.335
But a Tails persistence partition exists on USB drive "__internal" 10.196
After features/support/hooks.rb:330 1.545
After features/support/hooks.rb:100 0.000
Tags: @product
3:11.674
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 12.380
Then Tails is running from USB drive "__internal" 0.614
When I create a file in the Persistent directory 0.240
And I create a persistent partition with the default settings 27.378
Then the file I created was copied to the Persistent Storage 0.799
When I shutdown Tails and wait for the computer to power off 13.362
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.066
Then persistence for "Persistent" is active 0.741
And the file I created in the Persistent directory exists 0.089
After features/support/hooks.rb:330 0.755
After features/support/hooks.rb:100 0.031
Tags: @product
1:6.499
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 logged in 11.950
And the system is very low on memory 5.673
When I create a file in the Persistent directory 1.327
When I try to create a persistent partition 27.814
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.467
When I close the Persistent Storage app 2.942
And I free up some memory 1.604
And I create a persistent partition with the default settings 14.492
Then the file I created was copied to the Persistent Storage 0.225
After features/support/hooks.rb:330 2.240
After features/support/hooks.rb:100 0.000
Tags: @product
3:7.409
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 12.819
Then Tails is running from USB drive "__internal" 0.458
And all tps features are active 2.534
And all persistent directories have safe access rights 3.228
When I disable the first tps feature 6.305
Then all tps features but the first one are active 2.160
And I shutdown Tails and wait for the computer to power off 15.548
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:19.853
Then all tps features but the first one are active 4.500
After features/support/hooks.rb:330 1.297
After features/support/hooks.rb:100 0.009
Tags: @product
24.954
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 14.569
Then persistence for "Persistent" is active 0.111
And I create a file in the Persistent directory 0.108
Then the file I created was copied to the Persistent Storage 0.079
When I disable the first tps feature 6.412
Then persistence for "Persistent" is not active 0.065
And the Persistent directory does not exist 0.053
When I enable the first tps feature 3.398
Then persistence for "Persistent" is active 0.081
And the file I created in the Persistent directory exists 0.074
After features/support/hooks.rb:330 1.406
After features/support/hooks.rb:100 0.000
Tags: @product
20.637
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.185
Then persistence for "Persistent" is active 0.100
When I create a file in the Persistent directory 0.127
And I disable the first tps feature 6.516
And I delete the data of the Persistent Folder feature 3.645
Then the file I created does not exist on the Persistent Storage 0.062
After features/support/hooks.rb:330 1.426
After features/support/hooks.rb:100 0.000
Tags: @product
1:6.887
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.166
And the network is plugged 0.090
And Tor is ready 20.391
And I take note of which tps features are available 0.625
When I write some files expected to persist 1.542
And I shutdown Tails and wait for the computer to power off 8.743
# 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.326
After features/support/hooks.rb:330 0.141
After features/support/hooks.rb:100 0.000
Tags: @product
3:3.770
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.493
And the network is plugged 0.078
And Tor is ready 19.363
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.197
And I shutdown Tails and wait for the computer to power off 8.622
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.136
And I capture all network traffic 0.008
And the network is plugged 0.105
And Tor is ready 20.113
And I switch to the "persistent-con-current" NetworkManager connection 0.406
And the 1st network device has a spoofed MAC address configured 0.105
And no network device leaked the real MAC address 0.139
After features/support/hooks.rb:330 0.640
After features/support/hooks.rb:100 0.039
Tags: @product
59.061
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 stopped at Tails Greeter's login screen 12.866
And I enable persistence creation in Tails Greeter 1.204
And I log in to a new session expecting no warning about the Persistent Storage not being activated 20.660
Then I create a persistent partition with the default settings using the wizard that was already open 24.329
After features/support/hooks.rb:330 2.427
After features/support/hooks.rb:100 0.000
Tags: @product
4:49.732
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 27.094
When I enable persistence 37.041
Then no persistent Greeter options were restored 14.628
When I set all Greeter options to non-default values 25.715
And I log in to a new session in German (de) after having activated the Persistent Storage 57.199
Then all Greeter options are set to non-default values 0.376
When I cold reboot the computer 7.307
And the computer reboots Tails 1:3.532
Given I enable persistence 18.555
Then persistent Greeter options were restored 0.741
When I log in to a new session after having activated the Persistent Storage 37.228
Then all Greeter options are set to non-default values 0.310
After features/support/hooks.rb:330 1.820
After features/support/hooks.rb:100 0.012
Tags: @product
22:53.773
Scenario Changing the Persistent Storage passphrase
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.008
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.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 31.692
And I shutdown Tails and wait for the computer to power off 14.793
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 21:57.051
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.939

SCENARIO FAILED: 'Changing the Persistent Storage passphrase' (at time 03:59:50)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20263-remote-shell-debug-logging/5/artifact/build-artifacts/03:59:50_Changing_the_Persistent_Storage_passphrase.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20263-remote-shell-debug-logging/5/artifact/build-artifacts/03:59:50_Changing_the_Persistent_Storage_passphrase.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20263-remote-shell-debug-logging/5/artifact/build-artifacts/03:59:50_Changing_the_Persistent_Storage_passphrase.journal

After features/support/hooks.rb:100 0.010
Tags: @product
1:0.106
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.952
And I log in to a new session without activating the Persistent Storage 21.398
Then persistence is disabled 0.506
But a Tails persistence partition exists on USB drive "__internal" 9.531
And all notifications have disappeared 11.403
When I delete the persistent partition 7.847
Then there is no persistence partition on USB drive "__internal" 0.467
After features/support/hooks.rb:330 1.678
After features/support/hooks.rb:100 0.000
Tags: @product
2:27.706
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.634
When I write some dotfile expected to persist 0.078
And I shutdown Tails and wait for the computer to power off 9.257
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.333
Then the expected persistent dotfile is present in the filesystem 0.402
After features/support/hooks.rb:330 1.365
After features/support/hooks.rb:100 0.013
Tags: @product
1:44.157
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.087
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.091
When I try to enable persistence 0.362
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 32.809
When I log in to a new session after having activated the Persistent Storage 44.411
And all notifications have disappeared 8.196
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.163
And all tps features are enabled 2.531
And all tps features but the first one are active 2.503
After features/support/hooks.rb:330 1.783
After features/support/hooks.rb:100 0.000
Tags: @product
5:13.904
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:43.482
And I enable persistence 37.635
And I log in to a new session after having activated the Persistent Storage 46.526
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.474
And persistence is enabled 3.786
After features/support/hooks.rb:330 1.547
After features/support/hooks.rb:100 0.000
Tags: @product
34.510
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.637
And I enable persistence but something goes wrong during the LUKS header upgrade 24.070
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.802
After features/support/hooks.rb:330 0.769
After features/support/hooks.rb:100 0.000
Tags: @product
49.665
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.659
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.496
When I enable persistence 30.579
Then the filesystem of the Persistent Storage was repaired 0.088
And persistence is successfully enabled 2.841
After features/support/hooks.rb:330 1.803
After features/support/hooks.rb:100 0.000
Tags: @product
1:2.233
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 22.405
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.309
When I try to enable persistence 0.570
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 24.406
When I repair the filesystem of the Persistent Storage 3.552
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.803
And the filesystem of the Persistent Storage was repaired 1.179
When I close the filesystem repair dialog 1.362
Then persistence is successfully enabled 1.641
After features/support/hooks.rb:330 3.161
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:52.645
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 8.963
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.102
When I try to enable persistence 0.350
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.409
When I repair the filesystem of the Persistent Storage 1.296
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.157
When I log in to a new session 40.192
And all notifications have disappeared 9.856
# 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" 1.104
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.820
When I close the "whisperback" window 2.054
Then the Tor Browser starts 18.444
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.892
After features/support/hooks.rb:330 2.542
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:55.694
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.140
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.880
And Tails detects disk read failures on the boot device 0.487
When I try to enable persistence 1.536
Then the Welcome Screen tells me that my hardware is probably failing 19.271
When I log in to a new session 48.941
And all notifications have disappeared 8.116
Then the Tor Browser starts 21.463
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.856
After features/support/hooks.rb:330 1.929
After features/support/hooks.rb:100 0.000