Project Number Date
test_Tails_ISO_devel 3646 13 Jan 2025, 17:38

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 145 2 10 0 0 157 19 2 21 42:47.256 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
6:30.138
Scenario Tails Persistent Storage behave tests
Before features/support/hooks.rb:269 0.004
Steps
Given I have started Tails from DVD and logged in with an administration password and the network is connected 6:30.138
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/common_steps.rb:708:in `/^available upgrades have been checked$/'
./features/step_definitions/snapshots.rb:153:in `block in reach_checkpoint'
./features/step_definitions/snapshots.rb:150:in `each'
./features/step_definitions/snapshots.rb:150:in `reach_checkpoint'
./features/step_definitions/snapshots.rb:173:in `/^I\ have\ started\ Tails\ from\ DVD\ and\ logged\ in\ with\ an\ administration\ password\ and\ the\ network\ is\ connected$/'
features/persistence.feature:7:in `Given I have started Tails from DVD and logged in with an administration password and the network is connected'
And I update APT using apt 0.000
And I install "python3-behave" using apt 0.000
Then the Tails Persistent Storage behave tests pass 0.000
After features/support/hooks.rb:326 4.956

SCENARIO FAILED: 'Tails Persistent Storage behave tests' (at time 04:06:38)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3646/artifact/build-artifacts/04:06:38_Tails_Persistent_Storage_behave_tests.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3646/artifact/build-artifacts/04:06:38_Tails_Persistent_Storage_behave_tests.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3646/artifact/build-artifacts/04:06:38_Tails_Persistent_Storage_behave_tests.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3646/artifact/build-artifacts/04:06:38_Tails_Persistent_Storage_behave_tests.journal

After features/support/hooks.rb:100 0.000
Tags: @product
40.693
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 10.893
When I log in to a new session without activating the Persistent Storage 22.663
Then Tails is running from USB drive "__internal" 0.419
And persistence is disabled 0.313
But a Tails persistence partition exists on USB drive "__internal" 6.402
After features/support/hooks.rb:326 1.183
After features/support/hooks.rb:100 0.000
Tags: @product
3:0.936
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive without a persistent partition and logged in 12.442
Then Tails is running from USB drive "__internal" 0.398
When I create a file in the Persistent directory 0.147
And I create a persistent partition with the default settings 24.502
Then the file I created was copied to the Persistent Storage 0.592
When I shutdown Tails and wait for the computer to power off 13.013
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.772
Then persistence for "Persistent" is active 0.982
And the file I created in the Persistent directory exists 0.082
After features/support/hooks.rb:326 0.641
After features/support/hooks.rb:100 0.008
Tags: @product
11.259
Scenario Creating a Persistent Storage when system is low on memory
Before features/support/hooks.rb:269 0.002
Steps
Given I have started Tails without network from a USB drive without a persistent partition and logged in 10.787
And the system is very low on memory 0.472
Command failed: zramswap stop
error code: 1
stdout: 
stderr: <13>Jan 13 11:37:04 root: Stopping Zram
/usr/sbin/zramswap: line 67: 12370 Killed                  modprobe -r zram
<13>Jan 13 11:37:04 root: Error: removing zram module from kernel
.
<false> is not true. (ExecutionFailedInVM)
./features/support/helpers/vm_helper.rb:483:in `rescue in execute_successfully'
./features/support/helpers/vm_helper.rb:480:in `execute_successfully'
./features/step_definitions/usb.rb:376:in `/^the system is( very)? low on memory$/'
features/persistence.feature:32:in `And the system is very low on memory'
When I create a file in the Persistent directory 0.000
When I try to create a persistent partition 0.000
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.000
When I close the Persistent Storage app 0.000
And I free up some memory 0.000
And I create a persistent partition with the default settings 0.000
Then the file I created was copied to the Persistent Storage 0.000
After features/support/hooks.rb:326 5.132

SCENARIO FAILED: 'Creating a Persistent Storage when system is low on memory' (at time 04:10:37)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3646/artifact/build-artifacts/04:10:37_Creating_a_Persistent_Storage_when_system_is_low_on_memory.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3646/artifact/build-artifacts/04:10:37_Creating_a_Persistent_Storage_when_system_is_low_on_memory.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3646/artifact/build-artifacts/04:10:37_Creating_a_Persistent_Storage_when_system_is_low_on_memory.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3646/artifact/build-artifacts/04:10:37_Creating_a_Persistent_Storage_when_system_is_low_on_memory.journal

After features/support/hooks.rb:100 0.000
Tags: @product
3:1.618
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 30.346
Then Tails is running from USB drive "__internal" 0.604
And all tps features are active 2.728
And all persistent directories have safe access rights 2.623
When I disable the first tps feature 5.730
Then all tps features but the first one are active 2.158
And I shutdown Tails and wait for the computer to power off 10.806
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:4.319
Then all tps features but the first one are active 2.301
After features/support/hooks.rb:326 0.672
After features/support/hooks.rb:100 0.010
Tags: @product
19.911
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.385
Then persistence for "Persistent" is active 0.112
And I create a file in the Persistent directory 0.339
Then the file I created was copied to the Persistent Storage 0.115
When I disable the first tps feature 5.400
Then persistence for "Persistent" is not active 0.092
And the Persistent directory does not exist 0.069
When I enable the first tps feature 3.229
Then persistence for "Persistent" is active 0.086
And the file I created in the Persistent directory exists 0.080
After features/support/hooks.rb:326 0.868
After features/support/hooks.rb:100 0.000
Tags: @product
19.190
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.622
Then persistence for "Persistent" is active 0.107
When I create a file in the Persistent directory 0.123
And I disable the first tps feature 5.440
And I delete the data of the Persistent Folder feature 3.835
Then the file I created does not exist on the Persistent Storage 0.061
After features/support/hooks.rb:326 0.862
After features/support/hooks.rb:100 0.000
Tags: @product
1:6.623
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.363
And the network is plugged 0.084
And Tor is ready 21.437
And I take note of which tps features are available 0.644
When I write some files expected to persist 1.892
And I shutdown Tails and wait for the computer to power off 8.830
# 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.370
After features/support/hooks.rb:326 0.263
After features/support/hooks.rb:100 0.000
Tags: @product
3:4.798
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.856
And the network is plugged 0.097
And Tor is ready 18.735
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.283
And I shutdown Tails and wait for the computer to power off 10.643
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.359
And I capture all network traffic 0.004
And the network is plugged 0.071
And Tor is ready 18.995
And I switch to the "persistent-con-current" NetworkManager connection 0.348
And the 1st network device has a spoofed MAC address configured 0.260
And no network device leaked the real MAC address 0.142
After features/support/hooks.rb:326 0.733
After features/support/hooks.rb:100 0.044
Tags: @product
58.228
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 12.334
And I enable persistence creation in Tails Greeter 1.106
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.255
Then I create a persistent partition with the default settings using the wizard that was already open 22.532
After features/support/hooks.rb:326 2.070
After features/support/hooks.rb:100 0.000
Tags: @product
5:3.187
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 25.728
When I enable persistence 45.788
Then no persistent Greeter options were restored 14.430
When I set all Greeter options to non-default values 25.840
And I log in to a new session in German (de) after having activated the Persistent Storage 55.663
Then all Greeter options are set to non-default values 0.710
When I cold reboot the computer 8.208
And the computer reboots Tails 1:4.191
Given I enable persistence 20.695
Then persistent Greeter options were restored 0.464
When I log in to a new session after having activated the Persistent Storage 40.748
Then all Greeter options are set to non-default values 0.717
After features/support/hooks.rb:326 1.230
After features/support/hooks.rb:100 0.006
Tags: @product
3:34.784
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.746
# 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 35.840
And I shutdown Tails and wait for the computer to power off 12.559
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:5.565
And I change the passphrase of the Persistent Storage back to the original 30.072
After features/support/hooks.rb:326 2.051
After features/support/hooks.rb:100 0.007
Tags: @product
57.904
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 13.285
And I log in to a new session without activating the Persistent Storage 20.246
Then persistence is disabled 0.283
But a Tails persistence partition exists on USB drive "__internal" 6.914
And all notifications have disappeared 9.693
When I delete the persistent partition 7.065
Then there is no persistence partition on USB drive "__internal" 0.415
After features/support/hooks.rb:326 0.809
After features/support/hooks.rb:100 0.000
Tags: @product
2:26.199
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.782
When I write some dotfile expected to persist 0.135
And I shutdown Tails and wait for the computer to power off 8.623
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.275
Then the expected persistent dotfile is present in the filesystem 0.382
After features/support/hooks.rb:326 1.137
After features/support/hooks.rb:100 0.008
Tags: @product
1:35.617
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.901
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.109
When I try to enable persistence 0.294
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 32.727
When I log in to a new session after having activated the Persistent Storage 37.148
And all notifications have disappeared 7.533
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.949
And all tps features are enabled 2.371
And all tps features but the first one are active 2.582
After features/support/hooks.rb:326 1.120
After features/support/hooks.rb:100 0.000
Tags: @product
5:7.136
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 3:46.161
And I enable persistence 32.329
And I log in to a new session after having activated the Persistent Storage 43.408
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.134
And persistence is enabled 3.103
After features/support/hooks.rb:326 1.375
After features/support/hooks.rb:100 0.000
Tags: @product
27.973
Before features/support/hooks.rb:269 0.003
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 8.468
And I enable persistence but something goes wrong during the LUKS header upgrade 18.703
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.802
After features/support/hooks.rb:326 0.751
After features/support/hooks.rb:100 0.000
Tags: @product
48.805
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.109
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 8.813
When I enable persistence 27.896
Then the filesystem of the Persistent Storage was repaired 0.097
And persistence is successfully enabled 2.888
After features/support/hooks.rb:326 2.042
After features/support/hooks.rb:100 0.000
Tags: @product
31.644
Before features/support/hooks.rb:269 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 9.034
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 9.614
When I try to enable persistence 0.673
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 7.869
When I repair the filesystem of the Persistent Storage 1.283
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.203
And the filesystem of the Persistent Storage was repaired 0.332
When I close the filesystem repair dialog 1.249
Then persistence is successfully enabled 1.382
After features/support/hooks.rb:326 0.921
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:49.064
Before features/support/hooks.rb:269 0.021
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.419
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.133
When I try to enable persistence 0.417
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 30.783
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 3.896
When I log in to a new session 31.407
And all notifications have disappeared 9.299
# 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.726
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.754
When I close the "whisperback" window 1.451
Then the Tor Browser starts 19.565
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.905
After features/support/hooks.rb:326 3.056
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:11.539
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.540
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.973
And Tails detects disk read failures on the boot device 0.532
When I try to enable persistence 0.397
Then the Welcome Screen tells me that my hardware is probably failing 7.015
When I log in to a new session 22.267
And all notifications have disappeared 6.463
Then the Tor Browser starts 19.649
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.699
After features/support/hooks.rb:326 3.008
After features/support/hooks.rb:100 0.000