Project Number Date
test_Tails_ISO_devel 3645 12 Jan 2025, 17:35

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

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

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

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

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

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

After features/support/hooks.rb:100 0.000
Tags: @product
41.645
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 10.152
When I log in to a new session without activating the Persistent Storage 23.649
Then Tails is running from USB drive "__internal" 0.450
And persistence is disabled 0.307
But a Tails persistence partition exists on USB drive "__internal" 7.084
After features/support/hooks.rb:326 0.959
After features/support/hooks.rb:100 0.000
Tags: @product
3:2.299
Before features/support/hooks.rb:269 0.002
Given I have started Tails without network from a USB drive without a persistent partition and logged in 13.370
Then Tails is running from USB drive "__internal" 1.578
When I create a file in the Persistent directory 0.276
And I create a persistent partition with the default settings 24.824
Then the file I created was copied to the Persistent Storage 0.546
When I shutdown Tails and wait for the computer to power off 12.574
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.653
Then persistence for "Persistent" is active 0.406
And the file I created in the Persistent directory exists 0.067
After features/support/hooks.rb:326 1.089
After features/support/hooks.rb:100 0.006
Tags: @product
11.787
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 11.255
And the system is very low on memory 0.532
Command failed: zramswap stop
error code: 1
stdout: 
stderr: <13>Jan 12 11:37:24 root: Stopping Zram
/usr/sbin/zramswap: line 67: 11736 Killed                  modprobe -r zram
<13>Jan 12 11:37:24 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.239

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

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

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

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

After features/support/hooks.rb:100 0.000
Tags: @product
2:47.248
Before features/support/hooks.rb:269 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 12.391
Then Tails is running from USB drive "__internal" 0.387
And all tps features are active 2.359
And all persistent directories have safe access rights 2.434
When I disable the first tps feature 6.949
Then all tps features but the first one are active 1.866
And I shutdown Tails and wait for the computer to power off 12.685
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.769
Then all tps features but the first one are active 2.406
After features/support/hooks.rb:326 0.759
After features/support/hooks.rb:100 0.008
Tags: @product
23.022
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 11.534
Then persistence for "Persistent" is active 0.293
And I create a file in the Persistent directory 0.065
Then the file I created was copied to the Persistent Storage 0.084
When I disable the first tps feature 7.478
Then persistence for "Persistent" is not active 0.115
And the Persistent directory does not exist 0.057
When I enable the first tps feature 3.247
Then persistence for "Persistent" is active 0.087
And the file I created in the Persistent directory exists 0.057
After features/support/hooks.rb:326 0.891
After features/support/hooks.rb:100 0.000
Tags: @product
21.821
Before features/support/hooks.rb:269 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.938
Then persistence for "Persistent" is active 0.086
When I create a file in the Persistent directory 0.074
And I disable the first tps feature 6.504
And I delete the data of the Persistent Folder feature 5.154
Then the file I created does not exist on the Persistent Storage 0.061
After features/support/hooks.rb:326 0.877
After features/support/hooks.rb:100 0.000
Tags: @product
1:7.696
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 11.137
And the network is plugged 0.106
And Tor is ready 20.950
And I take note of which tps features are available 0.698
When I write some files expected to persist 1.902
And I shutdown Tails and wait for the computer to power off 8.549
# 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.350
After features/support/hooks.rb:326 0.112
After features/support/hooks.rb:100 0.000
Tags: @product
3:9.301
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.360
And the network is plugged 0.077
And Tor is ready 21.693
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.197
And I shutdown Tails and wait for the computer to power off 8.334
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.577
And I capture all network traffic 0.038
And the network is plugged 0.189
And Tor is ready 21.192
And I switch to the "persistent-con-current" NetworkManager connection 0.417
And the 1st network device has a spoofed MAC address configured 0.105
And no network device leaked the real MAC address 0.117
After features/support/hooks.rb:326 0.730
After features/support/hooks.rb:100 0.056
Tags: @product
55.377
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 11.596
And I enable persistence creation in Tails Greeter 1.207
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.105
Then I create a persistent partition with the default settings using the wizard that was already open 21.467
After features/support/hooks.rb:326 1.405
After features/support/hooks.rb:100 0.000
Tags: @product
4:30.218
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 10.938
When I enable persistence 39.650
Then no persistent Greeter options were restored 14.140
When I set all Greeter options to non-default values 23.958
And I log in to a new session in German (de) after having activated the Persistent Storage 52.112
Then all Greeter options are set to non-default values 0.559
When I cold reboot the computer 7.360
And the computer reboots Tails 1:2.844
Given I enable persistence 17.950
Then persistent Greeter options were restored 0.492
When I log in to a new session after having activated the Persistent Storage 39.844
Then all Greeter options are set to non-default values 0.364
After features/support/hooks.rb:326 1.048
After features/support/hooks.rb:100 0.007
Tags: @product
3:49.173
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 11.166
# 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 36.116
And I shutdown Tails and wait for the computer to power off 12.552
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:4.550
And I change the passphrase of the Persistent Storage back to the original 44.787
After features/support/hooks.rb:326 2.735
After features/support/hooks.rb:100 0.034
Tags: @product
53.899
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 10.279
And I log in to a new session without activating the Persistent Storage 20.421
Then persistence is disabled 0.305
But a Tails persistence partition exists on USB drive "__internal" 5.433
And all notifications have disappeared 9.382
When I delete the persistent partition 7.655
Then there is no persistence partition on USB drive "__internal" 0.421
After features/support/hooks.rb:326 0.742
After features/support/hooks.rb:100 0.000
Tags: @product
2:37.077
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.904
When I write some dotfile expected to persist 0.070
And I shutdown Tails and wait for the computer to power off 8.605
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:17.071
Then the expected persistent dotfile is present in the filesystem 0.424
After features/support/hooks.rb:326 0.844
After features/support/hooks.rb:100 0.006
Tags: @product
1:36.322
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 10.151
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.110
When I try to enable persistence 0.305
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 31.228
When I log in to a new session after having activated the Persistent Storage 37.386
And all notifications have disappeared 7.758
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.201
And all tps features are enabled 3.055
And all tps features but the first one are active 2.124
After features/support/hooks.rb:326 3.435
After features/support/hooks.rb:100 0.000
Tags: @product
6:26.869
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 5:3.577
And I enable persistence 32.245
And I log in to a new session after having activated the Persistent Storage 45.859
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.254
And persistence is enabled 2.932
After features/support/hooks.rb:326 0.826
After features/support/hooks.rb:100 0.000
Tags: @product
30.305
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.338
And I enable persistence but something goes wrong during the LUKS header upgrade 21.245
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.720
After features/support/hooks.rb:326 0.720
After features/support/hooks.rb:100 0.000
Tags: @product
44.804
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.288
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 4.764
When I enable persistence 27.979
Then the filesystem of the Persistent Storage was repaired 0.076
And persistence is successfully enabled 2.695
After features/support/hooks.rb:326 1.016
After features/support/hooks.rb:100 0.000
Tags: @product
25.637
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.915
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.191
When I try to enable persistence 1.443
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 5.613
When I repair the filesystem of the Persistent Storage 1.257
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.182
And the filesystem of the Persistent Storage was repaired 0.073
When I close the filesystem repair dialog 1.245
Then persistence is successfully enabled 1.714
After features/support/hooks.rb:326 0.690
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:55.218
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.314
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.116
When I try to enable persistence 0.325
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 33.875
When I repair the filesystem of the Persistent Storage 1.249
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.074
When I log in to a new session 39.114
And all notifications have disappeared 10.316
# 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.421
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.804
When I close the "whisperback" window 1.587
Then the Tor Browser starts 17.323
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.694
After features/support/hooks.rb:326 2.557
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:15.118
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.021
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.025
And Tails detects disk read failures on the boot device 0.502
When I try to enable persistence 0.435
Then the Welcome Screen tells me that my hardware is probably failing 5.999
When I log in to a new session 19.569
And all notifications have disappeared 7.005
Then the Tor Browser starts 25.688
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.870
After features/support/hooks.rb:326 1.543
After features/support/hooks.rb:100 0.000