Project Number Date
test_Tails_ISO_devel 3585 13 Nov 2024, 12:54

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 56:37.320 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:12.667
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:31.541
And I update APT using apt 13.070
And I install "python3-behave" using apt 25.843
Then the Tails Persistent Storage behave tests pass 2.211
After features/support/hooks.rb:326 0.762
After features/support/hooks.rb:100 0.000
Tags: @product
41.410
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 11.651
When I log in to a new session without activating the Persistent Storage 21.930
Then Tails is running from USB drive "__internal" 0.755
And persistence is disabled 0.619
But a Tails persistence partition exists on USB drive "__internal" 6.452
After features/support/hooks.rb:326 1.023
After features/support/hooks.rb:100 0.000
Tags: @product
2:54.305
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 12.229
Then Tails is running from USB drive "__internal" 0.383
When I create a file in the Persistent directory 0.151
And I create a persistent partition with the default settings 20.130
Then the file I created was copied to the Persistent Storage 0.658
When I shutdown Tails and wait for the computer to power off 12.445
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.680
Then persistence for "Persistent" is active 0.553
And the file I created in the Persistent directory exists 0.072
After features/support/hooks.rb:326 1.010
After features/support/hooks.rb:100 0.009
Tags: @product
1:8.757
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 10.901
And the system is very low on memory 4.438
When I create a file in the Persistent directory 2.068
When I try to create a persistent partition 31.738
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.736
When I close the Persistent Storage app 3.006
And I free up some memory 1.649
And I create a persistent partition with the default settings 13.979
Then the file I created was copied to the Persistent Storage 0.237
After features/support/hooks.rb:326 1.756
After features/support/hooks.rb:100 0.000
Tags: @product
2:40.513
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.457
Then Tails is running from USB drive "__internal" 0.759
And all tps features are active 2.400
And all persistent directories have safe access rights 2.507
When I disable the first tps feature 6.674
Then all tps features but the first one are active 2.025
And I shutdown Tails and wait for the computer to power off 10.795
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:1.900
Then all tps features but the first one are active 1.992
After features/support/hooks.rb:326 0.709
After features/support/hooks.rb:100 0.008
Tags: @product
21.635
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.209
Then persistence for "Persistent" is active 0.085
And I create a file in the Persistent directory 0.073
Then the file I created was copied to the Persistent Storage 0.110
When I disable the first tps feature 7.252
Then persistence for "Persistent" is not active 0.075
And the Persistent directory does not exist 0.053
When I enable the first tps feature 3.652
Then persistence for "Persistent" is active 0.069
And the file I created in the Persistent directory exists 0.053
After features/support/hooks.rb:326 0.773
After features/support/hooks.rb:100 0.000
Tags: @product
22.631
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.583
Then persistence for "Persistent" is active 0.091
When I create a file in the Persistent directory 0.068
And I disable the first tps feature 7.384
And I delete the data of the Persistent Folder feature 4.447
Then the file I created does not exist on the Persistent Storage 0.056
After features/support/hooks.rb:326 0.791
After features/support/hooks.rb:100 0.000
Tags: @product
1:6.281
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.697
And the network is plugged 0.085
And Tor is ready 21.347
And I take note of which tps features are available 0.523
When I write some files expected to persist 1.376
And I shutdown Tails and wait for the computer to power off 8.314
# 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.937
After features/support/hooks.rb:326 0.109
After features/support/hooks.rb:100 0.000
Tags: @product
2:59.564
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.365
And the network is plugged 0.096
And Tor is ready 20.697
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.186
And I shutdown Tails and wait for the computer to power off 8.396
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:0.926
And I capture all network traffic 0.006
And the network is plugged 0.070
And Tor is ready 18.194
And I switch to the "persistent-con-current" NetworkManager connection 0.406
And the 1st network device has a spoofed MAC address configured 0.108
And no network device leaked the real MAC address 0.107
After features/support/hooks.rb:326 0.779
After features/support/hooks.rb:100 0.054
Tags: @product
54.125
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 11.366
And I enable persistence creation in Tails Greeter 1.159
And I log in to a new session expecting no warning about the Persistent Storage not being activated 19.809
Then I create a persistent partition with the default settings using the wizard that was already open 21.788
After features/support/hooks.rb:326 1.710
After features/support/hooks.rb:100 0.000
Tags: @product
4:13.693
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 12.651
When I enable persistence 37.951
Then no persistent Greeter options were restored 14.120
When I set all Greeter options to non-default values 23.612
And I log in to a new session in German (de) after having activated the Persistent Storage 40.743
Then all Greeter options are set to non-default values 0.703
When I cold reboot the computer 7.392
And the computer reboots Tails 57.489
Given I enable persistence 17.908
Then persistent Greeter options were restored 0.517
When I log in to a new session after having activated the Persistent Storage 40.037
Then all Greeter options are set to non-default values 0.564
After features/support/hooks.rb:326 1.052
After features/support/hooks.rb:100 0.009
Tags: @product
3:37.842
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.616
# 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 34.159
And I shutdown Tails and wait for the computer to power off 12.382
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:4.980
And I change the passphrase of the Persistent Storage back to the original 35.704
After features/support/hooks.rb:326 2.354
After features/support/hooks.rb:100 0.009
Tags: @product
54.184
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.605
And I log in to a new session without activating the Persistent Storage 19.690
Then persistence is disabled 0.233
But a Tails persistence partition exists on USB drive "__internal" 9.454
And all notifications have disappeared 8.580
When I delete the persistent partition 6.177
Then there is no persistence partition on USB drive "__internal" 0.442
After features/support/hooks.rb:326 0.945
After features/support/hooks.rb:100 0.000
Tags: @product
22:13.680
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 10.872
When I write some dotfile expected to persist 0.075
And I shutdown Tails and wait for the computer to power off 8.565
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 21:54.166
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:139:in `And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled'
Then the expected persistent dotfile is present in the filesystem 0.000
After features/support/hooks.rb:326 10.827

SCENARIO FAILED: 'Dotfiles persistence' (at time 03:36:07)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3585/artifact/build-artifacts/03:36:07_Dotfiles_persistence.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3585/artifact/build-artifacts/03:36:07_Dotfiles_persistence.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3585/artifact/build-artifacts/03:36:07_Dotfiles_persistence.journal

After features/support/hooks.rb:100 0.009
Tags: @product
1:26.515
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.742
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.063
When I try to enable persistence 0.273
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 27.754
When I log in to a new session after having activated the Persistent Storage 34.109
And all notifications have disappeared 7.922
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.753
And all tps features are enabled 2.019
And all tps features but the first one are active 1.877
After features/support/hooks.rb:326 1.330
After features/support/hooks.rb:100 0.000
Tags: @product
4:20.388
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 2:59.245
And I enable persistence 32.238
And I log in to a new session after having activated the Persistent Storage 44.733
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.572
And persistence is enabled 2.598
After features/support/hooks.rb:326 1.312
After features/support/hooks.rb:100 0.000
Tags: @product
28.249
Before features/support/hooks.rb:269 0.005
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.228
And I enable persistence but something goes wrong during the LUKS header upgrade 19.298
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.722
After features/support/hooks.rb:326 0.721
After features/support/hooks.rb:100 0.000
Tags: @product
45.577
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.406
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 4.821
When I enable persistence 28.842
Then the filesystem of the Persistent Storage was repaired 0.083
And persistence is successfully enabled 2.423
After features/support/hooks.rb:326 0.798
After features/support/hooks.rb:100 0.000
Tags: @product
24.467
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.165
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.086
When I try to enable persistence 0.401
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 5.776
When I repair the filesystem of the Persistent Storage 1.237
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.192
And the filesystem of the Persistent Storage was repaired 0.091
When I close the filesystem repair dialog 1.256
Then persistence is successfully enabled 1.259
After features/support/hooks.rb:326 1.154
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:43.128
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.994
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.108
When I try to enable persistence 0.267
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 26.271
When I repair the filesystem of the Persistent Storage 1.224
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.080
When I log in to a new session 40.310
And all notifications have disappeared 8.016
# 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.310
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.263
When I close the "whisperback" window 1.703
Then the Tor Browser starts 14.769
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.808
After features/support/hooks.rb:326 2.561
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:7.701
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.509
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.022
And Tails detects disk read failures on the boot device 1.509
When I try to enable persistence 0.391
Then the Welcome Screen tells me that my hardware is probably failing 5.175
When I log in to a new session 19.219
And all notifications have disappeared 7.189
Then the Tor Browser starts 19.965
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.718
After features/support/hooks.rb:326 1.267
After features/support/hooks.rb:100 0.000