Project Number Date
test_Tails_ISO_20524-warn-danger-unplug-usb-stick 10 30 Oct 2024, 06:40

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 38:19.469 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:10.607
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:29.554
And I update APT using apt 13.163
And I install "python3-behave" using apt 25.654
Then the Tails Persistent Storage behave tests pass 2.235
After features/support/hooks.rb:326 0.614
After features/support/hooks.rb:100 0.000
Tags: @product
45.411
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 12.644
When I log in to a new session without activating the Persistent Storage 23.837
Then Tails is running from USB drive "__internal" 0.779
And persistence is disabled 0.711
But a Tails persistence partition exists on USB drive "__internal" 7.439
After features/support/hooks.rb:326 1.254
After features/support/hooks.rb:100 0.000
Tags: @product
2:58.005
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive without a persistent partition and logged in 11.911
Then Tails is running from USB drive "__internal" 0.546
When I create a file in the Persistent directory 0.131
And I create a persistent partition with the default settings 28.412
Then the file I created was copied to the Persistent Storage 0.635
When I shutdown Tails and wait for the computer to power off 15.022
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:0.880
Then persistence for "Persistent" is active 0.403
And the file I created in the Persistent directory exists 0.061
After features/support/hooks.rb:326 1.311
After features/support/hooks.rb:100 0.006
Tags: @product
57.275
Before features/support/hooks.rb:269 0.002
Given I have started Tails without network from a USB drive without a persistent partition and logged in 15.321
And the system is very low on memory 4.498
When I create a file in the Persistent directory 0.851
When I try to create a persistent partition 20.179
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.404
When I close the Persistent Storage app 2.552
And I free up some memory 1.337
And I create a persistent partition with the default settings 11.846
Then the file I created was copied to the Persistent Storage 0.283
After features/support/hooks.rb:326 1.564
After features/support/hooks.rb:100 0.000
Tags: @product
2:37.220
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 15.159
Then Tails is running from USB drive "__internal" 0.372
And all tps features are active 2.539
And all persistent directories have safe access rights 2.409
When I disable the first tps feature 5.309
Then all tps features but the first one are active 2.231
And I shutdown Tails and wait for the computer to power off 10.490
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:56.402
Then all tps features but the first one are active 2.304
After features/support/hooks.rb:326 1.366
After features/support/hooks.rb:100 0.006
Tags: @product
18.430
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.403
Then persistence for "Persistent" is active 0.091
And I create a file in the Persistent directory 0.072
Then the file I created was copied to the Persistent Storage 0.064
When I disable the first tps feature 5.348
Then persistence for "Persistent" is not active 0.084
And the Persistent directory does not exist 0.061
When I enable the first tps feature 3.138
Then persistence for "Persistent" is active 0.080
And the file I created in the Persistent directory exists 0.084
After features/support/hooks.rb:326 0.964
After features/support/hooks.rb:100 0.000
Tags: @product
18.608
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.325
Then persistence for "Persistent" is active 0.208
When I create a file in the Persistent directory 0.068
And I disable the first tps feature 5.329
And I delete the data of the Persistent Folder feature 3.619
Then the file I created does not exist on the Persistent Storage 0.057
After features/support/hooks.rb:326 1.102
After features/support/hooks.rb:100 0.000
Tags: @product
1:33.302
Before features/support/hooks.rb:269 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.288
And the network is plugged 0.077
And Tor is ready 47.957
And I take note of which tps features are available 0.619
When I write some files expected to persist 1.464
And I shutdown Tails and wait for the computer to power off 8.442
# 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.451
After features/support/hooks.rb:326 0.107
After features/support/hooks.rb:100 0.000
Tags: @product
3:23.819
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.026
And the network is plugged 0.082
And Tor is ready 19.688
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.192
And I shutdown Tails and wait for the computer to power off 6.306
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:57.772
And I capture all network traffic 0.004
And the network is plugged 0.073
And Tor is ready 48.051
And I switch to the "persistent-con-current" NetworkManager connection 0.380
And the 1st network device has a spoofed MAC address configured 0.090
And no network device leaked the real MAC address 0.150
After features/support/hooks.rb:326 0.585
After features/support/hooks.rb:100 0.078
Tags: @product
56.927
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 11.421
And I enable persistence creation in Tails Greeter 1.111
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.264
Then I create a persistent partition with the default settings using the wizard that was already open 23.130
After features/support/hooks.rb:326 2.775
After features/support/hooks.rb:100 0.000
Tags: @product
4:33.400
Before features/support/hooks.rb:269 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 12.847
When I enable persistence 34.179
Then no persistent Greeter options were restored 14.272
When I set all Greeter options to non-default values 24.262
And I log in to a new session in German (de) after having activated the Persistent Storage 39.342
Then all Greeter options are set to non-default values 0.799
When I cold reboot the computer 7.331
And the computer reboots Tails 1:4.043
Given I enable persistence 32.233
Then persistent Greeter options were restored 15.057
When I log in to a new session after having activated the Persistent Storage 28.601
Then all Greeter options are set to non-default values 0.428
After features/support/hooks.rb:326 1.776
After features/support/hooks.rb:100 0.006
Tags: @product
3:37.015
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.811
# 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 49.046
And I shutdown Tails and wait for the computer to power off 10.363
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:57.918
And I change the passphrase of the Persistent Storage back to the original 29.874
After features/support/hooks.rb:326 2.199
After features/support/hooks.rb:100 0.006
Tags: @product
59.406
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 11.561
And I log in to a new session without activating the Persistent Storage 21.381
Then persistence is disabled 0.644
But a Tails persistence partition exists on USB drive "__internal" 7.766
And all notifications have disappeared 11.217
When I delete the persistent partition 6.555
Then there is no persistence partition on USB drive "__internal" 0.279
After features/support/hooks.rb:326 0.833
After features/support/hooks.rb:100 0.000
Tags: @product
2:16.559
Before features/support/hooks.rb:269 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.705
When I write some dotfile expected to persist 0.097
And I shutdown Tails and wait for the computer to power off 10.657
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:55.728
Then the expected persistent dotfile is present in the filesystem 0.370
After features/support/hooks.rb:326 1.222
After features/support/hooks.rb:100 0.006
Tags: @product
1:25.201
Before features/support/hooks.rb:269 0.002
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.773
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.081
When I try to enable persistence 0.300
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 28.390
When I log in to a new session after having activated the Persistent Storage 31.081
And all notifications have disappeared 7.406
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.322
And all tps features are enabled 2.832
And all tps features but the first one are active 2.012
After features/support/hooks.rb:326 1.247
After features/support/hooks.rb:100 0.000
Tags: @product
5:2.025
Before features/support/hooks.rb:269 0.003
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:57.840
And I enable persistence 34.227
And I log in to a new session after having activated the Persistent Storage 28.073
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.728
And persistence is enabled 0.155
After features/support/hooks.rb:326 1.382
After features/support/hooks.rb:100 0.000
Tags: @product
28.002
Before features/support/hooks.rb:269 0.003
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.854
And I enable persistence but something goes wrong during the LUKS header upgrade 18.402
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.746
After features/support/hooks.rb:326 0.843
After features/support/hooks.rb:100 0.000
Tags: @product
44.273
Before features/support/hooks.rb:269 0.003
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 corrupt the Persistent Storage filesystem on USB drive "__internal" 4.811
When I enable persistence 29.827
Then the filesystem of the Persistent Storage was repaired 0.111
And persistence is successfully enabled 0.357
After features/support/hooks.rb:326 1.423
After features/support/hooks.rb:100 0.000
Tags: @product
22.514
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.517
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 4.948
When I try to enable persistence 0.715
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 5.156
When I repair the filesystem of the Persistent Storage 1.236
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.245
And the filesystem of the Persistent Storage was repaired 0.104
When I close the filesystem repair dialog 1.243
Then persistence is successfully enabled 0.346
After features/support/hooks.rb:326 0.878
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:32.427
Before features/support/hooks.rb:269 0.002
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.089
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.099
When I try to enable persistence 0.265
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 26.853
When I repair the filesystem of the Persistent Storage 1.254
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.078
When I log in to a new session 25.656
And all notifications have disappeared 10.065
# 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.024
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.841
When I close the "whisperback" window 1.424
Then the Tor Browser starts 13.977
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.796
After features/support/hooks.rb:326 2.206
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:19.030
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.823
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 4.768
And Tails detects disk read failures on the boot device 0.627
When I try to enable persistence 0.630
Then the Welcome Screen tells me that my hardware is probably failing 5.055
When I log in to a new session 22.851
And all notifications have disappeared 8.647
Then the Tor Browser starts 24.520
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 3.105
After features/support/hooks.rb:326 1.980
After features/support/hooks.rb:100 0.000