Project Number Date
test_Tails_ISO_20530-tca-controls-tor-flag-file 27 23 Nov 2024, 20:53

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 55:18.864 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:3.367
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:25.207
And I update APT using apt 12.780
And I install "python3-behave" using apt 22.535
Then the Tails Persistent Storage behave tests pass 2.844
After features/support/hooks.rb:326 1.375
After features/support/hooks.rb:100 0.000
Tags: @product
40.871
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 12.352
When I log in to a new session without activating the Persistent Storage 20.596
Then Tails is running from USB drive "__internal" 0.433
And persistence is disabled 0.260
But a Tails persistence partition exists on USB drive "__internal" 7.229
After features/support/hooks.rb:326 0.836
After features/support/hooks.rb:100 0.000
Tags: @product
2:56.167
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.972
Then Tails is running from USB drive "__internal" 0.417
When I create a file in the Persistent directory 0.123
And I create a persistent partition with the default settings 22.976
Then the file I created was copied to the Persistent Storage 0.604
When I shutdown Tails and wait for the computer to power off 12.427
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.236
Then persistence for "Persistent" is active 0.338
And the file I created in the Persistent directory exists 0.069
After features/support/hooks.rb:326 0.747
After features/support/hooks.rb:100 0.008
Tags: @product
1:2.517
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 10.536
And the system is very low on memory 4.350
When I create a file in the Persistent directory 1.430
When I try to create a persistent partition 28.527
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.201
When I close the Persistent Storage app 2.806
And I free up some memory 1.877
And I create a persistent partition with the default settings 12.519
Then the file I created was copied to the Persistent Storage 0.267
After features/support/hooks.rb:326 1.092
After features/support/hooks.rb:100 0.000
Tags: @product
2:31.376
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.446
Then Tails is running from USB drive "__internal" 0.399
And all tps features are active 2.082
And all persistent directories have safe access rights 2.352
When I disable the first tps feature 5.425
Then all tps features but the first one are active 1.910
And I shutdown Tails and wait for the computer to power off 8.622
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:58.098
Then all tps features but the first one are active 2.037
After features/support/hooks.rb:326 0.587
After features/support/hooks.rb:100 0.008
Tags: @product
18.697
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.462
Then persistence for "Persistent" is active 0.104
And I create a file in the Persistent directory 0.060
Then the file I created was copied to the Persistent Storage 0.092
When I disable the first tps feature 5.666
Then persistence for "Persistent" is not active 0.074
And the Persistent directory does not exist 0.041
When I enable the first tps feature 3.054
Then persistence for "Persistent" is active 0.076
And the file I created in the Persistent directory exists 0.062
After features/support/hooks.rb:326 0.690
After features/support/hooks.rb:100 0.000
Tags: @product
19.986
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.674
Then persistence for "Persistent" is active 0.137
When I create a file in the Persistent directory 0.073
And I disable the first tps feature 5.386
And I delete the data of the Persistent Folder feature 3.661
Then the file I created does not exist on the Persistent Storage 0.052
After features/support/hooks.rb:326 0.879
After features/support/hooks.rb:100 0.000
Tags: @product
58.057
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.278
And the network is plugged 0.068
And Tor is ready 14.108
And I take note of which tps features are available 0.530
When I write some files expected to persist 1.483
And I shutdown Tails and wait for the computer to power off 8.350
# 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.236
After features/support/hooks.rb:326 0.153
After features/support/hooks.rb:100 0.000
Tags: @product
2:47.266
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.096
And the network is plugged 0.065
And Tor is ready 14.241
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.219
And I shutdown Tails and wait for the computer to power off 8.388
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:58.499
And I capture all network traffic 0.009
And the network is plugged 0.079
And Tor is ready 16.095
And I switch to the "persistent-con-current" NetworkManager connection 0.341
And the 1st network device has a spoofed MAC address configured 0.098
And no network device leaked the real MAC address 0.130
After features/support/hooks.rb:326 1.434
After features/support/hooks.rb:100 0.049
Tags: @product
51.399
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 10.736
And I enable persistence creation in Tails Greeter 1.104
And I log in to a new session expecting no warning about the Persistent Storage not being activated 19.100
Then I create a persistent partition with the default settings using the wizard that was already open 20.458
After features/support/hooks.rb:326 1.435
After features/support/hooks.rb:100 0.000
Tags: @product
4:19.862
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.767
When I enable persistence 32.928
Then no persistent Greeter options were restored 14.217
When I set all Greeter options to non-default values 24.856
And I log in to a new session in German (de) after having activated the Persistent Storage 54.644
Then all Greeter options are set to non-default values 0.385
When I cold reboot the computer 7.363
And the computer reboots Tails 1:0.378
Given I enable persistence 14.352
Then persistent Greeter options were restored 0.734
When I log in to a new session after having activated the Persistent Storage 36.739
Then all Greeter options are set to non-default values 0.494
After features/support/hooks.rb:326 0.990
After features/support/hooks.rb:100 0.008
Tags: @product
3:23.321
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.662
# 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.118
And I shutdown Tails and wait for the computer to power off 10.762
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:57.211
And I change the passphrase of the Persistent Storage back to the original 31.565
After features/support/hooks.rb:326 2.258
After features/support/hooks.rb:100 0.008
Tags: @product
51.450
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.570
And I log in to a new session without activating the Persistent Storage 19.842
Then persistence is disabled 0.355
But a Tails persistence partition exists on USB drive "__internal" 6.073
And all notifications have disappeared 9.172
When I delete the persistent partition 6.031
Then there is no persistence partition on USB drive "__internal" 0.405
After features/support/hooks.rb:326 0.833
After features/support/hooks.rb:100 0.000
Tags: @product
22:9.194
Scenario Dotfiles persistence
Before features/support/hooks.rb:269 0.005
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.538
When I write some dotfile expected to persist 0.053
And I shutdown Tails and wait for the computer to power off 8.546
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 21:51.056
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.871

SCENARIO FAILED: 'Dotfiles persistence' (at time 03:28:51)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20530-tca-controls-tor-flag-file/27/artifact/build-artifacts/03:28:51_Dotfiles_persistence.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20530-tca-controls-tor-flag-file/27/artifact/build-artifacts/03:28:51_Dotfiles_persistence.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20530-tca-controls-tor-flag-file/27/artifact/build-artifacts/03:28:51_Dotfiles_persistence.journal

After features/support/hooks.rb:100 0.008
Tags: @product
1:35.045
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.181
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.085
When I try to enable persistence 0.267
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 28.246
When I log in to a new session after having activated the Persistent Storage 42.103
And all notifications have disappeared 7.665
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.667
And all tps features are enabled 2.028
And all tps features but the first one are active 1.799
After features/support/hooks.rb:326 0.748
After features/support/hooks.rb:100 0.000
Tags: @product
4:2.226
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 2:45.099
And I enable persistence 28.178
And I log in to a new session after having activated the Persistent Storage 43.714
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.841
And persistence is enabled 3.392
After features/support/hooks.rb:326 0.978
After features/support/hooks.rb:100 0.000
Tags: @product
28.897
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 8.814
And I enable persistence but something goes wrong during the LUKS header upgrade 19.260
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.823
After features/support/hooks.rb:326 0.699
After features/support/hooks.rb:100 0.000
Tags: @product
43.631
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.986
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 4.945
When I enable persistence 27.036
Then the filesystem of the Persistent Storage was repaired 0.083
And persistence is successfully enabled 2.579
After features/support/hooks.rb:326 0.744
After features/support/hooks.rb:100 0.000
Tags: @product
24.088
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.637
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.217
When I try to enable persistence 0.377
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 5.729
When I repair the filesystem of the Persistent Storage 1.262
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.234
And the filesystem of the Persistent Storage was repaired 0.071
When I close the filesystem repair dialog 1.227
Then persistence is successfully enabled 1.331
After features/support/hooks.rb:326 0.709
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:40.122
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.291
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.113
When I try to enable persistence 0.261
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 26.429
When I repair the filesystem of the Persistent Storage 1.239
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.097
When I log in to a new session 38.166
And all notifications have disappeared 9.825
# 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.672
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.618
When I close the "whisperback" window 1.558
Then the Tor Browser starts 12.133
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.713
After features/support/hooks.rb:326 1.624
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:11.316
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.848
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.657
And Tails detects disk read failures on the boot device 0.508
When I try to enable persistence 0.376
Then the Welcome Screen tells me that my hardware is probably failing 5.872
When I log in to a new session 18.553
And all notifications have disappeared 7.459
Then the Tor Browser starts 23.230
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.810
After features/support/hooks.rb:326 1.359
After features/support/hooks.rb:100 0.000