Project Number Date
test_Tails_ISO_20524-warn-danger-unplug-usb-stick 35 17 Nov 2024, 08:00

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 155 1 1 0 0 157 20 1 21 1:34.166 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:49.806
Before features/support/hooks.rb:269 0.005
Given I have started Tails from DVD and logged in with an administration password and the network is connected 2:7.147
And I update APT using apt 14.222
And I install "python3-behave" using apt 25.608
Then the Tails Persistent Storage behave tests pass 2.827
After features/support/hooks.rb:326 0.659
After features/support/hooks.rb:100 0.000
Tags: @product
59.046
Before features/support/hooks.rb:269 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.962
When I log in to a new session without activating the Persistent Storage 26.711
Then Tails is running from USB drive "__internal" 0.560
And persistence is disabled 0.746
But a Tails persistence partition exists on USB drive "__internal" 9.064
After features/support/hooks.rb:326 1.866
After features/support/hooks.rb:100 0.000
Tags: @product
3:8.544
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive without a persistent partition and logged in 15.369
Then Tails is running from USB drive "__internal" 0.437
When I create a file in the Persistent directory 0.157
And I create a persistent partition with the default settings 20.453
Then the file I created was copied to the Persistent Storage 0.784
When I shutdown Tails and wait for the computer to power off 15.761
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.906
Then persistence for "Persistent" is active 0.591
And the file I created in the Persistent directory exists 0.081
After features/support/hooks.rb:326 0.976
After features/support/hooks.rb:100 0.011
Tags: @product
55.524
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive without a persistent partition and logged in 12.078
And the system is very low on memory 4.182
When I create a file in the Persistent directory 1.263
When I try to create a persistent partition 20.238
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.384
When I close the Persistent Storage app 2.810
And I free up some memory 1.441
And I create a persistent partition with the default settings 12.873
Then the file I created was copied to the Persistent Storage 0.249
After features/support/hooks.rb:326 1.231
After features/support/hooks.rb:100 0.000
Tags: @product
2:39.566
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 16.395
Then Tails is running from USB drive "__internal" 0.701
And all tps features are active 2.413
And all persistent directories have safe access rights 2.421
When I disable the first tps feature 5.459
Then all tps features but the first one are active 2.127
And I shutdown Tails and wait for the computer to power off 11.041
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:56.587
Then all tps features but the first one are active 2.418
After features/support/hooks.rb:326 1.042
After features/support/hooks.rb:100 0.007
Tags: @product
20.614
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 10.344
Then persistence for "Persistent" is active 0.711
And I create a file in the Persistent directory 0.187
Then the file I created was copied to the Persistent Storage 0.113
When I disable the first tps feature 5.745
Then persistence for "Persistent" is not active 0.080
And the Persistent directory does not exist 0.066
When I enable the first tps feature 3.182
Then persistence for "Persistent" is active 0.094
And the file I created in the Persistent directory exists 0.088
After features/support/hooks.rb:326 1.002
After features/support/hooks.rb:100 0.000
Tags: @product
20.087
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.414
Then persistence for "Persistent" is active 0.213
When I create a file in the Persistent directory 0.105
And I disable the first tps feature 6.624
And I delete the data of the Persistent Folder feature 3.656
Then the file I created does not exist on the Persistent Storage 0.072
After features/support/hooks.rb:326 1.063
After features/support/hooks.rb:100 0.000
Tags: @product
1:8.084
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.122
And the network is plugged 0.070
And Tor is ready 22.463
And I take note of which tps features are available 0.683
When I write some files expected to persist 1.567
And I shutdown Tails and wait for the computer to power off 8.991
# 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.186
After features/support/hooks.rb:326 0.123
After features/support/hooks.rb:100 0.000
Tags: @product
2:57.859
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.312
And the network is plugged 0.090
And Tor is ready 19.330
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.217
And I shutdown Tails and wait for the computer to power off 8.978
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:1.198
And I capture all network traffic 0.007
And the network is plugged 0.101
And Tor is ready 17.885
And I switch to the "persistent-con-current" NetworkManager connection 0.507
And the 1st network device has a spoofed MAC address configured 0.105
And no network device leaked the real MAC address 0.123
After features/support/hooks.rb:326 0.749
After features/support/hooks.rb:100 0.040
Tags: @product
1:4.447
Before features/support/hooks.rb:269 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 14.539
And I enable persistence creation in Tails Greeter 1.405
And I log in to a new session expecting no warning about the Persistent Storage not being activated 27.403
Then I create a persistent partition with the default settings using the wizard that was already open 21.099
After features/support/hooks.rb:326 1.979
After features/support/hooks.rb:100 0.000
Tags: @product
4:20.175
Before features/support/hooks.rb:269 0.013
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 14.730
When I enable persistence 45.206
Then no persistent Greeter options were restored 14.309
When I set all Greeter options to non-default values 22.037
And I log in to a new session in German (de) after having activated the Persistent Storage 39.935
Then all Greeter options are set to non-default values 0.923
When I cold reboot the computer 10.097
And the computer reboots Tails 1:5.907
Given I enable persistence 18.739
Then persistent Greeter options were restored 0.553
When I log in to a new session after having activated the Persistent Storage 27.144
Then all Greeter options are set to non-default values 0.590
After features/support/hooks.rb:326 1.957
After features/support/hooks.rb:100 0.009
Tags: @product
22:51.039
Scenario Changing the Persistent Storage passphrase
Before features/support/hooks.rb:269 0.005
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.638
# 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 37.521
And I shutdown Tails and wait for the computer to power off 10.393
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 21:52.486
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:712:in `new'
./features/step_definitions/common_steps.rb:712:in `/^all notifications have disappeared$/'
./features/step_definitions/common_steps.rb:298:in `/^I start Tails from (.+?) drive "(.+?)"( with network unplugged)?( and I login( with persistence enabled)?( with the changed persistence passphrase)?( (?:and|with) an administration password)?)?$/'
features/persistence.feature:123:in `Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase'
And I change the passphrase of the Persistent Storage back to the original 0.000
After features/support/hooks.rb:326 10.855

SCENARIO FAILED: 'Changing the Persistent Storage passphrase' (at time 04:00:30)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20524-warn-danger-unplug-usb-stick/35/artifact/build-artifacts/04:00:30_Changing_the_Persistent_Storage_passphrase.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20524-warn-danger-unplug-usb-stick/35/artifact/build-artifacts/04:00:30_Changing_the_Persistent_Storage_passphrase.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20524-warn-danger-unplug-usb-stick/35/artifact/build-artifacts/04:00:30_Changing_the_Persistent_Storage_passphrase.journal

After features/support/hooks.rb:100 0.010
Tags: @product
1:2.181
Before features/support/hooks.rb:269 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.296
And I log in to a new session without activating the Persistent Storage 25.618
Then persistence is disabled 0.649
But a Tails persistence partition exists on USB drive "__internal" 6.991
And all notifications have disappeared 10.091
When I delete the persistent partition 7.202
Then there is no persistence partition on USB drive "__internal" 0.332
After features/support/hooks.rb:326 0.961
After features/support/hooks.rb:100 0.000
Tags: @product
2:16.911
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.426
When I write some dotfile expected to persist 0.516
And I shutdown Tails and wait for the computer to power off 8.727
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:56.799
Then the expected persistent dotfile is present in the filesystem 0.440
After features/support/hooks.rb:326 1.357
After features/support/hooks.rb:100 0.008
Tags: @product
1:30.296
Before features/support/hooks.rb:269 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.485
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.096
When I try to enable persistence 0.375
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 29.035
When I log in to a new session after having activated the Persistent Storage 34.014
And all notifications have disappeared 6.911
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.253
And all tps features are enabled 2.743
And all tps features but the first one are active 3.380
After features/support/hooks.rb:326 1.315
After features/support/hooks.rb:100 0.000
Tags: @product
6:59.769
Before features/support/hooks.rb:269 0.008
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:41.573
And I enable persistence 42.408
And I log in to a new session after having activated the Persistent Storage 31.537
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.441
And persistence is enabled 2.809
After features/support/hooks.rb:326 1.147
After features/support/hooks.rb:100 0.000
Tags: @product
35.379
Before features/support/hooks.rb:269 0.006
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.230
And I enable persistence but something goes wrong during the LUKS header upgrade 25.164
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.984
After features/support/hooks.rb:326 0.844
After features/support/hooks.rb:100 0.000
Tags: @product
1:4.364
Before features/support/hooks.rb:269 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.789
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 13.372
When I enable persistence 36.600
Then the filesystem of the Persistent Storage was repaired 0.099
And persistence is successfully enabled 2.502
After features/support/hooks.rb:326 1.092
After features/support/hooks.rb:100 0.000
Tags: @product
24.750
Before features/support/hooks.rb:269 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.167
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 4.792
When I try to enable persistence 0.749
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 5.672
When I repair the filesystem of the Persistent Storage 1.270
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.243
And the filesystem of the Persistent Storage was repaired 0.098
When I close the filesystem repair dialog 1.285
Then persistence is successfully enabled 1.470
After features/support/hooks.rb:326 0.754
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:46.816
Before features/support/hooks.rb:269 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 8.815
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.144
When I try to enable persistence 0.385
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.454
When I repair the filesystem of the Persistent Storage 1.589
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.090
When I log in to a new session 30.719
And all notifications have disappeared 7.239
# 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.550
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.228
When I close the "whisperback" window 1.303
Then the Tor Browser starts 26.470
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.823
After features/support/hooks.rb:326 2.459
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:18.900
Before features/support/hooks.rb:269 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.303
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 4.818
And Tails detects disk read failures on the boot device 0.565
When I try to enable persistence 1.719
Then the Welcome Screen tells me that my hardware is probably failing 4.424
When I log in to a new session 24.891
And all notifications have disappeared 9.646
Then the Tor Browser starts 22.714
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.816
After features/support/hooks.rb:326 1.952
After features/support/hooks.rb:100 0.000