Project Number Date
test_Tails_ISO_20522-ocr-more 14 23 Dec 2024, 05:39

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 58:47.829 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:23.454
Before features/support/hooks.rb:269 0.017
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:39.968
And I update APT using apt 14.534
And I install "python3-behave" using apt 26.265
Then the Tails Persistent Storage behave tests pass 2.686
After features/support/hooks.rb:326 0.923
After features/support/hooks.rb:100 0.000
Tags: @product
47.087
Before features/support/hooks.rb:269 0.009
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 12.818
When I log in to a new session without activating the Persistent Storage 24.019
Then Tails is running from USB drive "__internal" 0.928
And persistence is disabled 0.471
But a Tails persistence partition exists on USB drive "__internal" 8.850
After features/support/hooks.rb:326 1.171
After features/support/hooks.rb:100 0.000
Tags: @product
3:2.389
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.164
Then Tails is running from USB drive "__internal" 0.529
When I create a file in the Persistent directory 0.160
And I create a persistent partition with the default settings 19.227
Then the file I created was copied to the Persistent Storage 0.508
When I shutdown Tails and wait for the computer to power off 12.774
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.522
Then persistence for "Persistent" is active 0.419
And the file I created in the Persistent directory exists 0.081
After features/support/hooks.rb:326 1.952
After features/support/hooks.rb:100 0.007
Tags: @product
56.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 16.362
And the system is very low on memory 3.650
When I create a file in the Persistent directory 0.979
When I try to create a persistent partition 18.772
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.523
When I close the Persistent Storage app 2.559
And I free up some memory 0.917
And I create a persistent partition with the default settings 12.844
Then the file I created was copied to the Persistent Storage 0.263
After features/support/hooks.rb:326 1.217
After features/support/hooks.rb:100 0.000
Tags: @product
22:27.447
Scenario Booting Tails from a USB drive with an enabled persistent partition and reconfiguring it
Before features/support/hooks.rb:269 0.007
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.976
Then Tails is running from USB drive "__internal" 0.658
And all tps features are active 2.615
And all persistent directories have safe access rights 2.609
When I disable the first tps feature 5.199
Then all tps features but the first one are active 2.516
And I shutdown Tails and wait for the computer to power off 8.294
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 21:54.576
execution expired (RemoteShell::Timeout)
./features/support/helpers/remote_shell.rb:56:in `read'
./features/support/helpers/remote_shell.rb:56:in `block (3 levels) in communicate'
./features/support/helpers/remote_shell.rb:55:in `block (2 levels) in communicate'
./features/support/helpers/remote_shell.rb:42:in `loop'
./features/support/helpers/remote_shell.rb:42:in `block in communicate'
./features/support/helpers/remote_shell.rb:37:in `communicate'
./features/support/helpers/remote_shell.rb:174:in `execute'
./features/support/helpers/remote_shell.rb:185:in `initialize'
./features/support/helpers/dogtail.rb:80:in `new'
./features/support/helpers/dogtail.rb:80:in `run'
./features/support/helpers/dogtail.rb:70:in `initialize'
./features/step_definitions/common_steps.rb:712:in `new'
./features/step_definitions/common_steps.rb:712:in `/^all notifications have disappeared$/'
./features/step_definitions/common_steps.rb:298: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 10.824

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

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20522-ocr-more/14/artifact/build-artifacts/03:24:49_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_20522-ocr-more/14/artifact/build-artifacts/03:24:49_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_20522-ocr-more/14/artifact/build-artifacts/03:24:49_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
19.431
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.199
Then persistence for "Persistent" is active 0.135
And I create a file in the Persistent directory 0.139
Then the file I created was copied to the Persistent Storage 0.154
When I disable the first tps feature 5.311
Then persistence for "Persistent" is not active 0.076
And the Persistent directory does not exist 0.052
When I enable the first tps feature 3.190
Then persistence for "Persistent" is active 0.088
And the file I created in the Persistent directory exists 0.082
After features/support/hooks.rb:326 1.194
After features/support/hooks.rb:100 0.000
Tags: @product
18.667
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 9.544
Then persistence for "Persistent" is active 0.366
When I create a file in the Persistent directory 0.077
And I disable the first tps feature 4.864
And I delete the data of the Persistent Folder feature 3.746
Then the file I created does not exist on the Persistent Storage 0.069
After features/support/hooks.rb:326 1.415
After features/support/hooks.rb:100 0.000
Tags: @product
1:7.285
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 9.876
And the network is plugged 0.114
And Tor is ready 22.595
And I take note of which tps features are available 0.601
When I write some files expected to persist 1.567
And I shutdown Tails and wait for the computer to power off 8.563
# 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" 23.966
After features/support/hooks.rb:326 0.110
After features/support/hooks.rb:100 0.000
Tags: @product
3:6.224
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 9.428
And the network is plugged 0.212
And Tor is ready 20.724
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.624
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.096
And I capture all network traffic 0.006
And the network is plugged 0.072
And Tor is ready 19.279
And I switch to the "persistent-con-current" NetworkManager connection 0.331
And the 1st network device has a spoofed MAC address configured 0.102
And no network device leaked the real MAC address 0.127
After features/support/hooks.rb:326 0.743
After features/support/hooks.rb:100 0.053
Tags: @product
1:1.685
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 14.787
And I enable persistence creation in Tails Greeter 1.164
And I log in to a new session expecting no warning about the Persistent Storage not being activated 26.692
Then I create a persistent partition with the default settings using the wizard that was already open 19.041
After features/support/hooks.rb:326 1.860
After features/support/hooks.rb:100 0.000
Tags: @product
4:14.527
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.490
When I enable persistence 38.158
Then no persistent Greeter options were restored 14.098
When I set all Greeter options to non-default values 20.946
And I log in to a new session in German (de) after having activated the Persistent Storage 40.939
Then all Greeter options are set to non-default values 0.479
When I cold reboot the computer 7.705
And the computer reboots Tails 1:6.306
Given I enable persistence 20.149
Then persistent Greeter options were restored 0.496
When I log in to a new session after having activated the Persistent Storage 31.351
Then all Greeter options are set to non-default values 0.406
After features/support/hooks.rb:326 1.431
After features/support/hooks.rb:100 0.009
Tags: @product
3:37.548
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 9.836
# 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.926
And I shutdown Tails and wait for the computer to power off 10.464
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:0.700
And I change the passphrase of the Persistent Storage back to the original 35.620
After features/support/hooks.rb:326 2.789
After features/support/hooks.rb:100 0.007
Tags: @product
57.905
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 10.473
And I log in to a new session without activating the Persistent Storage 23.728
Then persistence is disabled 0.854
But a Tails persistence partition exists on USB drive "__internal" 6.963
And all notifications have disappeared 7.854
When I delete the persistent partition 7.562
Then there is no persistence partition on USB drive "__internal" 0.468
After features/support/hooks.rb:326 0.732
After features/support/hooks.rb:100 0.000
Tags: @product
2:29.768
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.017
When I write some dotfile expected to persist 0.067
And I shutdown Tails and wait for the computer to power off 8.703
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.638
Then the expected persistent dotfile is present in the filesystem 0.341
After features/support/hooks.rb:326 0.865
After features/support/hooks.rb:100 0.070
Tags: @product
1:25.205
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 8.814
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.077
When I try to enable persistence 0.386
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 29.747
When I log in to a new session after having activated the Persistent Storage 30.739
And all notifications have disappeared 7.361
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.712
And all tps features are enabled 2.416
And all tps features but the first one are active 1.948
After features/support/hooks.rb:326 2.035
After features/support/hooks.rb:100 0.000
Tags: @product
5:44.477
Before features/support/hooks.rb:269 0.006
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:28.645
And I enable persistence 39.048
And I log in to a new session after having activated the Persistent Storage 32.405
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.923
And persistence is enabled 2.455
After features/support/hooks.rb:326 1.938
After features/support/hooks.rb:100 0.000
Tags: @product
32.552
Before features/support/hooks.rb:269 0.006
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.361
And I enable persistence but something goes wrong during the LUKS header upgrade 22.471
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.719
After features/support/hooks.rb:326 0.748
After features/support/hooks.rb:100 0.000
Tags: @product
48.715
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 10.321
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 4.724
When I enable persistence 30.185
Then the filesystem of the Persistent Storage was repaired 0.118
And persistence is successfully enabled 3.366
After features/support/hooks.rb:326 1.703
After features/support/hooks.rb:100 0.000
Tags: @product
28.658
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 8.767
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.000
When I try to enable persistence 0.717
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.816
When I repair the filesystem of the Persistent Storage 1.242
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.296
And the filesystem of the Persistent Storage was repaired 0.093
When I close the filesystem repair dialog 1.273
Then persistence is successfully enabled 1.451
After features/support/hooks.rb:326 0.722
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:36.120
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 8.792
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.147
When I try to enable persistence 0.396
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.153
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 0.074
When I log in to a new session 24.312
And all notifications have disappeared 7.791
# 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" 1.062
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.184
When I close the "whisperback" window 1.491
Then the Tor Browser starts 20.537
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.925
After features/support/hooks.rb:326 2.790
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:21.802
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.014
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.642
And Tails detects disk read failures on the boot device 1.538
When I try to enable persistence 0.537
Then the Welcome Screen tells me that my hardware is probably failing 4.943
When I log in to a new session 22.870
And all notifications have disappeared 10.101
Then the Tor Browser starts 26.272
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.881
After features/support/hooks.rb:326 1.462
After features/support/hooks.rb:100 0.000