Project Number Date
test_Tails_ISO_stable 5158 08 Oct 2024, 12:29

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 155 2 0 0 0 157 19 2 21 43:32.430 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:39.887
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:0.947
And I update APT using apt 13.130
And I install "python3-behave" using apt 22.415
Then the Tails Persistent Storage behave tests pass 3.394
After features/support/hooks.rb:326 1.030
After features/support/hooks.rb:100 0.000
Tags: @product
44.255
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.095
When I log in to a new session without activating the Persistent Storage 20.525
Then Tails is running from USB drive "__internal" 0.884
And persistence is disabled 0.267
But a Tails persistence partition exists on USB drive "__internal" 11.481
After features/support/hooks.rb:326 2.661
After features/support/hooks.rb:100 0.000
Tags: @product
3:3.283
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 11.645
Then Tails is running from USB drive "__internal" 0.367
When I create a file in the Persistent directory 0.137
And I create a persistent partition with the default settings 22.285
Then the file I created was copied to the Persistent Storage 0.585
When I shutdown Tails and wait for the computer to power off 12.807
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.039
Then persistence for "Persistent" is active 0.339
And the file I created in the Persistent directory exists 0.075
After features/support/hooks.rb:326 0.709
After features/support/hooks.rb:100 0.008
Tags: @product
57.165
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 10.528
And the system is very low on memory 4.415
When I create a file in the Persistent directory 1.044
When I try to create a persistent partition 23.152
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.235
When I close the Persistent Storage app 2.571
And I free up some memory 1.404
And I create a persistent partition with the default settings 13.582
Then the file I created was copied to the Persistent Storage 0.230
After features/support/hooks.rb:326 1.616
After features/support/hooks.rb:100 0.000
Tags: @product
2:33.350
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.168
Then Tails is running from USB drive "__internal" 0.368
And all tps features are active 2.150
And all persistent directories have safe access rights 2.446
When I disable the first tps feature 5.646
Then all tps features but the first one are active 1.914
And I shutdown Tails and wait for the computer to power off 8.478
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:0.145
Then all tps features but the first one are active 2.033
After features/support/hooks.rb:326 0.743
After features/support/hooks.rb:100 0.008
Tags: @product
19.052
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.585
Then persistence for "Persistent" is active 0.114
And I create a file in the Persistent directory 0.100
Then the file I created was copied to the Persistent Storage 0.069
When I disable the first tps feature 5.871
Then persistence for "Persistent" is not active 0.064
And the Persistent directory does not exist 0.062
When I enable the first tps feature 3.049
Then persistence for "Persistent" is active 0.070
And the file I created in the Persistent directory exists 0.064
After features/support/hooks.rb:326 0.678
After features/support/hooks.rb:100 0.000
Tags: @product
18.758
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.036
Then persistence for "Persistent" is active 0.123
When I create a file in the Persistent directory 0.086
And I disable the first tps feature 5.876
And I delete the data of the Persistent Folder feature 3.589
Then the file I created does not exist on the Persistent Storage 0.046
After features/support/hooks.rb:326 0.829
After features/support/hooks.rb:100 0.000
Tags: @product
1:2.677
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.589
And the network is plugged 0.077
And Tor is ready 20.401
And I take note of which tps features are available 0.521
When I write some files expected to persist 1.319
And I shutdown Tails and wait for the computer to power off 6.471
# 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.296
After features/support/hooks.rb:326 0.118
After features/support/hooks.rb:100 0.000
Tags: @product
3:25.837
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.386
And the network is plugged 0.098
And Tor is ready 47.534
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.185
And I shutdown Tails and wait for the computer to power off 6.550
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:2.350
And I capture all network traffic 0.010
And the network is plugged 0.071
And Tor is ready 19.096
And I switch to the "persistent-con-current" NetworkManager connection 0.308
And the 1st network device has a spoofed MAC address configured 0.120
And no network device leaked the real MAC address 0.122
After features/support/hooks.rb:326 0.635
After features/support/hooks.rb:100 0.117
Tags: @product
53.610
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 12.375
And I enable persistence creation in Tails Greeter 1.095
And I log in to a new session expecting no warning about the Persistent Storage not being activated 19.435
Then I create a persistent partition with the default settings using the wizard that was already open 20.704
After features/support/hooks.rb:326 1.551
After features/support/hooks.rb:100 0.000
Tags: @product
4:40.828
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.953
When I enable persistence 35.295
Then no persistent Greeter options were restored 14.070
When I set all Greeter options to non-default values 25.633
And I log in to a new session in German (de) after having activated the Persistent Storage 44.875
Then all Greeter options are set to non-default values 0.557
When I cold reboot the computer 7.302
And the computer reboots Tails 59.042
Given I enable persistence 29.190
Then persistent Greeter options were restored 14.497
When I log in to a new session after having activated the Persistent Storage 37.825
Then all Greeter options are set to non-default values 0.582
After features/support/hooks.rb:326 0.847
After features/support/hooks.rb:100 0.008
Tags: @product
3:37.458
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.735
# 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.764
And I shutdown Tails and wait for the computer to power off 12.390
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:3.907
And I change the passphrase of the Persistent Storage back to the original 33.660
After features/support/hooks.rb:326 1.279
After features/support/hooks.rb:100 0.008
Tags: @product
56.807
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.906
And I log in to a new session without activating the Persistent Storage 19.019
Then persistence is disabled 0.498
But a Tails persistence partition exists on USB drive "__internal" 9.854
And all notifications have disappeared 11.335
When I delete the persistent partition 5.792
Then there is no persistence partition on USB drive "__internal" 0.399
After features/support/hooks.rb:326 0.814
After features/support/hooks.rb:100 0.000
Tags: @product
2:17.891
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.256
When I write some dotfile expected to persist 0.082
And I shutdown Tails and wait for the computer to power off 8.622
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:59.487
Then the expected persistent dotfile is present in the filesystem 0.442
After features/support/hooks.rb:326 0.671
After features/support/hooks.rb:100 0.011
Tags: @product
1:33.310
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 8.943
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.095
When I try to enable persistence 0.259
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 28.346
When I log in to a new session after having activated the Persistent Storage 39.719
And all notifications have disappeared 8.067
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.864
And all tps features are enabled 2.158
And all tps features but the first one are active 1.854
After features/support/hooks.rb:326 1.121
After features/support/hooks.rb:100 0.000
Tags: @product
4:10.577
Before features/support/hooks.rb:269 0.005
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 2:51.482
And I enable persistence 32.591
And I log in to a new session after having activated the Persistent Storage 44.648
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.753
And persistence is enabled 0.101
After features/support/hooks.rb:326 1.198
After features/support/hooks.rb:100 0.000
Tags: @product
27.550
Before features/support/hooks.rb:269 0.005
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.527
And I enable persistence but something goes wrong during the LUKS header upgrade 18.249
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.772
After features/support/hooks.rb:326 0.671
After features/support/hooks.rb:100 0.000
Tags: @product
37.324
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.164
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.523
When I enable persistence 22.220
Then the filesystem of the Persistent Storage was repaired 0.087
And persistence is successfully enabled 0.328
After features/support/hooks.rb:326 0.843
After features/support/hooks.rb:100 0.000
Tags: @product
23.840
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 8.661
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.760
When I try to enable persistence 0.376
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 5.888
When I repair the filesystem of the Persistent Storage 1.247
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.199
And the filesystem of the Persistent Storage was repaired 0.092
When I close the filesystem repair dialog 1.254
Then persistence is successfully enabled 0.360
After features/support/hooks.rb:326 0.783
After features/support/hooks.rb:100 0.000
Tags: @product
4:41.776
Scenario Manual filesystem repair fails
Before features/support/hooks.rb:269 0.005
Steps
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.937
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.095
When I try to enable persistence 0.265
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.081
When I repair the filesystem of the Persistent Storage 1.193
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.077
When I log in to a new session 39.070
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" 0.567
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.157
When I close the "whisperback" window 1.498
Then the Tor Browser starts 13.744
And "Tails - Recovering data from the Persistent Storage, if the Persistent Storage doesn't unlock" has loaded in the Tor Browser 3:0.086
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/step_definitions/browser.rb:200:in `page_has_loaded_in_the_tor_browser'
./features/step_definitions/browser.rb:215:in `/^"([^"]+)" has loaded in the Tor Browser$/'
features/persistence.feature:201:in `And "Tails - Recovering data from the Persistent Storage, if the Persistent Storage doesn't unlock" has loaded in the Tor Browser'
After features/support/hooks.rb:326 5.541

SCENARIO FAILED: 'Manual filesystem repair fails' (at time 03:27:17)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5158/artifact/build-artifacts/03:27:17_Manual_filesystem_repair_fails.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5158/artifact/build-artifacts/03:27:17_Manual_filesystem_repair_fails.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5158/artifact/build-artifacts/03:27:17_Manual_filesystem_repair_fails.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5158/artifact/build-artifacts/03:27:17_Manual_filesystem_repair_fails.journal

After features/support/hooks.rb:100 0.000
Tags: @product
4:7.186
Scenario Filesystem and I/O errors
Before features/support/hooks.rb:269 0.005
Steps
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.732
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.353
And Tails detects disk read failures on the boot device 0.586
When I try to enable persistence 0.376
Then the Welcome Screen tells me that my hardware is probably failing 5.834
When I log in to a new session 19.976
And all notifications have disappeared 6.742
Then the Tor Browser starts 19.486
And "Tails - Recovering data from the Persistent Storage, if the Persistent Storage doesn't unlock" has loaded in the Tor Browser 3:0.097
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/step_definitions/browser.rb:200:in `page_has_loaded_in_the_tor_browser'
./features/step_definitions/browser.rb:215:in `/^"([^"]+)" has loaded in the Tor Browser$/'
features/persistence.feature:212:in `And "Tails - Recovering data from the Persistent Storage, if the Persistent Storage doesn't unlock" has loaded in the Tor Browser'
After features/support/hooks.rb:326 5.274

SCENARIO FAILED: 'Filesystem and I/O errors' (at time 03:31:30)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5158/artifact/build-artifacts/03:31:30_Filesystem_and_I_O_errors.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5158/artifact/build-artifacts/03:31:30_Filesystem_and_I_O_errors.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5158/artifact/build-artifacts/03:31:30_Filesystem_and_I_O_errors.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5158/artifact/build-artifacts/03:31:30_Filesystem_and_I_O_errors.journal

After features/support/hooks.rb:100 0.000