Project Number Date
test_Tails_ISO_20297-test-suite-reject-allow-internal-dns-resolution 3 09 Apr 2025, 22:48

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 157 0 0 0 0 157 21 0 21 45:3.658 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
7:24.424
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:32.007
And I update APT using apt 4:14.877
And I install "python3-behave" using apt 1:34.517
Then the Tails Persistent Storage behave tests pass 3.022
After features/support/hooks.rb:330 1.019
After features/support/hooks.rb:100 0.000
Tags: @product
1:1.406
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 29.211
When I log in to a new session without activating the Persistent Storage 21.774
Then Tails is running from USB drive "__internal" 0.679
And persistence is disabled 0.845
But a Tails persistence partition exists on USB drive "__internal" 8.895
After features/support/hooks.rb:330 1.814
After features/support/hooks.rb:100 0.000
Tags: @product
3:16.703
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 12.635
Then Tails is running from USB drive "__internal" 0.977
When I create a file in the Persistent directory 0.146
And I create a persistent partition with the default settings 32.773
Then the file I created was copied to the Persistent Storage 2.881
When I shutdown Tails and wait for the computer to power off 12.821
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.974
Then persistence for "Persistent" is active 0.418
And the file I created in the Persistent directory exists 0.073
After features/support/hooks.rb:330 1.726
After features/support/hooks.rb:100 0.008
Tags: @product
1:0.496
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 10.838
And the system is very low on memory 3.207
When I create a file in the Persistent directory 0.790
When I try to create a persistent partition 26.091
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.370
When I close the Persistent Storage app 2.520
And I free up some memory 3.706
And I create a persistent partition with the default settings 12.720
Then the file I created was copied to the Persistent Storage 0.251
After features/support/hooks.rb:330 2.412
After features/support/hooks.rb:100 0.000
Tags: @product
2:56.788
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 12.109
Then Tails is running from USB drive "__internal" 0.552
And all tps features are active 2.494
And all persistent directories have safe access rights 2.513
When I disable the first tps feature 13.325
Then all tps features but the first one are active 2.143
And I shutdown Tails and wait for the computer to power off 12.781
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.605
Then all tps features but the first one are active 2.263
After features/support/hooks.rb:330 0.833
After features/support/hooks.rb:100 0.009
Tags: @product
20.539
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.182
Then persistence for "Persistent" is active 0.093
And I create a file in the Persistent directory 0.078
Then the file I created was copied to the Persistent Storage 0.099
When I disable the first tps feature 5.973
Then persistence for "Persistent" is not active 0.157
And the Persistent directory does not exist 0.072
When I enable the first tps feature 3.730
Then persistence for "Persistent" is active 0.081
And the file I created in the Persistent directory exists 0.070
After features/support/hooks.rb:330 1.490
After features/support/hooks.rb:100 0.000
Tags: @product
18.997
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.279
Then persistence for "Persistent" is active 0.124
When I create a file in the Persistent directory 0.104
And I disable the first tps feature 5.583
And I delete the data of the Persistent Folder feature 3.829
Then the file I created does not exist on the Persistent Storage 0.074
After features/support/hooks.rb:330 1.873
After features/support/hooks.rb:100 0.000
Tags: @product
1:6.945
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.511
And the network is plugged 0.077
And Tor is ready 22.285
And I take note of which tps features are available 0.796
When I write some files expected to persist 1.474
And I shutdown Tails and wait for the computer to power off 8.856
# 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.945
After features/support/hooks.rb:330 0.126
After features/support/hooks.rb:100 0.000
Tags: @product
3:10.704
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.000
And the network is plugged 0.183
And Tor is ready 24.970
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.198
And I shutdown Tails and wait for the computer to power off 8.524
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.316
And I capture all network traffic 0.006
And the network is plugged 0.117
And Tor is ready 19.713
And I switch to the "persistent-con-current" NetworkManager connection 0.408
And the 1st network device has a spoofed MAC address configured 0.075
And no network device leaked the real MAC address 0.189
After features/support/hooks.rb:330 0.592
After features/support/hooks.rb:100 0.058
Tags: @product
59.003
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 12.788
And I enable persistence creation in Tails Greeter 1.479
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.264
Then I create a persistent partition with the default settings using the wizard that was already open 22.470
After features/support/hooks.rb:330 2.628
After features/support/hooks.rb:100 0.000
Tags: @product
4:18.912
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 13.382
When I enable persistence 34.025
Then no persistent Greeter options were restored 14.292
When I set all Greeter options to non-default values 24.922
And I log in to a new session in German (de) after having activated the Persistent Storage 47.371
Then all Greeter options are set to non-default values 0.837
When I cold reboot the computer 7.631
And the computer reboots Tails 59.887
Given I enable persistence 17.481
Then persistent Greeter options were restored 0.542
When I log in to a new session after having activated the Persistent Storage 38.087
Then all Greeter options are set to non-default values 0.448
After features/support/hooks.rb:330 1.894
After features/support/hooks.rb:100 0.124
Tags: @product
3:38.447
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.855
# 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.849
And I shutdown Tails and wait for the computer to power off 12.689
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:13.045
And I change the passphrase of the Persistent Storage back to the original 30.008
After features/support/hooks.rb:330 3.151
After features/support/hooks.rb:100 0.009
Tags: @product
57.466
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 10.255
And I log in to a new session without activating the Persistent Storage 20.972
Then persistence is disabled 0.497
But a Tails persistence partition exists on USB drive "__internal" 6.965
And all notifications have disappeared 10.353
When I delete the persistent partition 7.492
Then there is no persistence partition on USB drive "__internal" 0.929
After features/support/hooks.rb:330 1.714
After features/support/hooks.rb:100 0.000
Tags: @product
2:28.060
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.896
When I write some dotfile expected to persist 0.173
And I shutdown Tails and wait for the computer to power off 10.823
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.735
Then the expected persistent dotfile is present in the filesystem 0.430
After features/support/hooks.rb:330 0.805
After features/support/hooks.rb:100 0.011
Tags: @product
1:39.253
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.241
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.089
When I try to enable persistence 0.259
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 28.369
When I log in to a new session after having activated the Persistent Storage 43.728
And all notifications have disappeared 9.150
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.667
And all tps features are enabled 2.394
And all tps features but the first one are active 2.353
After features/support/hooks.rb:330 1.676
After features/support/hooks.rb:100 0.000
Tags: @product
4:44.871
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 3:25.036
And I enable persistence 30.699
And I log in to a new session after having activated the Persistent Storage 45.079
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.570
And persistence is enabled 2.484
After features/support/hooks.rb:330 1.597
After features/support/hooks.rb:100 0.000
Tags: @product
28.978
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.593
And I enable persistence but something goes wrong during the LUKS header upgrade 19.637
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.746
After features/support/hooks.rb:330 0.876
After features/support/hooks.rb:100 0.000
Tags: @product
44.646
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 9.429
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.525
When I enable persistence 26.817
Then the filesystem of the Persistent Storage was repaired 0.095
And persistence is successfully enabled 2.778
After features/support/hooks.rb:330 3.144
After features/support/hooks.rb:100 0.000
Tags: @product
49.434
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.594
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.543
When I try to enable persistence 0.461
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 22.831
When I repair the filesystem of the Persistent Storage 5.089
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.223
And the filesystem of the Persistent Storage was repaired 2.821
When I close the filesystem repair dialog 1.268
Then persistence is successfully enabled 1.599
After features/support/hooks.rb:330 1.690
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:41.744
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 9.055
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.100
When I try to enable persistence 0.264
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.127
When I repair the filesystem of the Persistent Storage 5.142
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.095
When I log in to a new session 32.490
And all notifications have disappeared 8.501
# 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.802
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.128
When I close the "whisperback" window 1.940
Then the Tor Browser starts 14.088
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.005
After features/support/hooks.rb:330 2.249
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:55.831
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.220
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.617
And Tails detects disk read failures on the boot device 1.600
When I try to enable persistence 0.502
Then the Welcome Screen tells me that my hardware is probably failing 17.054
When I log in to a new session 49.769
And all notifications have disappeared 9.969
Then the Tor Browser starts 21.212
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.884
After features/support/hooks.rb:330 1.840
After features/support/hooks.rb:100 0.000