Project Number Date
test_Tails_ISO_stable 5194 17 Oct 2024, 19:56

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 154 2 1 0 0 157 19 2 21 43:3.265 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:22.689
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:40.411
And I update APT using apt 13.458
And I install "python3-behave" using apt 25.580
Then the Tails Persistent Storage behave tests pass 3.238
After features/support/hooks.rb:326 0.630
After features/support/hooks.rb:100 0.000
Tags: @product
53.878
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 15.731
When I log in to a new session without activating the Persistent Storage 25.555
Then Tails is running from USB drive "__internal" 0.473
And persistence is disabled 0.380
But a Tails persistence partition exists on USB drive "__internal" 11.737
After features/support/hooks.rb:326 1.029
After features/support/hooks.rb:100 0.000
Tags: @product
3:11.802
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 13.678
Then Tails is running from USB drive "__internal" 0.479
When I create a file in the Persistent directory 0.114
And I create a persistent partition with the default settings 24.181
Then the file I created was copied to the Persistent Storage 0.777
When I shutdown Tails and wait for the computer to power off 15.338
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.718
Then persistence for "Persistent" is active 0.436
And the file I created in the Persistent directory exists 0.076
After features/support/hooks.rb:326 0.911
After features/support/hooks.rb:100 0.007
Tags: @product
1:6.871
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 11.384
And the system is very low on memory 5.152
When I create a file in the Persistent directory 1.355
When I try to create a persistent partition 29.881
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.642
When I close the Persistent Storage app 2.623
And I free up some memory 1.235
And I create a persistent partition with the default settings 14.356
Then the file I created was copied to the Persistent Storage 0.240
After features/support/hooks.rb:326 1.633
After features/support/hooks.rb:100 0.000
Tags: @product
2:49.849
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 11.450
Then Tails is running from USB drive "__internal" 0.803
And all tps features are active 2.301
And all persistent directories have safe access rights 2.613
When I disable the first tps feature 6.578
Then all tps features but the first one are active 5.482
And I shutdown Tails and wait for the computer to power off 10.518
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.661
Then all tps features but the first one are active 2.440
After features/support/hooks.rb:326 0.743
After features/support/hooks.rb:100 0.008
Tags: @product
21.869
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.610
Then persistence for "Persistent" is active 0.163
And I create a file in the Persistent directory 0.107
Then the file I created was copied to the Persistent Storage 0.514
When I disable the first tps feature 6.533
Then persistence for "Persistent" is not active 0.077
And the Persistent directory does not exist 0.049
When I enable the first tps feature 3.667
Then persistence for "Persistent" is active 0.074
And the file I created in the Persistent directory exists 0.072
After features/support/hooks.rb:326 0.925
After features/support/hooks.rb:100 0.000
Tags: @product
22.159
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.160
Then persistence for "Persistent" is active 0.111
When I create a file in the Persistent directory 0.071
And I disable the first tps feature 7.122
And I delete the data of the Persistent Folder feature 4.633
Then the file I created does not exist on the Persistent Storage 0.060
After features/support/hooks.rb:326 1.119
After features/support/hooks.rb:100 0.000
Tags: @product
1:9.298
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.041
And the network is plugged 0.090
And Tor is ready 18.895
And I take note of which tps features are available 0.782
When I write some files expected to persist 1.691
And I shutdown Tails and wait for the computer to power off 13.485
# 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.310
After features/support/hooks.rb:326 0.096
After features/support/hooks.rb:100 0.000
Tags: @product
3:38.538
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 9.879
And the network is plugged 0.087
And Tor is ready 17.487
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.325
And I shutdown Tails and wait for the computer to power off 8.885
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.136
And I capture all network traffic 0.006
And the network is plugged 0.081
And Tor is ready 45.924
And I switch to the "persistent-con-current" NetworkManager connection 0.373
And the 1st network device has a spoofed MAC address configured 0.130
And no network device leaked the real MAC address 0.219
After features/support/hooks.rb:326 0.719
After features/support/hooks.rb:100 0.061
Tags: @product
1:5.754
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 13.872
And I enable persistence creation in Tails Greeter 1.131
And I log in to a new session expecting no warning about the Persistent Storage not being activated 24.496
Then I create a persistent partition with the default settings using the wizard that was already open 26.254
After features/support/hooks.rb:326 1.751
After features/support/hooks.rb:100 0.000
Tags: @product
5:13.196
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 13.700
When I enable persistence 44.524
Then no persistent Greeter options were restored 14.410
When I set all Greeter options to non-default values 26.184
And I log in to a new session in German (de) after having activated the Persistent Storage 51.962
Then all Greeter options are set to non-default values 0.642
When I cold reboot the computer 11.827
And the computer reboots Tails 1:2.655
Given I enable persistence 32.471
Then persistent Greeter options were restored 15.277
When I log in to a new session after having activated the Persistent Storage 39.095
Then all Greeter options are set to non-default values 0.443
After features/support/hooks.rb:326 1.179
After features/support/hooks.rb:100 0.044
Tags: @product
4:14.560
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.454
# 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.679
And I shutdown Tails and wait for the computer to power off 12.897
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:20.635
And I change the passphrase of the Persistent Storage back to the original 48.892
After features/support/hooks.rb:326 2.812
After features/support/hooks.rb:100 0.017
Tags: @product
1:0.597
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 13.216
And I log in to a new session without activating the Persistent Storage 22.655
Then persistence is disabled 0.373
But a Tails persistence partition exists on USB drive "__internal" 7.699
And all notifications have disappeared 8.453
When I delete the persistent partition 7.726
Then there is no persistence partition on USB drive "__internal" 0.471
After features/support/hooks.rb:326 0.980
After features/support/hooks.rb:100 0.000
Tags: @product
2:30.338
Scenario Dotfiles persistence
Before features/support/hooks.rb:269 0.005
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.616
When I write some dotfile expected to persist 0.103
And I shutdown Tails and wait for the computer to power off 8.951
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.376
Then the expected persistent dotfile is present in the filesystem 0.290
Could not find expected persistent dotfile link.
<false> is not true. (Test::Unit::AssertionFailedError)
./features/support/helpers/misc_helpers.rb:21:in `assert_vmcommand_success'
./features/step_definitions/usb.rb:1103:in `/^the expected persistent dotfile is present in the filesystem$/'
features/persistence.feature:140:in `Then the expected persistent dotfile is present in the filesystem'
After features/support/hooks.rb:326 5.178

SCENARIO FAILED: 'Dotfiles persistence' (at time 03:33:02)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5194/artifact/build-artifacts/03:33:02_Dotfiles_persistence.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5194/artifact/build-artifacts/03:33:02_Dotfiles_persistence.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5194/artifact/build-artifacts/03:33:02_Dotfiles_persistence.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5194/artifact/build-artifacts/03:33:02_Dotfiles_persistence.journal

After features/support/hooks.rb:100 0.008
Tags: @product
1:52.686
Scenario Feature activation fails
Before features/support/hooks.rb:269 0.005
Steps
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.204
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.123
When I try to enable persistence 1.381
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 36.042
When I log in to a new session after having activated the Persistent Storage 49.481
And all notifications have disappeared 10.016
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.969
And all tps features are enabled 2.466
Feature 'Dotfiles' is not enabled.
<false> is not true. (Test::Unit::AssertionFailedError)
./features/step_definitions/usb.rb:766:in `block (2 levels) in <top (required)>'
./features/step_definitions/usb.rb:761:in `each'
./features/step_definitions/usb.rb:761:in `/^all tps features(| but the first one) are enabled$/'
features/persistence.feature:150:in `And all tps features are enabled'
And all tps features but the first one are active 0.000
After features/support/hooks.rb:326 5.639

SCENARIO FAILED: 'Feature activation fails' (at time 03:35:00)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5194/artifact/build-artifacts/03:35:00_Feature_activation_fails.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5194/artifact/build-artifacts/03:35:00_Feature_activation_fails.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5194/artifact/build-artifacts/03:35:00_Feature_activation_fails.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5194/artifact/build-artifacts/03:35:00_Feature_activation_fails.journal

After features/support/hooks.rb:100 0.000
Tags: @product
6:22.587
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 4:52.694
And I enable persistence 39.193
And I log in to a new session after having activated the Persistent Storage 46.647
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.507
And persistence is enabled 0.544
After features/support/hooks.rb:326 1.464
After features/support/hooks.rb:100 0.000
Tags: @product
32.311
Before features/support/hooks.rb:269 0.007
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.532
And I enable persistence but something goes wrong during the LUKS header upgrade 21.905
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.873
After features/support/hooks.rb:326 0.740
After features/support/hooks.rb:100 0.000
Tags: @product
43.365
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.052
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.417
When I enable persistence 28.398
Then the filesystem of the Persistent Storage was repaired 0.094
And persistence is successfully enabled 0.402
After features/support/hooks.rb:326 2.237
After features/support/hooks.rb:100 0.000
Tags: @product
28.200
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.033
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.670
When I try to enable persistence 0.436
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 7.714
When I repair the filesystem of the Persistent Storage 1.258
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.252
And the filesystem of the Persistent Storage was repaired 0.078
When I close the filesystem repair dialog 1.270
Then persistence is successfully enabled 0.485
After features/support/hooks.rb:326 1.115
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:47.658
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.069
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.111
When I try to enable persistence 0.333
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 32.738
When I repair the filesystem of the Persistent Storage 1.250
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 3.890
When I log in to a new session 31.131
And all notifications have disappeared 9.683
# 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.948
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.691
When I close the "whisperback" window 1.537
Then the Tor Browser starts 15.645
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.627
After features/support/hooks.rb:326 1.957
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:15.049
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.088
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.500
And Tails detects disk read failures on the boot device 1.772
When I try to enable persistence 0.502
Then the Welcome Screen tells me that my hardware is probably failing 6.790
When I log in to a new session 20.984
And all notifications have disappeared 7.230
Then the Tor Browser starts 21.501
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.678
After features/support/hooks.rb:326 1.607
After features/support/hooks.rb:100 0.000