Project Number Date
test_Tails_ISO_stable 5295 27 Nov 2024, 09:02

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 154 1 2 0 0 157 20 1 21 1:1:52.324 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:23.336
Before features/support/hooks.rb:269 0.007
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:39.286
And I update APT using apt 14.628
And I install "python3-behave" using apt 26.260
Then the Tails Persistent Storage behave tests pass 3.161
After features/support/hooks.rb:326 0.736
After features/support/hooks.rb:100 0.000
Tags: @product
1:0.270
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 14.380
When I log in to a new session without activating the Persistent Storage 30.221
Then Tails is running from USB drive "__internal" 1.071
And persistence is disabled 0.599
But a Tails persistence partition exists on USB drive "__internal" 13.997
After features/support/hooks.rb:326 1.280
After features/support/hooks.rb:100 0.000
Tags: @product
23:18.285
Scenario Creating a Persistent Storage
Before features/support/hooks.rb:269 0.008
Steps
Given I have started Tails without network from a USB drive without a persistent partition and logged in 12.701
Then Tails is running from USB drive "__internal" 0.575
When I create a file in the Persistent directory 0.183
And I create a persistent partition with the default settings 24.689
Then the file I created was copied to the Persistent Storage 0.802
When I shutdown Tails and wait for the computer to power off 13.637
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 22:25.695
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:26:in `And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled'
Then persistence for "Persistent" is active 0.000
And the file I created in the Persistent directory exists 0.000
After features/support/hooks.rb:326 10.879

SCENARIO FAILED: 'Creating a Persistent Storage' (at time 03:20:51)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5295/artifact/build-artifacts/03:20:51_Creating_a_Persistent_Storage.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5295/artifact/build-artifacts/03:20:51_Creating_a_Persistent_Storage.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5295/artifact/build-artifacts/03:20:51_Creating_a_Persistent_Storage.journal

After features/support/hooks.rb:100 0.013
Tags: @product
1:9.174
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 12.729
And the system is very low on memory 11.290
When I create a file in the Persistent directory 1.964
When I try to create a persistent partition 24.752
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.223
When I close the Persistent Storage app 2.556
And I free up some memory 1.528
And I create a persistent partition with the default settings 13.884
Then the file I created was copied to the Persistent Storage 0.243
After features/support/hooks.rb:326 1.270
After features/support/hooks.rb:100 0.000
Tags: @product
2:52.516
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 11.680
Then Tails is running from USB drive "__internal" 1.178
And all tps features are active 2.315
And all persistent directories have safe access rights 2.588
When I disable the first tps feature 5.762
Then all tps features but the first one are active 2.090
And I shutdown Tails and wait for the computer to power off 9.210
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.097
Then all tps features but the first one are active 2.592
After features/support/hooks.rb:326 0.673
After features/support/hooks.rb:100 0.011
Tags: @product
20.473
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 9.847
Then persistence for "Persistent" is active 0.101
And I create a file in the Persistent directory 0.082
Then the file I created was copied to the Persistent Storage 0.144
When I disable the first tps feature 6.287
Then persistence for "Persistent" is not active 0.077
And the Persistent directory does not exist 0.061
When I enable the first tps feature 3.711
Then persistence for "Persistent" is active 0.076
And the file I created in the Persistent directory exists 0.082
After features/support/hooks.rb:326 0.910
After features/support/hooks.rb:100 0.000
Tags: @product
20.615
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.043
Then persistence for "Persistent" is active 0.094
When I create a file in the Persistent directory 0.083
And I disable the first tps feature 6.536
And I delete the data of the Persistent Folder feature 3.792
Then the file I created does not exist on the Persistent Storage 0.065
After features/support/hooks.rb:326 0.959
After features/support/hooks.rb:100 0.000
Tags: @product
1:6.881
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 9.362
And the network is plugged 0.081
And Tor is ready 20.447
And I take note of which tps features are available 0.667
When I write some files expected to persist 1.486
And I shutdown Tails and wait for the computer to power off 8.799
# 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.036
After features/support/hooks.rb:326 0.118
After features/support/hooks.rb:100 0.000
Tags: @product
3:11.477
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.143
And the network is plugged 0.086
And Tor is ready 21.249
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.220
And I shutdown Tails and wait for the computer to power off 10.964
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.166
And I capture all network traffic 0.008
And the network is plugged 0.067
And Tor is ready 21.879
And I switch to the "persistent-con-current" NetworkManager connection 0.353
And the 1st network device has a spoofed MAC address configured 0.149
And no network device leaked the real MAC address 0.188
After features/support/hooks.rb:326 0.658
After features/support/hooks.rb:100 0.072
Tags: @product
1:6.225
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 17.187
And I enable persistence creation in Tails Greeter 1.120
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.841
Then I create a persistent partition with the default settings using the wizard that was already open 26.076
After features/support/hooks.rb:326 1.900
After features/support/hooks.rb:100 0.000
Tags: @product
4:24.586
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.405
When I enable persistence 35.856
Then no persistent Greeter options were restored 13.809
When I set all Greeter options to non-default values 24.453
And I log in to a new session in German (de) after having activated the Persistent Storage 49.879
Then all Greeter options are set to non-default values 0.349
When I cold reboot the computer 7.612
And the computer reboots Tails 1:0.964
Given I enable persistence 18.977
Then persistent Greeter options were restored 0.568
When I log in to a new session after having activated the Persistent Storage 39.236
Then all Greeter options are set to non-default values 0.472
After features/support/hooks.rb:326 0.942
After features/support/hooks.rb:100 0.011
Tags: @product
3:42.435
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.114
# 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.957
And I shutdown Tails and wait for the computer to power off 12.531
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:8.458
And I change the passphrase of the Persistent Storage back to the original 39.373
After features/support/hooks.rb:326 2.074
After features/support/hooks.rb:100 0.019
Tags: @product
1:0.612
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.183
And I log in to a new session without activating the Persistent Storage 21.304
Then persistence is disabled 0.285
But a Tails persistence partition exists on USB drive "__internal" 11.529
And all notifications have disappeared 9.548
When I delete the persistent partition 6.409
Then there is no persistence partition on USB drive "__internal" 0.351
After features/support/hooks.rb:326 0.967
After features/support/hooks.rb:100 0.000
Tags: @product
2:27.149
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.929
When I write some dotfile expected to persist 0.086
And I shutdown Tails and wait for the computer to power off 8.790
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.880
Then the expected persistent dotfile is present in the filesystem 0.462
After features/support/hooks.rb:326 0.651
After features/support/hooks.rb:100 0.010
Tags: @product
1:58.700
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.228
And I create a symlink "/home/amnesia/Persistent" to "/etc" 1.229
When I try to enable persistence 0.279
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 41.425
When I log in to a new session after having activated the Persistent Storage 47.131
And all notifications have disappeared 8.966
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 5.145
And all tps features are enabled 2.614
And all tps features but the first one are active 2.680
After features/support/hooks.rb:326 0.999
After features/support/hooks.rb:100 0.000
Tags: @product
6:12.771
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 4:44.104
And I enable persistence 34.944
And I log in to a new session after having activated the Persistent Storage 48.841
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.041
And persistence is enabled 2.837
After features/support/hooks.rb:326 0.979
After features/support/hooks.rb:100 0.000
Tags: @product
30.813
Before features/support/hooks.rb:269 0.009
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.135
And I enable persistence but something goes wrong during the LUKS header upgrade 20.855
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.823
After features/support/hooks.rb:326 0.760
After features/support/hooks.rb:100 0.000
Tags: @product
1:5.525
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 22.498
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.611
When I enable persistence 34.486
Then the filesystem of the Persistent Storage was repaired 0.087
And persistence is successfully enabled 2.841
After features/support/hooks.rb:326 1.481
After features/support/hooks.rb:100 0.000
Tags: @product
26.377
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 8.503
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.268
When I try to enable persistence 0.451
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.781
When I repair the filesystem of the Persistent Storage 1.275
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.226
And the filesystem of the Persistent Storage was repaired 0.074
When I close the filesystem repair dialog 1.200
Then persistence is successfully enabled 1.595
After features/support/hooks.rb:326 0.856
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:53.748
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 9.201
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.138
When I try to enable persistence 0.301
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 34.341
When I repair the filesystem of the Persistent Storage 1.228
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.079
When I log in to a new session 32.990
And all notifications have disappeared 9.441
# 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" 1.677
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.627
When I close the "whisperback" window 1.660
Then the Tor Browser starts 20.935
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.122
After features/support/hooks.rb:326 3.868
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:20.346
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 10.069
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.259
And Tails detects disk read failures on the boot device 0.534
When I try to enable persistence 0.485
Then the Welcome Screen tells me that my hardware is probably failing 6.733
When I log in to a new session 21.151
And all notifications have disappeared 7.903
Then the Tor Browser starts 23.245
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.962
After features/support/hooks.rb:326 1.999
After features/support/hooks.rb:100 0.000