Project Number Date
test_Tails_ISO_devel 3648 15 Jan 2025, 17:54

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 45:24.165 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
6:29.417
Scenario Tails Persistent Storage behave tests
Before features/support/hooks.rb:269 0.002
Steps
Given I have started Tails from DVD and logged in with an administration password and the network is connected 6:29.417
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 5.198

SCENARIO FAILED: 'Tails Persistent Storage behave tests' (at time 04:20:08)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3648/artifact/build-artifacts/04:20:08_Tails_Persistent_Storage_behave_tests.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3648/artifact/build-artifacts/04:20:08_Tails_Persistent_Storage_behave_tests.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3648/artifact/build-artifacts/04:20:08_Tails_Persistent_Storage_behave_tests.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3648/artifact/build-artifacts/04:20:08_Tails_Persistent_Storage_behave_tests.journal

After features/support/hooks.rb:100 0.000
Tags: @product
47.704
Before features/support/hooks.rb:269 0.002
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 11.336
When I log in to a new session without activating the Persistent Storage 24.821
Then Tails is running from USB drive "__internal" 0.635
And persistence is disabled 0.332
But a Tails persistence partition exists on USB drive "__internal" 10.579
After features/support/hooks.rb:326 1.596
After features/support/hooks.rb:100 0.000
Tags: @product
3:31.054
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive without a persistent partition and logged in 13.537
Then Tails is running from USB drive "__internal" 0.593
When I create a file in the Persistent directory 0.449
And I create a persistent partition with the default settings 28.210
Then the file I created was copied to the Persistent Storage 0.584
When I shutdown Tails and wait for the computer to power off 13.113
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:33.576
Then persistence for "Persistent" is active 0.903
And the file I created in the Persistent directory exists 0.085
After features/support/hooks.rb:326 0.874
After features/support/hooks.rb:100 0.006
Tags: @product
13.643
Scenario Creating a Persistent Storage when system is low on memory
Before features/support/hooks.rb:269 0.003
Steps
Given I have started Tails without network from a USB drive without a persistent partition and logged in 12.912
And the system is very low on memory 0.731
Command failed: zramswap stop
error code: 1
stdout: 
stderr: <13>Jan 15 11:52:02 root: Stopping Zram
/usr/sbin/zramswap: line 67: 12048 Killed                  modprobe -r zram
<13>Jan 15 11:52:02 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.714

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

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3648/artifact/build-artifacts/04:24:48_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/3648/artifact/build-artifacts/04:24:48_Creating_a_Persistent_Storage_when_system_is_low_on_memory.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3648/artifact/build-artifacts/04:24:48_Creating_a_Persistent_Storage_when_system_is_low_on_memory.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3648/artifact/build-artifacts/04:24:48_Creating_a_Persistent_Storage_when_system_is_low_on_memory.journal

After features/support/hooks.rb:100 0.000
Tags: @product
3:11.559
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 17.536
Then Tails is running from USB drive "__internal" 0.557
And all tps features are active 2.872
And all persistent directories have safe access rights 3.040
When I disable the first tps feature 8.207
Then all tps features but the first one are active 2.536
And I shutdown Tails and wait for the computer to power off 19.775
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.571
Then all tps features but the first one are active 2.462
After features/support/hooks.rb:326 0.948
After features/support/hooks.rb:100 0.006
Tags: @product
22.292
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.479
Then persistence for "Persistent" is active 0.096
And I create a file in the Persistent directory 0.091
Then the file I created was copied to the Persistent Storage 0.098
When I disable the first tps feature 6.840
Then persistence for "Persistent" is not active 0.156
And the Persistent directory does not exist 0.056
When I enable the first tps feature 3.308
Then persistence for "Persistent" is active 0.083
And the file I created in the Persistent directory exists 0.081
After features/support/hooks.rb:326 0.724
After features/support/hooks.rb:100 0.000
Tags: @product
37.124
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 26.096
Then persistence for "Persistent" is active 0.097
When I create a file in the Persistent directory 0.075
And I disable the first tps feature 7.039
And I delete the data of the Persistent Folder feature 3.746
Then the file I created does not exist on the Persistent Storage 0.069
After features/support/hooks.rb:326 0.911
After features/support/hooks.rb:100 0.000
Tags: @product
1:12.091
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.952
And the network is plugged 0.097
And Tor is ready 23.303
And I take note of which tps features are available 0.825
When I write some files expected to persist 2.888
And I shutdown Tails and wait for the computer to power off 9.192
# 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.831
After features/support/hooks.rb:326 0.122
After features/support/hooks.rb:100 0.000
Tags: @product
3:45.017
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 27.406
And the network is plugged 0.098
And Tor is ready 21.461
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.316
And I shutdown Tails and wait for the computer to power off 8.749
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:27.036
And I capture all network traffic 0.003
And the network is plugged 0.086
And Tor is ready 18.976
And I switch to the "persistent-con-current" NetworkManager connection 0.426
And the 1st network device has a spoofed MAC address configured 0.278
And no network device leaked the real MAC address 0.177
After features/support/hooks.rb:326 1.514
After features/support/hooks.rb:100 0.046
Tags: @product
1:4.470
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.864
And I enable persistence creation in Tails Greeter 1.127
And I log in to a new session expecting no warning about the Persistent Storage not being activated 25.893
Then I create a persistent partition with the default settings using the wizard that was already open 24.586
After features/support/hooks.rb:326 1.570
After features/support/hooks.rb:100 0.000
Tags: @product
4:56.643
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 22.668
When I enable persistence 37.376
Then no persistent Greeter options were restored 14.301
When I set all Greeter options to non-default values 31.596
And I log in to a new session in German (de) after having activated the Persistent Storage 56.250
Then all Greeter options are set to non-default values 0.644
When I cold reboot the computer 9.255
And the computer reboots Tails 1:3.430
Given I enable persistence 18.975
Then persistent Greeter options were restored 0.573
When I log in to a new session after having activated the Persistent Storage 41.119
Then all Greeter options are set to non-default values 0.450
After features/support/hooks.rb:326 0.835
After features/support/hooks.rb:100 0.006
Tags: @product
3:43.099
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.901
# 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.396
And I shutdown Tails and wait for the computer to power off 10.674
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:11.946
And I change the passphrase of the Persistent Storage back to the original 29.181
After features/support/hooks.rb:326 1.626
After features/support/hooks.rb:100 0.006
Tags: @product
55.103
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.630
And I log in to a new session without activating the Persistent Storage 21.001
Then persistence is disabled 0.379
But a Tails persistence partition exists on USB drive "__internal" 6.599
And all notifications have disappeared 9.826
When I delete the persistent partition 7.246
Then there is no persistence partition on USB drive "__internal" 0.418
After features/support/hooks.rb:326 0.820
After features/support/hooks.rb:100 0.000
Tags: @product
2:44.301
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 12.159
When I write some dotfile expected to persist 0.072
And I shutdown Tails and wait for the computer to power off 10.863
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:20.827
Then the expected persistent dotfile is present in the filesystem 0.379
After features/support/hooks.rb:326 0.978
After features/support/hooks.rb:100 0.007
Tags: @product
1:45.194
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.157
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.407
When I try to enable persistence 0.472
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 35.487
When I log in to a new session after having activated the Persistent Storage 40.846
And all notifications have disappeared 9.359
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.408
And all tps features are enabled 2.806
And all tps features but the first one are active 2.247
After features/support/hooks.rb:326 1.214
After features/support/hooks.rb:100 0.000
Tags: @product
5:13.752
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 3:41.949
And I enable persistence 39.378
And I log in to a new session after having activated the Persistent Storage 47.239
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.841
And persistence is enabled 3.343
After features/support/hooks.rb:326 1.257
After features/support/hooks.rb:100 0.000
Tags: @product
29.954
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 9.840
And I enable persistence but something goes wrong during the LUKS header upgrade 19.329
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.784
After features/support/hooks.rb:326 0.928
After features/support/hooks.rb:100 0.000
Tags: @product
49.566
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.216
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 8.796
When I enable persistence 28.619
Then the filesystem of the Persistent Storage was repaired 0.086
And persistence is successfully enabled 2.846
After features/support/hooks.rb:326 0.794
After features/support/hooks.rb:100 0.000
Tags: @product
26.494
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.570
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.735
When I try to enable persistence 0.424
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.402
When I repair the filesystem of the Persistent Storage 1.308
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.290
And the filesystem of the Persistent Storage was repaired 0.088
When I close the filesystem repair dialog 1.273
Then persistence is successfully enabled 1.399
After features/support/hooks.rb:326 0.785
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:50.824
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.991
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.105
When I try to enable persistence 0.296
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.543
When I repair the filesystem of the Persistent Storage 1.212
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.083
When I log in to a new session 42.126
And all notifications have disappeared 9.338
# 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.854
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.739
When I close the "whisperback" window 1.475
Then the Tor Browser starts 15.008
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.047
After features/support/hooks.rb:326 2.340
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:14.853
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.610
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.621
And Tails detects disk read failures on the boot device 0.651
When I try to enable persistence 0.446
Then the Welcome Screen tells me that my hardware is probably failing 5.888
When I log in to a new session 22.080
And all notifications have disappeared 7.867
Then the Tor Browser starts 20.934
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.752
After features/support/hooks.rb:326 1.611
After features/support/hooks.rb:100 0.000