Project Number Date
test_Tails_ISO_stable 5227 28 Oct 2024, 16:37

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 39:35.181 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:23.410
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:40.211
And I update APT using apt 14.365
And I install "python3-behave" using apt 25.641
Then the Tails Persistent Storage behave tests pass 3.192
After features/support/hooks.rb:326 0.962
After features/support/hooks.rb:100 0.000
Tags: @product
44.442
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.949
When I log in to a new session without activating the Persistent Storage 22.082
Then Tails is running from USB drive "__internal" 0.408
And persistence is disabled 0.363
But a Tails persistence partition exists on USB drive "__internal" 8.637
After features/support/hooks.rb:326 1.500
After features/support/hooks.rb:100 0.000
Tags: @product
3:16.078
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 13.069
Then Tails is running from USB drive "__internal" 0.643
When I create a file in the Persistent directory 0.166
And I create a persistent partition with the default settings 23.653
Then the file I created was copied to the Persistent Storage 0.688
When I shutdown Tails and wait for the computer to power off 12.632
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:24.712
Then persistence for "Persistent" is active 0.453
And the file I created in the Persistent directory exists 0.059
After features/support/hooks.rb:326 1.213
After features/support/hooks.rb:100 0.009
Tags: @product
1:0.111
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 10.509
And the system is very low on memory 4.627
When I create a file in the Persistent directory 1.473
When I try to create a persistent partition 26.055
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.500
When I close the Persistent Storage app 2.616
And I free up some memory 1.363
And I create a persistent partition with the default settings 12.722
Then the file I created was copied to the Persistent Storage 0.242
After features/support/hooks.rb:326 1.537
After features/support/hooks.rb:100 0.000
Tags: @product
2:33.882
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 11.203
Then Tails is running from USB drive "__internal" 0.608
And all tps features are active 2.146
And all persistent directories have safe access rights 2.709
When I disable the first tps feature 6.924
Then all tps features but the first one are active 2.027
And I shutdown Tails and wait for the computer to power off 8.824
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:57.288
Then all tps features but the first one are active 2.150
After features/support/hooks.rb:326 0.609
After features/support/hooks.rb:100 0.007
Tags: @product
21.079
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 11.317
Then persistence for "Persistent" is active 0.074
And I create a file in the Persistent directory 0.131
Then the file I created was copied to the Persistent Storage 0.070
When I disable the first tps feature 5.938
Then persistence for "Persistent" is not active 0.070
And the Persistent directory does not exist 0.054
When I enable the first tps feature 3.268
Then persistence for "Persistent" is active 0.076
And the file I created in the Persistent directory exists 0.077
After features/support/hooks.rb:326 0.995
After features/support/hooks.rb:100 0.000
Tags: @product
19.850
Before features/support/hooks.rb:269 0.010
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.754
Then persistence for "Persistent" is active 0.183
When I create a file in the Persistent directory 0.102
And I disable the first tps feature 5.974
And I delete the data of the Persistent Folder feature 3.753
Then the file I created does not exist on the Persistent Storage 0.080
After features/support/hooks.rb:326 1.037
After features/support/hooks.rb:100 0.000
Tags: @product
1:7.050
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.825
And the network is plugged 0.077
And Tor is ready 22.018
And I take note of which tps features are available 0.623
When I write some files expected to persist 1.485
And I shutdown Tails and wait for the computer to power off 8.465
# 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.554
After features/support/hooks.rb:326 0.172
After features/support/hooks.rb:100 0.000
Tags: @product
3:29.393
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.875
And the network is plugged 0.067
And Tor is ready 49.608
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.199
And I shutdown Tails and wait for the computer to power off 8.317
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:1.650
And I capture all network traffic 0.005
And the network is plugged 0.069
And Tor is ready 19.055
And I switch to the "persistent-con-current" NetworkManager connection 0.297
And the 1st network device has a spoofed MAC address configured 0.121
And no network device leaked the real MAC address 0.125
After features/support/hooks.rb:326 0.585
After features/support/hooks.rb:100 0.034
Tags: @product
58.134
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 17.333
And I enable persistence creation in Tails Greeter 1.107
And I log in to a new session expecting no warning about the Persistent Storage not being activated 18.762
Then I create a persistent partition with the default settings using the wizard that was already open 20.931
After features/support/hooks.rb:326 1.688
After features/support/hooks.rb:100 0.000
Tags: @product
4:45.994
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 11.674
When I enable persistence 37.757
Then no persistent Greeter options were restored 14.440
When I set all Greeter options to non-default values 22.620
And I log in to a new session in German (de) after having activated the Persistent Storage 46.800
Then all Greeter options are set to non-default values 0.689
When I cold reboot the computer 7.600
And the computer reboots Tails 59.490
Given I enable persistence 31.793
Then persistent Greeter options were restored 14.895
When I log in to a new session after having activated the Persistent Storage 37.348
Then all Greeter options are set to non-default values 0.882
After features/support/hooks.rb:326 1.198
After features/support/hooks.rb:100 0.007
Tags: @product
3:39.401
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.144
# 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 30.446
And I shutdown Tails and wait for the computer to power off 12.467
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:1.387
And I change the passphrase of the Persistent Storage back to the original 44.956
After features/support/hooks.rb:326 1.891
After features/support/hooks.rb:100 0.014
Tags: @product
59.148
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.633
And I log in to a new session without activating the Persistent Storage 20.880
Then persistence is disabled 0.326
But a Tails persistence partition exists on USB drive "__internal" 9.048
And all notifications have disappeared 11.199
When I delete the persistent partition 6.542
Then there is no persistence partition on USB drive "__internal" 0.518
After features/support/hooks.rb:326 0.979
After features/support/hooks.rb:100 0.000
Tags: @product
2:23.110
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.134
When I write some dotfile expected to persist 0.057
And I shutdown Tails and wait for the computer to power off 8.691
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:3.856
Then the expected persistent dotfile is present in the filesystem 0.370
After features/support/hooks.rb:326 0.915
After features/support/hooks.rb:100 0.007
Tags: @product
1:36.557
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.184
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.079
When I try to enable persistence 0.267
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 28.123
When I log in to a new session after having activated the Persistent Storage 42.105
And all notifications have disappeared 8.879
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.842
And all tps features are enabled 2.197
And all tps features but the first one are active 1.876
After features/support/hooks.rb:326 1.314
After features/support/hooks.rb:100 0.000
Tags: @product
4:30.646
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 3:9.292
And I enable persistence 32.423
And I log in to a new session after having activated the Persistent Storage 45.595
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.224
And persistence is enabled 0.111
After features/support/hooks.rb:326 1.382
After features/support/hooks.rb:100 0.000
Tags: @product
31.740
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.559
And I enable persistence but something goes wrong during the LUKS header upgrade 22.322
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.858
After features/support/hooks.rb:326 0.817
After features/support/hooks.rb:100 0.000
Tags: @product
41.792
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.051
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.107
When I enable persistence 27.133
Then the filesystem of the Persistent Storage was repaired 0.099
And persistence is successfully enabled 0.399
After features/support/hooks.rb:326 1.074
After features/support/hooks.rb:100 0.000
Tags: @product
1:23.105
Scenario Manual filesystem repair is successful
Before features/support/hooks.rb:269 0.007
Steps
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.109
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.305
When I try to enable persistence 1.436
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 5.968
When I repair the filesystem of the Persistent Storage 1.272
Then the Welcome Screen tells me that the filesystem was repaired successfully 1:0.011
try_for() timeout expired
Last ignored exception was: Dogtail::Failure: The Dogtail init script raised: SearchError: child of [desktop frame | main]: "Welcome to Tails!" application
STDOUT:

STDERR:


./features/support/helpers/dogtail.rb:93:in `run'
./features/support/helpers/dogtail.rb:70:in `initialize'
./features/step_definitions/usb.rb:108:in `new'
./features/step_definitions/usb.rb:108:in `greeter'
./features/step_definitions/usb.rb:1823:in `block (2 levels) in <top (required)>'
./features/support/helpers/misc_helpers.rb:78:in `block (2 levels) in try_for'
./features/support/helpers/misc_helpers.rb:66:in `loop'
./features/support/helpers/misc_helpers.rb:66:in `block in try_for'
./features/support/helpers/misc_helpers.rb:65:in `try_for'
./features/step_definitions/usb.rb:1822:in `block in <top (required)>' (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:1822:in `/^the Welcome Screen tells me that the filesystem was repaired successfully$/'
features/persistence.feature:178:in `Then the Welcome Screen tells me that the filesystem was repaired successfully'
And the filesystem of the Persistent Storage was repaired 0.000
When I close the filesystem repair dialog 0.000
Then persistence is successfully enabled 0.000
After features/support/hooks.rb:326 8.009

SCENARIO FAILED: 'Manual filesystem repair is successful' (at time 03:30:00)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5227/artifact/build-artifacts/03:30:00_Manual_filesystem_repair_is_successful.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5227/artifact/build-artifacts/03:30:00_Manual_filesystem_repair_is_successful.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5227/artifact/build-artifacts/03:30:00_Manual_filesystem_repair_is_successful.journal

After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:39.225
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 8.351
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.089
When I try to enable persistence 0.275
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 22.349
When I repair the filesystem of the Persistent Storage 1.956
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.082
When I log in to a new session 39.300
And all notifications have disappeared 9.176
# 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.869
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 1.027
When I close the "whisperback" window 1.656
Then the Tor Browser starts 13.439
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.649
After features/support/hooks.rb:326 1.414
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:11.024
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.000
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.894
And Tails detects disk read failures on the boot device 1.722
When I try to enable persistence 1.485
Then the Welcome Screen tells me that my hardware is probably failing 4.916
When I log in to a new session 19.279
And all notifications have disappeared 6.825
Then the Tor Browser starts 20.049
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.851
After features/support/hooks.rb:326 1.112
After features/support/hooks.rb:100 0.000