Project Number Date
test_Tails_ISO_20524-warn-danger-unplug-usb-stick 25 08 Nov 2024, 07:43

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 154 1 2 0 0 157 20 1 21 1:1:44.375 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:27.007
Before features/support/hooks.rb:269 0.007
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:44.801
And I update APT using apt 13.372
And I install "python3-behave" using apt 26.147
Then the Tails Persistent Storage behave tests pass 2.686
After features/support/hooks.rb:326 0.700
After features/support/hooks.rb:100 0.000
Tags: @product
54.714
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 14.302
When I log in to a new session without activating the Persistent Storage 28.377
Then Tails is running from USB drive "__internal" 1.111
And persistence is disabled 0.918
But a Tails persistence partition exists on USB drive "__internal" 10.004
After features/support/hooks.rb:326 1.445
After features/support/hooks.rb:100 0.000
Tags: @product
22:53.478
Scenario Creating a Persistent Storage
Before features/support/hooks.rb:269 0.004
Steps
Given I have started Tails without network from a USB drive without a persistent partition and logged in 11.830
Then Tails is running from USB drive "__internal" 0.518
When I create a file in the Persistent directory 0.186
And I create a persistent partition with the default settings 19.973
Then the file I created was copied to the Persistent Storage 0.851
When I shutdown Tails and wait for the computer to power off 13.015
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 22:7.101
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:26:in `And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled'
Then persistence for "Persistent" is active 0.000
And the file I created in the Persistent directory exists 0.000
After features/support/hooks.rb:326 10.892

SCENARIO FAILED: 'Creating a Persistent Storage' (at time 03:24:26)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20524-warn-danger-unplug-usb-stick/25/artifact/build-artifacts/03:24:26_Creating_a_Persistent_Storage.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20524-warn-danger-unplug-usb-stick/25/artifact/build-artifacts/03:24:26_Creating_a_Persistent_Storage.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20524-warn-danger-unplug-usb-stick/25/artifact/build-artifacts/03:24:26_Creating_a_Persistent_Storage.journal

After features/support/hooks.rb:100 0.018
Tags: @product
1:4.186
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive without a persistent partition and logged in 27.490
And the system is very low on memory 2.642
When I create a file in the Persistent directory 1.206
When I try to create a persistent partition 16.243
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.242
When I close the Persistent Storage app 2.689
And I free up some memory 1.039
And I create a persistent partition with the default settings 12.339
Then the file I created was copied to the Persistent Storage 0.293
After features/support/hooks.rb:326 1.156
After features/support/hooks.rb:100 0.000
Tags: @product
2:42.088
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 12.282
Then Tails is running from USB drive "__internal" 0.386
And all tps features are active 2.431
And all persistent directories have safe access rights 2.877
When I disable the first tps feature 5.902
Then all tps features but the first one are active 2.104
And I shutdown Tails and wait for the computer to power off 11.232
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:1.979
Then all tps features but the first one are active 2.890
After features/support/hooks.rb:326 1.146
After features/support/hooks.rb:100 0.009
Tags: @product
19.809
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.956
Then persistence for "Persistent" is active 0.143
And I create a file in the Persistent directory 0.061
Then the file I created was copied to the Persistent Storage 0.079
When I disable the first tps feature 6.099
Then persistence for "Persistent" is not active 0.074
And the Persistent directory does not exist 0.057
When I enable the first tps feature 3.206
Then persistence for "Persistent" is active 0.067
And the file I created in the Persistent directory exists 0.063
After features/support/hooks.rb:326 1.194
After features/support/hooks.rb:100 0.000
Tags: @product
19.495
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.959
Then persistence for "Persistent" is active 0.102
When I create a file in the Persistent directory 0.073
And I disable the first tps feature 5.609
And I delete the data of the Persistent Folder feature 3.692
Then the file I created does not exist on the Persistent Storage 0.058
After features/support/hooks.rb:326 1.154
After features/support/hooks.rb:100 0.000
Tags: @product
1:6.658
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.778
And the network is plugged 0.112
And Tor is ready 21.817
And I take note of which tps features are available 0.660
When I write some files expected to persist 1.507
And I shutdown Tails and wait for the computer to power off 8.515
# 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.267
After features/support/hooks.rb:326 0.147
After features/support/hooks.rb:100 0.000
Tags: @product
3:2.679
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.831
And the network is plugged 0.116
And Tor is ready 19.883
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.203
And I shutdown Tails and wait for the computer to power off 8.720
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:1.709
And I capture all network traffic 0.006
And the network is plugged 0.096
And Tor is ready 20.455
And I switch to the "persistent-con-current" NetworkManager connection 0.394
And the 1st network device has a spoofed MAC address configured 0.113
And no network device leaked the real MAC address 0.147
After features/support/hooks.rb:326 0.748
After features/support/hooks.rb:100 0.058
Tags: @product
56.737
Before features/support/hooks.rb:269 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.999
And I enable persistence creation in Tails Greeter 1.124
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.606
Then I create a persistent partition with the default settings using the wizard that was already open 21.006
After features/support/hooks.rb:326 1.418
After features/support/hooks.rb:100 0.000
Tags: @product
4:20.457
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 15.004
When I enable persistence 41.326
Then no persistent Greeter options were restored 14.417
When I set all Greeter options to non-default values 25.060
And I log in to a new session in German (de) after having activated the Persistent Storage 41.452
Then all Greeter options are set to non-default values 0.519
When I cold reboot the computer 9.769
And the computer reboots Tails 1:6.111
Given I enable persistence 17.487
Then persistent Greeter options were restored 0.649
When I log in to a new session after having activated the Persistent Storage 27.120
Then all Greeter options are set to non-default values 1.537
After features/support/hooks.rb:326 2.348
After features/support/hooks.rb:100 0.010
Tags: @product
3:39.398
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.242
# 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 33.142
And I shutdown Tails and wait for the computer to power off 10.617
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:11.284
And I change the passphrase of the Persistent Storage back to the original 33.110
After features/support/hooks.rb:326 1.839
After features/support/hooks.rb:100 0.013
Tags: @product
1:2.294
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 10.730
And I log in to a new session without activating the Persistent Storage 27.526
Then persistence is disabled 0.805
But a Tails persistence partition exists on USB drive "__internal" 7.901
And all notifications have disappeared 8.318
When I delete the persistent partition 6.670
Then there is no persistence partition on USB drive "__internal" 0.340
After features/support/hooks.rb:326 0.846
After features/support/hooks.rb:100 0.000
Tags: @product
2:23.025
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 12.690
When I write some dotfile expected to persist 0.171
And I shutdown Tails and wait for the computer to power off 10.582
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:59.149
Then the expected persistent dotfile is present in the filesystem 0.432
After features/support/hooks.rb:326 1.323
After features/support/hooks.rb:100 0.018
Tags: @product
1:39.132
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 11.471
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.109
When I try to enable persistence 0.601
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 32.130
When I log in to a new session after having activated the Persistent Storage 39.731
And all notifications have disappeared 6.118
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.224
And all tps features are enabled 2.496
And all tps features but the first one are active 2.249
After features/support/hooks.rb:326 1.653
After features/support/hooks.rb:100 0.000
Tags: @product
7:58.128
Before features/support/hooks.rb:269 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 6:41.006
And I enable persistence 38.194
And I log in to a new session after having activated the Persistent Storage 35.251
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.232
And persistence is enabled 2.443
After features/support/hooks.rb:326 2.058
After features/support/hooks.rb:100 0.000
Tags: @product
34.768
Before features/support/hooks.rb:269 0.012
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.744
And I enable persistence but something goes wrong during the LUKS header upgrade 24.287
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.737
After features/support/hooks.rb:326 0.787
After features/support/hooks.rb:100 0.000
Tags: @product
51.267
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.378
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.348
When I enable persistence 33.673
Then the filesystem of the Persistent Storage was repaired 0.088
And persistence is successfully enabled 2.779
After features/support/hooks.rb:326 2.199
After features/support/hooks.rb:100 0.000
Tags: @product
24.220
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.028
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.182
When I try to enable persistence 0.492
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 5.324
When I repair the filesystem of the Persistent Storage 1.264
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.248
And the filesystem of the Persistent Storage was repaired 0.070
When I close the filesystem repair dialog 1.277
Then persistence is successfully enabled 1.332
After features/support/hooks.rb:326 0.766
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:44.840
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.953
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.299
When I try to enable persistence 0.513
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 32.068
When I repair the filesystem of the Persistent Storage 1.251
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.077
When I log in to a new session 31.213
And all notifications have disappeared 7.815
# 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.909
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 1.148
When I close the "whisperback" window 1.539
Then the Tor Browser starts 18.316
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.733
After features/support/hooks.rb:326 2.767
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:19.985
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.404
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.127
And Tails detects disk read failures on the boot device 0.456
When I try to enable persistence 0.459
Then the Welcome Screen tells me that my hardware is probably failing 4.381
When I log in to a new session 21.848
And all notifications have disappeared 9.205
Then the Tor Browser starts 26.369
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.732
After features/support/hooks.rb:326 1.357
After features/support/hooks.rb:100 0.000