Project Number Date
test_Tails_ISO_stable 5233 30 Oct 2024, 12:49

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 44:44.638 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:35.697
Before features/support/hooks.rb:269 0.006
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:52.291
And I update APT using apt 13.989
And I install "python3-behave" using apt 25.886
Then the Tails Persistent Storage behave tests pass 3.530
After features/support/hooks.rb:326 2.628
After features/support/hooks.rb:100 0.000
Tags: @product
1:31.471
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 54.856
When I log in to a new session without activating the Persistent Storage 25.945
Then Tails is running from USB drive "__internal" 0.878
And persistence is disabled 0.538
But a Tails persistence partition exists on USB drive "__internal" 9.251
After features/support/hooks.rb:326 1.386
After features/support/hooks.rb:100 0.000
Tags: @product
4:39.877
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive without a persistent partition and logged in 56.290
Then Tails is running from USB drive "__internal" 0.601
When I create a file in the Persistent directory 0.147
And I create a persistent partition with the default settings 29.067
Then the file I created was copied to the Persistent Storage 0.760
When I shutdown Tails and wait for the computer to power off 13.562
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:57.839
Then persistence for "Persistent" is active 1.522
And the file I created in the Persistent directory exists 0.085
After features/support/hooks.rb:326 1.446
After features/support/hooks.rb:100 0.008
Tags: @product
1:9.373
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.604
And the system is very low on memory 3.628
When I create a file in the Persistent directory 1.140
When I try to create a persistent partition 30.289
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.343
When I close the Persistent Storage app 2.624
And I free up some memory 1.657
And I create a persistent partition with the default settings 16.735
Then the file I created was copied to the Persistent Storage 0.349
After features/support/hooks.rb:326 1.991
After features/support/hooks.rb:100 0.000
Tags: @product
2:34.302
Scenario Booting Tails from a USB drive with an enabled persistent partition and reconfiguring it
Before features/support/hooks.rb:269 0.006
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 15.513
Then Tails is running from USB drive "__internal" 0.722
And all tps features are active 3.085
And all persistent directories have safe access rights 3.601
When I disable the first tps feature 8.293
Then all tps features but the first one are active 3.171
And I shutdown Tails and wait for the computer to power off 12.128
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:47.786
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/usb.rb:721:in `greeter_language'
./features/step_definitions/usb.rb:689:in `/^persistence is successfully enabled$/'
./features/step_definitions/usb.rb:702:in `/^I enable persistence( with the changed passphrase)?$/'
./features/step_definitions/common_steps.rb:291:in `/^I start Tails from (.+?) drive "(.+?)"( with network unplugged)?( and I login( with persistence enabled)?( with the changed persistence passphrase)?( (?:and|with) an administration password)?)?$/'
features/persistence.feature:49:in `And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled'
Then all tps features but the first one are active 0.000
After features/support/hooks.rb:326 5.454

SCENARIO FAILED: 'Booting Tails from a USB drive with an enabled persistent partition and reconfiguring it' (at time 03:22:23)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5233/artifact/build-artifacts/03:22:23_Booting_Tails_from_a_USB_drive_with_an_enabled_persistent_partition_and_reconfiguring_it.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5233/artifact/build-artifacts/03:22:23_Booting_Tails_from_a_USB_drive_with_an_enabled_persistent_partition_and_reconfiguring_it.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5233/artifact/build-artifacts/03:22:23_Booting_Tails_from_a_USB_drive_with_an_enabled_persistent_partition_and_reconfiguring_it.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5233/artifact/build-artifacts/03:22:23_Booting_Tails_from_a_USB_drive_with_an_enabled_persistent_partition_and_reconfiguring_it.journal

After features/support/hooks.rb:100 0.007
Tags: @product
23.636
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.375
Then persistence for "Persistent" is active 0.365
And I create a file in the Persistent directory 0.100
Then the file I created was copied to the Persistent Storage 0.096
When I disable the first tps feature 7.187
Then persistence for "Persistent" is not active 0.106
And the Persistent directory does not exist 0.077
When I enable the first tps feature 4.105
Then persistence for "Persistent" is active 0.127
And the file I created in the Persistent directory exists 0.093
After features/support/hooks.rb:326 0.859
After features/support/hooks.rb:100 0.000
Tags: @product
23.187
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.451
Then persistence for "Persistent" is active 0.165
When I create a file in the Persistent directory 0.115
And I disable the first tps feature 7.395
And I delete the data of the Persistent Folder feature 4.981
Then the file I created does not exist on the Persistent Storage 0.078
After features/support/hooks.rb:326 0.964
After features/support/hooks.rb:100 0.000
Tags: @product
1:13.256
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 10.908
And the network is plugged 0.103
And Tor is ready 24.070
And I take note of which tps features are available 0.843
When I write some files expected to persist 1.545
And I shutdown Tails and wait for the computer to power off 11.095
# 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.687
After features/support/hooks.rb:326 0.147
After features/support/hooks.rb:100 0.000
Tags: @product
3:18.718
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 10.320
And the network is plugged 0.107
And Tor is ready 24.545
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.204
And I shutdown Tails and wait for the computer to power off 10.929
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.025
And I capture all network traffic 0.008
And the network is plugged 0.148
And Tor is ready 20.761
And I switch to the "persistent-con-current" NetworkManager connection 0.400
And the 1st network device has a spoofed MAC address configured 0.124
And no network device leaked the real MAC address 0.141
After features/support/hooks.rb:326 0.686
After features/support/hooks.rb:100 0.060
Tags: @product
1:54.237
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 1:5.178
And I enable persistence creation in Tails Greeter 1.146
And I log in to a new session expecting no warning about the Persistent Storage not being activated 24.901
Then I create a persistent partition with the default settings using the wizard that was already open 23.012
After features/support/hooks.rb:326 1.636
After features/support/hooks.rb:100 0.000
Tags: @product
5:47.616
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 37.878
When I enable persistence 55.579
Then no persistent Greeter options were restored 14.306
When I set all Greeter options to non-default values 26.744
And I log in to a new session in German (de) after having activated the Persistent Storage 49.457
Then all Greeter options are set to non-default values 0.562
When I cold reboot the computer 10.063
And the computer reboots Tails 59.297
Given I enable persistence 38.165
Then persistent Greeter options were restored 14.857
When I log in to a new session after having activated the Persistent Storage 40.175
Then all Greeter options are set to non-default values 0.525
After features/support/hooks.rb:326 1.120
After features/support/hooks.rb:100 0.008
Tags: @product
3:53.460
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 10.427
# 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 39.616
And I shutdown Tails and wait for the computer to power off 12.518
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:18.795
And I change the passphrase of the Persistent Storage back to the original 32.103
After features/support/hooks.rb:326 1.791
After features/support/hooks.rb:100 0.006
Tags: @product
56.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 11.041
And I log in to a new session without activating the Persistent Storage 22.713
Then persistence is disabled 0.277
But a Tails persistence partition exists on USB drive "__internal" 6.188
And all notifications have disappeared 9.108
When I delete the persistent partition 6.827
Then there is no persistence partition on USB drive "__internal" 0.481
After features/support/hooks.rb:326 0.904
After features/support/hooks.rb:100 0.000
Tags: @product
2:30.004
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 10.852
When I write some dotfile expected to persist 0.065
And I shutdown Tails and wait for the computer to power off 8.796
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.795
Then the expected persistent dotfile is present in the filesystem 0.495
After features/support/hooks.rb:326 1.187
After features/support/hooks.rb:100 0.010
Tags: @product
1:41.900
Before features/support/hooks.rb:269 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 9.310
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.112
When I try to enable persistence 0.713
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 29.193
When I log in to a new session after having activated the Persistent Storage 44.751
And all notifications have disappeared 9.134
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.207
And all tps features are enabled 2.466
And all tps features but the first one are active 2.010
After features/support/hooks.rb:326 1.076
After features/support/hooks.rb:100 0.000
Tags: @product
5:27.263
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 4:12.092
And I enable persistence 29.256
And I log in to a new session after having activated the Persistent Storage 42.741
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.879
And persistence is enabled 0.293
After features/support/hooks.rb:326 1.566
After features/support/hooks.rb:100 0.000
Tags: @product
28.410
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 8.680
And I enable persistence but something goes wrong during the LUKS header upgrade 18.996
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.733
After features/support/hooks.rb:326 0.768
After features/support/hooks.rb:100 0.000
Tags: @product
48.992
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 9.113
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.428
When I enable persistence 30.184
Then the filesystem of the Persistent Storage was repaired 0.087
And persistence is successfully enabled 4.179
After features/support/hooks.rb:326 0.772
After features/support/hooks.rb:100 0.000
Tags: @product
24.803
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 9.217
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.936
When I try to enable persistence 0.403
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.048
When I repair the filesystem of the Persistent Storage 1.236
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.237
And the filesystem of the Persistent Storage was repaired 0.065
When I close the filesystem repair dialog 1.277
Then persistence is successfully enabled 0.380
After features/support/hooks.rb:326 0.914
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:50.513
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.945
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.089
When I try to enable persistence 0.431
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.167
When I repair the filesystem of the Persistent Storage 1.267
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.085
When I log in to a new session 44.703
And all notifications have disappeared 11.199
# 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.569
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.526
When I close the "whisperback" window 1.340
Then the Tor Browser starts 11.385
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.800
After features/support/hooks.rb:326 2.240
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:11.276
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 9.007
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.075
And Tails detects disk read failures on the boot device 1.657
When I try to enable persistence 0.532
Then the Welcome Screen tells me that my hardware is probably failing 5.591
When I log in to a new session 19.401
And all notifications have disappeared 8.294
Then the Tor Browser starts 19.793
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.921
After features/support/hooks.rb:326 1.603
After features/support/hooks.rb:100 0.000