Project Number Date
test_Tails_ISO_stable 5607 29 Apr 2025, 12:48

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 155 1 1 0 0 157 20 1 21 47:52.529 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
3:0.703
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails from DVD and logged in with an administration password and the network is connected 2:15.040
And I update APT using apt 16.368
And I install "python3-behave" using apt 26.329
Then the Tails Persistent Storage behave tests pass 2.965
After features/support/hooks.rb:330 0.890
After features/support/hooks.rb:100 0.000
Tags: @product
50.425
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 13.089
When I log in to a new session without activating the Persistent Storage 26.993
Then Tails is running from USB drive "__internal" 0.732
And persistence is disabled 0.553
But a Tails persistence partition exists on USB drive "__internal" 9.056
After features/support/hooks.rb:330 1.690
After features/support/hooks.rb:100 0.000
Tags: @product
3:24.023
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails without network from a USB drive without a persistent partition and logged in 13.840
Then Tails is running from USB drive "__internal" 0.456
When I create a file in the Persistent directory 0.154
And I create a persistent partition with the default settings 23.179
Then the file I created was copied to the Persistent Storage 2.400
When I shutdown Tails and wait for the computer to power off 13.522
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:29.933
Then persistence for "Persistent" is active 0.457
And the file I created in the Persistent directory exists 0.079
After features/support/hooks.rb:330 1.704
After features/support/hooks.rb:100 0.008
Tags: @product
1:13.712
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive without a persistent partition and logged in 12.101
And the system is very low on memory 5.720
When I create a file in the Persistent directory 0.905
When I try to create a persistent partition 32.910
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.368
When I close the Persistent Storage app 2.810
And I free up some memory 3.293
And I create a persistent partition with the default settings 15.300
Then the file I created was copied to the Persistent Storage 0.302
After features/support/hooks.rb:330 2.010
After features/support/hooks.rb:100 0.000
Tags: @product
3:22.250
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 15.657
Then Tails is running from USB drive "__internal" 1.457
And all tps features are active 2.925
And all persistent directories have safe access rights 3.240
When I disable the first tps feature 9.420
Then all tps features but the first one are active 2.448
And I shutdown Tails and wait for the computer to power off 13.901
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:27.997
Then all tps features but the first one are active 5.200
After features/support/hooks.rb:330 0.826
After features/support/hooks.rb:100 0.013
Tags: @product
23.314
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 12.033
Then persistence for "Persistent" is active 0.120
And I create a file in the Persistent directory 0.143
Then the file I created was copied to the Persistent Storage 0.167
When I disable the first tps feature 6.861
Then persistence for "Persistent" is not active 0.100
And the Persistent directory does not exist 0.094
When I enable the first tps feature 3.607
Then persistence for "Persistent" is active 0.112
And the file I created in the Persistent directory exists 0.072
After features/support/hooks.rb:330 1.603
After features/support/hooks.rb:100 0.000
Tags: @product
23.715
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.016
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.759
Then persistence for "Persistent" is active 0.608
When I create a file in the Persistent directory 0.269
And I disable the first tps feature 6.783
And I delete the data of the Persistent Folder feature 4.240
Then the file I created does not exist on the Persistent Storage 0.053
After features/support/hooks.rb:330 1.578
After features/support/hooks.rb:100 0.000
Tags: @product
1:39.715
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.818
And the network is plugged 0.084
And Tor is ready 48.841
And I take note of which tps features are available 0.648
When I write some files expected to persist 1.796
And I shutdown Tails and wait for the computer to power off 12.900
# 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" 25.625
After features/support/hooks.rb:330 0.203
After features/support/hooks.rb:100 0.000
Tags: @product
3:30.507
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.221
And the network is plugged 0.110
And Tor is ready 23.012
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.225
And I shutdown Tails and wait for the computer to power off 9.162
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:25.290
And I capture all network traffic 0.015
And the network is plugged 0.085
And Tor is ready 21.781
And I switch to the "persistent-con-current" NetworkManager connection 0.368
And the 1st network device has a spoofed MAC address configured 0.087
And no network device leaked the real MAC address 0.145
After features/support/hooks.rb:330 0.615
After features/support/hooks.rb:100 0.046
Tags: @product
1:28.322
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 34.590
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 23.084
Then I create a persistent partition with the default settings using the wizard that was already open 29.439
After features/support/hooks.rb:330 3.062
After features/support/hooks.rb:100 0.000
Tags: @product
4:57.549
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 11.981
When I enable persistence 54.562
Then no persistent Greeter options were restored 14.381
When I set all Greeter options to non-default values 32.580
And I log in to a new session in German (de) after having activated the Persistent Storage 48.547
Then all Greeter options are set to non-default values 0.502
When I cold reboot the computer 7.760
And the computer reboots Tails 1:7.861
Given I enable persistence 17.098
Then persistent Greeter options were restored 0.725
When I log in to a new session after having activated the Persistent Storage 41.163
Then all Greeter options are set to non-default values 0.383
After features/support/hooks.rb:330 1.559
After features/support/hooks.rb:100 0.013
Tags: @product
3:53.237
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.011
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.072
# 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 34.988
And I shutdown Tails and wait for the computer to power off 16.650
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:19.390
And I change the passphrase of the Persistent Storage back to the original 31.135
After features/support/hooks.rb:330 2.716
After features/support/hooks.rb:100 0.012
Tags: @product
1:12.534
Scenario Deleting a Tails persistent partition
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Steps
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 11.206
And I log in to a new session without activating the Persistent Storage 24.236
Then persistence is disabled 0.517
But a Tails persistence partition exists on USB drive "__internal" 10.775
And all notifications have disappeared 9.173
When I delete the persistent partition 16.625
The
The Dogtail init script raised: SearchError: descendent of [frame | Persistent Storage]: child with name="The Persistent Storage was successfully deleted." roleName='label'
STDOUT:

STDERR:

 (Dogtail::Failure)
./features/support/helpers/dogtail.rb:93:in `run'
./features/support/helpers/dogtail.rb:339:in `initialize'
./features/support/helpers/dogtail.rb:268:in `new'
./features/support/helpers/dogtail.rb:268:in `call_tree_api_method'
./features/support/helpers/dogtail.rb:276:in `child'
./features/step_definitions/usb.rb:1175:in `/^I delete the persistent partition$/'
features/persistence.feature:132:in `When I delete the persistent partition'
Then there is no persistence partition on USB drive "__internal" 0.000
After features/support/hooks.rb:330 6.554

SCENARIO FAILED: 'Deleting a Tails persistent partition' (at time 03:47:29)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5607/artifact/build-artifacts/03:47:29_Deleting_a_Tails_persistent_partition.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5607/artifact/build-artifacts/03:47:29_Deleting_a_Tails_persistent_partition.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5607/artifact/build-artifacts/03:47:29_Deleting_a_Tails_persistent_partition.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5607/artifact/build-artifacts/03:47:29_Deleting_a_Tails_persistent_partition.journal

After features/support/hooks.rb:100 0.000
Tags: @product
2:48.103
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.489
When I write some dotfile expected to persist 0.090
And I shutdown Tails and wait for the computer to power off 12.158
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:24.928
Then the expected persistent dotfile is present in the filesystem 0.436
After features/support/hooks.rb:330 1.718
After features/support/hooks.rb:100 0.008
Tags: @product
1:46.353
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.769
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.133
When I try to enable persistence 0.292
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 37.110
When I log in to a new session after having activated the Persistent Storage 41.631
And all notifications have disappeared 7.353
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.976
And all tps features are enabled 2.752
And all tps features but the first one are active 2.333
After features/support/hooks.rb:330 3.433
After features/support/hooks.rb:100 0.000
Tags: @product
7:9.415
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
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:42.713
And I enable persistence 34.371
And I log in to a new session after having activated the Persistent Storage 46.675
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.650
And persistence is enabled 3.005
After features/support/hooks.rb:330 2.155
After features/support/hooks.rb:100 0.000
Tags: @product
36.979
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 13.017
And I enable persistence but something goes wrong during the LUKS header upgrade 22.881
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 1.079
After features/support/hooks.rb:330 0.797
After features/support/hooks.rb:100 0.000
Tags: @product
54.081
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.019
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 10.179
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.987
When I enable persistence 34.764
Then the filesystem of the Persistent Storage was repaired 0.102
And persistence is successfully enabled 3.047
After features/support/hooks.rb:330 1.866
After features/support/hooks.rb:100 0.000
Tags: @product
1:0.835
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 9.046
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.089
When I try to enable persistence 0.460
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 33.611
When I repair the filesystem of the Persistent Storage 2.174
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.733
And the filesystem of the Persistent Storage was repaired 3.734
When I close the filesystem repair dialog 1.286
Then persistence is successfully enabled 1.698
After features/support/hooks.rb:330 1.691
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:3.951
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.147
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.111
When I try to enable persistence 0.460
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 36.305
When I repair the filesystem of the Persistent Storage 1.360
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 3.957
When I log in to a new session 37.735
And all notifications have disappeared 10.320
# 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.637
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.521
When I close the "whisperback" window 1.592
Then the Tor Browser starts 20.962
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.839
After features/support/hooks.rb:330 4.292
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:12.797
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 11.625
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.548
When I try to enable persistence 1.626
Then the Welcome Screen tells me that my hardware is probably failing 23.199
When I log in to a new session 52.961
And all notifications have disappeared 9.752
Then the Tor Browser starts 25.492
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.980
After features/support/hooks.rb:330 4.131
After features/support/hooks.rb:100 0.000