Project Number Date
test_Tails_ISO_19139-arti-bridges 1 16 Nov 2024, 21:48

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 38:8.512 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
1:59.273
Scenario Tails Persistent Storage behave tests
Before features/support/hooks.rb:269 0.003
Steps
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:59.273
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.737

SCENARIO FAILED: 'Tails Persistent Storage behave tests' (at time 02:34:36)

Chutney logs: https://jenkins.tails.boum.org/job/test_Tails_ISO_19139-arti-bridges/1/artifact/build-artifacts/02:34:36_Tails_Persistent_Storage_behave_tests_chutney-data

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_19139-arti-bridges/1/artifact/build-artifacts/02:34:36_Tails_Persistent_Storage_behave_tests.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_19139-arti-bridges/1/artifact/build-artifacts/02:34:36_Tails_Persistent_Storage_behave_tests.png

Tor logs: https://jenkins.tails.boum.org/job/test_Tails_ISO_19139-arti-bridges/1/artifact/build-artifacts/02:34:36_Tails_Persistent_Storage_behave_tests.tor

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_19139-arti-bridges/1/artifact/build-artifacts/02:34:36_Tails_Persistent_Storage_behave_tests.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_19139-arti-bridges/1/artifact/build-artifacts/02:34:36_Tails_Persistent_Storage_behave_tests.journal

After features/support/hooks.rb:100 0.000
Tags: @product
46.775
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 13.448
When I log in to a new session without activating the Persistent Storage 22.679
Then Tails is running from USB drive "__internal" 0.905
And persistence is disabled 0.330
But a Tails persistence partition exists on USB drive "__internal" 9.413
After features/support/hooks.rb:326 1.332
After features/support/hooks.rb:100 0.000
Tags: @product
3:13.795
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 19.254
Then Tails is running from USB drive "__internal" 0.427
When I create a file in the Persistent directory 0.137
And I create a persistent partition with the default settings 25.679
Then the file I created was copied to the Persistent Storage 0.654
When I shutdown Tails and wait for the computer to power off 13.025
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.169
Then persistence for "Persistent" is active 0.360
And the file I created in the Persistent directory exists 0.086
After features/support/hooks.rb:326 0.834
After features/support/hooks.rb:100 0.006
Tags: @product
1:4.514
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 10.822
And the system is very low on memory 3.986
When I create a file in the Persistent directory 1.325
When I try to create a persistent partition 30.269
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.274
When I close the Persistent Storage app 2.663
And I free up some memory 1.734
And I create a persistent partition with the default settings 12.768
Then the file I created was copied to the Persistent Storage 0.670
After features/support/hooks.rb:326 1.369
After features/support/hooks.rb:100 0.000
Tags: @product
2:55.983
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.635
Then Tails is running from USB drive "__internal" 1.035
And all tps features are active 2.351
And all persistent directories have safe access rights 2.541
When I disable the first tps feature 6.635
Then all tps features but the first one are active 2.287
And I shutdown Tails and wait for the computer to power off 8.641
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:18.445
Then all tps features but the first one are active 2.409
After features/support/hooks.rb:326 0.852
After features/support/hooks.rb:100 0.006
Tags: @product
22.109
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 11.881
Then persistence for "Persistent" is active 0.072
And I create a file in the Persistent directory 0.088
Then the file I created was copied to the Persistent Storage 0.108
When I disable the first tps feature 6.014
Then persistence for "Persistent" is not active 0.082
And the Persistent directory does not exist 0.050
When I enable the first tps feature 3.447
Then persistence for "Persistent" is active 0.284
And the file I created in the Persistent directory exists 0.080
After features/support/hooks.rb:326 0.801
After features/support/hooks.rb:100 0.000
Tags: @product
20.913
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 9.574
Then persistence for "Persistent" is active 0.099
When I create a file in the Persistent directory 0.259
And I disable the first tps feature 6.106
And I delete the data of the Persistent Folder feature 4.788
Then the file I created does not exist on the Persistent Storage 0.084
After features/support/hooks.rb:326 0.981
After features/support/hooks.rb:100 0.000
Tags: @product
1:14.791
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 10.122
And the network is plugged 0.100
And Tor is ready 1:4.568
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 9.165

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

Chutney logs: https://jenkins.tails.boum.org/job/test_Tails_ISO_19139-arti-bridges/1/artifact/build-artifacts/02:44:50_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/1/artifact/build-artifacts/02:44:50_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/1/artifact/build-artifacts/02:44:50_Writing_files_to_a_read_write-enabled_persistent_partition.png

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

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

After features/support/hooks.rb:100 0.000
Tags: @product
1:28.223
Scenario Creating and using a persistent NetworkManager connection
Before features/support/hooks.rb:269 0.002
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 23.390
And the network is plugged 0.103
And Tor is ready 1:4.730
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 9.614

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

Chutney logs: https://jenkins.tails.boum.org/job/test_Tails_ISO_19139-arti-bridges/1/artifact/build-artifacts/02:46:27_Creating_and_using_a_persistent_NetworkManager_connection_chutney-data

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_19139-arti-bridges/1/artifact/build-artifacts/02:46:27_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/1/artifact/build-artifacts/02:46:27_Creating_and_using_a_persistent_NetworkManager_connection.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_19139-arti-bridges/1/artifact/build-artifacts/02:46:27_Creating_and_using_a_persistent_NetworkManager_connection.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_19139-arti-bridges/1/artifact/build-artifacts/02:46:27_Creating_and_using_a_persistent_NetworkManager_connection.journal

After features/support/hooks.rb:100 0.000
Tags: @product
1:6.245
Before features/support/hooks.rb:269 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 16.092
And I enable persistence creation in Tails Greeter 1.136
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.558
Then I create a persistent partition with the default settings using the wizard that was already open 25.457
After features/support/hooks.rb:326 1.844
After features/support/hooks.rb:100 0.000
Tags: @product
4:45.579
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 14.903
When I enable persistence 39.003
Then no persistent Greeter options were restored 14.500
When I set all Greeter options to non-default values 29.240
And I log in to a new session in German (de) after having activated the Persistent Storage 56.579
Then all Greeter options are set to non-default values 0.357
When I cold reboot the computer 7.564
And the computer reboots Tails 59.115
Given I enable persistence 19.287
Then persistent Greeter options were restored 0.601
When I log in to a new session after having activated the Persistent Storage 44.057
Then all Greeter options are set to non-default values 0.367
After features/support/hooks.rb:326 1.192
After features/support/hooks.rb:100 0.007
Tags: @product
3:56.362
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.531
# 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 32.690
And I shutdown Tails and wait for the computer to power off 12.893
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:14.329
And I change the passphrase of the Persistent Storage back to the original 45.917
After features/support/hooks.rb:326 1.674
After features/support/hooks.rb:100 0.008
Tags: @product
1:0.275
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.412
And I log in to a new session without activating the Persistent Storage 23.394
Then persistence is disabled 0.287
But a Tails persistence partition exists on USB drive "__internal" 6.219
And all notifications have disappeared 11.015
When I delete the persistent partition 7.566
Then there is no persistence partition on USB drive "__internal" 0.379
After features/support/hooks.rb:326 0.879
After features/support/hooks.rb:100 0.000
Tags: @product
2:29.494
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.473
When I write some dotfile expected to persist 0.445
And I shutdown Tails and wait for the computer to power off 9.077
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.128
Then the expected persistent dotfile is present in the filesystem 0.370
After features/support/hooks.rb:326 0.901
After features/support/hooks.rb:100 0.008
Tags: @product
1:43.932
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.305
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.087
When I try to enable persistence 0.283
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 31.454
When I log in to a new session after having activated the Persistent Storage 47.124
And all notifications have disappeared 7.206
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.507
And all tps features are enabled 2.115
And all tps features but the first one are active 1.847
After features/support/hooks.rb:326 1.187
After features/support/hooks.rb:100 0.000
Tags: @product
4:53.340
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 3:24.492
And I enable persistence 36.597
And I log in to a new session after having activated the Persistent Storage 46.676
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.116
And persistence is enabled 3.457
After features/support/hooks.rb:326 1.001
After features/support/hooks.rb:100 0.000
Tags: @product
26.863
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 8.704
And I enable persistence but something goes wrong during the LUKS header upgrade 17.333
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.825
After features/support/hooks.rb:326 1.112
After features/support/hooks.rb:100 0.000
Tags: @product
49.572
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.114
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.332
When I enable persistence 31.402
Then the filesystem of the Persistent Storage was repaired 0.085
And persistence is successfully enabled 2.637
After features/support/hooks.rb:326 1.294
After features/support/hooks.rb:100 0.000
Tags: @product
26.952
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.447
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.108
When I try to enable persistence 0.452
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.620
When I repair the filesystem of the Persistent Storage 1.231
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.241
And the filesystem of the Persistent Storage was repaired 0.066
When I close the filesystem repair dialog 1.258
Then persistence is successfully enabled 1.525
After features/support/hooks.rb:326 0.793
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:51.536
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.607
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.108
When I try to enable persistence 0.285
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 30.621
When I repair the filesystem of the Persistent Storage 1.292
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.077
When I log in to a new session 42.366
And all notifications have disappeared 10.538
# 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.660
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.777
When I close the "whisperback" window 1.549
Then the Tor Browser starts 13.964
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.686
After features/support/hooks.rb:326 2.068
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:11.976
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.947
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.910
And Tails detects disk read failures on the boot device 0.503
When I try to enable persistence 0.402
Then the Welcome Screen tells me that my hardware is probably failing 5.977
When I log in to a new session 20.521
And all notifications have disappeared 7.866
Then the Tor Browser starts 20.905
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.940
After features/support/hooks.rb:326 0.980
After features/support/hooks.rb:100 0.000