Project Number Date
test_Tails_ISO_20530-tca-controls-tor-flag-file 12 09 Nov 2024, 21:01

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 57:6.724 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:6.924
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:25.995
And I update APT using apt 13.551
And I install "python3-behave" using apt 25.382
Then the Tails Persistent Storage behave tests pass 1.994
After features/support/hooks.rb:326 0.577
After features/support/hooks.rb:100 0.000
Tags: @product
41.657
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.495
When I log in to a new session without activating the Persistent Storage 23.027
Then Tails is running from USB drive "__internal" 0.424
And persistence is disabled 0.344
But a Tails persistence partition exists on USB drive "__internal" 6.365
After features/support/hooks.rb:326 1.967
After features/support/hooks.rb:100 0.000
Tags: @product
2:59.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 11.905
Then Tails is running from USB drive "__internal" 0.667
When I create a file in the Persistent directory 0.135
And I create a persistent partition with the default settings 21.354
Then the file I created was copied to the Persistent Storage 0.513
When I shutdown Tails and wait for the computer to power off 12.902
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.575
Then persistence for "Persistent" is active 0.399
And the file I created in the Persistent directory exists 0.063
After features/support/hooks.rb:326 1.106
After features/support/hooks.rb:100 0.007
Tags: @product
55.400
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive without a persistent partition and logged in 11.011
And the system is very low on memory 5.784
When I create a file in the Persistent directory 1.089
When I try to create a persistent partition 20.648
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.158
When I close the Persistent Storage app 2.638
And I free up some memory 1.215
And I create a persistent partition with the default settings 12.616
Then the file I created was copied to the Persistent Storage 0.238
After features/support/hooks.rb:326 1.161
After features/support/hooks.rb:100 0.000
Tags: @product
22:34.661
Scenario Booting Tails from a USB drive with an enabled persistent partition and reconfiguring it
Before features/support/hooks.rb:269 0.004
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.280
Then Tails is running from USB drive "__internal" 0.764
And all tps features are active 2.304
And all persistent directories have safe access rights 2.699
When I disable the first tps feature 5.546
Then all tps features but the first one are active 2.067
And I shutdown Tails and wait for the computer to power off 11.113
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 21:58.885
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:49:in `And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled'
Then all tps features but the first one are active 0.000
After features/support/hooks.rb:326 10.898

SCENARIO FAILED: 'Booting Tails from a USB drive with an enabled persistent partition and reconfiguring it' (at time 03:17:27)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20530-tca-controls-tor-flag-file/12/artifact/build-artifacts/03:17:27_Booting_Tails_from_a_USB_drive_with_an_enabled_persistent_partition_and_reconfiguring_it.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20530-tca-controls-tor-flag-file/12/artifact/build-artifacts/03:17:27_Booting_Tails_from_a_USB_drive_with_an_enabled_persistent_partition_and_reconfiguring_it.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20530-tca-controls-tor-flag-file/12/artifact/build-artifacts/03:17:27_Booting_Tails_from_a_USB_drive_with_an_enabled_persistent_partition_and_reconfiguring_it.journal

After features/support/hooks.rb:100 0.009
Tags: @product
20.409
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 10.254
Then persistence for "Persistent" is active 0.594
And I create a file in the Persistent directory 0.060
Then the file I created was copied to the Persistent Storage 0.093
When I disable the first tps feature 5.995
Then persistence for "Persistent" is not active 0.088
And the Persistent directory does not exist 0.056
When I enable the first tps feature 3.109
Then persistence for "Persistent" is active 0.090
And the file I created in the Persistent directory exists 0.066
After features/support/hooks.rb:326 0.816
After features/support/hooks.rb:100 0.000
Tags: @product
20.358
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.930
Then persistence for "Persistent" is active 0.082
When I create a file in the Persistent directory 0.377
And I disable the first tps feature 5.891
And I delete the data of the Persistent Folder feature 4.012
Then the file I created does not exist on the Persistent Storage 0.063
After features/support/hooks.rb:326 0.822
After features/support/hooks.rb:100 0.000
Tags: @product
1:4.564
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.566
And the network is plugged 0.071
And Tor is ready 20.176
And I take note of which tps features are available 0.560
When I write some files expected to persist 1.631
And I shutdown Tails and wait for the computer to power off 8.296
# 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.261
After features/support/hooks.rb:326 0.092
After features/support/hooks.rb:100 0.000
Tags: @product
2:58.616
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.153
And the network is plugged 0.094
And Tor is ready 19.955
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.180
And I shutdown Tails and wait for the computer to power off 8.511
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:0.950
And I capture all network traffic 0.006
And the network is plugged 0.102
And Tor is ready 18.118
And I switch to the "persistent-con-current" NetworkManager connection 0.317
And the 1st network device has a spoofed MAC address configured 0.098
And no network device leaked the real MAC address 0.128
After features/support/hooks.rb:326 0.932
After features/support/hooks.rb:100 0.071
Tags: @product
52.239
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 11.943
And I enable persistence creation in Tails Greeter 1.093
And I log in to a new session expecting no warning about the Persistent Storage not being activated 18.921
Then I create a persistent partition with the default settings using the wizard that was already open 20.280
After features/support/hooks.rb:326 1.291
After features/support/hooks.rb:100 0.000
Tags: @product
4:20.934
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.418
When I enable persistence 37.007
Then no persistent Greeter options were restored 14.334
When I set all Greeter options to non-default values 25.576
And I log in to a new session in German (de) after having activated the Persistent Storage 50.225
Then all Greeter options are set to non-default values 0.660
When I cold reboot the computer 7.301
And the computer reboots Tails 58.524
Given I enable persistence 16.624
Then persistent Greeter options were restored 0.557
When I log in to a new session after having activated the Persistent Storage 38.153
Then all Greeter options are set to non-default values 0.552
After features/support/hooks.rb:326 1.085
After features/support/hooks.rb:100 0.008
Tags: @product
3:42.200
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.016
# 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 31.122
And I shutdown Tails and wait for the computer to power off 12.300
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:11.806
And I change the passphrase of the Persistent Storage back to the original 36.954
After features/support/hooks.rb:326 2.185
After features/support/hooks.rb:100 0.009
Tags: @product
59.244
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.901
And I log in to a new session without activating the Persistent Storage 22.026
Then persistence is disabled 0.409
But a Tails persistence partition exists on USB drive "__internal" 10.545
And all notifications have disappeared 9.613
When I delete the persistent partition 6.211
Then there is no persistence partition on USB drive "__internal" 0.536
After features/support/hooks.rb:326 0.940
After features/support/hooks.rb:100 0.000
Tags: @product
2:21.076
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.426
When I write some dotfile expected to persist 0.607
And I shutdown Tails and wait for the computer to power off 8.684
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:0.934
Then the expected persistent dotfile is present in the filesystem 0.424
After features/support/hooks.rb:326 0.667
After features/support/hooks.rb:100 0.009
Tags: @product
1:31.898
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.753
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.090
When I try to enable persistence 0.271
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 29.149
When I log in to a new session after having activated the Persistent Storage 36.965
And all notifications have disappeared 8.763
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.782
And all tps features are enabled 2.159
And all tps features but the first one are active 1.963
After features/support/hooks.rb:326 1.060
After features/support/hooks.rb:100 0.000
Tags: @product
4:39.031
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:17.499
And I enable persistence 35.067
And I log in to a new session after having activated the Persistent Storage 40.229
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.839
And persistence is enabled 4.395
After features/support/hooks.rb:326 1.082
After features/support/hooks.rb:100 0.000
Tags: @product
31.621
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.584
And I enable persistence but something goes wrong during the LUKS header upgrade 22.230
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.805
After features/support/hooks.rb:326 0.712
After features/support/hooks.rb:100 0.000
Tags: @product
52.974
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.244
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 9.272
When I enable persistence 27.975
Then the filesystem of the Persistent Storage was repaired 0.082
And persistence is successfully enabled 6.400
After features/support/hooks.rb:326 0.844
After features/support/hooks.rb:100 0.000
Tags: @product
25.487
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.139
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.941
When I try to enable persistence 0.395
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 5.951
When I repair the filesystem of the Persistent Storage 1.251
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.222
And the filesystem of the Persistent Storage was repaired 0.060
When I close the filesystem repair dialog 1.214
Then persistence is successfully enabled 1.310
After features/support/hooks.rb:326 0.748
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:39.420
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.975
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.104
When I try to enable persistence 0.273
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 24.261
When I repair the filesystem of the Persistent Storage 1.481
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.080
When I log in to a new session 37.235
And all notifications have disappeared 8.727
# 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.701
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.214
When I close the "whisperback" window 1.380
Then the Tor Browser starts 15.087
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.895
After features/support/hooks.rb:326 1.433
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:8.483
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.921
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.907
And Tails detects disk read failures on the boot device 0.518
When I try to enable persistence 0.424
Then the Welcome Screen tells me that my hardware is probably failing 4.994
When I log in to a new session 20.890
And all notifications have disappeared 8.080
Then the Tor Browser starts 17.960
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.786
After features/support/hooks.rb:326 1.410
After features/support/hooks.rb:100 0.000