Project Number Date
test_Tails_ISO_20297-test-suite-reject-allow-internal-dns-resolution 18 16 Apr 2025, 23:01

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:0.594 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
3:55.358
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:45.323
And I update APT using apt 1:44.531
And I install "python3-behave" using apt 22.838
Then the Tails Persistent Storage behave tests pass 2.666
After features/support/hooks.rb:330 0.638
After features/support/hooks.rb:100 0.000
Tags: @product
42.327
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 11.548
When I log in to a new session without activating the Persistent Storage 22.043
Then Tails is running from USB drive "__internal" 0.822
And persistence is disabled 0.337
But a Tails persistence partition exists on USB drive "__internal" 7.576
After features/support/hooks.rb:330 1.531
After features/support/hooks.rb:100 0.000
Tags: @product
2:56.400
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.145
Then Tails is running from USB drive "__internal" 0.440
When I create a file in the Persistent directory 0.140
And I create a persistent partition with the default settings 21.847
Then the file I created was copied to the Persistent Storage 2.753
When I shutdown Tails and wait for the computer to power off 10.447
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.517
Then persistence for "Persistent" is active 1.043
And the file I created in the Persistent directory exists 0.065
After features/support/hooks.rb:330 1.840
After features/support/hooks.rb:100 0.007
Tags: @product
1:0.498
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.342
And the system is very low on memory 3.830
When I create a file in the Persistent directory 1.912
When I try to create a persistent partition 25.461
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.163
When I close the Persistent Storage app 2.725
And I free up some memory 2.892
And I create a persistent partition with the default settings 11.899
Then the file I created was copied to the Persistent Storage 0.270
After features/support/hooks.rb:330 2.507
After features/support/hooks.rb:100 0.000
Tags: @product
2:51.232
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.570
Then Tails is running from USB drive "__internal" 0.697
And all tps features are active 2.379
And all persistent directories have safe access rights 2.384
When I disable the first tps feature 5.520
Then all tps features but the first one are active 2.117
And I shutdown Tails and wait for the computer to power off 12.844
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.581
Then all tps features but the first one are active 2.136
After features/support/hooks.rb:330 1.660
After features/support/hooks.rb:100 0.008
Tags: @product
19.540
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.172
Then persistence for "Persistent" is active 0.134
And I create a file in the Persistent directory 0.100
Then the file I created was copied to the Persistent Storage 0.117
When I disable the first tps feature 5.589
Then persistence for "Persistent" is not active 0.115
And the Persistent directory does not exist 0.041
When I enable the first tps feature 3.115
Then persistence for "Persistent" is active 0.078
And the file I created in the Persistent directory exists 0.076
After features/support/hooks.rb:330 1.534
After features/support/hooks.rb:100 0.000
Tags: @product
18.803
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.294
Then persistence for "Persistent" is active 0.117
When I create a file in the Persistent directory 0.157
And I disable the first tps feature 5.527
And I delete the data of the Persistent Folder feature 3.651
Then the file I created does not exist on the Persistent Storage 0.053
After features/support/hooks.rb:330 1.603
After features/support/hooks.rb:100 0.000
Tags: @product
1:1.376
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 8.868
And the network is plugged 0.079
And Tor is ready 18.121
And I take note of which tps features are available 0.673
When I write some files expected to persist 1.397
And I shutdown Tails and wait for the computer to power off 8.352
# 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" 23.882
After features/support/hooks.rb:330 0.085
After features/support/hooks.rb:100 0.000
Tags: @product
3:3.886
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.354
And the network is plugged 0.079
And Tor is ready 19.910
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.210
And I shutdown Tails and wait for the computer to power off 8.434
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.214
And I capture all network traffic 0.014
And the network is plugged 0.104
And Tor is ready 19.051
And I switch to the "persistent-con-current" NetworkManager connection 0.302
And the 1st network device has a spoofed MAC address configured 0.082
And no network device leaked the real MAC address 0.128
After features/support/hooks.rb:330 0.571
After features/support/hooks.rb:100 0.065
Tags: @product
54.151
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 11.710
And I enable persistence creation in Tails Greeter 1.120
And I log in to a new session expecting no warning about the Persistent Storage not being activated 20.126
Then I create a persistent partition with the default settings using the wizard that was already open 21.194
After features/support/hooks.rb:330 2.747
After features/support/hooks.rb:100 0.000
Tags: @product
4:30.106
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 11.329
When I enable persistence 35.666
Then no persistent Greeter options were restored 14.542
When I set all Greeter options to non-default values 29.540
And I log in to a new session in German (de) after having activated the Persistent Storage 51.286
Then all Greeter options are set to non-default values 2.443
When I cold reboot the computer 7.510
And the computer reboots Tails 59.469
Given I enable persistence 17.709
Then persistent Greeter options were restored 0.516
When I log in to a new session after having activated the Persistent Storage 39.694
Then all Greeter options are set to non-default values 0.396
After features/support/hooks.rb:330 2.217
After features/support/hooks.rb:100 0.010
Tags: @product
3:32.951
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.825
# 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 32.012
And I shutdown Tails and wait for the computer to power off 12.709
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:59.821
And I change the passphrase of the Persistent Storage back to the original 38.581
After features/support/hooks.rb:330 3.502
After features/support/hooks.rb:100 0.008
Tags: @product
52.407
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.165
And I log in to a new session without activating the Persistent Storage 21.138
Then persistence is disabled 0.231
But a Tails persistence partition exists on USB drive "__internal" 7.575
And all notifications have disappeared 7.174
When I delete the persistent partition 5.904
Then there is no persistence partition on USB drive "__internal" 1.217
After features/support/hooks.rb:330 1.308
After features/support/hooks.rb:100 0.000
Tags: @product
2:23.054
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.357
When I write some dotfile expected to persist 0.196
And I shutdown Tails and wait for the computer to power off 8.371
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:4.705
Then the expected persistent dotfile is present in the filesystem 0.423
After features/support/hooks.rb:330 1.264
After features/support/hooks.rb:100 0.009
Tags: @product
21:16.675
Scenario Feature activation fails
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
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.231
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.073
When I try to enable persistence 0.274
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 27.225
When I log in to a new session after having activated the Persistent Storage 39.763
And all notifications have disappeared 20:0.106
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 10.859

SCENARIO FAILED: 'Feature activation fails' (at time 03:58:39)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20297-test-suite-reject-allow-internal-dns-resolution/18/artifact/build-artifacts/03:58:39_Feature_activation_fails.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20297-test-suite-reject-allow-internal-dns-resolution/18/artifact/build-artifacts/03:58:39_Feature_activation_fails.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20297-test-suite-reject-allow-internal-dns-resolution/18/artifact/build-artifacts/03:58:39_Feature_activation_fails.journal

After features/support/hooks.rb:100 0.000
Tags: @product
4:42.918
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 3:19.047
And I enable persistence 29.949
And I log in to a new session after having activated the Persistent Storage 50.257
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.377
And persistence is enabled 2.286
After features/support/hooks.rb:330 1.617
After features/support/hooks.rb:100 0.000
Tags: @product
30.274
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 8.534
And I enable persistence but something goes wrong during the LUKS header upgrade 21.008
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.731
After features/support/hooks.rb:330 0.704
After features/support/hooks.rb:100 0.000
Tags: @product
46.202
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 8.976
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 4.963
When I enable persistence 29.496
Then the filesystem of the Persistent Storage was repaired 0.104
And persistence is successfully enabled 2.661
After features/support/hooks.rb:330 1.519
After features/support/hooks.rb:100 0.000
Tags: @product
51.138
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.539
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.404
When I try to enable persistence 0.429
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 25.565
When I repair the filesystem of the Persistent Storage 1.312
Then the Welcome Screen tells me that the filesystem was repaired successfully 3.998
And the filesystem of the Persistent Storage was repaired 3.231
When I close the filesystem repair dialog 1.260
Then persistence is successfully enabled 1.396
After features/support/hooks.rb:330 2.028
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:44.016
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.051
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.099
When I try to enable persistence 0.258
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.034
When I repair the filesystem of the Persistent Storage 1.265
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.074
When I log in to a new session 34.275
And all notifications have disappeared 7.588
# 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.416
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.259
When I close the "whisperback" window 1.617
Then the Tor Browser starts 19.155
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.921
After features/support/hooks.rb:330 2.835
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:47.269
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 8.392
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.241
And Tails detects disk read failures on the boot device 0.528
When I try to enable persistence 0.415
Then the Welcome Screen tells me that my hardware is probably failing 17.292
When I log in to a new session 48.397
And all notifications have disappeared 9.040
Then the Tor Browser starts 17.222
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.738
After features/support/hooks.rb:330 1.874
After features/support/hooks.rb:100 0.000