Project Number Date
test_Tails_ISO_devel 3635 07 Jan 2025, 03:58

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 151 1 5 0 0 157 20 1 21 43:20.317 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:26.284
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:43.091
And I update APT using apt 15.053
And I install "python3-behave" using apt 25.911
Then the Tails Persistent Storage behave tests pass 2.227
After features/support/hooks.rb:326 1.393
After features/support/hooks.rb:100 0.000
Tags: @product
54.344
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 14.317
When I log in to a new session without activating the Persistent Storage 28.943
Then Tails is running from USB drive "__internal" 0.574
And persistence is disabled 0.303
But a Tails persistence partition exists on USB drive "__internal" 10.206
After features/support/hooks.rb:326 0.784
After features/support/hooks.rb:100 0.000
Tags: @product
3:34.618
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive without a persistent partition and logged in 23.595
Then Tails is running from USB drive "__internal" 0.949
When I create a file in the Persistent directory 0.263
And I create a persistent partition with the default settings 27.343
Then the file I created was copied to the Persistent Storage 0.719
When I shutdown Tails and wait for the computer to power off 13.363
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:26.090
Then persistence for "Persistent" is active 2.215
And the file I created in the Persistent directory exists 0.075
After features/support/hooks.rb:326 0.941
After features/support/hooks.rb:100 0.008
Tags: @product
1:5.151
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 11.264
And the system is very low on memory 6.063
When I create a file in the Persistent directory 1.616
When I try to create a persistent partition 27.331
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.158
When I close the Persistent Storage app 2.693
And I free up some memory 1.615
And I create a persistent partition with the default settings 14.156
Then the file I created was copied to the Persistent Storage 0.251
After features/support/hooks.rb:326 1.966
After features/support/hooks.rb:100 0.000
Tags: @product
2:53.547
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.096
Then Tails is running from USB drive "__internal" 0.573
And all tps features are active 2.345
And all persistent directories have safe access rights 2.485
When I disable the first tps feature 7.439
Then all tps features but the first one are active 2.072
And I shutdown Tails and wait for the computer to power off 9.017
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.835
Then all tps features but the first one are active 2.680
After features/support/hooks.rb:326 1.106
After features/support/hooks.rb:100 0.008
Tags: @product
21.891
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.844
Then persistence for "Persistent" is active 0.219
And I create a file in the Persistent directory 0.168
Then the file I created was copied to the Persistent Storage 0.767
When I disable the first tps feature 5.780
Then persistence for "Persistent" is not active 0.111
And the Persistent directory does not exist 0.076
When I enable the first tps feature 4.783
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 0.667
After features/support/hooks.rb:100 0.000
Tags: @product
20.563
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.288
Then persistence for "Persistent" is active 0.159
When I create a file in the Persistent directory 0.153
And I disable the first tps feature 6.490
And I delete the data of the Persistent Folder feature 4.407
Then the file I created does not exist on the Persistent Storage 0.062
After features/support/hooks.rb:326 0.812
After features/support/hooks.rb:100 0.000
Tags: @product
1:10.452
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 9.935
And the network is plugged 0.097
And Tor is ready 23.665
And I take note of which tps features are available 0.607
When I write some files expected to persist 1.683
And I shutdown Tails and wait for the computer to power off 8.932
# 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.530
After features/support/hooks.rb:326 0.209
After features/support/hooks.rb:100 0.000
Tags: @product
3:17.485
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.572
And the network is plugged 0.217
And Tor is ready 20.222
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.286
And I shutdown Tails and wait for the computer to power off 8.324
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.328
And I capture all network traffic 0.006
And the network is plugged 0.079
And Tor is ready 21.834
And I switch to the "persistent-con-current" NetworkManager connection 0.348
And the 1st network device has a spoofed MAC address configured 0.129
And no network device leaked the real MAC address 0.135
After features/support/hooks.rb:326 0.706
After features/support/hooks.rb:100 0.042
Tags: @product
1:10.662
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 14.254
And I enable persistence creation in Tails Greeter 1.788
And I log in to a new session expecting no warning about the Persistent Storage not being activated 29.937
Then I create a persistent partition with the default settings using the wizard that was already open 24.681
After features/support/hooks.rb:326 1.875
After features/support/hooks.rb:100 0.000
Tags: @product
4:44.775
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.090
When I enable persistence 42.119
Then no persistent Greeter options were restored 14.611
When I set all Greeter options to non-default values 29.353
And I log in to a new session in German (de) after having activated the Persistent Storage 47.814
Then all Greeter options are set to non-default values 0.590
When I cold reboot the computer 7.809
And the computer reboots Tails 1:7.162
Given I enable persistence 18.338
Then persistent Greeter options were restored 1.967
When I log in to a new session after having activated the Persistent Storage 39.477
Then all Greeter options are set to non-default values 0.438
After features/support/hooks.rb:326 1.322
After features/support/hooks.rb:100 0.007
Tags: @product
4:7.788
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 9.789
# 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.312
And I shutdown Tails and wait for the computer to power off 12.605
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:35.487
And I change the passphrase of the Persistent Storage back to the original 29.593
After features/support/hooks.rb:326 2.070
After features/support/hooks.rb:100 0.010
Tags: @product
1:15.253
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.957
And I log in to a new session without activating the Persistent Storage 25.951
Then persistence is disabled 0.427
But a Tails persistence partition exists on USB drive "__internal" 12.413
And all notifications have disappeared 13.244
When I delete the persistent partition 8.860
Then there is no persistence partition on USB drive "__internal" 0.397
After features/support/hooks.rb:326 1.369
After features/support/hooks.rb:100 0.000
Tags: @product
2:42.463
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 10.407
When I write some dotfile expected to persist 0.137
And I shutdown Tails and wait for the computer to power off 15.103
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.446
Then the expected persistent dotfile is present in the filesystem 0.368
After features/support/hooks.rb:326 1.063
After features/support/hooks.rb:100 0.009
Tags: @product
1:12.040
Scenario Feature activation fails
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 11.413
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.162
When I try to enable persistence 0.462
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 1:0.001
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:1721:in `/^the Welcome Screen tells me that the Persistent Folder feature couldn't be activated$/'
features/persistence.feature:146:in `Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated'
When I log in to a new session after having activated the Persistent Storage 0.000
And all notifications have disappeared 0.000
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 0.000
And all tps features are enabled 0.000
And all tps features but the first one are active 0.000
After features/support/hooks.rb:326 6.438

SCENARIO FAILED: 'Feature activation fails' (at time 03:45:16)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3635/artifact/build-artifacts/03:45:16_Feature_activation_fails.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3635/artifact/build-artifacts/03:45:16_Feature_activation_fails.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3635/artifact/build-artifacts/03:45:16_Feature_activation_fails.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3635/artifact/build-artifacts/03:45:16_Feature_activation_fails.journal

After features/support/hooks.rb:100 0.000
Tags: @product
6:59.886
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:29.513
And I enable persistence 36.373
And I log in to a new session after having activated the Persistent Storage 47.489
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.582
And persistence is enabled 2.927
After features/support/hooks.rb:326 1.009
After features/support/hooks.rb:100 0.000
Tags: @product
29.402
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 9.534
And I enable persistence but something goes wrong during the LUKS header upgrade 19.046
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.820
After features/support/hooks.rb:326 0.796
After features/support/hooks.rb:100 0.000
Tags: @product
53.933
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.609
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.521
When I enable persistence 34.762
Then the filesystem of the Persistent Storage was repaired 0.098
And persistence is successfully enabled 2.941
After features/support/hooks.rb:326 1.068
After features/support/hooks.rb:100 0.000
Tags: @product
28.779
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.051
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.100
When I try to enable persistence 0.441
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.605
When I repair the filesystem of the Persistent Storage 1.218
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.285
And the filesystem of the Persistent Storage was repaired 0.077
When I close the filesystem repair dialog 1.283
Then persistence is successfully enabled 1.715
After features/support/hooks.rb:326 0.813
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:51.081
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.163
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.204
When I try to enable persistence 0.660
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 31.763
When I repair the filesystem of the Persistent Storage 1.290
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.088
When I log in to a new session 41.772
And all notifications have disappeared 9.749
# 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.817
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.469
When I close the "whisperback" window 1.663
Then the Tor Browser starts 12.197
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.240
After features/support/hooks.rb:326 1.758
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:19.912
Before features/support/hooks.rb:269 0.060
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 10.508
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.081
And Tails detects disk read failures on the boot device 0.519
When I try to enable persistence 0.395
Then the Welcome Screen tells me that my hardware is probably failing 6.646
When I log in to a new session 21.099
And all notifications have disappeared 8.177
Then the Tor Browser starts 22.938
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 2.543
After features/support/hooks.rb:326 1.746
After features/support/hooks.rb:100 0.000