Project Number Date
test_Tails_ISO_devel 3590 17 Nov 2024, 13:17

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 59:29.574 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:19.432
Before features/support/hooks.rb:269 0.004
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:38.245
And I update APT using apt 13.397
And I install "python3-behave" using apt 25.410
Then the Tails Persistent Storage behave tests pass 2.380
After features/support/hooks.rb:326 0.891
After features/support/hooks.rb:100 0.000
Tags: @product
57.747
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 19.063
When I log in to a new session without activating the Persistent Storage 22.867
Then Tails is running from USB drive "__internal" 0.625
And persistence is disabled 0.547
But a Tails persistence partition exists on USB drive "__internal" 14.643
After features/support/hooks.rb:326 1.422
After features/support/hooks.rb:100 0.000
Tags: @product
3:10.591
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 17.093
Then Tails is running from USB drive "__internal" 0.567
When I create a file in the Persistent directory 0.186
And I create a persistent partition with the default settings 23.975
Then the file I created was copied to the Persistent Storage 0.773
When I shutdown Tails and wait for the computer to power off 12.607
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.932
Then persistence for "Persistent" is active 0.320
And the file I created in the Persistent directory exists 0.134
After features/support/hooks.rb:326 0.813
After features/support/hooks.rb:100 0.007
Tags: @product
1:0.442
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 11.369
And the system is very low on memory 5.468
When I create a file in the Persistent directory 1.297
When I try to create a persistent partition 25.230
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.140
When I close the Persistent Storage app 2.657
And I free up some memory 2.026
And I create a persistent partition with the default settings 12.018
Then the file I created was copied to the Persistent Storage 0.233
After features/support/hooks.rb:326 1.566
After features/support/hooks.rb:100 0.000
Tags: @product
2:39.911
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.690
Then Tails is running from USB drive "__internal" 0.493
And all tps features are active 2.998
And all persistent directories have safe access rights 2.439
When I disable the first tps feature 5.600
Then all tps features but the first one are active 2.040
And I shutdown Tails and wait for the computer to power off 10.935
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:2.469
Then all tps features but the first one are active 2.243
After features/support/hooks.rb:326 0.828
After features/support/hooks.rb:100 0.008
Tags: @product
20.073
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.353
Then persistence for "Persistent" is active 0.289
And I create a file in the Persistent directory 0.082
Then the file I created was copied to the Persistent Storage 0.069
When I disable the first tps feature 5.787
Then persistence for "Persistent" is not active 0.080
And the Persistent directory does not exist 0.053
When I enable the first tps feature 3.192
Then persistence for "Persistent" is active 0.091
And the file I created in the Persistent directory exists 0.072
After features/support/hooks.rb:326 0.747
After features/support/hooks.rb:100 0.000
Tags: @product
18.791
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.203
Then persistence for "Persistent" is active 0.147
When I create a file in the Persistent directory 0.095
And I disable the first tps feature 5.556
And I delete the data of the Persistent Folder feature 3.737
Then the file I created does not exist on the Persistent Storage 0.050
After features/support/hooks.rb:326 0.963
After features/support/hooks.rb:100 0.000
Tags: @product
1:4.404
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.876
And the network is plugged 0.068
And Tor is ready 19.017
And I take note of which tps features are available 0.688
When I write some files expected to persist 1.752
And I shutdown Tails and wait for the computer to power off 8.816
# 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.183
After features/support/hooks.rb:326 0.137
After features/support/hooks.rb:100 0.000
Tags: @product
3:5.357
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.362
And the network is plugged 0.437
And Tor is ready 16.170
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.246
And I shutdown Tails and wait for the computer to power off 8.868
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.930
And I capture all network traffic 0.013
And the network is plugged 0.073
And Tor is ready 20.605
And I switch to the "persistent-con-current" NetworkManager connection 0.398
And the 1st network device has a spoofed MAC address configured 0.107
And no network device leaked the real MAC address 0.143
After features/support/hooks.rb:326 0.588
After features/support/hooks.rb:100 0.075
Tags: @product
1:17.893
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 30.344
And I enable persistence creation in Tails Greeter 1.143
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.037
Then I create a persistent partition with the default settings using the wizard that was already open 23.368
After features/support/hooks.rb:326 1.971
After features/support/hooks.rb:100 0.000
Tags: @product
4:25.042
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 12.197
When I enable persistence 40.343
Then no persistent Greeter options were restored 14.528
When I set all Greeter options to non-default values 24.306
And I log in to a new session in German (de) after having activated the Persistent Storage 42.801
Then all Greeter options are set to non-default values 0.428
When I cold reboot the computer 7.414
And the computer reboots Tails 1:1.869
Given I enable persistence 17.518
Then persistent Greeter options were restored 0.553
When I log in to a new session after having activated the Persistent Storage 42.591
Then all Greeter options are set to non-default values 0.489
After features/support/hooks.rb:326 0.806
After features/support/hooks.rb:100 0.008
Tags: @product
3:46.343
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.144
# 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 37.777
And I shutdown Tails and wait for the computer to power off 12.707
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:4.909
And I change the passphrase of the Persistent Storage back to the original 40.804
After features/support/hooks.rb:326 1.930
After features/support/hooks.rb:100 0.009
Tags: @product
57.968
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.847
And I log in to a new session without activating the Persistent Storage 20.126
Then persistence is disabled 0.220
But a Tails persistence partition exists on USB drive "__internal" 9.788
And all notifications have disappeared 10.384
When I delete the persistent partition 6.140
Then there is no persistence partition on USB drive "__internal" 0.460
After features/support/hooks.rb:326 0.958
After features/support/hooks.rb:100 0.000
Tags: @product
22:21.920
Scenario Dotfiles persistence
Before features/support/hooks.rb:269 0.006
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.062
When I write some dotfile expected to persist 0.123
And I shutdown Tails and wait for the computer to power off 10.538
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 22:1.196
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.811

SCENARIO FAILED: 'Dotfiles persistence' (at time 03:54:25)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3590/artifact/build-artifacts/03:54:25_Dotfiles_persistence.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3590/artifact/build-artifacts/03:54:25_Dotfiles_persistence.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3590/artifact/build-artifacts/03:54:25_Dotfiles_persistence.journal

After features/support/hooks.rb:100 0.008
Tags: @product
1:35.466
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.353
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.086
When I try to enable persistence 0.257
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 30.639
When I log in to a new session after having activated the Persistent Storage 38.202
And all notifications have disappeared 8.010
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.221
And all tps features are enabled 2.427
And all tps features but the first one are active 2.267
After features/support/hooks.rb:326 0.975
After features/support/hooks.rb:100 0.000
Tags: @product
5:13.820
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 3:32.372
And I enable persistence 49.909
And I log in to a new session after having activated the Persistent Storage 45.331
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.327
And persistence is enabled 3.879
After features/support/hooks.rb:326 0.958
After features/support/hooks.rb:100 0.000
Tags: @product
31.679
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 8.432
And I enable persistence but something goes wrong during the LUKS header upgrade 22.349
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.897
After features/support/hooks.rb:326 0.979
After features/support/hooks.rb:100 0.000
Tags: @product
46.593
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.541
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.607
When I enable persistence 27.806
Then the filesystem of the Persistent Storage was repaired 0.080
And persistence is successfully enabled 2.557
After features/support/hooks.rb:326 1.236
After features/support/hooks.rb:100 0.000
Tags: @product
25.873
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.850
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.953
When I try to enable persistence 0.430
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.338
When I repair the filesystem of the Persistent Storage 1.263
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.219
And the filesystem of the Persistent Storage was repaired 0.097
When I close the filesystem repair dialog 1.315
Then persistence is successfully enabled 1.405
After features/support/hooks.rb:326 0.794
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:52.991
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.423
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.116
When I try to enable persistence 0.277
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.973
When I repair the filesystem of the Persistent Storage 1.310
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.098
When I log in to a new session 44.716
And all notifications have disappeared 11.013
# 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.554
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 1.381
When I close the "whisperback" window 1.462
Then the Tor Browser starts 12.897
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.765
After features/support/hooks.rb:326 1.678
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:17.227
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.873
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.325
And Tails detects disk read failures on the boot device 0.523
When I try to enable persistence 0.454
Then the Welcome Screen tells me that my hardware is probably failing 5.960
When I log in to a new session 21.150
And all notifications have disappeared 6.837
Then the Tor Browser starts 26.131
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.969
After features/support/hooks.rb:326 1.789
After features/support/hooks.rb:100 0.000