Project Number Date
test_Tails_ISO_devel 3570 31 Oct 2024, 13:10

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 153 1 3 0 0 157 20 1 21 46:29.684 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:23.114
Before features/support/hooks.rb:269 0.004
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:38.051
And I update APT using apt 13.928
And I install "python3-behave" using apt 27.953
Then the Tails Persistent Storage behave tests pass 3.180
After features/support/hooks.rb:326 0.948
After features/support/hooks.rb:100 0.000
Tags: @product
49.814
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 15.453
When I log in to a new session without activating the Persistent Storage 26.503
Then Tails is running from USB drive "__internal" 0.539
And persistence is disabled 0.394
But a Tails persistence partition exists on USB drive "__internal" 6.924
After features/support/hooks.rb:326 4.055
After features/support/hooks.rb:100 0.000
Tags: @product
3:18.032
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 16.765
Then Tails is running from USB drive "__internal" 0.671
When I create a file in the Persistent directory 0.228
And I create a persistent partition with the default settings 23.113
Then the file I created was copied to the Persistent Storage 0.623
When I shutdown Tails and wait for the computer to power off 15.288
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:19.847
Then persistence for "Persistent" is active 1.393
And the file I created in the Persistent directory exists 0.100
After features/support/hooks.rb:326 1.083
After features/support/hooks.rb:100 0.013
Tags: @product
1:14.249
Before features/support/hooks.rb:269 0.014
Given I have started Tails without network from a USB drive without a persistent partition and logged in 23.067
And the system is very low on memory 4.787
When I create a file in the Persistent directory 1.358
When I try to create a persistent partition 25.806
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.144
When I close the Persistent Storage app 2.661
And I free up some memory 1.536
And I create a persistent partition with the default settings 14.594
Then the file I created was copied to the Persistent Storage 0.291
After features/support/hooks.rb:326 1.397
After features/support/hooks.rb:100 0.000
Tags: @product
3:14.257
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 19.707
Then Tails is running from USB drive "__internal" 0.996
And all tps features are active 2.841
And all persistent directories have safe access rights 2.675
When I disable the first tps feature 7.253
Then all tps features but the first one are active 2.820
And I shutdown Tails and wait for the computer to power off 13.427
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:20.570
Then all tps features but the first one are active 3.964
After features/support/hooks.rb:326 0.836
After features/support/hooks.rb:100 0.010
Tags: @product
31.229
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 14.566
Then persistence for "Persistent" is active 0.840
And I create a file in the Persistent directory 0.093
Then the file I created was copied to the Persistent Storage 0.092
When I disable the first tps feature 11.293
Then persistence for "Persistent" is not active 0.115
And the Persistent directory does not exist 0.086
When I enable the first tps feature 3.978
Then persistence for "Persistent" is active 0.069
And the file I created in the Persistent directory exists 0.092
After features/support/hooks.rb:326 0.872
After features/support/hooks.rb:100 0.000
Tags: @product
23.670
Before features/support/hooks.rb:269 0.012
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.409
Then persistence for "Persistent" is active 0.713
When I create a file in the Persistent directory 0.079
And I disable the first tps feature 6.701
And I delete the data of the Persistent Folder feature 4.694
Then the file I created does not exist on the Persistent Storage 0.071
After features/support/hooks.rb:326 0.953
After features/support/hooks.rb:100 0.000
Tags: @product
1:12.713
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 11.696
And the network is plugged 0.137
And Tor is ready 24.471
And I take note of which tps features are available 0.775
When I write some files expected to persist 1.864
And I shutdown Tails and wait for the computer to power off 8.827
# 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.940
After features/support/hooks.rb:326 0.161
After features/support/hooks.rb:100 0.000
Tags: @product
3:42.897
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 11.351
And the network is plugged 0.100
And Tor is ready 22.803
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.224
And I shutdown Tails and wait for the computer to power off 10.839
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:36.828
And I capture all network traffic 0.006
And the network is plugged 0.111
And Tor is ready 20.005
And I switch to the "persistent-con-current" NetworkManager connection 0.405
And the 1st network device has a spoofed MAC address configured 0.082
And no network device leaked the real MAC address 0.136
After features/support/hooks.rb:326 0.719
After features/support/hooks.rb:100 0.064
Tags: @product
1:47.171
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 52.206
And I enable persistence creation in Tails Greeter 1.171
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.991
Then I create a persistent partition with the default settings using the wizard that was already open 30.802
After features/support/hooks.rb:326 2.622
After features/support/hooks.rb:100 0.000
Tags: @product
4:59.861
Scenario Persistent Greeter options
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 18.540
When I enable persistence 1:0.415
Then no persistent Greeter options were restored 14.913
When I set all Greeter options to non-default values 30.285
And I log in to a new session in German (de) after having activated the Persistent Storage 58.804
Then all Greeter options are set to non-default values 0.530
When I cold reboot the computer 10.185
And the computer reboots Tails 1:5.932
Given I enable persistence 40.253
try_for() timeout expired (Timeout::Error)
./features/support/helpers/misc_helpers.rb:145:in `rescue in try_for'
./features/support/helpers/misc_helpers.rb:51:in `try_for'
./features/step_definitions/usb.rb:721:in `greeter_language'
./features/step_definitions/usb.rb:689:in `/^persistence is successfully enabled$/'
./features/step_definitions/usb.rb:702:in `/^I enable persistence( with the changed passphrase)?$/'
features/persistence.feature:111:in `Given I enable persistence'
Then persistent Greeter options were restored 0.000
When I log in to a new session after having activated the Persistent Storage 0.000
Then all Greeter options are set to non-default values 0.000
After features/support/hooks.rb:326 11.040

SCENARIO FAILED: 'Persistent Greeter options' (at time 03:37:20)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3570/artifact/build-artifacts/03:37:20_Persistent_Greeter_options.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3570/artifact/build-artifacts/03:37:20_Persistent_Greeter_options.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3570/artifact/build-artifacts/03:37:20_Persistent_Greeter_options.journal

After features/support/hooks.rb:100 0.009
Tags: @product
4:26.477
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 13.951
# 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 44.085
And I shutdown Tails and wait for the computer to power off 14.681
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:26.961
And I change the passphrase of the Persistent Storage back to the original 46.797
After features/support/hooks.rb:326 2.144
After features/support/hooks.rb:100 0.010
Tags: @product
1:19.305
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 22.106
And I log in to a new session without activating the Persistent Storage 27.194
Then persistence is disabled 0.489
But a Tails persistence partition exists on USB drive "__internal" 10.801
And all notifications have disappeared 10.150
When I delete the persistent partition 8.017
Then there is no persistence partition on USB drive "__internal" 0.545
After features/support/hooks.rb:326 0.894
After features/support/hooks.rb:100 0.000
Tags: @product
2:44.447
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.224
When I write some dotfile expected to persist 0.110
And I shutdown Tails and wait for the computer to power off 10.672
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:20.046
Then the expected persistent dotfile is present in the filesystem 0.391
After features/support/hooks.rb:326 0.894
After features/support/hooks.rb:100 0.010
Tags: @product
1:53.850
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 11.678
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.081
When I try to enable persistence 0.334
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 38.357
When I log in to a new session after having activated the Persistent Storage 36.638
And all notifications have disappeared 9.804
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.740
And all tps features are enabled 6.621
And all tps features but the first one are active 5.594
After features/support/hooks.rb:326 1.498
After features/support/hooks.rb:100 0.000
Tags: @product
7:13.610
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 5:46.049
And I enable persistence 37.269
And I log in to a new session after having activated the Persistent Storage 46.975
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.678
And persistence is enabled 0.637
After features/support/hooks.rb:326 1.299
After features/support/hooks.rb:100 0.000
Tags: @product
31.665
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 10.535
And I enable persistence but something goes wrong during the LUKS header upgrade 20.210
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.919
After features/support/hooks.rb:326 0.960
After features/support/hooks.rb:100 0.000
Tags: @product
55.248
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 10.335
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.854
When I enable persistence 38.541
Then the filesystem of the Persistent Storage was repaired 0.106
And persistence is successfully enabled 0.411
After features/support/hooks.rb:326 1.172
After features/support/hooks.rb:100 0.000
Tags: @product
27.349
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.339
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.482
When I try to enable persistence 0.415
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.838
When I repair the filesystem of the Persistent Storage 1.326
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.197
And the filesystem of the Persistent Storage was repaired 0.109
When I close the filesystem repair dialog 1.196
Then persistence is successfully enabled 0.443
After features/support/hooks.rb:326 0.952
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:58.125
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.769
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.135
When I try to enable persistence 0.286
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 38.441
When I repair the filesystem of the Persistent Storage 1.308
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.108
When I log in to a new session 38.699
And all notifications have disappeared 8.781
# 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.810
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.747
When I close the "whisperback" window 1.598
Then the Tor Browser starts 16.597
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.840
After features/support/hooks.rb:326 1.591
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:22.591
Before features/support/hooks.rb:269 0.019
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.884
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.487
And Tails detects disk read failures on the boot device 1.561
When I try to enable persistence 0.563
Then the Welcome Screen tells me that my hardware is probably failing 6.213
When I log in to a new session 21.964
And all notifications have disappeared 8.253
Then the Tor Browser starts 26.829
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.833
After features/support/hooks.rb:326 1.482
After features/support/hooks.rb:100 0.000