Project Number Date
test_Tails_ISO_20530-tca-controls-tor-flag-file 51 12 Dec 2024, 22:01

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 153 1 3 0 0 157 20 1 21 1:58.673 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:33.019
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:50.173
And I update APT using apt 13.894
And I install "python3-behave" using apt 25.461
Then the Tails Persistent Storage behave tests pass 3.489
After features/support/hooks.rb:326 0.616
After features/support/hooks.rb:100 0.000
Tags: @product
45.832
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.765
When I log in to a new session without activating the Persistent Storage 22.828
Then Tails is running from USB drive "__internal" 0.541
And persistence is disabled 0.365
But a Tails persistence partition exists on USB drive "__internal" 9.331
After features/support/hooks.rb:326 0.908
After features/support/hooks.rb:100 0.000
Tags: @product
3:22.431
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 12.633
Then Tails is running from USB drive "__internal" 0.460
When I create a file in the Persistent directory 0.273
And I create a persistent partition with the default settings 23.174
Then the file I created was copied to the Persistent Storage 0.538
When I shutdown Tails and wait for the computer to power off 12.944
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:31.967
Then persistence for "Persistent" is active 0.350
And the file I created in the Persistent directory exists 0.088
After features/support/hooks.rb:326 0.908
After features/support/hooks.rb:100 0.009
Tags: @product
1:5.741
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 11.949
And the system is very low on memory 5.044
When I create a file in the Persistent directory 0.661
When I try to create a persistent partition 24.184
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.267
When I close the Persistent Storage app 2.592
And I free up some memory 1.608
And I create a persistent partition with the default settings 18.711
Then the file I created was copied to the Persistent Storage 0.722
After features/support/hooks.rb:326 1.377
After features/support/hooks.rb:100 0.000
Tags: @product
3:8.888
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 16.588
Then Tails is running from USB drive "__internal" 0.473
And all tps features are active 4.666
And all persistent directories have safe access rights 2.884
When I disable the first tps feature 9.935
Then all tps features but the first one are active 3.980
And I shutdown Tails and wait for the computer to power off 16.173
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.811
Then all tps features but the first one are active 2.374
After features/support/hooks.rb:326 0.665
After features/support/hooks.rb:100 0.009
Tags: @product
20.545
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.554
Then persistence for "Persistent" is active 0.295
And I create a file in the Persistent directory 0.065
Then the file I created was copied to the Persistent Storage 0.081
When I disable the first tps feature 6.111
Then persistence for "Persistent" is not active 0.062
And the Persistent directory does not exist 0.067
When I enable the first tps feature 3.147
Then persistence for "Persistent" is active 0.075
And the file I created in the Persistent directory exists 0.085
After features/support/hooks.rb:326 0.705
After features/support/hooks.rb:100 0.000
Tags: @product
19.608
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.991
Then persistence for "Persistent" is active 0.097
When I create a file in the Persistent directory 0.086
And I disable the first tps feature 5.503
And I delete the data of the Persistent Folder feature 3.855
Then the file I created does not exist on the Persistent Storage 0.073
After features/support/hooks.rb:326 0.933
After features/support/hooks.rb:100 0.000
Tags: @product
1:6.012
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.058
And the network is plugged 0.090
And Tor is ready 19.573
And I take note of which tps features are available 0.717
When I write some files expected to persist 1.684
And I shutdown Tails and wait for the computer to power off 8.885
# 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" 25.003
After features/support/hooks.rb:326 0.143
After features/support/hooks.rb:100 0.000
Tags: @product
3:4.329
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.199
And the network is plugged 0.091
And Tor is ready 18.051
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.321
And I shutdown Tails and wait for the computer to power off 8.811
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.702
And I capture all network traffic 0.007
And the network is plugged 0.172
And Tor is ready 19.347
And I switch to the "persistent-con-current" NetworkManager connection 0.405
And the 1st network device has a spoofed MAC address configured 0.075
And no network device leaked the real MAC address 0.142
After features/support/hooks.rb:326 0.601
After features/support/hooks.rb:100 0.042
Tags: @product
1:6.168
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 15.798
And I enable persistence creation in Tails Greeter 1.202
And I log in to a new session expecting no warning about the Persistent Storage not being activated 25.292
Then I create a persistent partition with the default settings using the wizard that was already open 23.874
After features/support/hooks.rb:326 1.591
After features/support/hooks.rb:100 0.000
Tags: @product
4:46.678
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 15.094
When I enable persistence 40.908
Then no persistent Greeter options were restored 14.679
When I set all Greeter options to non-default values 27.377
And I log in to a new session in German (de) after having activated the Persistent Storage 52.462
Then all Greeter options are set to non-default values 0.472
When I cold reboot the computer 7.584
And the computer reboots Tails 1:0.079
Given I enable persistence 14.796
Then persistent Greeter options were restored 0.517
When I log in to a new session after having activated the Persistent Storage 51.781
Then all Greeter options are set to non-default values 0.924
After features/support/hooks.rb:326 1.195
After features/support/hooks.rb:100 0.008
Tags: @product
3:42.797
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 11.311
# 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.199
And I shutdown Tails and wait for the computer to power off 12.789
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:6.818
And I change the passphrase of the Persistent Storage back to the original 37.678
After features/support/hooks.rb:326 2.011
After features/support/hooks.rb:100 0.013
Tags: @product
56.274
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 11.222
And I log in to a new session without activating the Persistent Storage 21.240
Then persistence is disabled 0.324
But a Tails persistence partition exists on USB drive "__internal" 7.865
And all notifications have disappeared 9.381
When I delete the persistent partition 5.848
Then there is no persistence partition on USB drive "__internal" 0.391
After features/support/hooks.rb:326 0.909
After features/support/hooks.rb:100 0.000
Tags: @product
2:26.322
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.209
When I write some dotfile expected to persist 0.083
And I shutdown Tails and wait for the computer to power off 8.521
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.110
Then the expected persistent dotfile is present in the filesystem 0.398
After features/support/hooks.rb:326 0.735
After features/support/hooks.rb:100 0.008
Tags: @product
21:32.007
Scenario Feature activation fails
Before features/support/hooks.rb:269 0.005
Steps
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.930
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.080
When I try to enable persistence 0.362
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 39.417
When I log in to a new session after having activated the Persistent Storage 42.990
And all notifications have disappeared 20:0.226
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/persistence.feature:148:in `And all notifications have disappeared'
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 0.000
And all tps features are enabled 0.000
And all tps features but the first one are active 0.000
After features/support/hooks.rb:326 10.841

SCENARIO FAILED: 'Feature activation fails' (at time 03:53:03)

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

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

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

After features/support/hooks.rb:100 0.000
Tags: @product
5:40.305
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:19.508
And I enable persistence 30.668
And I log in to a new session after having activated the Persistent Storage 44.096
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.968
And persistence is enabled 4.063
After features/support/hooks.rb:326 0.697
After features/support/hooks.rb:100 0.000
Tags: @product
34.385
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 9.354
And I enable persistence but something goes wrong during the LUKS header upgrade 24.254
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.776
After features/support/hooks.rb:326 0.707
After features/support/hooks.rb:100 0.000
Tags: @product
45.345
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 10.503
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.815
When I enable persistence 26.426
Then the filesystem of the Persistent Storage was repaired 0.085
And persistence is successfully enabled 2.514
After features/support/hooks.rb:326 0.785
After features/support/hooks.rb:100 0.000
Tags: @product
26.216
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.222
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.481
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.278
When I repair the filesystem of the Persistent Storage 1.243
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.289
And the filesystem of the Persistent Storage was repaired 0.075
When I close the filesystem repair dialog 1.266
Then persistence is successfully enabled 1.459
After features/support/hooks.rb:326 0.743
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:55.481
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.123
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.109
When I try to enable persistence 0.276
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 30.648
When I repair the filesystem of the Persistent Storage 1.235
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 3.911
When I log in to a new session 37.440
And all notifications have disappeared 9.060
# 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.892
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.767
When I close the "whisperback" window 1.869
Then the Tor Browser starts 19.329
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.816
After features/support/hooks.rb:326 1.720
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:20.278
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.918
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.781
And Tails detects disk read failures on the boot device 1.781
When I try to enable persistence 1.593
Then the Welcome Screen tells me that my hardware is probably failing 6.835
When I log in to a new session 20.383
And all notifications have disappeared 8.197
Then the Tor Browser starts 23.945
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.841
After features/support/hooks.rb:326 2.099
After features/support/hooks.rb:100 0.000