Project Number Date
test_Tails_ISO_devel 3599 25 Nov 2024, 13:21

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 1:10:16.084 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:32.910
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:49.313
And I update APT using apt 15.389
And I install "python3-behave" using apt 25.926
Then the Tails Persistent Storage behave tests pass 2.281
After features/support/hooks.rb:326 1.836
After features/support/hooks.rb:100 0.000
Tags: @product
1:37.256
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 55.664
When I log in to a new session without activating the Persistent Storage 27.391
Then Tails is running from USB drive "__internal" 1.047
And persistence is disabled 0.449
But a Tails persistence partition exists on USB drive "__internal" 12.703
After features/support/hooks.rb:326 2.112
After features/support/hooks.rb:100 0.000
Tags: @product
3:44.914
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 36.812
Then Tails is running from USB drive "__internal" 0.549
When I create a file in the Persistent directory 0.134
And I create a persistent partition with the default settings 28.230
Then the file I created was copied to the Persistent Storage 0.557
When I shutdown Tails and wait for the computer to power off 12.990
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:25.137
Then persistence for "Persistent" is active 0.411
And the file I created in the Persistent directory exists 0.090
After features/support/hooks.rb:326 0.754
After features/support/hooks.rb:100 0.008
Tags: @product
1:24.275
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 23.067
And the system is very low on memory 7.148
When I create a file in the Persistent directory 1.214
When I try to create a persistent partition 24.714
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.261
When I close the Persistent Storage app 2.530
And I free up some memory 2.070
And I create a persistent partition with the default settings 23.004
Then the file I created was copied to the Persistent Storage 0.263
After features/support/hooks.rb:326 2.221
After features/support/hooks.rb:100 0.000
Tags: @product
3:20.962
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 16.005
Then Tails is running from USB drive "__internal" 0.644
And all tps features are active 6.788
And all persistent directories have safe access rights 2.774
When I disable the first tps feature 11.888
Then all tps features but the first one are active 5.783
And I shutdown Tails and wait for the computer to power off 15.386
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.034
Then all tps features but the first one are active 6.656
After features/support/hooks.rb:326 0.888
After features/support/hooks.rb:100 0.011
Tags: @product
25.498
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 13.810
Then persistence for "Persistent" is active 0.248
And I create a file in the Persistent directory 0.214
Then the file I created was copied to the Persistent Storage 0.078
When I disable the first tps feature 6.783
Then persistence for "Persistent" is not active 0.283
And the Persistent directory does not exist 0.101
When I enable the first tps feature 3.827
Then persistence for "Persistent" is active 0.070
And the file I created in the Persistent directory exists 0.079
After features/support/hooks.rb:326 0.907
After features/support/hooks.rb:100 0.000
Tags: @product
25.040
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 13.312
Then persistence for "Persistent" is active 0.131
When I create a file in the Persistent directory 0.122
And I disable the first tps feature 7.435
And I delete the data of the Persistent Folder feature 3.958
Then the file I created does not exist on the Persistent Storage 0.079
After features/support/hooks.rb:326 0.927
After features/support/hooks.rb:100 0.000
Tags: @product
1:10.181
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.310
And the network is plugged 0.154
And Tor is ready 21.444
And I take note of which tps features are available 0.728
When I write some files expected to persist 1.782
And I shutdown Tails and wait for the computer to power off 9.758
# 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" 26.001
After features/support/hooks.rb:326 0.116
After features/support/hooks.rb:100 0.000
Tags: @product
3:54.312
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.544
And the network is plugged 0.111
And Tor is ready 20.745
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 1.574
And I shutdown Tails and wait for the computer to power off 12.908
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:45.206
And I capture all network traffic 0.008
And the network is plugged 0.129
And Tor is ready 23.421
And I switch to the "persistent-con-current" NetworkManager connection 0.386
And the 1st network device has a spoofed MAC address configured 0.115
And no network device leaked the real MAC address 0.159
After features/support/hooks.rb:326 0.666
After features/support/hooks.rb:100 0.065
Tags: @product
1:36.010
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 41.842
And I enable persistence creation in Tails Greeter 1.228
And I log in to a new session expecting no warning about the Persistent Storage not being activated 25.754
Then I create a persistent partition with the default settings using the wizard that was already open 27.184
After features/support/hooks.rb:326 3.077
After features/support/hooks.rb:100 0.000
Tags: @product
5:12.568
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 24.504
When I enable persistence 50.321
Then no persistent Greeter options were restored 14.587
When I set all Greeter options to non-default values 29.577
And I log in to a new session in German (de) after having activated the Persistent Storage 56.101
Then all Greeter options are set to non-default values 0.519
When I cold reboot the computer 7.748
And the computer reboots Tails 1:5.330
Given I enable persistence 20.655
Then persistent Greeter options were restored 0.608
When I log in to a new session after having activated the Persistent Storage 41.810
Then all Greeter options are set to non-default values 0.803
After features/support/hooks.rb:326 1.776
After features/support/hooks.rb:100 0.009
Tags: @product
4:50.736
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.918
# 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.367
And I shutdown Tails and wait for the computer to power off 16.977
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:59.995
And I change the passphrase of the Persistent Storage back to the original 44.477
After features/support/hooks.rb:326 2.282
After features/support/hooks.rb:100 0.012
Tags: @product
1:3.621
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 13.446
And I log in to a new session without activating the Persistent Storage 23.159
Then persistence is disabled 0.338
But a Tails persistence partition exists on USB drive "__internal" 6.979
And all notifications have disappeared 11.077
When I delete the persistent partition 8.218
Then there is no persistence partition on USB drive "__internal" 0.400
After features/support/hooks.rb:326 0.972
After features/support/hooks.rb:100 0.000
Tags: @product
3:8.076
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.447
When I write some dotfile expected to persist 0.157
And I shutdown Tails and wait for the computer to power off 14.530
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:40.411
Then the expected persistent dotfile is present in the filesystem 0.528
After features/support/hooks.rb:326 0.894
After features/support/hooks.rb:100 0.011
Tags: @product
2:5.199
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.197
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.081
When I try to enable persistence 0.275
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 37.969
When I log in to a new session after having activated the Persistent Storage 53.461
And all notifications have disappeared 8.056
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.697
And all tps features are enabled 2.562
And all tps features but the first one are active 7.896
After features/support/hooks.rb:326 1.093
After features/support/hooks.rb:100 0.000
Tags: @product
8:57.182
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 7:11.824
And I enable persistence 44.798
And I log in to a new session after having activated the Persistent Storage 54.323
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.789
And persistence is enabled 3.446
After features/support/hooks.rb:326 1.045
After features/support/hooks.rb:100 0.000
Tags: @product
31.295
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.561
And I enable persistence but something goes wrong during the LUKS header upgrade 19.745
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.988
After features/support/hooks.rb:326 0.915
After features/support/hooks.rb:100 0.000
Tags: @product
54.638
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 9.489
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.511
When I enable persistence 36.344
Then the filesystem of the Persistent Storage was repaired 0.120
And persistence is successfully enabled 3.172
After features/support/hooks.rb:326 1.019
After features/support/hooks.rb:100 0.000
Tags: @product
30.869
Before features/support/hooks.rb:269 0.010
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 10.175
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.175
When I try to enable persistence 0.477
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 8.278
When I repair the filesystem of the Persistent Storage 1.339
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.270
And the filesystem of the Persistent Storage was repaired 0.342
When I close the filesystem repair dialog 1.205
Then persistence is successfully enabled 1.602
After features/support/hooks.rb:326 0.974
After features/support/hooks.rb:100 0.000
Tags: @product @doc
21:28.760
Scenario Manual filesystem repair 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 9.110
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.125
When I try to enable persistence 0.298
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 33.797
When I repair the filesystem of the Persistent Storage 1.267
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.676
When I log in to a new session 43.320
And all notifications have disappeared 20:0.163
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:192:in `And all notifications have disappeared'
# 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.000
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.000
When I close the "whisperback" window 0.000
Then the Tor Browser starts 0.000
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.000
After features/support/hooks.rb:326 10.987

SCENARIO FAILED: 'Manual filesystem repair fails' (at time 04:20:39)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3599/artifact/build-artifacts/04:20:39_Manual_filesystem_repair_fails.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3599/artifact/build-artifacts/04:20:39_Manual_filesystem_repair_fails.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3599/artifact/build-artifacts/04:20:39_Manual_filesystem_repair_fails.journal

After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:21.772
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 10.078
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 9.178
And Tails detects disk read failures on the boot device 1.724
When I try to enable persistence 0.470
Then the Welcome Screen tells me that my hardware is probably failing 6.287
When I log in to a new session 22.057
And all notifications have disappeared 5.980
Then the Tor Browser starts 24.953
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.042
After features/support/hooks.rb:326 1.641
After features/support/hooks.rb:100 0.000