Project Number Date
test_Tails_ISO_devel 3576 04 Nov 2024, 13:19

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:38.465 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:19.099
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:37.668
And I update APT using apt 13.875
And I install "python3-behave" using apt 25.523
Then the Tails Persistent Storage behave tests pass 2.033
After features/support/hooks.rb:326 0.726
After features/support/hooks.rb:100 0.000
Tags: @product
42.682
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.992
When I log in to a new session without activating the Persistent Storage 23.682
Then Tails is running from USB drive "__internal" 0.441
And persistence is disabled 0.289
But a Tails persistence partition exists on USB drive "__internal" 6.277
After features/support/hooks.rb:326 0.933
After features/support/hooks.rb:100 0.000
Tags: @product
3:5.184
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 12.868
Then Tails is running from USB drive "__internal" 0.374
When I create a file in the Persistent directory 0.116
And I create a persistent partition with the default settings 23.467
Then the file I created was copied to the Persistent Storage 0.650
When I shutdown Tails and wait for the computer to power off 12.543
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.468
Then persistence for "Persistent" is active 0.622
And the file I created in the Persistent directory exists 0.073
After features/support/hooks.rb:326 0.969
After features/support/hooks.rb:100 0.008
Tags: @product
1:0.271
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.638
And the system is very low on memory 5.389
When I create a file in the Persistent directory 1.184
When I try to create a persistent partition 24.283
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.304
When I close the Persistent Storage app 2.563
And I free up some memory 1.622
And I create a persistent partition with the default settings 12.608
Then the file I created was copied to the Persistent Storage 0.675
After features/support/hooks.rb:326 1.395
After features/support/hooks.rb:100 0.000
Tags: @product
2:46.805
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 18.633
Then Tails is running from USB drive "__internal" 0.434
And all tps features are active 2.361
And all persistent directories have safe access rights 2.463
When I disable the first tps feature 5.858
Then all tps features but the first one are active 2.304
And I shutdown Tails and wait for the computer to power off 10.975
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:1.457
Then all tps features but the first one are active 2.316
After features/support/hooks.rb:326 0.679
After features/support/hooks.rb:100 0.010
Tags: @product
19.636
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.912
Then persistence for "Persistent" is active 0.258
And I create a file in the Persistent directory 0.060
Then the file I created was copied to the Persistent Storage 0.091
When I disable the first tps feature 5.990
Then persistence for "Persistent" is not active 0.079
And the Persistent directory does not exist 0.043
When I enable the first tps feature 3.054
Then persistence for "Persistent" is active 0.084
And the file I created in the Persistent directory exists 0.062
After features/support/hooks.rb:326 0.636
After features/support/hooks.rb:100 0.000
Tags: @product
20.379
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.233
Then persistence for "Persistent" is active 0.602
When I create a file in the Persistent directory 0.071
And I disable the first tps feature 5.795
And I delete the data of the Persistent Folder feature 3.623
Then the file I created does not exist on the Persistent Storage 0.054
After features/support/hooks.rb:326 0.716
After features/support/hooks.rb:100 0.000
Tags: @product
1:6.491
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.547
And the network is plugged 0.132
And Tor is ready 20.041
And I take note of which tps features are available 0.560
When I write some files expected to persist 1.550
And I shutdown Tails and wait for the computer to power off 9.174
# 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.484
After features/support/hooks.rb:326 0.115
After features/support/hooks.rb:100 0.000
Tags: @product
2:56.302
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 9.170
And the network is plugged 0.084
And Tor is ready 16.833
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.237
And I shutdown Tails and wait for the computer to power off 8.553
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:1.656
And I capture all network traffic 0.015
And the network is plugged 0.087
And Tor is ready 19.067
And I switch to the "persistent-con-current" NetworkManager connection 0.350
And the 1st network device has a spoofed MAC address configured 0.125
And no network device leaked the real MAC address 0.118
After features/support/hooks.rb:326 0.600
After features/support/hooks.rb:100 0.042
Tags: @product
1:5.598
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 14.673
And I enable persistence creation in Tails Greeter 1.116
And I log in to a new session expecting no warning about the Persistent Storage not being activated 28.134
Then I create a persistent partition with the default settings using the wizard that was already open 21.674
After features/support/hooks.rb:326 1.639
After features/support/hooks.rb:100 0.000
Tags: @product
5:32.948
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 13.134
When I enable persistence 44.308
Then no persistent Greeter options were restored 16.305
When I set all Greeter options to non-default values 26.060
And I log in to a new session in German (de) after having activated the Persistent Storage 1:3.877
Then all Greeter options are set to non-default values 0.427
When I cold reboot the computer 10.733
And the computer reboots Tails 1:11.257
Given I enable persistence 38.272
Then persistent Greeter options were restored 14.949
When I log in to a new session after having activated the Persistent Storage 33.187
Then all Greeter options are set to non-default values 0.433
After features/support/hooks.rb:326 1.416
After features/support/hooks.rb:100 0.007
Tags: @product
3:41.729
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.821
# 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.214
And I shutdown Tails and wait for the computer to power off 12.843
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:8.542
And I change the passphrase of the Persistent Storage back to the original 35.308
After features/support/hooks.rb:326 1.438
After features/support/hooks.rb:100 0.007
Tags: @product
1:0.749
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 14.664
And I log in to a new session without activating the Persistent Storage 21.380
Then persistence is disabled 0.650
But a Tails persistence partition exists on USB drive "__internal" 7.497
And all notifications have disappeared 9.711
When I delete the persistent partition 6.382
Then there is no persistence partition on USB drive "__internal" 0.463
After features/support/hooks.rb:326 0.800
After features/support/hooks.rb:100 0.000
Tags: @product
22:11.067
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 9.714
When I write some dotfile expected to persist 0.082
And I shutdown Tails and wait for the computer to power off 8.834
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 21:52.436
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.859

SCENARIO FAILED: 'Dotfiles persistence' (at time 03:52:30)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3576/artifact/build-artifacts/03:52:30_Dotfiles_persistence.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3576/artifact/build-artifacts/03:52:30_Dotfiles_persistence.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3576/artifact/build-artifacts/03:52:30_Dotfiles_persistence.journal

After features/support/hooks.rb:100 0.010
Tags: @product
1:37.802
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.227
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.082
When I try to enable persistence 0.302
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 28.942
When I log in to a new session after having activated the Persistent Storage 41.437
And all notifications have disappeared 8.612
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.315
And all tps features are enabled 2.485
And all tps features but the first one are active 2.396
After features/support/hooks.rb:326 1.246
After features/support/hooks.rb:100 0.000
Tags: @product
8:10.215
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 6:43.804
And I enable persistence 37.439
And I log in to a new session after having activated the Persistent Storage 46.481
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.106
And persistence is enabled 0.384
After features/support/hooks.rb:326 1.300
After features/support/hooks.rb:100 0.000
Tags: @product
39.074
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.977
And I enable persistence but something goes wrong during the LUKS header upgrade 29.217
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.879
After features/support/hooks.rb:326 1.111
After features/support/hooks.rb:100 0.000
Tags: @product
1:12.627
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.883
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 8.936
When I enable persistence 52.329
Then the filesystem of the Persistent Storage was repaired 0.096
And persistence is successfully enabled 0.381
After features/support/hooks.rb:326 1.080
After features/support/hooks.rb:100 0.000
Tags: @product
26.850
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.133
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.451
When I try to enable persistence 0.480
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.710
When I repair the filesystem of the Persistent Storage 1.199
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.173
And the filesystem of the Persistent Storage was repaired 0.071
When I close the filesystem repair dialog 1.242
Then persistence is successfully enabled 0.386
After features/support/hooks.rb:326 0.832
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:55.723
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.236
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.118
When I try to enable persistence 0.266
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 34.495
When I repair the filesystem of the Persistent Storage 1.288
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.088
When I log in to a new session 42.729
And all notifications have disappeared 8.217
# 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.764
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.144
When I close the "whisperback" window 1.382
Then the Tor Browser starts 16.271
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.719
After features/support/hooks.rb:326 0.923
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:27.226
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.482
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 14.828
And Tails detects disk read failures on the boot device 0.670
When I try to enable persistence 1.609
Then the Welcome Screen tells me that my hardware is probably failing 6.233
When I log in to a new session 20.494
And all notifications have disappeared 9.142
Then the Tor Browser starts 23.774
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.990
After features/support/hooks.rb:326 1.094
After features/support/hooks.rb:100 0.000