Project Number Date
test_Tails_ISO_19139-arti-bridges 2 16 Nov 2024, 22:09

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 138 3 16 0 0 157 18 3 21 39:40.634 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
1:58.477
Scenario Tails Persistent Storage behave tests
Before features/support/hooks.rb:269 0.004
Steps
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:58.477
TCA
TCA did not start (TorBootstrapFailure)
./features/step_definitions/tor.rb:375:in `rescue in block in <top (required)>'
./features/step_definitions/tor.rb:371:in `/^the Tor Connection Assistant (?:autostarts|is running)$/'
./features/step_definitions/common_steps.rb:656:in `/^I successfully configure Tor$/'
./features/step_definitions/common_steps.rb:611:in `/^Tor is ready$/'
./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 8.475

SCENARIO FAILED: 'Tails Persistent Storage behave tests' (at time 02:40:33)

Chutney logs: https://jenkins.tails.boum.org/job/test_Tails_ISO_19139-arti-bridges/2/artifact/build-artifacts/02:40:33_Tails_Persistent_Storage_behave_tests_chutney-data

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_19139-arti-bridges/2/artifact/build-artifacts/02:40:33_Tails_Persistent_Storage_behave_tests.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_19139-arti-bridges/2/artifact/build-artifacts/02:40:33_Tails_Persistent_Storage_behave_tests.png

Tor logs: https://jenkins.tails.boum.org/job/test_Tails_ISO_19139-arti-bridges/2/artifact/build-artifacts/02:40:33_Tails_Persistent_Storage_behave_tests.tor

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_19139-arti-bridges/2/artifact/build-artifacts/02:40:33_Tails_Persistent_Storage_behave_tests.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_19139-arti-bridges/2/artifact/build-artifacts/02:40:33_Tails_Persistent_Storage_behave_tests.journal

After features/support/hooks.rb:100 0.000
Tags: @product
43.896
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 13.850
When I log in to a new session without activating the Persistent Storage 23.040
Then Tails is running from USB drive "__internal" 0.468
And persistence is disabled 0.225
But a Tails persistence partition exists on USB drive "__internal" 6.312
After features/support/hooks.rb:326 0.919
After features/support/hooks.rb:100 0.000
Tags: @product
3:25.945
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive without a persistent partition and logged in 13.212
Then Tails is running from USB drive "__internal" 2.622
When I create a file in the Persistent directory 0.159
And I create a persistent partition with the default settings 26.222
Then the file I created was copied to the Persistent Storage 0.716
When I shutdown Tails and wait for the computer to power off 13.335
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:29.069
Then persistence for "Persistent" is active 0.536
And the file I created in the Persistent directory exists 0.069
After features/support/hooks.rb:326 1.068
After features/support/hooks.rb:100 0.006
Tags: @product
1:7.012
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 10.928
And the system is very low on memory 6.741
When I create a file in the Persistent directory 0.961
When I try to create a persistent partition 28.771
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.241
When I close the Persistent Storage app 2.627
And I free up some memory 1.978
And I create a persistent partition with the default settings 14.522
Then the file I created was copied to the Persistent Storage 0.238
After features/support/hooks.rb:326 1.395
After features/support/hooks.rb:100 0.000
Tags: @product
2:50.659
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.382
Then Tails is running from USB drive "__internal" 0.410
And all tps features are active 2.278
And all persistent directories have safe access rights 2.498
When I disable the first tps feature 6.256
Then all tps features but the first one are active 2.237
And I shutdown Tails and wait for the computer to power off 11.586
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.558
Then all tps features but the first one are active 2.451
After features/support/hooks.rb:326 0.872
After features/support/hooks.rb:100 0.041
Tags: @product
19.299
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 9.641
Then persistence for "Persistent" is active 0.134
And I create a file in the Persistent directory 0.069
Then the file I created was copied to the Persistent Storage 0.089
When I disable the first tps feature 5.870
Then persistence for "Persistent" is not active 0.096
And the Persistent directory does not exist 0.075
When I enable the first tps feature 3.175
Then persistence for "Persistent" is active 0.075
And the file I created in the Persistent directory exists 0.070
After features/support/hooks.rb:326 1.039
After features/support/hooks.rb:100 0.000
Tags: @product
19.163
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 9.604
Then persistence for "Persistent" is active 0.104
When I create a file in the Persistent directory 0.079
And I disable the first tps feature 5.556
And I delete the data of the Persistent Folder feature 3.764
Then the file I created does not exist on the Persistent Storage 0.053
After features/support/hooks.rb:326 1.129
After features/support/hooks.rb:100 0.000
Tags: @product
1:14.092
Scenario Writing files to a read/write-enabled persistent partition
Before features/support/hooks.rb:269 0.003
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.773
And the network is plugged 0.072
And Tor is ready 1:4.246
TCA
TCA did not start (TorBootstrapFailure)
./features/step_definitions/tor.rb:375:in `rescue in block in <top (required)>'
./features/step_definitions/tor.rb:371:in `/^the Tor Connection Assistant (?:autostarts|is running)$/'
./features/step_definitions/common_steps.rb:656:in `/^I successfully configure Tor$/'
./features/step_definitions/common_steps.rb:611:in `/^Tor is ready$/'
features/persistence.feature:75:in `And Tor is ready'
And I take note of which tps features are available 0.000
When I write some files expected to persist 0.000
And I shutdown Tails and wait for the computer to power off 0.000
# 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" 0.000
After features/support/hooks.rb:326 8.805

SCENARIO FAILED: 'Writing files to a read/write-enabled persistent partition' (at time 02:50:48)

Chutney logs: https://jenkins.tails.boum.org/job/test_Tails_ISO_19139-arti-bridges/2/artifact/build-artifacts/02:50:48_Writing_files_to_a_read_write-enabled_persistent_partition_chutney-data

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_19139-arti-bridges/2/artifact/build-artifacts/02:50:48_Writing_files_to_a_read_write-enabled_persistent_partition.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_19139-arti-bridges/2/artifact/build-artifacts/02:50:48_Writing_files_to_a_read_write-enabled_persistent_partition.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_19139-arti-bridges/2/artifact/build-artifacts/02:50:48_Writing_files_to_a_read_write-enabled_persistent_partition.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_19139-arti-bridges/2/artifact/build-artifacts/02:50:48_Writing_files_to_a_read_write-enabled_persistent_partition.journal

After features/support/hooks.rb:100 0.000
Tags: @product
1:15.298
Scenario Creating and using a persistent NetworkManager connection
Before features/support/hooks.rb:269 0.003
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.443
And the network is plugged 0.067
And Tor is ready 1:5.787
TCA
TCA did not start (TorBootstrapFailure)
./features/step_definitions/tor.rb:375:in `rescue in block in <top (required)>'
./features/step_definitions/tor.rb:371:in `/^the Tor Connection Assistant (?:autostarts|is running)$/'
./features/step_definitions/common_steps.rb:656:in `/^I successfully configure Tor$/'
./features/step_definitions/common_steps.rb:611:in `/^Tor is ready$/'
features/persistence.feature:85:in `And Tor is ready'
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.000
And I shutdown Tails and wait for the computer to power off 0.000
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 0.000
And I capture all network traffic 0.000
And the network is plugged 0.000
And Tor is ready 0.000
And I switch to the "persistent-con-current" NetworkManager connection 0.000
And the 1st network device has a spoofed MAC address configured 0.000
And no network device leaked the real MAC address 0.000
After features/support/hooks.rb:326 8.355

SCENARIO FAILED: 'Creating and using a persistent NetworkManager connection' (at time 02:52:12)

Chutney logs: https://jenkins.tails.boum.org/job/test_Tails_ISO_19139-arti-bridges/2/artifact/build-artifacts/02:52:12_Creating_and_using_a_persistent_NetworkManager_connection_chutney-data

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_19139-arti-bridges/2/artifact/build-artifacts/02:52:12_Creating_and_using_a_persistent_NetworkManager_connection.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_19139-arti-bridges/2/artifact/build-artifacts/02:52:12_Creating_and_using_a_persistent_NetworkManager_connection.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_19139-arti-bridges/2/artifact/build-artifacts/02:52:12_Creating_and_using_a_persistent_NetworkManager_connection.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_19139-arti-bridges/2/artifact/build-artifacts/02:52:12_Creating_and_using_a_persistent_NetworkManager_connection.journal

After features/support/hooks.rb:100 0.000
Tags: @product
1:7.663
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 16.859
And I enable persistence creation in Tails Greeter 1.174
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.101
Then I create a persistent partition with the default settings using the wizard that was already open 26.528
After features/support/hooks.rb:326 1.612
After features/support/hooks.rb:100 0.000
Tags: @product
4:46.013
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 12.539
When I enable persistence 48.508
Then no persistent Greeter options were restored 14.430
When I set all Greeter options to non-default values 25.270
And I log in to a new session in German (de) after having activated the Persistent Storage 54.720
Then all Greeter options are set to non-default values 0.746
When I cold reboot the computer 8.283
And the computer reboots Tails 1:3.413
Given I enable persistence 17.874
Then persistent Greeter options were restored 0.564
When I log in to a new session after having activated the Persistent Storage 39.036
Then all Greeter options are set to non-default values 0.624
After features/support/hooks.rb:326 1.389
After features/support/hooks.rb:100 0.007
Tags: @product
3:43.960
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.492
# 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.328
And I shutdown Tails and wait for the computer to power off 12.923
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:9.671
And I change the passphrase of the Persistent Storage back to the original 31.544
After features/support/hooks.rb:326 1.660
After features/support/hooks.rb:100 0.006
Tags: @product
1:1.529
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.309
And I log in to a new session without activating the Persistent Storage 25.095
Then persistence is disabled 0.635
But a Tails persistence partition exists on USB drive "__internal" 8.085
And all notifications have disappeared 8.824
When I delete the persistent partition 6.145
Then there is no persistence partition on USB drive "__internal" 0.433
After features/support/hooks.rb:326 0.907
After features/support/hooks.rb:100 0.000
Tags: @product
2:32.599
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 9.498
When I write some dotfile expected to persist 0.077
And I shutdown Tails and wait for the computer to power off 8.730
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.858
Then the expected persistent dotfile is present in the filesystem 0.434
After features/support/hooks.rb:326 0.678
After features/support/hooks.rb:100 0.005
Tags: @product
1:39.305
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.322
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.188
When I try to enable persistence 0.332
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 33.247
When I log in to a new session after having activated the Persistent Storage 39.403
And all notifications have disappeared 8.095
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.038
And all tps features are enabled 2.308
And all tps features but the first one are active 2.368
After features/support/hooks.rb:326 1.532
After features/support/hooks.rb:100 0.000
Tags: @product
5:46.273
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 3:50.862
And I enable persistence 1:2.115
And I log in to a new session after having activated the Persistent Storage 47.542
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.661
And persistence is enabled 4.091
After features/support/hooks.rb:326 1.254
After features/support/hooks.rb:100 0.000
Tags: @product
40.878
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 12.504
And I enable persistence but something goes wrong during the LUKS header upgrade 27.521
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.852
After features/support/hooks.rb:326 0.907
After features/support/hooks.rb:100 0.000
Tags: @product
1:30.321
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 9.827
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.029
When I enable persistence 1:10.211
Then the filesystem of the Persistent Storage was repaired 0.087
And persistence is successfully enabled 4.164
After features/support/hooks.rb:326 1.359
After features/support/hooks.rb:100 0.000
Tags: @product
27.814
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.782
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.512
When I try to enable persistence 0.511
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.700
When I repair the filesystem of the Persistent Storage 1.226
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.237
And the filesystem of the Persistent Storage was repaired 0.061
When I close the filesystem repair dialog 1.269
Then persistence is successfully enabled 1.512
After features/support/hooks.rb:326 0.807
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:52.211
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.601
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.112
When I try to enable persistence 0.332
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 30.922
When I repair the filesystem of the Persistent Storage 1.291
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.090
When I log in to a new session 42.439
And all notifications have disappeared 9.564
# 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.337
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.475
When I close the "whisperback" window 1.528
Then the Tor Browser starts 15.623
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.890
After features/support/hooks.rb:326 1.118
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:18.219
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.404
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.095
And Tails detects disk read failures on the boot device 0.489
When I try to enable persistence 0.438
Then the Welcome Screen tells me that my hardware is probably failing 5.806
When I log in to a new session 21.437
And all notifications have disappeared 8.615
Then the Tor Browser starts 25.198
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.732
After features/support/hooks.rb:326 1.146
After features/support/hooks.rb:100 0.000