Project Number Date
test_Tails_ISO_20522-ocr-more 21 30 Dec 2024, 05:05

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 37:41.410 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:18.650
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 1:39.911
And I update APT using apt 13.131
And I install "python3-behave" using apt 22.651
Then the Tails Persistent Storage behave tests pass 2.956
After features/support/hooks.rb:326 1.823
After features/support/hooks.rb:100 0.000
Tags: @product
48.123
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 12.018
When I log in to a new session without activating the Persistent Storage 25.961
Then Tails is running from USB drive "__internal" 0.822
And persistence is disabled 0.632
But a Tails persistence partition exists on USB drive "__internal" 8.688
After features/support/hooks.rb:326 1.461
After features/support/hooks.rb:100 0.000
Tags: @product
2:50.414
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 11.881
Then Tails is running from USB drive "__internal" 0.351
When I create a file in the Persistent directory 0.121
And I create a persistent partition with the default settings 18.585
Then the file I created was copied to the Persistent Storage 0.515
When I shutdown Tails and wait for the computer to power off 10.425
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.921
Then persistence for "Persistent" is active 0.542
And the file I created in the Persistent directory exists 0.070
After features/support/hooks.rb:326 1.317
After features/support/hooks.rb:100 0.009
Tags: @product
53.234
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.351
And the system is very low on memory 3.981
When I create a file in the Persistent directory 1.254
When I try to create a persistent partition 17.675
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.548
When I close the Persistent Storage app 2.708
And I free up some memory 1.324
And I create a persistent partition with the default settings 13.114
Then the file I created was copied to the Persistent Storage 0.275
After features/support/hooks.rb:326 1.241
After features/support/hooks.rb:100 0.000
Tags: @product
2:37.551
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.390
Then Tails is running from USB drive "__internal" 0.436
And all tps features are active 2.303
And all persistent directories have safe access rights 2.519
When I disable the first tps feature 6.037
Then all tps features but the first one are active 2.149
And I shutdown Tails and wait for the computer to power off 11.026
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:59.125
Then all tps features but the first one are active 2.562
After features/support/hooks.rb:326 1.305
After features/support/hooks.rb:100 0.007
Tags: @product
19.222
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.304
Then persistence for "Persistent" is active 0.084
And I create a file in the Persistent directory 0.094
Then the file I created was copied to the Persistent Storage 0.114
When I disable the first tps feature 5.149
Then persistence for "Persistent" is not active 0.076
And the Persistent directory does not exist 0.064
When I enable the first tps feature 3.201
Then persistence for "Persistent" is active 0.075
And the file I created in the Persistent directory exists 0.057
After features/support/hooks.rb:326 1.053
After features/support/hooks.rb:100 0.000
Tags: @product
18.597
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.524
Then persistence for "Persistent" is active 0.080
When I create a file in the Persistent directory 0.095
And I disable the first tps feature 5.160
And I delete the data of the Persistent Folder feature 3.664
Then the file I created does not exist on the Persistent Storage 0.071
After features/support/hooks.rb:326 1.312
After features/support/hooks.rb:100 0.000
Tags: @product
1:33.619
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.406
And the network is plugged 0.089
And Tor is ready 48.397
And I take note of which tps features are available 0.839
When I write some files expected to persist 1.525
And I shutdown Tails and wait for the computer to power off 8.732
# 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.627
After features/support/hooks.rb:326 0.113
After features/support/hooks.rb:100 0.000
Tags: @product
3:2.831
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.526
And the network is plugged 0.213
And Tor is ready 19.738
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.228
And I shutdown Tails and wait for the computer to power off 8.306
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:3.391
And I capture all network traffic 0.007
And the network is plugged 0.083
And Tor is ready 20.693
And I switch to the "persistent-con-current" NetworkManager connection 0.413
And the 1st network device has a spoofed MAC address configured 0.090
And no network device leaked the real MAC address 0.138
After features/support/hooks.rb:326 0.673
After features/support/hooks.rb:100 0.048
Tags: @product
1:0.763
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 15.922
And I enable persistence creation in Tails Greeter 1.129
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.192
Then I create a persistent partition with the default settings using the wizard that was already open 20.519
After features/support/hooks.rb:326 1.530
After features/support/hooks.rb:100 0.000
Tags: @product
4:18.307
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 13.356
When I enable persistence 39.120
Then no persistent Greeter options were restored 14.202
When I set all Greeter options to non-default values 24.862
And I log in to a new session in German (de) after having activated the Persistent Storage 39.640
Then all Greeter options are set to non-default values 1.634
When I cold reboot the computer 9.496
And the computer reboots Tails 1:7.056
Given I enable persistence 17.424
Then persistent Greeter options were restored 0.570
When I log in to a new session after having activated the Persistent Storage 30.633
Then all Greeter options are set to non-default values 0.306
After features/support/hooks.rb:326 1.173
After features/support/hooks.rb:100 0.007
Tags: @product
3:19.111
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.618
# 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.981
And I shutdown Tails and wait for the computer to power off 10.431
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:56.385
And I change the passphrase of the Persistent Storage back to the original 28.695
After features/support/hooks.rb:326 1.440
After features/support/hooks.rb:100 0.009
Tags: @product
57.183
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 10.141
And I log in to a new session without activating the Persistent Storage 22.429
Then persistence is disabled 0.736
But a Tails persistence partition exists on USB drive "__internal" 8.857
And all notifications have disappeared 8.546
When I delete the persistent partition 6.168
Then there is no persistence partition on USB drive "__internal" 0.302
After features/support/hooks.rb:326 0.865
After features/support/hooks.rb:100 0.000
Tags: @product
2:20.840
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.866
When I write some dotfile expected to persist 0.055
And I shutdown Tails and wait for the computer to power off 10.570
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:59.789
Then the expected persistent dotfile is present in the filesystem 0.559
After features/support/hooks.rb:326 1.232
After features/support/hooks.rb:100 0.009
Tags: @product
1:36.981
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.090
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.081
When I try to enable persistence 0.265
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 30.359
When I log in to a new session after having activated the Persistent Storage 41.839
And all notifications have disappeared 7.433
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.638
And all tps features are enabled 2.247
And all tps features but the first one are active 2.027
After features/support/hooks.rb:326 1.175
After features/support/hooks.rb:100 0.000
Tags: @product
5:2.704
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 3:51.886
And I enable persistence 34.690
And I log in to a new session after having activated the Persistent Storage 32.860
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.908
And persistence is enabled 2.357
After features/support/hooks.rb:326 1.960
After features/support/hooks.rb:100 0.000
Tags: @product
28.470
Before features/support/hooks.rb:269 0.004
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.740
And I enable persistence but something goes wrong during the LUKS header upgrade 18.873
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.856
After features/support/hooks.rb:326 1.012
After features/support/hooks.rb:100 0.000
Tags: @product
43.269
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.371
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 3.710
When I enable persistence 28.419
Then the filesystem of the Persistent Storage was repaired 0.083
And persistence is successfully enabled 2.684
After features/support/hooks.rb:326 0.913
After features/support/hooks.rb:100 0.000
Tags: @product
23.034
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.030
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 4.632
When I try to enable persistence 0.475
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 4.757
When I repair the filesystem of the Persistent Storage 1.246
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.243
And the filesystem of the Persistent Storage was repaired 0.090
When I close the filesystem repair dialog 1.243
Then persistence is successfully enabled 1.314
After features/support/hooks.rb:326 0.754
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:31.174
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.818
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.106
When I try to enable persistence 0.275
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 23.972
When I repair the filesystem of the Persistent Storage 1.455
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.080
When I log in to a new session 29.545
And all notifications have disappeared 6.605
# 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.888
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.279
When I close the "whisperback" window 1.685
Then the Tor Browser starts 16.607
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.854
After features/support/hooks.rb:326 2.438
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:17.323
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 9.302
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.616
And Tails detects disk read failures on the boot device 1.507
When I try to enable persistence 0.501
Then the Welcome Screen tells me that my hardware is probably failing 5.059
When I log in to a new session 21.774
And all notifications have disappeared 6.068
Then the Tor Browser starts 27.492
cannot find TorBrowserNewTabButton.png on the screen (FindFailed)
./features/support/helpers/screen.rb:179:in `rescue in wait'
./features/support/helpers/screen.rb:163:in `wait'
./features/step_definitions/browser.rb:465:in `/^the Tor Browser (?:has started|starts)$/'
features/persistence.feature:213:in `Then the Tor Browser starts'
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.000
After features/support/hooks.rb:326 6.725

SCENARIO FAILED: 'Filesystem and I/O errors' (at time 03:32:22)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_20522-ocr-more/21/artifact/build-artifacts/03:32:22_Filesystem_and_I_O_errors.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20522-ocr-more/21/artifact/build-artifacts/03:32:22_Filesystem_and_I_O_errors.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20522-ocr-more/21/artifact/build-artifacts/03:32:22_Filesystem_and_I_O_errors.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20522-ocr-more/21/artifact/build-artifacts/03:32:22_Filesystem_and_I_O_errors.journal

After features/support/hooks.rb:100 0.000