Project Number Date
test_Tails_ISO_20522-ocr-more 2 12 Dec 2024, 17:21

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 38:54.084 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:49.575
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 2:5.670
And I update APT using apt 15.642
And I install "python3-behave" using apt 25.957
Then the Tails Persistent Storage behave tests pass 2.303
After features/support/hooks.rb:326 0.752
After features/support/hooks.rb:100 0.000
Tags: @product
45.427
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 12.030
When I log in to a new session without activating the Persistent Storage 24.677
Then Tails is running from USB drive "__internal" 0.603
And persistence is disabled 0.493
But a Tails persistence partition exists on USB drive "__internal" 7.622
After features/support/hooks.rb:326 1.102
After features/support/hooks.rb:100 0.000
Tags: @product
2:57.543
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 14.090
Then Tails is running from USB drive "__internal" 0.553
When I create a file in the Persistent directory 0.184
And I create a persistent partition with the default settings 19.560
Then the file I created was copied to the Persistent Storage 0.579
When I shutdown Tails and wait for the computer to power off 12.854
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.241
Then persistence for "Persistent" is active 0.401
And the file I created in the Persistent directory exists 0.077
After features/support/hooks.rb:326 1.790
After features/support/hooks.rb:100 0.009
Tags: @product
50.352
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 12.071
And the system is very low on memory 3.229
When I create a file in the Persistent directory 1.067
When I try to create a persistent partition 17.879
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.154
When I close the Persistent Storage app 2.525
And I free up some memory 0.936
And I create a persistent partition with the default settings 12.217
Then the file I created was copied to the Persistent Storage 0.270
After features/support/hooks.rb:326 1.394
After features/support/hooks.rb:100 0.000
Tags: @product
2:36.673
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 11.418
Then Tails is running from USB drive "__internal" 0.401
And all tps features are active 2.227
And all persistent directories have safe access rights 2.595
When I disable the first tps feature 5.019
Then all tps features but the first one are active 3.129
And I shutdown Tails and wait for the computer to power off 8.610
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:0.305
Then all tps features but the first one are active 2.965
After features/support/hooks.rb:326 1.214
After features/support/hooks.rb:100 0.051
Tags: @product
21.370
Before features/support/hooks.rb:269 0.033
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.562
Then persistence for "Persistent" is active 0.087
And I create a file in the Persistent directory 0.154
Then the file I created was copied to the Persistent Storage 0.128
When I disable the first tps feature 7.069
Then persistence for "Persistent" is not active 0.097
And the Persistent directory does not exist 0.045
When I enable the first tps feature 3.093
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 0.986
After features/support/hooks.rb:100 0.000
Tags: @product
18.967
Before features/support/hooks.rb:269 0.011
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.604
Then persistence for "Persistent" is active 0.310
When I create a file in the Persistent directory 0.129
And I disable the first tps feature 5.222
And I delete the data of the Persistent Folder feature 3.643
Then the file I created does not exist on the Persistent Storage 0.057
After features/support/hooks.rb:326 1.247
After features/support/hooks.rb:100 0.000
Tags: @product
1:32.534
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.221
And the network is plugged 0.081
And Tor is ready 47.921
And I take note of which tps features are available 0.588
When I write some files expected to persist 1.626
And I shutdown Tails and wait for the computer to power off 8.872
# 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.222
After features/support/hooks.rb:326 0.132
After features/support/hooks.rb:100 0.000
Tags: @product
3:4.531
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.347
And the network is plugged 0.113
And Tor is ready 19.107
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.211
And I shutdown Tails and wait for the computer to power off 6.950
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.991
And I capture all network traffic 0.008
And the network is plugged 0.085
And Tor is ready 20.097
And I switch to the "persistent-con-current" NetworkManager connection 0.372
And the 1st network device has a spoofed MAC address configured 0.115
And no network device leaked the real MAC address 0.129
After features/support/hooks.rb:326 0.623
After features/support/hooks.rb:100 0.053
Tags: @product
58.679
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 12.518
And I enable persistence creation in Tails Greeter 1.112
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.219
Then I create a persistent partition with the default settings using the wizard that was already open 21.829
After features/support/hooks.rb:326 1.291
After features/support/hooks.rb:100 0.000
Tags: @product
4:18.759
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 13.755
When I enable persistence 43.901
Then no persistent Greeter options were restored 14.409
When I set all Greeter options to non-default values 22.929
And I log in to a new session in German (de) after having activated the Persistent Storage 43.536
Then all Greeter options are set to non-default values 0.730
When I cold reboot the computer 9.563
And the computer reboots Tails 1:6.873
Given I enable persistence 16.584
Then persistent Greeter options were restored 0.527
When I log in to a new session after having activated the Persistent Storage 25.129
Then all Greeter options are set to non-default values 0.819
After features/support/hooks.rb:326 1.473
After features/support/hooks.rb:100 0.008
Tags: @product
3:36.121
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.175
# 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 36.693
And I shutdown Tails and wait for the computer to power off 10.816
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:0.524
And I change the passphrase of the Persistent Storage back to the original 37.910
After features/support/hooks.rb:326 2.548
After features/support/hooks.rb:100 0.009
Tags: @product
58.195
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.271
And I log in to a new session without activating the Persistent Storage 25.032
Then persistence is disabled 0.646
But a Tails persistence partition exists on USB drive "__internal" 7.160
And all notifications have disappeared 7.604
When I delete the persistent partition 7.050
Then there is no persistence partition on USB drive "__internal" 0.429
After features/support/hooks.rb:326 0.873
After features/support/hooks.rb:100 0.000
Tags: @product
2:19.958
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.242
When I write some dotfile expected to persist 0.123
And I shutdown Tails and wait for the computer to power off 8.501
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:0.692
Then the expected persistent dotfile is present in the filesystem 0.399
After features/support/hooks.rb:326 0.989
After features/support/hooks.rb:100 0.010
Tags: @product
1:31.988
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.237
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.077
When I try to enable persistence 0.491
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 35.041
When I log in to a new session after having activated the Persistent Storage 31.079
And all notifications have disappeared 7.770
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.810
And all tps features are enabled 2.434
And all tps features but the first one are active 2.044
After features/support/hooks.rb:326 0.983
After features/support/hooks.rb:100 0.000
Tags: @product
4:52.326
Before features/support/hooks.rb:269 0.008
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:32.252
And I enable persistence 43.779
And I log in to a new session after having activated the Persistent Storage 28.512
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.170
And persistence is enabled 4.611
After features/support/hooks.rb:326 1.221
After features/support/hooks.rb:100 0.000
Tags: @product
32.240
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 9.564
And I enable persistence but something goes wrong during the LUKS header upgrade 21.850
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.825
After features/support/hooks.rb:326 0.718
After features/support/hooks.rb:100 0.000
Tags: @product
47.251
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 10.014
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 4.176
When I enable persistence 30.097
Then the filesystem of the Persistent Storage was repaired 0.092
And persistence is successfully enabled 2.870
After features/support/hooks.rb:326 0.973
After features/support/hooks.rb:100 0.000
Tags: @product
27.419
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 9.542
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.091
When I try to enable persistence 0.601
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 4.804
When I repair the filesystem of the Persistent Storage 1.220
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.309
And the filesystem of the Persistent Storage was repaired 0.096
When I close the filesystem repair dialog 1.258
Then persistence is successfully enabled 1.495
After features/support/hooks.rb:326 0.787
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:49.603
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.037
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.110
When I try to enable persistence 0.388
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.760
When I repair the filesystem of the Persistent Storage 1.861
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.120
When I log in to a new session 34.501
And all notifications have disappeared 8.337
# 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.106
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 1.120
When I close the "whisperback" window 1.844
Then the Tor Browser starts 21.311
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.104
After features/support/hooks.rb:326 2.319
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:24.566
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.439
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 4.598
And Tails detects disk read failures on the boot device 0.549
When I try to enable persistence 0.652
Then the Welcome Screen tells me that my hardware is probably failing 5.075
When I log in to a new session 25.186
And all notifications have disappeared 4.662
Then the Tor Browser starts 34.401
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 7.303

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

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

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

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

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

After features/support/hooks.rb:100 0.000