Project Number Date
test_Tails_ISO_stable 5196 18 Oct 2024, 08:49

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 40:0.693 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:18.727
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:36.018
And I update APT using apt 13.104
And I install "python3-behave" using apt 26.440
Then the Tails Persistent Storage behave tests pass 3.164
After features/support/hooks.rb:326 0.743
After features/support/hooks.rb:100 0.000
Tags: @product
46.842
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.201
When I log in to a new session without activating the Persistent Storage 22.206
Then Tails is running from USB drive "__internal" 0.469
And persistence is disabled 0.580
But a Tails persistence partition exists on USB drive "__internal" 11.385
After features/support/hooks.rb:326 2.170
After features/support/hooks.rb:100 0.000
Tags: @product
3:12.436
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.754
Then Tails is running from USB drive "__internal" 0.540
When I create a file in the Persistent directory 0.209
And I create a persistent partition with the default settings 23.123
Then the file I created was copied to the Persistent Storage 0.679
When I shutdown Tails and wait for the computer to power off 14.866
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:20.802
Then persistence for "Persistent" is active 0.383
And the file I created in the Persistent directory exists 0.076
After features/support/hooks.rb:326 0.777
After features/support/hooks.rb:100 0.007
Tags: @product
1:0.668
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 11.365
And the system is very low on memory 5.407
When I create a file in the Persistent directory 1.541
When I try to create a persistent partition 24.466
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.458
When I close the Persistent Storage app 2.642
And I free up some memory 1.348
And I create a persistent partition with the default settings 13.177
Then the file I created was copied to the Persistent Storage 0.259
After features/support/hooks.rb:326 1.567
After features/support/hooks.rb:100 0.000
Tags: @product
2:37.602
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.729
Then Tails is running from USB drive "__internal" 0.441
And all tps features are active 2.478
And all persistent directories have safe access rights 2.670
When I disable the first tps feature 5.739
Then all tps features but the first one are active 2.096
And I shutdown Tails and wait for the computer to power off 8.770
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:2.322
Then all tps features but the first one are active 2.353
After features/support/hooks.rb:326 1.057
After features/support/hooks.rb:100 0.007
Tags: @product
20.290
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 10.028
Then persistence for "Persistent" is active 0.167
And I create a file in the Persistent directory 0.229
Then the file I created was copied to the Persistent Storage 0.070
When I disable the first tps feature 6.294
Then persistence for "Persistent" is not active 0.077
And the Persistent directory does not exist 0.062
When I enable the first tps feature 3.186
Then persistence for "Persistent" is active 0.091
And the file I created in the Persistent directory exists 0.082
After features/support/hooks.rb:326 1.124
After features/support/hooks.rb:100 0.000
Tags: @product
20.951
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 10.906
Then persistence for "Persistent" is active 0.099
When I create a file in the Persistent directory 0.089
And I disable the first tps feature 5.903
And I delete the data of the Persistent Folder feature 3.842
Then the file I created does not exist on the Persistent Storage 0.109
After features/support/hooks.rb:326 1.133
After features/support/hooks.rb:100 0.000
Tags: @product
1:6.790
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 9.738
And the network is plugged 0.105
And Tor is ready 20.820
And I take note of which tps features are available 0.692
When I write some files expected to persist 1.763
And I shutdown Tails and wait for the computer to power off 8.955
# 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.714
After features/support/hooks.rb:326 0.094
After features/support/hooks.rb:100 0.000
Tags: @product
3:23.022
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 9.940
And the network is plugged 0.088
And Tor is ready 20.164
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.226
And I shutdown Tails and wait for the computer to power off 10.527
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:18.460
And I capture all network traffic 0.013
And the network is plugged 0.080
And Tor is ready 22.934
And I switch to the "persistent-con-current" NetworkManager connection 0.330
And the 1st network device has a spoofed MAC address configured 0.088
And no network device leaked the real MAC address 0.166
After features/support/hooks.rb:326 0.573
After features/support/hooks.rb:100 0.043
Tags: @product
59.932
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 14.451
And I enable persistence creation in Tails Greeter 1.145
And I log in to a new session expecting no warning about the Persistent Storage not being activated 20.617
Then I create a persistent partition with the default settings using the wizard that was already open 23.718
After features/support/hooks.rb:326 1.839
After features/support/hooks.rb:100 0.000
Tags: @product
5:13.525
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 12.148
When I enable persistence 42.851
Then no persistent Greeter options were restored 14.261
When I set all Greeter options to non-default values 27.838
And I log in to a new session in German (de) after having activated the Persistent Storage 48.201
Then all Greeter options are set to non-default values 0.386
When I cold reboot the computer 7.958
And the computer reboots Tails 1:12.534
Given I enable persistence 33.162
Then persistent Greeter options were restored 15.316
When I log in to a new session after having activated the Persistent Storage 38.224
Then all Greeter options are set to non-default values 0.641
After features/support/hooks.rb:326 1.252
After features/support/hooks.rb:100 0.007
Tags: @product
3:35.314
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.920
# 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 33.477
And I shutdown Tails and wait for the computer to power off 12.490
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:9.029
And I change the passphrase of the Persistent Storage back to the original 30.395
After features/support/hooks.rb:326 2.635
After features/support/hooks.rb:100 0.010
Tags: @product
1:3.791
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 10.660
And I log in to a new session without activating the Persistent Storage 22.457
Then persistence is disabled 0.306
But a Tails persistence partition exists on USB drive "__internal" 11.826
And all notifications have disappeared 11.995
When I delete the persistent partition 6.129
Then there is no persistence partition on USB drive "__internal" 0.414
After features/support/hooks.rb:326 0.955
After features/support/hooks.rb:100 0.000
Tags: @product
2:1.923
Scenario Dotfiles persistence
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.159
When I write some dotfile expected to persist 0.120
And I shutdown Tails and wait for the computer to power off 10.746
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:40.896
try_for() timeout expired
Last ignored exception was: RemoteShell::ServerFailure: FileNotFoundError: [Errno 2] No such file or directory: '/tmp/gdm-env'
./features/support/helpers/remote_shell.rb:71: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/usb.rb:108:in `new'
./features/step_definitions/usb.rb:108:in `greeter'
./features/step_definitions/common_steps.rb:451:in `block (2 levels) in <top (required)>'
./features/support/helpers/misc_helpers.rb:78:in `block (2 levels) in try_for'
./features/support/helpers/misc_helpers.rb:66:in `loop'
./features/support/helpers/misc_helpers.rb:66:in `block in try_for'
./features/support/helpers/misc_helpers.rb:65:in `try_for'
./features/step_definitions/common_steps.rb:450:in `block in <top (required)>'
./features/step_definitions/common_steps.rb:284:in `block in <top (required)>' (Timeout::Error)
./features/support/helpers/misc_helpers.rb:145:in `rescue in try_for'
./features/support/helpers/misc_helpers.rb:51:in `try_for'
./features/step_definitions/common_steps.rb:450:in `/^the computer (?:re)?boots Tails$/'
./features/step_definitions/common_steps.rb:284: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 4.972

SCENARIO FAILED: 'Dotfiles persistence' (at time 03:27:41)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5196/artifact/build-artifacts/03:27:41_Dotfiles_persistence.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5196/artifact/build-artifacts/03:27:41_Dotfiles_persistence.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5196/artifact/build-artifacts/03:27:41_Dotfiles_persistence.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5196/artifact/build-artifacts/03:27:41_Dotfiles_persistence.journal

After features/support/hooks.rb:100 0.008
Tags: @product
1:40.143
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.243
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.081
When I try to enable persistence 0.305
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 33.199
When I log in to a new session after having activated the Persistent Storage 39.811
And all notifications have disappeared 8.300
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.260
And all tps features are enabled 2.667
And all tps features but the first one are active 2.272
After features/support/hooks.rb:326 1.453
After features/support/hooks.rb:100 0.000
Tags: @product
5:8.892
Before features/support/hooks.rb:269 0.008
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:39.739
And I enable persistence 33.962
And I log in to a new session after having activated the Persistent Storage 49.881
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 5.068
And persistence is enabled 0.240
After features/support/hooks.rb:326 2.426
After features/support/hooks.rb:100 0.000
Tags: @product
30.362
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.475
And I enable persistence but something goes wrong during the LUKS header upgrade 19.958
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.929
After features/support/hooks.rb:326 0.798
After features/support/hooks.rb:100 0.000
Tags: @product
46.984
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 9.249
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.607
When I enable persistence 30.693
Then the filesystem of the Persistent Storage was repaired 0.088
And persistence is successfully enabled 0.344
After features/support/hooks.rb:326 0.863
After features/support/hooks.rb:100 0.000
Tags: @product
25.392
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.039
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.782
When I try to enable persistence 0.437
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.967
When I repair the filesystem of the Persistent Storage 1.255
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.172
And the filesystem of the Persistent Storage was repaired 0.067
When I close the filesystem repair dialog 1.265
Then persistence is successfully enabled 0.405
After features/support/hooks.rb:326 0.840
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:6.494
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.640
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.123
When I try to enable persistence 0.308
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 37.229
When I repair the filesystem of the Persistent Storage 1.323
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 3.907
When I log in to a new session 47.016
And all notifications have disappeared 9.709
# 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.515
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 1.304
When I close the "whisperback" window 1.471
Then the Tor Browser starts 14.372
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.571
After features/support/hooks.rb:326 2.194
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:20.604
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.340
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.586
And Tails detects disk read failures on the boot device 1.704
When I try to enable persistence 0.413
Then the Welcome Screen tells me that my hardware is probably failing 6.991
When I log in to a new session 21.530
And all notifications have disappeared 7.985
Then the Tor Browser starts 24.441
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.609
After features/support/hooks.rb:326 1.873
After features/support/hooks.rb:100 0.000