Project Number Date
test_Tails_ISO_devel 3650 16 Jan 2025, 06:47

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 41:32.660 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
6:17.726
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:17.726
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.019

SCENARIO FAILED: 'Tails Persistent Storage behave tests' (at time 04:12:39)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3650/artifact/build-artifacts/04:12:39_Tails_Persistent_Storage_behave_tests.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3650/artifact/build-artifacts/04:12:39_Tails_Persistent_Storage_behave_tests.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3650/artifact/build-artifacts/04:12:39_Tails_Persistent_Storage_behave_tests.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3650/artifact/build-artifacts/04:12:39_Tails_Persistent_Storage_behave_tests.journal

After features/support/hooks.rb:100 0.000
Tags: @product
46.148
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.212
When I log in to a new session without activating the Persistent Storage 25.485
Then Tails is running from USB drive "__internal" 0.468
And persistence is disabled 0.494
But a Tails persistence partition exists on USB drive "__internal" 6.486
After features/support/hooks.rb:326 1.091
After features/support/hooks.rb:100 0.000
Tags: @product
3:7.830
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 12.572
Then Tails is running from USB drive "__internal" 0.701
When I create a file in the Persistent directory 0.219
And I create a persistent partition with the default settings 24.450
Then the file I created was copied to the Persistent Storage 0.551
When I shutdown Tails and wait for the computer to power off 12.952
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.936
Then persistence for "Persistent" is active 0.373
And the file I created in the Persistent directory exists 0.072
After features/support/hooks.rb:326 0.905
After features/support/hooks.rb:100 0.007
Tags: @product
12.292
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.469
And the system is very low on memory 0.822
Command failed: zramswap stop
error code: 1
stdout: 
stderr: <13>Jan 16 00:52:53 root: Stopping Zram
/usr/sbin/zramswap: line 67: 11433 Killed                  modprobe -r zram
<13>Jan 16 00:52:53 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.312

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

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

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3650/artifact/build-artifacts/04:16:53_Creating_a_Persistent_Storage_when_system_is_low_on_memory.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3650/artifact/build-artifacts/04:16:53_Creating_a_Persistent_Storage_when_system_is_low_on_memory.journal

After features/support/hooks.rb:100 0.000
Tags: @product
2:58.966
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 13.655
Then Tails is running from USB drive "__internal" 1.579
And all tps features are active 2.404
And all persistent directories have safe access rights 2.813
When I disable the first tps feature 7.347
Then all tps features but the first one are active 2.230
And I shutdown Tails and wait for the computer to power off 15.954
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.546
Then all tps features but the first one are active 2.433
After features/support/hooks.rb:326 0.976
After features/support/hooks.rb:100 0.007
Tags: @product
23.474
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.071
Then persistence for "Persistent" is active 0.182
And I create a file in the Persistent directory 0.932
Then the file I created was copied to the Persistent Storage 0.077
When I disable the first tps feature 6.865
Then persistence for "Persistent" is not active 0.136
And the Persistent directory does not exist 0.067
When I enable the first tps feature 3.959
Then persistence for "Persistent" is active 0.087
And the file I created in the Persistent directory exists 0.093
After features/support/hooks.rb:326 0.861
After features/support/hooks.rb:100 0.000
Tags: @product
22.898
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.709
Then persistence for "Persistent" is active 0.241
When I create a file in the Persistent directory 0.136
And I disable the first tps feature 6.146
And I delete the data of the Persistent Folder feature 5.598
Then the file I created does not exist on the Persistent Storage 0.066
After features/support/hooks.rb:326 0.920
After features/support/hooks.rb:100 0.000
Tags: @product
1:8.693
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 10.246
And the network is plugged 0.150
And Tor is ready 21.792
And I take note of which tps features are available 0.687
When I write some files expected to persist 2.459
And I shutdown Tails and wait for the computer to power off 8.848
# 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.508
After features/support/hooks.rb:326 0.112
After features/support/hooks.rb:100 0.000
Tags: @product
3:7.392
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.052
And the network is plugged 0.120
And Tor is ready 20.375
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.252
And I shutdown Tails and wait for the computer to power off 8.347
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.137
And I capture all network traffic 0.003
And the network is plugged 0.079
And Tor is ready 21.291
And I switch to the "persistent-con-current" NetworkManager connection 0.438
And the 1st network device has a spoofed MAC address configured 0.176
And no network device leaked the real MAC address 0.117
After features/support/hooks.rb:326 0.805
After features/support/hooks.rb:100 0.044
Tags: @product
55.133
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 11.907
And I enable persistence creation in Tails Greeter 1.238
And I log in to a new session expecting no warning about the Persistent Storage not being activated 20.379
Then I create a persistent partition with the default settings using the wizard that was already open 21.606
After features/support/hooks.rb:326 1.460
After features/support/hooks.rb:100 0.000
Tags: @product
4:35.286
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.087
When I enable persistence 36.503
Then no persistent Greeter options were restored 14.977
When I set all Greeter options to non-default values 25.349
And I log in to a new session in German (de) after having activated the Persistent Storage 52.412
Then all Greeter options are set to non-default values 0.515
When I cold reboot the computer 7.637
And the computer reboots Tails 1:1.783
Given I enable persistence 20.009
Then persistent Greeter options were restored 0.583
When I log in to a new session after having activated the Persistent Storage 42.837
Then all Greeter options are set to non-default values 0.589
After features/support/hooks.rb:326 1.222
After features/support/hooks.rb:100 0.017
Tags: @product
3:38.270
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.620
# 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.115
And I shutdown Tails and wait for the computer to power off 12.743
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:6.707
And I change the passphrase of the Persistent Storage back to the original 33.083
After features/support/hooks.rb:326 2.321
After features/support/hooks.rb:100 0.007
Tags: @product
1:2.341
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 9.262
And I log in to a new session without activating the Persistent Storage 21.305
Then persistence is disabled 0.272
But a Tails persistence partition exists on USB drive "__internal" 10.770
And all notifications have disappeared 13.765
When I delete the persistent partition 6.487
Then there is no persistence partition on USB drive "__internal" 0.476
After features/support/hooks.rb:326 1.136
After features/support/hooks.rb:100 0.000
Tags: @product
2:24.927
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.410
When I write some dotfile expected to persist 0.183
And I shutdown Tails and wait for the computer to power off 9.040
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:4.923
Then the expected persistent dotfile is present in the filesystem 0.368
After features/support/hooks.rb:326 1.006
After features/support/hooks.rb:100 0.006
Tags: @product
1:37.489
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.461
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.066
When I try to enable persistence 1.386
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 27.698
When I log in to a new session after having activated the Persistent Storage 44.743
And all notifications have disappeared 7.012
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.042
And all tps features are enabled 2.217
And all tps features but the first one are active 1.860
After features/support/hooks.rb:326 1.211
After features/support/hooks.rb:100 0.000
Tags: @product
4:17.039
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 2:54.441
And I enable persistence 31.461
And I log in to a new session after having activated the Persistent Storage 46.746
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.058
And persistence is enabled 2.332
After features/support/hooks.rb:326 0.891
After features/support/hooks.rb:100 0.000
Tags: @product
26.011
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.375
And I enable persistence but something goes wrong during the LUKS header upgrade 16.834
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.801
After features/support/hooks.rb:326 0.811
After features/support/hooks.rb:100 0.000
Tags: @product
44.279
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 I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.439
When I enable persistence 27.142
Then the filesystem of the Persistent Storage was repaired 0.079
And persistence is successfully enabled 2.625
After features/support/hooks.rb:326 1.083
After features/support/hooks.rb:100 0.000
Tags: @product
25.010
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.613
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.753
When I try to enable persistence 0.426
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 5.994
When I repair the filesystem of the Persistent Storage 1.275
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.205
And the filesystem of the Persistent Storage was repaired 0.082
When I close the filesystem repair dialog 1.246
Then persistence is successfully enabled 1.412
After features/support/hooks.rb:326 1.285
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:45.975
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.639
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.142
When I try to enable persistence 0.305
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.869
When I repair the filesystem of the Persistent Storage 5.052
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.079
When I log in to a new session 31.011
And all notifications have disappeared 7.465
# 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" 2.069
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.777
When I close the "whisperback" window 1.763
Then the Tor Browser starts 18.984
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.814
After features/support/hooks.rb:326 1.457
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:15.472
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.335
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.610
And Tails detects disk read failures on the boot device 1.641
When I try to enable persistence 0.407
Then the Welcome Screen tells me that my hardware is probably failing 5.538
When I log in to a new session 19.224
And all notifications have disappeared 6.512
Then the Tor Browser starts 24.787
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 3.414
After features/support/hooks.rb:326 2.253
After features/support/hooks.rb:100 0.000