Project Number Date
test_Tails_ISO_feature-arti 17 02 Dec 2024, 16:26

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 153 1 3 0 0 157 20 1 21 42:38.477 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:20.235
Before features/support/hooks.rb:269 0.005
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:37.465
And I update APT using apt 14.530
And I install "python3-behave" using apt 25.824
Then the Tails Persistent Storage behave tests pass 2.415
After features/support/hooks.rb:326 1.695
After features/support/hooks.rb:100 0.000
Tags: @product
18.989
Scenario Booting Tails from a USB drive with a disabled persistent partition
Before features/support/hooks.rb:269 0.006
Steps
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 14.038
When I log in to a new session without activating the Persistent Storage 4.951
<false> is not true. (Test::Unit::AssertionFailedError)
./features/step_definitions/common_steps.rb:523:in `/^I log in to a new session(?: in ([^ ]*) \(([^ ]*)\))?( without activating the Persistent Storage)?( after having activated the Persistent Storage| expecting no warning about the Persistent Storage not being activated)?$/'
features/persistence.feature:14:in `When I log in to a new session without activating the Persistent Storage'
Then Tails is running from USB drive "__internal" 0.000
And persistence is disabled 0.000
But a Tails persistence partition exists on USB drive "__internal" 0.000
After features/support/hooks.rb:326 5.272

SCENARIO FAILED: 'Booting Tails from a USB drive with a disabled persistent partition' (at time 03:53:05)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/17/artifact/build-artifacts/03:53:05_Booting_Tails_from_a_USB_drive_with_a_disabled_persistent_partition.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/17/artifact/build-artifacts/03:53:05_Booting_Tails_from_a_USB_drive_with_a_disabled_persistent_partition.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/17/artifact/build-artifacts/03:53:05_Booting_Tails_from_a_USB_drive_with_a_disabled_persistent_partition.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/17/artifact/build-artifacts/03:53:05_Booting_Tails_from_a_USB_drive_with_a_disabled_persistent_partition.journal

After features/support/hooks.rb:100 0.000
Tags: @product
4:10.134
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 33.314
Then Tails is running from USB drive "__internal" 1.394
When I create a file in the Persistent directory 0.156
And I create a persistent partition with the default settings 26.125
Then the file I created was copied to the Persistent Storage 0.552
When I shutdown Tails and wait for the computer to power off 13.130
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:54.998
Then persistence for "Persistent" is active 0.376
And the file I created in the Persistent directory exists 0.085
After features/support/hooks.rb:326 0.717
After features/support/hooks.rb:100 0.011
Tags: @product
1:6.469
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive without a persistent partition and logged in 10.070
And the system is very low on memory 6.083
When I create a file in the Persistent directory 1.918
When I try to create a persistent partition 27.040
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.610
When I close the Persistent Storage app 2.816
And I free up some memory 1.611
And I create a persistent partition with the default settings 16.027
Then the file I created was copied to the Persistent Storage 0.289
After features/support/hooks.rb:326 2.128
After features/support/hooks.rb:100 0.000
Tags: @product
3:11.153
Before features/support/hooks.rb:269 0.009
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 18.113
Then Tails is running from USB drive "__internal" 0.748
And all tps features are active 2.927
And all persistent directories have safe access rights 2.814
When I disable the first tps feature 6.168
Then all tps features but the first one are active 2.409
And I shutdown Tails and wait for the computer to power off 11.451
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:24.145
Then all tps features but the first one are active 2.372
After features/support/hooks.rb:326 0.657
After features/support/hooks.rb:100 0.009
Tags: @product
22.125
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.601
Then persistence for "Persistent" is active 1.024
And I create a file in the Persistent directory 0.079
Then the file I created was copied to the Persistent Storage 0.084
When I disable the first tps feature 6.357
Then persistence for "Persistent" is not active 0.073
And the Persistent directory does not exist 0.049
When I enable the first tps feature 3.693
Then persistence for "Persistent" is active 0.088
And the file I created in the Persistent directory exists 0.073
After features/support/hooks.rb:326 1.020
After features/support/hooks.rb:100 0.000
Tags: @product
21.730
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.274
Then persistence for "Persistent" is active 0.545
When I create a file in the Persistent directory 0.112
And I disable the first tps feature 6.983
And I delete the data of the Persistent Folder feature 3.742
Then the file I created does not exist on the Persistent Storage 0.073
After features/support/hooks.rb:326 1.565
After features/support/hooks.rb:100 0.000
Tags: @product
1:10.908
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.534
And the network is plugged 0.119
And Tor is ready 20.287
And I take note of which tps features are available 0.697
When I write some files expected to persist 1.729
And I shutdown Tails and wait for the computer to power off 11.531
# 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" 26.008
After features/support/hooks.rb:326 0.122
After features/support/hooks.rb:100 0.000
Tags: @product
3:10.002
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.431
And the network is plugged 0.096
And Tor is ready 17.647
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.217
And I shutdown Tails and wait for the computer to power off 8.550
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.193
And I capture all network traffic 0.008
And the network is plugged 0.084
And Tor is ready 20.081
And I switch to the "persistent-con-current" NetworkManager connection 0.396
And the 1st network device has a spoofed MAC address configured 0.092
And no network device leaked the real MAC address 0.201
After features/support/hooks.rb:326 0.780
After features/support/hooks.rb:100 0.050
Tags: @product
1:3.367
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 17.427
And I enable persistence creation in Tails Greeter 1.128
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.540
Then I create a persistent partition with the default settings using the wizard that was already open 22.270
After features/support/hooks.rb:326 1.303
After features/support/hooks.rb:100 0.000
Tags: @product
4:41.283
Before features/support/hooks.rb:269 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 12.295
When I enable persistence 37.701
Then no persistent Greeter options were restored 14.539
When I set all Greeter options to non-default values 27.112
And I log in to a new session in German (de) after having activated the Persistent Storage 51.081
Then all Greeter options are set to non-default values 0.395
When I cold reboot the computer 7.504
And the computer reboots Tails 1:12.143
Given I enable persistence 19.153
Then persistent Greeter options were restored 0.648
When I log in to a new session after having activated the Persistent Storage 38.081
Then all Greeter options are set to non-default values 0.626
After features/support/hooks.rb:326 2.838
After features/support/hooks.rb:100 0.016
Tags: @product
4:8.556
Before features/support/hooks.rb:269 0.011
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.200
# 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.308
And I shutdown Tails and wait for the computer to power off 12.906
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:28.631
And I change the passphrase of the Persistent Storage back to the original 40.510
After features/support/hooks.rb:326 2.290
After features/support/hooks.rb:100 0.013
Tags: @product
58.986
Before features/support/hooks.rb:269 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 11.316
And I log in to a new session without activating the Persistent Storage 23.399
Then persistence is disabled 0.443
But a Tails persistence partition exists on USB drive "__internal" 6.432
And all notifications have disappeared 8.567
When I delete the persistent partition 8.447
Then there is no persistence partition on USB drive "__internal" 0.379
After features/support/hooks.rb:326 0.804
After features/support/hooks.rb:100 0.000
Tags: @product
2:33.511
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 11.430
When I write some dotfile expected to persist 0.085
And I shutdown Tails and wait for the computer to power off 10.713
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.723
Then the expected persistent dotfile is present in the filesystem 0.558
After features/support/hooks.rb:326 1.008
After features/support/hooks.rb:100 0.012
Tags: @product
1:55.498
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.939
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.131
When I try to enable persistence 0.975
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 36.263
When I log in to a new session after having activated the Persistent Storage 50.484
And all notifications have disappeared 8.132
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.806
And all tps features are enabled 2.538
And all tps features but the first one are active 2.226
After features/support/hooks.rb:326 1.415
After features/support/hooks.rb:100 0.000
Tags: @product
5:46.393
Before features/support/hooks.rb:269 0.008
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:14.866
And I enable persistence 37.453
And I log in to a new session after having activated the Persistent Storage 45.851
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 5.251
And persistence is enabled 2.970
After features/support/hooks.rb:326 0.837
After features/support/hooks.rb:100 0.000
Tags: @product
30.796
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 9.620
And I enable persistence but something goes wrong during the LUKS header upgrade 20.390
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.785
After features/support/hooks.rb:326 0.823
After features/support/hooks.rb:100 0.000
Tags: @product
52.289
Before features/support/hooks.rb:269 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.152
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.529
When I enable persistence 33.717
Then the filesystem of the Persistent Storage was repaired 0.100
And persistence is successfully enabled 2.789
After features/support/hooks.rb:326 1.033
After features/support/hooks.rb:100 0.000
Tags: @product
28.435
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 9.022
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.311
When I try to enable persistence 0.397
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 8.087
When I repair the filesystem of the Persistent Storage 1.209
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.314
And the filesystem of the Persistent Storage was repaired 0.404
When I close the filesystem repair dialog 1.184
Then persistence is successfully enabled 1.503
After features/support/hooks.rb:326 0.737
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:2.536
Before features/support/hooks.rb:269 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 8.935
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.201
When I try to enable persistence 0.422
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 33.790
When I repair the filesystem of the Persistent Storage 1.243
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.122
When I log in to a new session 44.705
And all notifications have disappeared 11.839
# 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.537
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.682
When I close the "whisperback" window 1.731
Then the Tor Browser starts 17.560
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.763
After features/support/hooks.rb:326 2.235
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:25.070
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.160
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 13.079
And Tails detects disk read failures on the boot device 1.709
When I try to enable persistence 0.411
Then the Welcome Screen tells me that my hardware is probably failing 5.683
When I log in to a new session 23.517
And all notifications have disappeared 8.877
Then the Tor Browser starts 21.857
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.772
After features/support/hooks.rb:326 1.451
After features/support/hooks.rb:100 0.000