Project Number Date
test_Tails_ISO_devel 3572 31 Oct 2024, 15:48

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 151 1 5 0 0 157 20 1 21 52:39.820 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:27.476
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:45.171
And I update APT using apt 13.300
And I install "python3-behave" using apt 25.724
Then the Tails Persistent Storage behave tests pass 3.279
After features/support/hooks.rb:326 0.909
After features/support/hooks.rb:100 0.000
Tags: @product
1:12.134
Before features/support/hooks.rb:269 0.009
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 32.767
When I log in to a new session without activating the Persistent Storage 23.497
Then Tails is running from USB drive "__internal" 0.831
And persistence is disabled 1.500
But a Tails persistence partition exists on USB drive "__internal" 13.537
After features/support/hooks.rb:326 1.937
After features/support/hooks.rb:100 0.000
Tags: @product
4:16.594
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive without a persistent partition and logged in 49.341
Then Tails is running from USB drive "__internal" 0.569
When I create a file in the Persistent directory 0.192
And I create a persistent partition with the default settings 35.662
Then the file I created was copied to the Persistent Storage 0.700
When I shutdown Tails and wait for the computer to power off 13.231
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:36.465
Then persistence for "Persistent" is active 0.351
And the file I created in the Persistent directory exists 0.078
After features/support/hooks.rb:326 1.036
After features/support/hooks.rb:100 0.016
Tags: @product
1:2.283
Before features/support/hooks.rb:269 0.013
Given I have started Tails without network from a USB drive without a persistent partition and logged in 15.474
And the system is very low on memory 5.355
When I create a file in the Persistent directory 1.484
When I try to create a persistent partition 21.282
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.183
When I close the Persistent Storage app 2.641
And I free up some memory 1.784
And I create a persistent partition with the default settings 13.797
Then the file I created was copied to the Persistent Storage 0.279
After features/support/hooks.rb:326 1.682
After features/support/hooks.rb:100 0.000
Tags: @product
3:19.500
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 19.355
Then Tails is running from USB drive "__internal" 0.450
And all tps features are active 3.871
And all persistent directories have safe access rights 2.715
When I disable the first tps feature 6.186
Then all tps features but the first one are active 4.532
And I shutdown Tails and wait for the computer to power off 13.499
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:26.116
Then all tps features but the first one are active 2.772
After features/support/hooks.rb:326 0.590
After features/support/hooks.rb:100 0.008
Tags: @product
23.255
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 12.272
Then persistence for "Persistent" is active 0.114
And I create a file in the Persistent directory 0.077
Then the file I created was copied to the Persistent Storage 0.114
When I disable the first tps feature 6.942
Then persistence for "Persistent" is not active 0.092
And the Persistent directory does not exist 0.066
When I enable the first tps feature 3.386
Then persistence for "Persistent" is active 0.088
And the file I created in the Persistent directory exists 0.100
After features/support/hooks.rb:326 0.965
After features/support/hooks.rb:100 0.000
Tags: @product
21.188
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.229
Then persistence for "Persistent" is active 0.114
When I create a file in the Persistent directory 0.201
And I disable the first tps feature 6.584
And I delete the data of the Persistent Folder feature 3.983
Then the file I created does not exist on the Persistent Storage 0.074
After features/support/hooks.rb:326 1.173
After features/support/hooks.rb:100 0.000
Tags: @product
1:11.296
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.447
And the network is plugged 0.129
And Tor is ready 23.208
And I take note of which tps features are available 0.593
When I write some files expected to persist 1.923
And I shutdown Tails and wait for the computer to power off 9.165
# 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.828
After features/support/hooks.rb:326 0.148
After features/support/hooks.rb:100 0.000
Tags: @product
3:18.638
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.065
And the network is plugged 0.112
And Tor is ready 20.355
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.827
And I shutdown Tails and wait for the computer to power off 11.140
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.010
And I capture all network traffic 0.009
And the network is plugged 0.094
And Tor is ready 21.358
And I switch to the "persistent-con-current" NetworkManager connection 0.422
And the 1st network device has a spoofed MAC address configured 0.080
And no network device leaked the real MAC address 0.159
After features/support/hooks.rb:326 0.814
After features/support/hooks.rb:100 0.047
Tags: @product
1:30.933
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 34.892
And I enable persistence creation in Tails Greeter 1.163
And I log in to a new session expecting no warning about the Persistent Storage not being activated 25.831
Then I create a persistent partition with the default settings using the wizard that was already open 29.046
After features/support/hooks.rb:326 1.838
After features/support/hooks.rb:100 0.000
Tags: @product
6:21.419
Before features/support/hooks.rb:269 0.009
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 36.687
When I enable persistence 55.998
Then no persistent Greeter options were restored 16.158
When I set all Greeter options to non-default values 30.935
And I log in to a new session in German (de) after having activated the Persistent Storage 59.143
Then all Greeter options are set to non-default values 0.763
When I cold reboot the computer 10.565
And the computer reboots Tails 1:10.191
Given I enable persistence 37.992
Then persistent Greeter options were restored 16.265
When I log in to a new session after having activated the Persistent Storage 45.792
Then all Greeter options are set to non-default values 0.925
After features/support/hooks.rb:326 1.173
After features/support/hooks.rb:100 0.042
Tags: @product
4:12.147
Before features/support/hooks.rb:269 0.011
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 12.543
# 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 36.705
And I shutdown Tails and wait for the computer to power off 15.294
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:29.950
And I change the passphrase of the Persistent Storage back to the original 37.653
After features/support/hooks.rb:326 1.758
After features/support/hooks.rb:100 0.012
Tags: @product
1:11.721
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 14.641
And I log in to a new session without activating the Persistent Storage 23.644
Then persistence is disabled 0.790
But a Tails persistence partition exists on USB drive "__internal" 12.672
And all notifications have disappeared 12.233
When I delete the persistent partition 7.186
Then there is no persistence partition on USB drive "__internal" 0.551
After features/support/hooks.rb:326 1.167
After features/support/hooks.rb:100 0.000
Tags: @product
2:52.511
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 12.959
When I write some dotfile expected to persist 0.096
And I shutdown Tails and wait for the computer to power off 10.510
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:28.561
Then the expected persistent dotfile is present in the filesystem 0.384
After features/support/hooks.rb:326 1.058
After features/support/hooks.rb:100 0.013
Tags: @product
1:11.689
Scenario Feature activation fails
Before features/support/hooks.rb:269 0.008
Steps
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 11.289
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.123
When I try to enable persistence 0.263
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 1:0.014
try_for() timeout expired (Timeout::Error)
./features/support/helpers/misc_helpers.rb:145:in `rescue in try_for'
./features/support/helpers/misc_helpers.rb:51:in `try_for'
./features/step_definitions/usb.rb:1725:in `/^the Welcome Screen tells me that the Persistent Folder feature couldn't be activated$/'
features/persistence.feature:146:in `Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated'
When I log in to a new session after having activated the Persistent Storage 0.000
And all notifications have disappeared 0.000
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 8.550

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

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3572/artifact/build-artifacts/03:45:21_Feature_activation_fails.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3572/artifact/build-artifacts/03:45:21_Feature_activation_fails.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3572/artifact/build-artifacts/03:45:21_Feature_activation_fails.journal

After features/support/hooks.rb:100 0.000
Tags: @product
12:9.518
Before features/support/hooks.rb:269 0.008
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:22.697
And I enable persistence 55.065
And I log in to a new session after having activated the Persistent Storage 47.867
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.779
And persistence is enabled 0.108
After features/support/hooks.rb:326 2.968
After features/support/hooks.rb:100 0.000
Tags: @product
58.164
Before features/support/hooks.rb:269 0.008
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 25.244
And I enable persistence but something goes wrong during the LUKS header upgrade 32.025
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.894
After features/support/hooks.rb:326 0.779
After features/support/hooks.rb:100 0.000
Tags: @product
58.042
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.875
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 7.113
When I enable persistence 39.568
Then the filesystem of the Persistent Storage was repaired 0.086
And persistence is successfully enabled 1.399
After features/support/hooks.rb:326 0.855
After features/support/hooks.rb:100 0.000
Tags: @product
27.042
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.496
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.063
When I try to enable persistence 0.393
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.711
When I repair the filesystem of the Persistent Storage 1.270
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.267
And the filesystem of the Persistent Storage was repaired 0.102
When I close the filesystem repair dialog 1.297
Then persistence is successfully enabled 0.438
After features/support/hooks.rb:326 0.822
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:57.186
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.353
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.166
When I try to enable persistence 0.448
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 33.246
When I repair the filesystem of the Persistent Storage 1.338
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.096
When I log in to a new session 42.216
And all notifications have disappeared 9.146
# 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.562
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.230
When I close the "whisperback" window 1.511
Then the Tor Browser starts 16.950
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.917
After features/support/hooks.rb:326 2.446
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:17.074
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.518
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.141
And Tails detects disk read failures on the boot device 1.563
When I try to enable persistence 0.472
Then the Welcome Screen tells me that my hardware is probably failing 6.363
When I log in to a new session 21.113
And all notifications have disappeared 8.165
Then the Tor Browser starts 21.893
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.842
After features/support/hooks.rb:326 1.350
After features/support/hooks.rb:100 0.000