Project Number Date
test_Tails_ISO_20522-ocr-more 18 27 Dec 2024, 05:27

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:57.216 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:19.777
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:40.328
And I update APT using apt 13.185
And I install "python3-behave" using apt 22.938
Then the Tails Persistent Storage behave tests pass 3.324
After features/support/hooks.rb:326 0.657
After features/support/hooks.rb:100 0.000
Tags: @product
46.499
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 12.559
When I log in to a new session without activating the Persistent Storage 23.305
Then Tails is running from USB drive "__internal" 0.970
And persistence is disabled 0.589
But a Tails persistence partition exists on USB drive "__internal" 9.074
After features/support/hooks.rb:326 1.386
After features/support/hooks.rb:100 0.000
Tags: @product
2:56.724
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.490
Then Tails is running from USB drive "__internal" 0.448
When I create a file in the Persistent directory 0.141
And I create a persistent partition with the default settings 20.402
Then the file I created was copied to the Persistent Storage 0.479
When I shutdown Tails and wait for the computer to power off 15.010
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.262
Then persistence for "Persistent" is active 0.421
And the file I created in the Persistent directory exists 0.067
After features/support/hooks.rb:326 1.294
After features/support/hooks.rb:100 0.008
Tags: @product
56.791
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive without a persistent partition and logged in 11.213
And the system is very low on memory 3.846
When I create a file in the Persistent directory 1.169
When I try to create a persistent partition 19.860
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 4.208
When I close the Persistent Storage app 2.575
And I free up some memory 1.267
And I create a persistent partition with the default settings 12.368
Then the file I created was copied to the Persistent Storage 0.282
After features/support/hooks.rb:326 1.388
After features/support/hooks.rb:100 0.000
Tags: @product
2:42.268
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 13.423
Then Tails is running from USB drive "__internal" 0.672
And all tps features are active 2.270
And all persistent directories have safe access rights 2.453
When I disable the first tps feature 5.351
Then all tps features but the first one are active 2.044
And I shutdown Tails and wait for the computer to power off 12.447
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:1.075
Then all tps features but the first one are active 2.529
After features/support/hooks.rb:326 1.154
After features/support/hooks.rb:100 0.009
Tags: @product
19.077
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.962
Then persistence for "Persistent" is active 0.209
And I create a file in the Persistent directory 0.129
Then the file I created was copied to the Persistent Storage 0.069
When I disable the first tps feature 5.363
Then persistence for "Persistent" is not active 0.075
And the Persistent directory does not exist 0.050
When I enable the first tps feature 3.078
Then persistence for "Persistent" is active 0.071
And the file I created in the Persistent directory exists 0.067
After features/support/hooks.rb:326 1.191
After features/support/hooks.rb:100 0.000
Tags: @product
18.053
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.039
Then persistence for "Persistent" is active 0.106
When I create a file in the Persistent directory 0.065
And I disable the first tps feature 5.234
And I delete the data of the Persistent Folder feature 3.547
Then the file I created does not exist on the Persistent Storage 0.059
After features/support/hooks.rb:326 1.433
After features/support/hooks.rb:100 0.000
Tags: @product
1:6.307
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.089
And Tor is ready 22.156
And I take note of which tps features are available 0.588
When I write some files expected to persist 1.461
And I shutdown Tails and wait for the computer to power off 8.536
# 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.087
After features/support/hooks.rb:326 0.087
After features/support/hooks.rb:100 0.000
Tags: @product
2:55.054
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.468
And the network is plugged 0.128
And Tor is ready 18.288
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.213
And I shutdown Tails and wait for the computer to power off 8.730
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:56.795
And I capture all network traffic 0.006
And the network is plugged 0.094
And Tor is ready 20.659
And I switch to the "persistent-con-current" NetworkManager connection 0.451
And the 1st network device has a spoofed MAC address configured 0.090
And no network device leaked the real MAC address 0.128
After features/support/hooks.rb:326 0.675
After features/support/hooks.rb:100 0.043
Tags: @product
55.171
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 11.927
And I enable persistence creation in Tails Greeter 1.116
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.060
Then I create a persistent partition with the default settings using the wizard that was already open 21.066
After features/support/hooks.rb:326 1.277
After features/support/hooks.rb:100 0.000
Tags: @product
4:1.586
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 11.930
When I enable persistence 34.133
Then no persistent Greeter options were restored 14.213
When I set all Greeter options to non-default values 24.198
And I log in to a new session in German (de) after having activated the Persistent Storage 38.986
Then all Greeter options are set to non-default values 0.873
When I cold reboot the computer 7.387
And the computer reboots Tails 1:1.962
Given I enable persistence 17.466
Then persistent Greeter options were restored 0.538
When I log in to a new session after having activated the Persistent Storage 29.535
Then all Greeter options are set to non-default values 0.360
After features/support/hooks.rb:326 0.965
After features/support/hooks.rb:100 0.008
Tags: @product
3:43.963
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.874
# 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.484
And I shutdown Tails and wait for the computer to power off 10.856
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:12.630
And I change the passphrase of the Persistent Storage back to the original 33.117
After features/support/hooks.rb:326 2.847
After features/support/hooks.rb:100 0.007
Tags: @product
54.529
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.023
And I log in to a new session without activating the Persistent Storage 21.302
Then persistence is disabled 0.702
But a Tails persistence partition exists on USB drive "__internal" 7.297
And all notifications have disappeared 8.050
When I delete the persistent partition 6.834
Then there is no persistence partition on USB drive "__internal" 0.318
After features/support/hooks.rb:326 0.854
After features/support/hooks.rb:100 0.000
Tags: @product
2:23.792
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.322
When I write some dotfile expected to persist 0.094
And I shutdown Tails and wait for the computer to power off 8.392
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.617
Then the expected persistent dotfile is present in the filesystem 0.365
After features/support/hooks.rb:326 1.111
After features/support/hooks.rb:100 0.008
Tags: @product
1:26.212
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.877
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.090
When I try to enable persistence 0.309
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 29.094
When I log in to a new session after having activated the Persistent Storage 32.754
And all notifications have disappeared 7.028
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.700
And all tps features are enabled 2.392
And all tps features but the first one are active 1.963
After features/support/hooks.rb:326 0.912
After features/support/hooks.rb:100 0.000
Tags: @product
5:41.406
Before features/support/hooks.rb:269 0.003
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 4:26.469
And I enable persistence 37.047
And I log in to a new session after having activated the Persistent Storage 34.294
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.168
And persistence is enabled 2.426
After features/support/hooks.rb:326 1.682
After features/support/hooks.rb:100 0.000
Tags: @product
28.872
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.508
And I enable persistence but something goes wrong during the LUKS header upgrade 19.577
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.786
After features/support/hooks.rb:326 0.701
After features/support/hooks.rb:100 0.000
Tags: @product
45.724
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.998
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.046
When I enable persistence 28.945
Then the filesystem of the Persistent Storage was repaired 0.100
And persistence is successfully enabled 2.634
After features/support/hooks.rb:326 0.951
After features/support/hooks.rb:100 0.000
Tags: @product
23.678
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.920
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.161
When I try to enable persistence 0.730
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 4.745
When I repair the filesystem of the Persistent Storage 1.190
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.237
And the filesystem of the Persistent Storage was repaired 0.108
When I close the filesystem repair dialog 1.252
Then persistence is successfully enabled 1.332
After features/support/hooks.rb:326 0.832
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:35.407
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.817
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.097
When I try to enable persistence 0.268
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 24.155
When I repair the filesystem of the Persistent Storage 1.628
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.071
When I log in to a new session 30.757
And all notifications have disappeared 8.254
# 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.682
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.406
When I close the "whisperback" window 1.471
Then the Tor Browser starts 17.848
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.945
After features/support/hooks.rb:326 2.838
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:16.317
Scenario Filesystem and I/O errors
Before features/support/hooks.rb:269 0.004
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.772
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 4.376
And Tails detects disk read failures on the boot device 0.700
When I try to enable persistence 1.564
Then the Welcome Screen tells me that my hardware is probably failing 4.848
When I log in to a new session 22.792
And all notifications have disappeared 6.728
Then the Tor Browser starts 26.533
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.434

SCENARIO FAILED: 'Filesystem and I/O errors' (at time 03:41:12)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_20522-ocr-more/18/artifact/build-artifacts/03:41:12_Filesystem_and_I_O_errors.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20522-ocr-more/18/artifact/build-artifacts/03:41:12_Filesystem_and_I_O_errors.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20522-ocr-more/18/artifact/build-artifacts/03:41:12_Filesystem_and_I_O_errors.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20522-ocr-more/18/artifact/build-artifacts/03:41:12_Filesystem_and_I_O_errors.journal

After features/support/hooks.rb:100 0.000