Project Number Date
test_Tails_ISO_20524-warn-danger-unplug-usb-stick 29 13 Nov 2024, 07:13

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 42:10.104 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:23.735
Before features/support/hooks.rb:269 0.004
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:41.229
And I update APT using apt 13.260
And I install "python3-behave" using apt 25.879
Then the Tails Persistent Storage behave tests pass 3.366
After features/support/hooks.rb:326 0.788
After features/support/hooks.rb:100 0.000
Tags: @product
1:0.917
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 14.786
When I log in to a new session without activating the Persistent Storage 35.532
Then Tails is running from USB drive "__internal" 0.612
And persistence is disabled 0.391
But a Tails persistence partition exists on USB drive "__internal" 9.594
After features/support/hooks.rb:326 1.697
After features/support/hooks.rb:100 0.000
Tags: @product
2:13.253
Scenario Creating a Persistent Storage
Before features/support/hooks.rb:269 0.005
Steps
Given I have started Tails without network from a USB drive without a persistent partition and logged in 14.160
Then Tails is running from USB drive "__internal" 0.473
When I create a file in the Persistent directory 0.137
And I create a persistent partition with the default settings 21.303
Then the file I created was copied to the Persistent Storage 0.636
When I shutdown Tails and wait for the computer to power off 17.348
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:19.193
try_for() timeout expired (Timeout::Error)
./features/support/helpers/misc_helpers.rb:145:in `rescue in try_for'
./features/support/helpers/misc_helpers.rb:51:in `try_for'
./features/support/helpers/dogtail.rb:357:in `grabFocus'
./features/step_definitions/usb.rb:669:in `/^I try to enable persistence( with the changed passphrase)?$/'
./features/step_definitions/usb.rb:700:in `/^I enable persistence( with the changed passphrase)?$/'
./features/step_definitions/common_steps.rb:291: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 4.946

SCENARIO FAILED: 'Creating a Persistent Storage' (at time 03:06:05)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_20524-warn-danger-unplug-usb-stick/29/artifact/build-artifacts/03:06:05_Creating_a_Persistent_Storage.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20524-warn-danger-unplug-usb-stick/29/artifact/build-artifacts/03:06:05_Creating_a_Persistent_Storage.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20524-warn-danger-unplug-usb-stick/29/artifact/build-artifacts/03:06:05_Creating_a_Persistent_Storage.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20524-warn-danger-unplug-usb-stick/29/artifact/build-artifacts/03:06:05_Creating_a_Persistent_Storage.journal

After features/support/hooks.rb:100 0.012
Tags: @product
51.746
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 12.141
And the system is very low on memory 3.981
When I create a file in the Persistent directory 1.379
When I try to create a persistent partition 16.996
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.279
When I close the Persistent Storage app 2.953
And I free up some memory 1.029
And I create a persistent partition with the default settings 12.754
Then the file I created was copied to the Persistent Storage 0.228
After features/support/hooks.rb:326 1.367
After features/support/hooks.rb:100 0.000
Tags: @product
2:51.273
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 11.220
Then Tails is running from USB drive "__internal" 0.703
And all tps features are active 2.544
And all persistent directories have safe access rights 2.642
When I disable the first tps feature 5.870
Then all tps features but the first one are active 2.354
And I shutdown Tails and wait for the computer to power off 11.278
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.140
Then all tps features but the first one are active 2.517
After features/support/hooks.rb:326 1.094
After features/support/hooks.rb:100 0.010
Tags: @product
20.092
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 10.398
Then persistence for "Persistent" is active 0.078
And I create a file in the Persistent directory 0.066
Then the file I created was copied to the Persistent Storage 0.077
When I disable the first tps feature 5.945
Then persistence for "Persistent" is not active 0.096
And the Persistent directory does not exist 0.064
When I enable the first tps feature 3.198
Then persistence for "Persistent" is active 0.098
And the file I created in the Persistent directory exists 0.066
After features/support/hooks.rb:326 1.170
After features/support/hooks.rb:100 0.000
Tags: @product
19.592
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 9.800
Then persistence for "Persistent" is active 0.089
When I create a file in the Persistent directory 0.137
And I disable the first tps feature 5.785
And I delete the data of the Persistent Folder feature 3.720
Then the file I created does not exist on the Persistent Storage 0.059
After features/support/hooks.rb:326 1.071
After features/support/hooks.rb:100 0.000
Tags: @product
1:7.290
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 10.173
And the network is plugged 0.087
And Tor is ready 20.542
And I take note of which tps features are available 0.999
When I write some files expected to persist 1.618
And I shutdown Tails and wait for the computer to power off 8.743
# 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" 25.126
After features/support/hooks.rb:326 0.144
After features/support/hooks.rb:100 0.000
Tags: @product
3:37.309
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.905
And the network is plugged 0.084
And Tor is ready 19.705
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.195
And I shutdown Tails and wait for the computer to power off 11.222
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.242
And I capture all network traffic 0.008
And the network is plugged 0.084
And Tor is ready 50.041
And I switch to the "persistent-con-current" NetworkManager connection 0.470
And the 1st network device has a spoofed MAC address configured 0.122
And no network device leaked the real MAC address 0.225
After features/support/hooks.rb:326 0.763
After features/support/hooks.rb:100 0.064
Tags: @product
1:8.895
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 15.860
And I enable persistence creation in Tails Greeter 1.118
And I log in to a new session expecting no warning about the Persistent Storage not being activated 26.850
Then I create a persistent partition with the default settings using the wizard that was already open 25.066
After features/support/hooks.rb:326 2.185
After features/support/hooks.rb:100 0.000
Tags: @product
4:20.452
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 13.624
When I enable persistence 40.168
Then no persistent Greeter options were restored 15.012
When I set all Greeter options to non-default values 25.371
And I log in to a new session in German (de) after having activated the Persistent Storage 41.529
Then all Greeter options are set to non-default values 1.029
When I cold reboot the computer 10.186
And the computer reboots Tails 1:7.396
Given I enable persistence 19.229
Then persistent Greeter options were restored 0.576
When I log in to a new session after having activated the Persistent Storage 25.283
Then all Greeter options are set to non-default values 1.043
After features/support/hooks.rb:326 1.687
After features/support/hooks.rb:100 0.013
Tags: @product
4:11.414
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.144
# 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 40.531
And I shutdown Tails and wait for the computer to power off 8.964
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:29.495
And I change the passphrase of the Persistent Storage back to the original 42.278
After features/support/hooks.rb:326 2.383
After features/support/hooks.rb:100 0.011
Tags: @product
1:10.945
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 11.589
And I log in to a new session without activating the Persistent Storage 29.708
Then persistence is disabled 0.845
But a Tails persistence partition exists on USB drive "__internal" 10.158
And all notifications have disappeared 11.311
When I delete the persistent partition 6.978
Then there is no persistence partition on USB drive "__internal" 0.352
After features/support/hooks.rb:326 0.922
After features/support/hooks.rb:100 0.000
Tags: @product
2:26.973
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 10.876
When I write some dotfile expected to persist 0.056
And I shutdown Tails and wait for the computer to power off 8.904
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.655
Then the expected persistent dotfile is present in the filesystem 0.480
After features/support/hooks.rb:326 0.997
After features/support/hooks.rb:100 0.008
Tags: @product
1:46.844
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 9.765
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.082
When I try to enable persistence 0.404
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 42.735
When I log in to a new session after having activated the Persistent Storage 35.866
And all notifications have disappeared 6.810
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.423
And all tps features are enabled 2.264
And all tps features but the first one are active 4.491
After features/support/hooks.rb:326 1.352
After features/support/hooks.rb:100 0.000
Tags: @product
7:9.691
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 5:54.276
And I enable persistence 37.503
And I log in to a new session after having activated the Persistent Storage 34.038
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.951
And persistence is enabled 2.922
After features/support/hooks.rb:326 1.394
After features/support/hooks.rb:100 0.000
Tags: @product
35.308
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 9.524
And I enable persistence but something goes wrong during the LUKS header upgrade 24.926
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.857
After features/support/hooks.rb:326 0.929
After features/support/hooks.rb:100 0.000
Tags: @product
59.825
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 10.475
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.471
When I enable persistence 38.278
Then the filesystem of the Persistent Storage was repaired 0.086
And persistence is successfully enabled 5.512
After features/support/hooks.rb:326 1.611
After features/support/hooks.rb:100 0.000
Tags: @product
28.738
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.805
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.912
When I try to enable persistence 0.602
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 7.524
When I repair the filesystem of the Persistent Storage 1.350
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.305
And the filesystem of the Persistent Storage was repaired 0.390
When I close the filesystem repair dialog 1.229
Then persistence is successfully enabled 1.617
After features/support/hooks.rb:326 0.833
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:41.081
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.887
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.093
When I try to enable persistence 0.422
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 30.165
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.084
When I log in to a new session 30.376
And all notifications have disappeared 7.998
# 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.133
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.601
When I close the "whisperback" window 1.636
Then the Tor Browser starts 16.561
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.867
After features/support/hooks.rb:326 2.619
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:24.722
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 9.267
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 4.617
And Tails detects disk read failures on the boot device 0.542
When I try to enable persistence 0.548
Then the Welcome Screen tells me that my hardware is probably failing 4.319
When I log in to a new session 25.010
And all notifications have disappeared 7.929
Then the Tor Browser starts 31.639
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.848
After features/support/hooks.rb:326 2.327
After features/support/hooks.rb:100 0.000