Project Number Date
test_Tails_ISO_devel 3649 16 Jan 2025, 00: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 45:21.657 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
6:22.271
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:22.271
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.916

SCENARIO FAILED: 'Tails Persistent Storage behave tests' (at time 04:23:21)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3649/artifact/build-artifacts/04:23:21_Tails_Persistent_Storage_behave_tests.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3649/artifact/build-artifacts/04:23:21_Tails_Persistent_Storage_behave_tests.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3649/artifact/build-artifacts/04:23:21_Tails_Persistent_Storage_behave_tests.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3649/artifact/build-artifacts/04:23:21_Tails_Persistent_Storage_behave_tests.journal

After features/support/hooks.rb:100 0.000
Tags: @product
48.780
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 12.849
When I log in to a new session without activating the Persistent Storage 26.865
Then Tails is running from USB drive "__internal" 0.548
And persistence is disabled 0.633
But a Tails persistence partition exists on USB drive "__internal" 7.883
After features/support/hooks.rb:326 0.973
After features/support/hooks.rb:100 0.000
Tags: @product
3:41.982
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 15.195
Then Tails is running from USB drive "__internal" 0.832
When I create a file in the Persistent directory 0.354
And I create a persistent partition with the default settings 27.827
Then the file I created was copied to the Persistent Storage 0.568
When I shutdown Tails and wait for the computer to power off 18.771
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:37.739
Then persistence for "Persistent" is active 0.624
And the file I created in the Persistent directory exists 0.068
After features/support/hooks.rb:326 1.058
After features/support/hooks.rb:100 0.008
Tags: @product
16.527
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 15.234
And the system is very low on memory 1.293
Command failed: zramswap stop
error code: 1
stdout: 
stderr: <13>Jan 15 18:36:50 root: Stopping Zram
/usr/sbin/zramswap: line 67: 11785 Killed                  modprobe -r zram
<13>Jan 15 18:36:51 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.947

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

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

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3649/artifact/build-artifacts/04:28:15_Creating_a_Persistent_Storage_when_system_is_low_on_memory.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3649/artifact/build-artifacts/04:28:15_Creating_a_Persistent_Storage_when_system_is_low_on_memory.journal

After features/support/hooks.rb:100 0.000
Tags: @product
3:8.346
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.734
Then Tails is running from USB drive "__internal" 1.037
And all tps features are active 2.774
And all persistent directories have safe access rights 3.005
When I disable the first tps feature 7.634
Then all tps features but the first one are active 2.361
And I shutdown Tails and wait for the computer to power off 15.544
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:20.828
Then all tps features but the first one are active 2.424
After features/support/hooks.rb:326 0.602
After features/support/hooks.rb:100 0.013
Tags: @product
20.185
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.290
Then persistence for "Persistent" is active 0.167
And I create a file in the Persistent directory 0.098
Then the file I created was copied to the Persistent Storage 0.087
When I disable the first tps feature 5.851
Then persistence for "Persistent" is not active 0.140
And the Persistent directory does not exist 0.054
When I enable the first tps feature 3.325
Then persistence for "Persistent" is active 0.097
And the file I created in the Persistent directory exists 0.071
After features/support/hooks.rb:326 0.771
After features/support/hooks.rb:100 0.000
Tags: @product
20.090
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.258
Then persistence for "Persistent" is active 0.166
When I create a file in the Persistent directory 0.099
And I disable the first tps feature 5.801
And I delete the data of the Persistent Folder feature 3.694
Then the file I created does not exist on the Persistent Storage 0.069
After features/support/hooks.rb:326 1.006
After features/support/hooks.rb:100 0.000
Tags: @product
1:5.155
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.249
And the network is plugged 0.103
And Tor is ready 19.490
And I take note of which tps features are available 0.697
When I write some files expected to persist 1.874
And I shutdown Tails and wait for the computer to power off 8.818
# 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.922
After features/support/hooks.rb:326 0.132
After features/support/hooks.rb:100 0.000
Tags: @product
3:14.889
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.667
And the network is plugged 0.077
And Tor is ready 21.172
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.221
And I shutdown Tails and wait for the computer to power off 10.709
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.690
And I capture all network traffic 0.004
And the network is plugged 0.070
And Tor is ready 20.486
And I switch to the "persistent-con-current" NetworkManager connection 0.408
And the 1st network device has a spoofed MAC address configured 0.207
And no network device leaked the real MAC address 0.173
After features/support/hooks.rb:326 0.809
After features/support/hooks.rb:100 0.042
Tags: @product
1:4.421
Before features/support/hooks.rb:269 0.002
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 15.096
And I enable persistence creation in Tails Greeter 1.484
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.344
Then I create a persistent partition with the default settings using the wizard that was already open 26.497
After features/support/hooks.rb:326 1.769
After features/support/hooks.rb:100 0.000
Tags: @product
4:32.750
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 12.225
When I enable persistence 39.316
Then no persistent Greeter options were restored 14.991
When I set all Greeter options to non-default values 24.781
And I log in to a new session in German (de) after having activated the Persistent Storage 49.600
Then all Greeter options are set to non-default values 0.898
When I cold reboot the computer 7.899
And the computer reboots Tails 1:3.186
Given I enable persistence 18.604
Then persistent Greeter options were restored 0.566
When I log in to a new session after having activated the Persistent Storage 40.318
Then all Greeter options are set to non-default values 0.361
After features/support/hooks.rb:326 0.876
After features/support/hooks.rb:100 0.008
Tags: @product
4:14.758
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.883
# 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.256
And I shutdown Tails and wait for the computer to power off 13.528
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:32.031
And I change the passphrase of the Persistent Storage back to the original 39.058
After features/support/hooks.rb:326 1.863
After features/support/hooks.rb:100 0.020
Tags: @product
57.858
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 10.028
And I log in to a new session without activating the Persistent Storage 21.316
Then persistence is disabled 0.441
But a Tails persistence partition exists on USB drive "__internal" 10.169
And all notifications have disappeared 9.316
When I delete the persistent partition 6.145
Then there is no persistence partition on USB drive "__internal" 0.439
After features/support/hooks.rb:326 0.792
After features/support/hooks.rb:100 0.000
Tags: @product
2:37.779
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.089
And I shutdown Tails and wait for the computer to power off 11.218
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.209
Then the expected persistent dotfile is present in the filesystem 0.480
After features/support/hooks.rb:326 0.914
After features/support/hooks.rb:100 0.007
Tags: @product
1:53.184
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.386
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.079
When I try to enable persistence 0.325
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 33.972
When I log in to a new session after having activated the Persistent Storage 49.478
And all notifications have disappeared 10.496
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.625
And all tps features are enabled 2.535
And all tps features but the first one are active 2.285
After features/support/hooks.rb:326 0.902
After features/support/hooks.rb:100 0.000
Tags: @product
5:24.837
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:54.880
And I enable persistence 39.564
And I log in to a new session after having activated the Persistent Storage 41.920
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.579
And persistence is enabled 4.891
After features/support/hooks.rb:326 1.171
After features/support/hooks.rb:100 0.000
Tags: @product
38.646
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.986
And I enable persistence but something goes wrong during the LUKS header upgrade 28.489
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 1.170
After features/support/hooks.rb:326 0.968
After features/support/hooks.rb:100 0.000
Tags: @product
1:1.160
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 11.785
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 8.097
When I enable persistence 38.554
Then the filesystem of the Persistent Storage was repaired 0.107
And persistence is successfully enabled 2.616
After features/support/hooks.rb:326 1.072
After features/support/hooks.rb:100 0.000
Tags: @product
26.083
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.031
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.464
When I try to enable persistence 0.443
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 5.983
When I repair the filesystem of the Persistent Storage 1.235
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.177
And the filesystem of the Persistent Storage was repaired 0.084
When I close the filesystem repair dialog 1.236
Then persistence is successfully enabled 1.426
After features/support/hooks.rb:326 1.149
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:51.134
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 8.849
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.097
When I try to enable persistence 0.266
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 31.459
When I repair the filesystem of the Persistent Storage 1.257
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.092
When I log in to a new session 37.252
And all notifications have disappeared 7.923
# 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.784
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.576
When I close the "whisperback" window 1.786
Then the Tor Browser starts 19.901
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.883
After features/support/hooks.rb:326 1.728
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:20.813
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 10.089
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 10.397
And Tails detects disk read failures on the boot device 0.624
When I try to enable persistence 0.913
Then the Welcome Screen tells me that my hardware is probably failing 7.674
When I log in to a new session 21.673
And all notifications have disappeared 9.633
Then the Tor Browser starts 19.067
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.740
After features/support/hooks.rb:326 1.531
After features/support/hooks.rb:100 0.000