Project Number Date
test_Tails_ISO_stable 5343 18 Dec 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 1:3:5.572 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:31.104
Before features/support/hooks.rb:269 0.006
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:48.564
And I update APT using apt 13.903
And I install "python3-behave" using apt 25.732
Then the Tails Persistent Storage behave tests pass 2.903
After features/support/hooks.rb:326 1.448
After features/support/hooks.rb:100 0.000
Tags: @product
1:18.476
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 45.013
When I log in to a new session without activating the Persistent Storage 22.557
Then Tails is running from USB drive "__internal" 0.702
And persistence is disabled 0.333
But a Tails persistence partition exists on USB drive "__internal" 9.869
After features/support/hooks.rb:326 2.747
After features/support/hooks.rb:100 0.000
Tags: @product
3:34.584
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive without a persistent partition and logged in 42.693
Then Tails is running from USB drive "__internal" 0.402
When I create a file in the Persistent directory 0.143
And I create a persistent partition with the default settings 24.972
Then the file I created was copied to the Persistent Storage 0.695
When I shutdown Tails and wait for the computer to power off 12.807
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.204
Then persistence for "Persistent" is active 0.596
And the file I created in the Persistent directory exists 0.065
After features/support/hooks.rb:326 0.839
After features/support/hooks.rb:100 0.012
Tags: @product
1:21.674
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive without a persistent partition and logged in 24.778
And the system is very low on memory 4.586
When I create a file in the Persistent directory 1.155
When I try to create a persistent partition 29.919
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.383
When I close the Persistent Storage app 2.891
And I free up some memory 1.784
And I create a persistent partition with the default settings 15.908
Then the file I created was copied to the Persistent Storage 0.266
After features/support/hooks.rb:326 1.777
After features/support/hooks.rb:100 0.000
Tags: @product
2:55.816
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 14.387
Then Tails is running from USB drive "__internal" 1.041
And all tps features are active 2.716
And all persistent directories have safe access rights 2.846
When I disable the first tps feature 5.376
Then all tps features but the first one are active 2.417
And I shutdown Tails and wait for the computer to power off 15.100
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.469
Then all tps features but the first one are active 2.459
After features/support/hooks.rb:326 0.656
After features/support/hooks.rb:100 0.009
Tags: @product
18.466
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.669
Then persistence for "Persistent" is active 0.080
And I create a file in the Persistent directory 0.086
Then the file I created was copied to the Persistent Storage 0.079
When I disable the first tps feature 5.138
Then persistence for "Persistent" is not active 0.093
And the Persistent directory does not exist 0.054
When I enable the first tps feature 3.116
Then persistence for "Persistent" is active 0.078
And the file I created in the Persistent directory exists 0.070
After features/support/hooks.rb:326 0.762
After features/support/hooks.rb:100 0.000
Tags: @product
18.585
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.111
Then persistence for "Persistent" is active 0.167
When I create a file in the Persistent directory 0.076
And I disable the first tps feature 5.499
And I delete the data of the Persistent Folder feature 3.678
Then the file I created does not exist on the Persistent Storage 0.052
After features/support/hooks.rb:326 1.273
After features/support/hooks.rb:100 0.000
Tags: @product
1:3.543
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.746
And the network is plugged 0.071
And Tor is ready 17.953
And I take note of which tps features are available 1.019
When I write some files expected to persist 1.574
And I shutdown Tails and wait for the computer to power off 8.704
# 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.472
After features/support/hooks.rb:326 0.116
After features/support/hooks.rb:100 0.000
Tags: @product
3:3.428
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.516
And the network is plugged 0.072
And Tor is ready 15.455
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.213
And I shutdown Tails and wait for the computer to power off 8.509
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.419
And I capture all network traffic 0.013
And the network is plugged 0.073
And Tor is ready 18.594
And I switch to the "persistent-con-current" NetworkManager connection 0.358
And the 1st network device has a spoofed MAC address configured 0.075
And no network device leaked the real MAC address 0.125
After features/support/hooks.rb:326 0.547
After features/support/hooks.rb:100 0.052
Tags: @product
1:2.234
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 12.942
And I enable persistence creation in Tails Greeter 1.160
And I log in to a new session expecting no warning about the Persistent Storage not being activated 25.100
Then I create a persistent partition with the default settings using the wizard that was already open 23.031
After features/support/hooks.rb:326 1.930
After features/support/hooks.rb:100 0.000
Tags: @product
5:19.582
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 33.295
When I enable persistence 54.882
Then no persistent Greeter options were restored 14.467
When I set all Greeter options to non-default values 32.749
And I log in to a new session in German (de) after having activated the Persistent Storage 54.033
Then all Greeter options are set to non-default values 0.515
When I cold reboot the computer 10.254
And the computer reboots Tails 1:0.197
Given I enable persistence 18.532
Then persistent Greeter options were restored 0.577
When I log in to a new session after having activated the Persistent Storage 38.908
Then all Greeter options are set to non-default values 1.167
After features/support/hooks.rb:326 1.566
After features/support/hooks.rb:100 0.011
Tags: @product
4:2.315
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.343
# 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 36.076
And I shutdown Tails and wait for the computer to power off 12.595
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:26.959
And I change the passphrase of the Persistent Storage back to the original 36.339
After features/support/hooks.rb:326 2.076
After features/support/hooks.rb:100 0.010
Tags: @product
1:0.025
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 10.349
And I log in to a new session without activating the Persistent Storage 22.916
Then persistence is disabled 0.350
But a Tails persistence partition exists on USB drive "__internal" 6.516
And all notifications have disappeared 12.047
When I delete the persistent partition 7.271
Then there is no persistence partition on USB drive "__internal" 0.573
After features/support/hooks.rb:326 0.924
After features/support/hooks.rb:100 0.000
Tags: @product
22:36.401
Scenario Dotfiles persistence
Before features/support/hooks.rb:269 0.008
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.534
When I write some dotfile expected to persist 0.078
And I shutdown Tails and wait for the computer to power off 8.882
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 22:15.905
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.903

SCENARIO FAILED: 'Dotfiles persistence' (at time 03:42:10)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5343/artifact/build-artifacts/03:42:10_Dotfiles_persistence.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5343/artifact/build-artifacts/03:42:10_Dotfiles_persistence.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5343/artifact/build-artifacts/03:42:10_Dotfiles_persistence.journal

After features/support/hooks.rb:100 0.010
Tags: @product
1:50.861
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 23.118
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.390
When I try to enable persistence 0.285
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 30.888
When I log in to a new session after having activated the Persistent Storage 39.697
And all notifications have disappeared 7.861
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.086
And all tps features are enabled 2.236
And all tps features but the first one are active 2.296
After features/support/hooks.rb:326 1.235
After features/support/hooks.rb:100 0.000
Tags: @product
5:44.811
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 4:15.483
And I enable persistence 36.024
And I log in to a new session after having activated the Persistent Storage 47.485
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.161
And persistence is enabled 3.657
After features/support/hooks.rb:326 0.860
After features/support/hooks.rb:100 0.000
Tags: @product
29.171
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 8.595
And I enable persistence but something goes wrong during the LUKS header upgrade 19.753
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.822
After features/support/hooks.rb:326 0.737
After features/support/hooks.rb:100 0.000
Tags: @product
50.585
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 10.100
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.535
When I enable persistence 30.986
Then the filesystem of the Persistent Storage was repaired 0.092
And persistence is successfully enabled 2.871
After features/support/hooks.rb:326 0.871
After features/support/hooks.rb:100 0.000
Tags: @product
26.073
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 8.925
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.898
When I try to enable persistence 0.405
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.679
When I repair the filesystem of the Persistent Storage 1.229
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.206
And the filesystem of the Persistent Storage was repaired 0.077
When I close the filesystem repair dialog 1.195
Then persistence is successfully enabled 1.455
After features/support/hooks.rb:326 2.692
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:59.609
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 8.880
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.101
When I try to enable persistence 0.278
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.365
When I repair the filesystem of the Persistent Storage 1.252
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.109
When I log in to a new session 46.407
And all notifications have disappeared 11.824
# 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.781
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.914
When I close the "whisperback" window 1.434
Then the Tor Browser starts 17.174
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.085
After features/support/hooks.rb:326 3.143
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:18.221
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.277
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.878
And Tails detects disk read failures on the boot device 1.545
When I try to enable persistence 0.437
Then the Welcome Screen tells me that my hardware is probably failing 5.960
When I log in to a new session 23.825
And all notifications have disappeared 7.783
Then the Tor Browser starts 22.639
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.873
After features/support/hooks.rb:326 2.759
After features/support/hooks.rb:100 0.000