Project Number Date
test_Tails_ISO_test-suite-early-boot-hooks 11 14 Dec 2024, 20:17

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 40:9.687 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:15.375
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:33.286
And I update APT using apt 14.575
And I install "python3-behave" using apt 25.521
Then the Tails Persistent Storage behave tests pass 1.990
After features/support/hooks.rb:330 1.005
After features/support/hooks.rb:100 0.000
Tags: @product
44.360
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 and stopped at Tails Greeter's login screen 12.169
When I log in to a new session without activating the Persistent Storage 22.438
Then Tails is running from USB drive "__internal" 0.610
And persistence is disabled 0.409
But a Tails persistence partition exists on USB drive "__internal" 8.731
After features/support/hooks.rb:330 2.307
After features/support/hooks.rb:100 0.000
Tags: @product
3:3.426
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.707
Then Tails is running from USB drive "__internal" 0.406
When I create a file in the Persistent directory 0.178
And I create a persistent partition with the default settings 22.541
Then the file I created was copied to the Persistent Storage 0.527
When I shutdown Tails and wait for the computer to power off 12.727
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.809
Then persistence for "Persistent" is active 0.453
And the file I created in the Persistent directory exists 0.074
After features/support/hooks.rb:330 1.440
After features/support/hooks.rb:100 0.009
Tags: @product
58.999
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 without a persistent partition and logged in 11.040
And the system is very low on memory 4.240
When I create a file in the Persistent directory 1.277
When I try to create a persistent partition 24.748
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.473
When I close the Persistent Storage app 2.547
And I free up some memory 1.601
And I create a persistent partition with the default settings 12.812
Then the file I created was copied to the Persistent Storage 0.258
After features/support/hooks.rb:330 2.501
After features/support/hooks.rb:100 0.000
Tags: @product
2:34.234
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 persistent partition enabled and logged in 10.308
Then Tails is running from USB drive "__internal" 0.402
And all tps features are active 2.279
And all persistent directories have safe access rights 2.505
When I disable the first tps feature 5.164
Then all tps features but the first one are active 1.969
And I shutdown Tails and wait for the computer to power off 8.398
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:1.122
Then all tps features but the first one are active 2.083
After features/support/hooks.rb:330 1.205
After features/support/hooks.rb:100 0.009
Tags: @product
17.959
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 persistent partition enabled and logged in 9.079
Then persistence for "Persistent" is active 0.102
And I create a file in the Persistent directory 0.069
Then the file I created was copied to the Persistent Storage 0.086
When I disable the first tps feature 5.273
Then persistence for "Persistent" is not active 0.067
And the Persistent directory does not exist 0.044
When I enable the first tps feature 3.098
Then persistence for "Persistent" is active 0.073
And the file I created in the Persistent directory exists 0.063
After features/support/hooks.rb:330 1.352
After features/support/hooks.rb:100 0.000
Tags: @product
18.088
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 8.848
Then persistence for "Persistent" is active 0.155
When I create a file in the Persistent directory 0.071
And I disable the first tps feature 5.233
And I delete the data of the Persistent Folder feature 3.717
Then the file I created does not exist on the Persistent Storage 0.061
After features/support/hooks.rb:330 1.424
After features/support/hooks.rb:100 0.000
Tags: @product
1:5.198
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 persistent partition enabled and logged in 9.662
And the network is plugged 0.099
And Tor is ready 19.633
And I take note of which tps features are available 0.811
When I write some files expected to persist 1.484
And I shutdown Tails and wait for the computer to power off 8.788
# 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.718
After features/support/hooks.rb:330 0.135
After features/support/hooks.rb:100 0.000
Tags: @product
3:10.062
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.268
And the network is plugged 0.098
And Tor is ready 23.001
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 8.565
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.368
And I capture all network traffic 0.009
And the network is plugged 0.068
And Tor is ready 21.894
And I switch to the "persistent-con-current" NetworkManager connection 0.377
And the 1st network device has a spoofed MAC address configured 0.074
And no network device leaked the real MAC address 0.132
After features/support/hooks.rb:330 0.609
After features/support/hooks.rb:100 0.054
Tags: @product
58.096
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 11.870
And I enable persistence creation in Tails Greeter 1.324
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.559
Then I create a persistent partition with the default settings using the wizard that was already open 22.342
After features/support/hooks.rb:330 2.424
After features/support/hooks.rb:100 0.000
Tags: @product
4:26.148
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 persistent partition and stopped at Tails Greeter's login screen 13.328
When I enable persistence 36.428
Then no persistent Greeter options were restored 14.353
When I set all Greeter options to non-default values 27.687
And I log in to a new session in German (de) after having activated the Persistent Storage 45.461
Then all Greeter options are set to non-default values 0.476
When I cold reboot the computer 9.785
And the computer reboots Tails 1:0.524
Given I enable persistence 19.181
Then persistent Greeter options were restored 0.542
When I log in to a new session after having activated the Persistent Storage 37.863
Then all Greeter options are set to non-default values 0.513
After features/support/hooks.rb:330 1.822
After features/support/hooks.rb:100 0.010
Tags: @product
5:18.227
Scenario Changing the Persistent Storage passphrase
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.754
# 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.390
And I shutdown Tails and wait for the computer to power off 12.544
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 4:22.536
cannot find GnomeApplicationsMenu.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/common_steps.rb:566:in `/^the Tails desktop is ready$/'
./features/step_definitions/common_steps.rb:522:in `/^I log in to a new session(?: in ([^ ]*) \(([^ ]*)\))?( without activating the Persistent Storage)?( after having activated the Persistent Storage| expecting no warning about the Persistent Storage not being activated)?$/'
./features/step_definitions/common_steps.rb:295:in `/^I start Tails from (.+?) drive "(.+?)"( with network unplugged)?( and I login( with persistence enabled)?( with the changed persistence passphrase)?( (?:and|with) an administration password)?)?$/'
features/persistence.feature:123:in `Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase'
And I change the passphrase of the Persistent Storage back to the original 0.000
After features/support/hooks.rb:330 5.624

SCENARIO FAILED: 'Changing the Persistent Storage passphrase' (at time 03:39:37)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-suite-early-boot-hooks/11/artifact/build-artifacts/03:39:37_Changing_the_Persistent_Storage_passphrase.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-suite-early-boot-hooks/11/artifact/build-artifacts/03:39:37_Changing_the_Persistent_Storage_passphrase.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-suite-early-boot-hooks/11/artifact/build-artifacts/03:39:37_Changing_the_Persistent_Storage_passphrase.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-suite-early-boot-hooks/11/artifact/build-artifacts/03:39:37_Changing_the_Persistent_Storage_passphrase.journal

After features/support/hooks.rb:100 0.009
Tags: @product
53.573
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 persistent partition and stopped at Tails Greeter's login screen 9.979
And I log in to a new session without activating the Persistent Storage 19.596
Then persistence is disabled 0.415
But a Tails persistence partition exists on USB drive "__internal" 8.864
And all notifications have disappeared 8.447
When I delete the persistent partition 5.842
Then there is no persistence partition on USB drive "__internal" 0.427
After features/support/hooks.rb:330 1.402
After features/support/hooks.rb:100 0.000
Tags: @product
2:31.331
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 persistent partition enabled and logged in 9.581
When I write some dotfile expected to persist 0.097
And I shutdown Tails and wait for the computer to power off 8.715
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.539
Then the expected persistent dotfile is present in the filesystem 0.396
After features/support/hooks.rb:330 1.286
After features/support/hooks.rb:100 0.009
Tags: @product
1:42.807
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 persistent partition and stopped at Tails Greeter's login screen 9.648
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.074
When I try to enable persistence 0.287
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 30.399
When I log in to a new session after having activated the Persistent Storage 46.882
And all notifications have disappeared 7.498
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.855
And all tps features are enabled 2.229
And all tps features but the first one are active 1.932
After features/support/hooks.rb:330 2.068
After features/support/hooks.rb:100 0.000
Tags: @product
4:52.623
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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:27.478
And I enable persistence 31.902
And I log in to a new session after having activated the Persistent Storage 46.812
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 4.014
And persistence is enabled 2.416
After features/support/hooks.rb:330 1.729
After features/support/hooks.rb:100 0.000
Tags: @product
30.470
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 9.544
And I enable persistence but something goes wrong during the LUKS header upgrade 20.185
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.740
After features/support/hooks.rb:330 0.741
After features/support/hooks.rb:100 0.000
Tags: @product
48.047
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.776
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.055
When I enable persistence 30.372
Then the filesystem of the Persistent Storage was repaired 0.111
And persistence is successfully enabled 2.731
After features/support/hooks.rb:330 1.579
After features/support/hooks.rb:100 0.000
Tags: @product
24.820
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 and stopped at Tails Greeter's login screen 8.874
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.374
When I try to enable persistence 0.401
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 5.750
When I repair the filesystem of the Persistent Storage 1.258
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.315
And the filesystem of the Persistent Storage was repaired 0.086
When I close the filesystem repair dialog 1.194
Then persistence is successfully enabled 1.564
After features/support/hooks.rb:330 1.008
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:58.799
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 persistent partition and stopped at Tails Greeter's login screen 9.122
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.114
When I try to enable persistence 0.289
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 31.464
When I repair the filesystem of the Persistent Storage 1.303
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.227
When I log in to a new session 44.915
And all notifications have disappeared 10.094
# 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.603
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.673
When I close the "whisperback" window 1.648
Then the Tor Browser starts 17.290
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.052
After features/support/hooks.rb:330 2.176
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:17.035
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 persistent partition and stopped at Tails Greeter's login screen 9.442
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.261
And Tails detects disk read failures on the boot device 1.536
When I try to enable persistence 0.448
Then the Welcome Screen tells me that my hardware is probably failing 5.973
When I log in to a new session 22.217
And all notifications have disappeared 7.447
Then the Tor Browser starts 22.685
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.021
After features/support/hooks.rb:330 3.828
After features/support/hooks.rb:100 0.000