Project Number Date
test_Tails_ISO_20297-debug-proxy-refusing-connections 12 02 Apr 2025, 19:53

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:12:7.389 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
6:45.748
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:59.838
And I update APT using apt 4:16.928
And I install "python3-behave" using apt 26.455
Then the Tails Persistent Storage behave tests pass 2.525
After features/support/hooks.rb:330 0.745
After features/support/hooks.rb:100 0.000
Tags: @product
1:15.458
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 28.328
When I log in to a new session without activating the Persistent Storage 27.567
Then Tails is running from USB drive "__internal" 0.405
And persistence is disabled 0.410
But a Tails persistence partition exists on USB drive "__internal" 18.748
After features/support/hooks.rb:330 2.247
After features/support/hooks.rb:100 0.000
Tags: @product
4:4.231
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 41.426
Then Tails is running from USB drive "__internal" 0.420
When I create a file in the Persistent directory 0.150
And I create a persistent partition with the default settings 26.638
Then the file I created was copied to the Persistent Storage 2.340
When I shutdown Tails and wait for the computer to power off 13.762
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:39.024
Then persistence for "Persistent" is active 0.386
And the file I created in the Persistent directory exists 0.082
After features/support/hooks.rb:330 2.431
After features/support/hooks.rb:100 0.022
Tags: @product
1:13.913
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 17.217
And the system is very low on memory 4.974
When I create a file in the Persistent directory 1.371
When I try to create a persistent partition 24.679
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.183
When I close the Persistent Storage app 2.636
And I free up some memory 2.651
And I create a persistent partition with the default settings 19.917
Then the file I created was copied to the Persistent Storage 0.281
After features/support/hooks.rb:330 2.704
After features/support/hooks.rb:100 0.000
Tags: @product
3:41.556
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 enabled and logged in 18.312
Then Tails is running from USB drive "__internal" 0.486
And all tps features are active 4.510
And all persistent directories have safe access rights 2.695
When I disable the first tps feature 6.774
Then all tps features but the first one are active 2.517
And I shutdown Tails and wait for the computer to power off 16.386
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:43.513
Then all tps features but the first one are active 6.358
After features/support/hooks.rb:330 1.868
After features/support/hooks.rb:100 0.016
Tags: @product
23.609
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 13.510
Then persistence for "Persistent" is active 0.162
And I create a file in the Persistent directory 0.100
Then the file I created was copied to the Persistent Storage 0.130
When I disable the first tps feature 6.233
Then persistence for "Persistent" is not active 0.069
And the Persistent directory does not exist 0.062
When I enable the first tps feature 3.160
Then persistence for "Persistent" is active 0.102
And the file I created in the Persistent directory exists 0.076
After features/support/hooks.rb:330 1.845
After features/support/hooks.rb:100 0.000
Tags: @product
22.830
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 10.601
Then persistence for "Persistent" is active 0.083
When I create a file in the Persistent directory 0.084
And I disable the first tps feature 8.281
And I delete the data of the Persistent Folder feature 3.722
Then the file I created does not exist on the Persistent Storage 0.056
After features/support/hooks.rb:330 2.196
After features/support/hooks.rb:100 0.000
Tags: @product
1:10.393
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 enabled and logged in 9.780
And the network is plugged 0.123
And Tor is ready 21.429
And I take note of which tps features are available 0.800
When I write some files expected to persist 1.847
And I shutdown Tails and wait for the computer to power off 9.773
# 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" 26.640
After features/support/hooks.rb:330 0.162
After features/support/hooks.rb:100 0.000
Tags: @product
3:30.959
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 10.095
And the network is plugged 0.408
And Tor is ready 22.547
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.199
And I shutdown Tails and wait for the computer to power off 8.543
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:28.081
And I capture all network traffic 0.016
And the network is plugged 0.114
And Tor is ready 20.261
And I switch to the "persistent-con-current" NetworkManager connection 0.421
And the 1st network device has a spoofed MAC address configured 0.091
And no network device leaked the real MAC address 0.179
After features/support/hooks.rb:330 0.833
After features/support/hooks.rb:100 0.056
Tags: @product
1:41.598
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.010
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 51.647
And I enable persistence creation in Tails Greeter 1.192
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.065
Then I create a persistent partition with the default settings using the wizard that was already open 25.692
After features/support/hooks.rb:330 4.341
After features/support/hooks.rb:100 0.000
Tags: @product
4:57.034
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 21.362
When I enable persistence 40.869
Then no persistent Greeter options were restored 14.062
When I set all Greeter options to non-default values 27.267
And I log in to a new session in German (de) after having activated the Persistent Storage 46.919
Then all Greeter options are set to non-default values 0.668
When I cold reboot the computer 10.073
And the computer reboots Tails 1:2.002
Given I enable persistence 31.302
Then persistent Greeter options were restored 0.587
When I log in to a new session after having activated the Persistent Storage 41.473
Then all Greeter options are set to non-default values 0.444
After features/support/hooks.rb:330 1.990
After features/support/hooks.rb:100 0.009
Tags: @product
3:55.007
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.923
# 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.205
And I shutdown Tails and wait for the computer to power off 14.638
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:13.893
And I change the passphrase of the Persistent Storage back to the original 32.346
After features/support/hooks.rb:330 3.034
After features/support/hooks.rb:100 0.012
Tags: @product
1:3.037
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 16.054
And I log in to a new session without activating the Persistent Storage 21.665
Then persistence is disabled 0.372
But a Tails persistence partition exists on USB drive "__internal" 9.739
And all notifications have disappeared 8.555
When I delete the persistent partition 5.834
Then there is no persistence partition on USB drive "__internal" 0.813
After features/support/hooks.rb:330 1.573
After features/support/hooks.rb:100 0.000
Tags: @product
2:45.778
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.333
When I write some dotfile expected to persist 0.065
And I shutdown Tails and wait for the computer to power off 9.446
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:25.548
Then the expected persistent dotfile is present in the filesystem 0.385
After features/support/hooks.rb:330 1.356
After features/support/hooks.rb:100 0.009
Tags: @product
21:34.151
Scenario Feature activation fails
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
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.836
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.136
When I try to enable persistence 1.458
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 31.006
When I log in to a new session after having activated the Persistent Storage 51.539
And all notifications have disappeared 20:0.174
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: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 11.022

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

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20297-debug-proxy-refusing-connections/12/artifact/build-artifacts/04:24:29_Feature_activation_fails.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20297-debug-proxy-refusing-connections/12/artifact/build-artifacts/04:24:29_Feature_activation_fails.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20297-debug-proxy-refusing-connections/12/artifact/build-artifacts/04:24:29_Feature_activation_fails.journal

After features/support/hooks.rb:100 0.000
Tags: @product
7:4.874
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 5:31.999
And I enable persistence 37.783
And I log in to a new session after having activated the Persistent Storage 49.249
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.824
And persistence is enabled 3.017
After features/support/hooks.rb:330 2.026
After features/support/hooks.rb:100 0.000
Tags: @product
36.606
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.885
And I enable persistence but something goes wrong during the LUKS header upgrade 25.766
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.955
After features/support/hooks.rb:330 0.756
After features/support/hooks.rb:100 0.000
Tags: @product
56.329
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.775
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.170
When I enable persistence 37.287
Then the filesystem of the Persistent Storage was repaired 0.084
And persistence is successfully enabled 3.011
After features/support/hooks.rb:330 1.557
After features/support/hooks.rb:100 0.000
Tags: @product
55.446
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 10.715
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.753
When I try to enable persistence 0.418
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 27.077
When I repair the filesystem of the Persistent Storage 2.042
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.274
And the filesystem of the Persistent Storage was repaired 3.493
When I close the filesystem repair dialog 1.236
Then persistence is successfully enabled 1.434
After features/support/hooks.rb:330 1.565
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:0.759
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.929
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.259
When I try to enable persistence 0.342
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 31.105
When I repair the filesystem of the Persistent Storage 1.256
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.083
When I log in to a new session 44.504
And all notifications have disappeared 10.664
# 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.459
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.692
When I close the "whisperback" window 1.626
Then the Tor Browser starts 19.916
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.917
After features/support/hooks.rb:330 3.022
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:8.065
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 10.024
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 9.966
And Tails detects disk read failures on the boot device 1.590
When I try to enable persistence 0.499
Then the Welcome Screen tells me that my hardware is probably failing 20.589
When I log in to a new session 51.948
And all notifications have disappeared 8.408
Then the Tor Browser starts 23.757
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.281
After features/support/hooks.rb:330 3.351
After features/support/hooks.rb:100 0.000