Project Number Date
test_Tails_ISO_20635-greeter-threading-fixes 13 31 Oct 2024, 22:42

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:55.803 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:16.907
Before features/support/hooks.rb:269 0.007
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:34.247
And I update APT using apt 14.210
And I install "python3-behave" using apt 25.638
Then the Tails Persistent Storage behave tests pass 2.809
After features/support/hooks.rb:326 0.723
After features/support/hooks.rb:100 0.000
Tags: @product
52.403
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 13.542
When I log in to a new session without activating the Persistent Storage 29.260
Then Tails is running from USB drive "__internal" 0.617
And persistence is disabled 0.555
But a Tails persistence partition exists on USB drive "__internal" 8.428
After features/support/hooks.rb:326 2.027
After features/support/hooks.rb:100 0.000
Tags: @product
3:10.745
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 13.980
Then Tails is running from USB drive "__internal" 0.501
When I create a file in the Persistent directory 0.123
And I create a persistent partition with the default settings 28.165
Then the file I created was copied to the Persistent Storage 0.647
When I shutdown Tails and wait for the computer to power off 13.102
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.576
Then persistence for "Persistent" is active 0.569
And the file I created in the Persistent directory exists 0.079
After features/support/hooks.rb:326 1.118
After features/support/hooks.rb:100 0.008
Tags: @product
1:7.818
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.398
And the system is very low on memory 5.995
When I create a file in the Persistent directory 1.862
When I try to create a persistent partition 26.424
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.670
When I close the Persistent Storage app 2.908
And I free up some memory 1.713
And I create a persistent partition with the default settings 15.491
Then the file I created was copied to the Persistent Storage 0.354
After features/support/hooks.rb:326 1.868
After features/support/hooks.rb:100 0.000
Tags: @product
2:48.874
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 13.239
Then Tails is running from USB drive "__internal" 0.384
And all tps features are active 2.317
And all persistent directories have safe access rights 3.060
When I disable the first tps feature 6.544
Then all tps features but the first one are active 2.128
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 2:8.141
Then all tps features but the first one are active 2.310
After features/support/hooks.rb:326 1.077
After features/support/hooks.rb:100 0.007
Tags: @product
21.852
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.701
Then persistence for "Persistent" is active 0.858
And I create a file in the Persistent directory 0.082
Then the file I created was copied to the Persistent Storage 0.085
When I disable the first tps feature 6.795
Then persistence for "Persistent" is not active 0.078
And the Persistent directory does not exist 0.044
When I enable the first tps feature 3.097
Then persistence for "Persistent" is active 0.058
And the file I created in the Persistent directory exists 0.049
After features/support/hooks.rb:326 0.963
After features/support/hooks.rb:100 0.000
Tags: @product
23.151
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.277
Then persistence for "Persistent" is active 0.184
When I create a file in the Persistent directory 0.079
And I disable the first tps feature 7.492
And I delete the data of the Persistent Folder feature 5.050
Then the file I created does not exist on the Persistent Storage 0.067
After features/support/hooks.rb:326 3.589
After features/support/hooks.rb:100 0.000
Tags: @product
1:8.225
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.280
And the network is plugged 0.089
And Tor is ready 20.653
And I take note of which tps features are available 0.660
When I write some files expected to persist 1.553
And I shutdown Tails and wait for the computer to power off 10.666
# 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.320
After features/support/hooks.rb:326 0.109
After features/support/hooks.rb:100 0.000
Tags: @product
3:9.349
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.141
And the network is plugged 0.109
And Tor is ready 21.830
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.190
And I shutdown Tails and wait for the computer to power off 8.839
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.691
And I capture all network traffic 0.007
And the network is plugged 0.087
And Tor is ready 19.861
And I switch to the "persistent-con-current" NetworkManager connection 0.336
And the 1st network device has a spoofed MAC address configured 0.108
And no network device leaked the real MAC address 0.145
After features/support/hooks.rb:326 0.623
After features/support/hooks.rb:100 0.051
Tags: @product
54.055
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 11.317
And I enable persistence creation in Tails Greeter 1.126
And I log in to a new session expecting no warning about the Persistent Storage not being activated 20.440
Then I create a persistent partition with the default settings using the wizard that was already open 21.170
After features/support/hooks.rb:326 1.401
After features/support/hooks.rb:100 0.000
Tags: @product
4:19.525
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.209
When I enable persistence 39.669
Then no persistent Greeter options were restored 14.183
When I set all Greeter options to non-default values 27.385
And I log in to a new session in German (de) after having activated the Persistent Storage 41.321
Then all Greeter options are set to non-default values 0.573
When I cold reboot the computer 7.528
And the computer reboots Tails 59.876
Given I enable persistence 20.149
Then persistent Greeter options were restored 0.525
When I log in to a new session after having activated the Persistent Storage 35.037
Then all Greeter options are set to non-default values 1.064
After features/support/hooks.rb:326 1.436
After features/support/hooks.rb:100 0.009
Tags: @product
3:51.174
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.810
# 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.698
And I shutdown Tails and wait for the computer to power off 12.287
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:18.504
And I change the passphrase of the Persistent Storage back to the original 28.873
After features/support/hooks.rb:326 2.243
After features/support/hooks.rb:100 0.009
Tags: @product
1:6.147
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 13.812
And I log in to a new session without activating the Persistent Storage 24.356
Then persistence is disabled 0.435
But a Tails persistence partition exists on USB drive "__internal" 11.199
And all notifications have disappeared 10.066
When I delete the persistent partition 5.817
Then there is no persistence partition on USB drive "__internal" 0.459
After features/support/hooks.rb:326 1.100
After features/support/hooks.rb:100 0.000
Tags: @product
22:17.803
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.678
When I write some dotfile expected to persist 0.169
And I shutdown Tails and wait for the computer to power off 8.645
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 21:58.309
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.830

SCENARIO FAILED: 'Dotfiles persistence' (at time 03:47:43)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20635-greeter-threading-fixes/13/artifact/build-artifacts/03:47:43_Dotfiles_persistence.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20635-greeter-threading-fixes/13/artifact/build-artifacts/03:47:43_Dotfiles_persistence.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20635-greeter-threading-fixes/13/artifact/build-artifacts/03:47:43_Dotfiles_persistence.journal

After features/support/hooks.rb:100 0.008
Tags: @product
1:46.457
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.747
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.158
When I try to enable persistence 0.284
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 30.489
When I log in to a new session after having activated the Persistent Storage 48.261
And all notifications have disappeared 7.013
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.884
And all tps features are enabled 2.412
And all tps features but the first one are active 2.205
After features/support/hooks.rb:326 0.844
After features/support/hooks.rb:100 0.000
Tags: @product
5:27.485
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 4:0.104
And I enable persistence 39.102
And I log in to a new session after having activated the Persistent Storage 42.575
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.245
And persistence is enabled 3.457
After features/support/hooks.rb:326 1.011
After features/support/hooks.rb:100 0.000
Tags: @product
32.743
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 10.813
And I enable persistence but something goes wrong during the LUKS header upgrade 21.183
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.746
After features/support/hooks.rb:326 0.825
After features/support/hooks.rb:100 0.000
Tags: @product
55.005
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.239
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.353
When I enable persistence 37.384
Then the filesystem of the Persistent Storage was repaired 0.090
And persistence is successfully enabled 2.937
After features/support/hooks.rb:326 1.225
After features/support/hooks.rb:100 0.000
Tags: @product
47.412
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.738
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.612
When I try to enable persistence 0.445
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 21.176
When I repair the filesystem of the Persistent Storage 2.252
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.297
And the filesystem of the Persistent Storage was repaired 2.498
When I close the filesystem repair dialog 1.811
Then persistence is successfully enabled 1.579
After features/support/hooks.rb:326 1.057
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:43.000
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.867
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.215
When I try to enable persistence 0.267
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 27.861
When I repair the filesystem of the Persistent Storage 1.275
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.081
When I log in to a new session 36.435
And all notifications have disappeared 9.191
# 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.402
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.259
When I close the "whisperback" window 1.434
Then the Tor Browser starts 15.748
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.960
After features/support/hooks.rb:326 2.568
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:55.664
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.556
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.022
And Tails detects disk read failures on the boot device 1.567
When I try to enable persistence 2.191
Then the Welcome Screen tells me that my hardware is probably failing 18.079
When I log in to a new session 52.429
And all notifications have disappeared 8.874
Then the Tor Browser starts 17.064
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.878
After features/support/hooks.rb:326 3.084
After features/support/hooks.rb:100 0.000