Project Number Date
test_Tails_ISO_test-suite-early-boot-hooks 16 18 Dec 2024, 22:33

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 43:10.150 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:26.105
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:39.828
And I update APT using apt 17.160
And I install "python3-behave" using apt 26.253
Then the Tails Persistent Storage behave tests pass 2.863
After features/support/hooks.rb:330 0.696
After features/support/hooks.rb:100 0.000
Tags: @product
55.697
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 14.683
When I log in to a new session without activating the Persistent Storage 24.126
Then Tails is running from USB drive "__internal" 0.662
And persistence is disabled 0.564
But a Tails persistence partition exists on USB drive "__internal" 15.660
After features/support/hooks.rb:330 2.396
After features/support/hooks.rb:100 0.000
Tags: @product
3:23.942
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails without network from a USB drive without a persistent partition and logged in 11.927
Then Tails is running from USB drive "__internal" 0.383
When I create a file in the Persistent directory 0.155
And I create a persistent partition with the default settings 26.448
Then the file I created was copied to the Persistent Storage 1.128
When I shutdown Tails and wait for the computer to power off 13.449
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:30.002
Then persistence for "Persistent" is active 0.339
And the file I created in the Persistent directory exists 0.107
After features/support/hooks.rb:330 1.861
After features/support/hooks.rb:100 0.037
Tags: @product
1:2.813
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails without network from a USB drive without a persistent partition and logged in 11.683
And the system is very low on memory 3.993
When I create a file in the Persistent directory 0.957
When I try to create a persistent partition 26.691
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.213
When I close the Persistent Storage app 3.869
And I free up some memory 1.789
And I create a persistent partition with the default settings 13.373
Then the file I created was copied to the Persistent Storage 0.242
After features/support/hooks.rb:330 2.307
After features/support/hooks.rb:100 0.000
Tags: @product
2:56.080
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.088
Then Tails is running from USB drive "__internal" 0.505
And all tps features are active 2.748
And all persistent directories have safe access rights 2.776
When I disable the first tps feature 5.449
Then all tps features but the first one are active 2.258
And I shutdown Tails and wait for the computer to power off 9.015
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.533
Then all tps features but the first one are active 5.704
After features/support/hooks.rb:330 1.439
After features/support/hooks.rb:100 0.010
Tags: @product
21.905
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.657
Then persistence for "Persistent" is active 0.117
And I create a file in the Persistent directory 0.072
Then the file I created was copied to the Persistent Storage 0.120
When I disable the first tps feature 6.252
Then persistence for "Persistent" is not active 0.092
And the Persistent directory does not exist 0.059
When I enable the first tps feature 3.341
Then persistence for "Persistent" is active 0.101
And the file I created in the Persistent directory exists 0.089
After features/support/hooks.rb:330 0.995
After features/support/hooks.rb:100 0.000
Tags: @product
20.154
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.928
Then persistence for "Persistent" is active 0.344
When I create a file in the Persistent directory 0.138
And I disable the first tps feature 5.858
And I delete the data of the Persistent Folder feature 3.828
Then the file I created does not exist on the Persistent Storage 0.056
After features/support/hooks.rb:330 1.127
After features/support/hooks.rb:100 0.000
Tags: @product
1:8.033
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.018
And the network is plugged 0.108
And Tor is ready 21.340
And I take note of which tps features are available 0.995
When I write some files expected to persist 1.577
And I shutdown Tails and wait for the computer to power off 8.958
# 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.034
After features/support/hooks.rb:330 0.131
After features/support/hooks.rb:100 0.000
Tags: @product
3:44.469
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.584
And the network is plugged 0.075
And Tor is ready 46.945
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.202
And I shutdown Tails and wait for the computer to power off 9.425
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.381
And I capture all network traffic 0.008
And the network is plugged 0.089
And Tor is ready 21.133
And I switch to the "persistent-con-current" NetworkManager connection 0.333
And the 1st network device has a spoofed MAC address configured 0.160
And no network device leaked the real MAC address 0.130
After features/support/hooks.rb:330 0.666
After features/support/hooks.rb:100 0.052
Tags: @product
1:4.609
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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.539
And I enable persistence creation in Tails Greeter 1.138
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.396
Then I create a persistent partition with the default settings using the wizard that was already open 24.534
After features/support/hooks.rb:330 3.110
After features/support/hooks.rb:100 0.000
Tags: @product
4:35.369
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 12.374
When I enable persistence 39.309
Then no persistent Greeter options were restored 13.549
When I set all Greeter options to non-default values 26.160
And I log in to a new session in German (de) after having activated the Persistent Storage 49.492
Then all Greeter options are set to non-default values 0.396
When I cold reboot the computer 7.716
And the computer reboots Tails 1:8.163
Given I enable persistence 19.120
Then persistent Greeter options were restored 0.719
When I log in to a new session after having activated the Persistent Storage 37.829
Then all Greeter options are set to non-default values 0.537
After features/support/hooks.rb:330 1.685
After features/support/hooks.rb:100 0.007
Tags: @product
3:58.165
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.162
# 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.363
And I shutdown Tails and wait for the computer to power off 11.190
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:22.676
And I change the passphrase of the Persistent Storage back to the original 33.772
After features/support/hooks.rb:330 1.789
After features/support/hooks.rb:100 0.009
Tags: @product
1:17.519
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 25.738
And I log in to a new session without activating the Persistent Storage 27.765
Then persistence is disabled 0.394
But a Tails persistence partition exists on USB drive "__internal" 9.837
And all notifications have disappeared 7.558
When I delete the persistent partition 5.749
Then there is no persistence partition on USB drive "__internal" 0.474
After features/support/hooks.rb:330 1.144
After features/support/hooks.rb:100 0.000
Tags: @product
2:31.543
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.390
When I write some dotfile expected to persist 0.318
And I shutdown Tails and wait for the computer to power off 8.852
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.590
Then the expected persistent dotfile is present in the filesystem 0.391
After features/support/hooks.rb:330 1.624
After features/support/hooks.rb:100 0.008
Tags: @product
2:16.973
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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.913
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.124
When I try to enable persistence 0.275
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 56.867
When I log in to a new session after having activated the Persistent Storage 50.079
And all notifications have disappeared 9.245
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.762
And all tps features are enabled 2.467
And all tps features but the first one are active 2.236
After features/support/hooks.rb:330 3.770
After features/support/hooks.rb:100 0.000
Tags: @product
5:53.688
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 4:16.268
And I enable persistence 41.505
And I log in to a new session after having activated the Persistent Storage 51.336
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.426
And persistence is enabled 3.152
After features/support/hooks.rb:330 1.659
After features/support/hooks.rb:100 0.000
Tags: @product
35.143
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.011
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 11.672
And I enable persistence but something goes wrong during the LUKS header upgrade 22.559
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.911
After features/support/hooks.rb:330 0.759
After features/support/hooks.rb:100 0.000
Tags: @product
50.827
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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.568
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.379
When I enable persistence 30.902
Then the filesystem of the Persistent Storage was repaired 0.106
And persistence is successfully enabled 2.869
After features/support/hooks.rb:330 1.237
After features/support/hooks.rb:100 0.000
Tags: @product
26.031
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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.774
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.406
When I try to enable persistence 0.477
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.181
When I repair the filesystem of the Persistent Storage 1.243
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.253
And the filesystem of the Persistent Storage was repaired 0.083
When I close the filesystem repair dialog 1.187
Then persistence is successfully enabled 1.423
After features/support/hooks.rb:330 1.510
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:1.384
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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.811
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.137
When I try to enable persistence 0.307
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 33.173
When I repair the filesystem of the Persistent Storage 1.255
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.162
When I log in to a new session 47.139
And all notifications have disappeared 9.289
# 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.605
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.786
When I close the "whisperback" window 1.510
Then the Tor Browser starts 17.229
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.977
After features/support/hooks.rb:330 3.063
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:19.691
Scenario Filesystem and I/O errors
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 10.175
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.726
And Tails detects disk read failures on the boot device 1.481
When I try to enable persistence 0.412
Then the Welcome Screen tells me that my hardware is probably failing 6.252
When I log in to a new session 19.912
And all notifications have disappeared 8.965
Then the Tor Browser starts 25.766
cannot find TorBrowserNewTabButton.png on the screen (FindFailed)
./features/support/helpers/screen.rb:173:in `rescue in wait'
./features/support/helpers/screen.rb:157: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:330 6.505

SCENARIO FAILED: 'Filesystem and I/O errors' (at time 03:50:16)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-suite-early-boot-hooks/16/artifact/build-artifacts/03:50:16_Filesystem_and_I_O_errors.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-suite-early-boot-hooks/16/artifact/build-artifacts/03:50:16_Filesystem_and_I_O_errors.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-suite-early-boot-hooks/16/artifact/build-artifacts/03:50:16_Filesystem_and_I_O_errors.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-suite-early-boot-hooks/16/artifact/build-artifacts/03:50:16_Filesystem_and_I_O_errors.journal

After features/support/hooks.rb:100 0.000