Project Number Date
test_Tails_ISO_20297-test-suite-reject-allow-internal-dns-resolution 24 22 Apr 2025, 23:32

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 43:20.761 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
4:45.697
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 2:5.980
And I update APT using apt 2:13.839
And I install "python3-behave" using apt 22.910
Then the Tails Persistent Storage behave tests pass 2.966
After features/support/hooks.rb:330 0.648
After features/support/hooks.rb:100 0.000
Tags: @product
45.341
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 10.866
When I log in to a new session without activating the Persistent Storage 26.166
Then Tails is running from USB drive "__internal" 0.325
And persistence is disabled 0.366
But a Tails persistence partition exists on USB drive "__internal" 7.615
After features/support/hooks.rb:330 1.586
After features/support/hooks.rb:100 0.000
Tags: @product
3:2.164
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.536
Then Tails is running from USB drive "__internal" 0.365
When I create a file in the Persistent directory 0.113
And I create a persistent partition with the default settings 23.967
Then the file I created was copied to the Persistent Storage 2.082
When I shutdown Tails and wait for the computer to power off 12.550
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.366
Then persistence for "Persistent" is active 1.080
And the file I created in the Persistent directory exists 0.100
After features/support/hooks.rb:330 1.678
After features/support/hooks.rb:100 0.011
Tags: @product
1:4.691
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.025
Given I have started Tails without network from a USB drive without a persistent partition and logged in 10.814
And the system is very low on memory 3.260
When I create a file in the Persistent directory 0.773
When I try to create a persistent partition 27.590
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.399
When I close the Persistent Storage app 2.765
And I free up some memory 3.575
And I create a persistent partition with the default settings 15.176
Then the file I created was copied to the Persistent Storage 0.336
After features/support/hooks.rb:330 2.479
After features/support/hooks.rb:100 0.000
Tags: @product
2:54.166
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.471
Then Tails is running from USB drive "__internal" 2.209
And all tps features are active 2.252
And all persistent directories have safe access rights 2.404
When I disable the first tps feature 6.778
Then all tps features but the first one are active 2.195
And I shutdown Tails and wait for the computer to power off 12.904
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.667
Then all tps features but the first one are active 2.283
After features/support/hooks.rb:330 1.323
After features/support/hooks.rb:100 0.007
Tags: @product
22.635
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.699
Then persistence for "Persistent" is active 0.094
And I create a file in the Persistent directory 0.094
Then the file I created was copied to the Persistent Storage 0.114
When I disable the first tps feature 5.927
Then persistence for "Persistent" is not active 0.096
And the Persistent directory does not exist 0.050
When I enable the first tps feature 3.398
Then persistence for "Persistent" is active 0.078
And the file I created in the Persistent directory exists 0.078
After features/support/hooks.rb:330 0.945
After features/support/hooks.rb:100 0.000
Tags: @product
21.006
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.789
Then persistence for "Persistent" is active 0.125
When I create a file in the Persistent directory 0.182
And I disable the first tps feature 6.862
And I delete the data of the Persistent Folder feature 3.975
Then the file I created does not exist on the Persistent Storage 0.071
After features/support/hooks.rb:330 1.023
After features/support/hooks.rb:100 0.000
Tags: @product
1:10.389
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.152
And the network is plugged 0.096
And Tor is ready 23.078
And I take note of which tps features are available 0.902
When I write some files expected to persist 1.520
And I shutdown Tails and wait for the computer to power off 10.904
# 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.733
After features/support/hooks.rb:330 0.097
After features/support/hooks.rb:100 0.000
Tags: @product
3:10.742
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.672
And the network is plugged 0.113
And Tor is ready 21.169
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.221
And I shutdown Tails and wait for the computer to power off 8.800
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.348
And I capture all network traffic 0.008
And the network is plugged 0.122
And Tor is ready 18.703
And I switch to the "persistent-con-current" NetworkManager connection 0.366
And the 1st network device has a spoofed MAC address configured 0.078
And no network device leaked the real MAC address 0.137
After features/support/hooks.rb:330 0.768
After features/support/hooks.rb:100 0.052
Tags: @product
1:10.326
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 16.666
And I enable persistence creation in Tails Greeter 1.101
And I log in to a new session expecting no warning about the Persistent Storage not being activated 28.010
Then I create a persistent partition with the default settings using the wizard that was already open 24.548
After features/support/hooks.rb:330 2.363
After features/support/hooks.rb:100 0.000
Tags: @product
4:25.602
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 12.087
When I enable persistence 35.817
Then no persistent Greeter options were restored 14.138
When I set all Greeter options to non-default values 26.342
And I log in to a new session in German (de) after having activated the Persistent Storage 48.587
Then all Greeter options are set to non-default values 0.670
When I cold reboot the computer 7.764
And the computer reboots Tails 1:2.887
Given I enable persistence 15.652
Then persistent Greeter options were restored 0.620
When I log in to a new session after having activated the Persistent Storage 40.288
Then all Greeter options are set to non-default values 0.744
After features/support/hooks.rb:330 1.876
After features/support/hooks.rb:100 0.011
Tags: @product
3:43.515
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.248
# 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 38.471
And I shutdown Tails and wait for the computer to power off 14.728
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:9.752
And I change the passphrase of the Persistent Storage back to the original 30.314
After features/support/hooks.rb:330 3.470
After features/support/hooks.rb:100 0.009
Tags: @product
53.486
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.477
And I log in to a new session without activating the Persistent Storage 20.025
Then persistence is disabled 0.257
But a Tails persistence partition exists on USB drive "__internal" 6.576
And all notifications have disappeared 9.796
When I delete the persistent partition 6.355
Then there is no persistence partition on USB drive "__internal" 0.996
After features/support/hooks.rb:330 1.032
After features/support/hooks.rb:100 0.000
Tags: @product
2:28.917
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.650
When I write some dotfile expected to persist 0.279
And I shutdown Tails and wait for the computer to power off 8.687
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.867
Then the expected persistent dotfile is present in the filesystem 0.431
After features/support/hooks.rb:330 0.675
After features/support/hooks.rb:100 0.007
Tags: @product
1:55.610
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 24.894
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.085
When I try to enable persistence 0.296
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 28.930
When I log in to a new session after having activated the Persistent Storage 45.924
And all notifications have disappeared 7.080
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.188
And all tps features are enabled 2.110
And all tps features but the first one are active 2.101
After features/support/hooks.rb:330 1.721
After features/support/hooks.rb:100 0.000
Tags: @product
5:23.247
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:59.349
And I enable persistence 31.710
And I log in to a new session after having activated the Persistent Storage 47.551
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.099
And persistence is enabled 2.538
After features/support/hooks.rb:330 2.029
After features/support/hooks.rb:100 0.000
Tags: @product
29.639
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 10.086
And I enable persistence but something goes wrong during the LUKS header upgrade 18.818
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.735
After features/support/hooks.rb:330 0.795
After features/support/hooks.rb:100 0.000
Tags: @product
42.239
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.972
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 4.651
When I enable persistence 25.868
Then the filesystem of the Persistent Storage was repaired 0.082
And persistence is successfully enabled 2.663
After features/support/hooks.rb:330 1.768
After features/support/hooks.rb:100 0.000
Tags: @product
48.116
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.813
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.265
When I try to enable persistence 0.469
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 26.270
When I repair the filesystem of the Persistent Storage 1.198
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.565
And the filesystem of the Persistent Storage was repaired 2.936
When I close the filesystem repair dialog 1.204
Then persistence is successfully enabled 1.392
After features/support/hooks.rb:330 2.318
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:50.088
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.806
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.096
When I try to enable persistence 0.294
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 27.928
When I repair the filesystem of the Persistent Storage 1.222
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.079
When I log in to a new session 39.595
And all notifications have disappeared 9.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.835
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.479
When I close the "whisperback" window 1.347
Then the Tor Browser starts 18.661
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.153
After features/support/hooks.rb:330 1.855
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:53.135
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.805
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.793
And Tails detects disk read failures on the boot device 1.738
When I try to enable persistence 0.437
Then the Welcome Screen tells me that my hardware is probably failing 18.113
When I log in to a new session 48.392
And all notifications have disappeared 8.075
Then the Tor Browser starts 20.625
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.153
After features/support/hooks.rb:330 4.133
After features/support/hooks.rb:100 0.000