Project Number Date
test_Tails_ISO_stable 4830 06 May 2024, 15:32

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 119 1 1 0 0 121 16 1 17 57:28.976 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:33.307
Before features/support/hooks.rb:259 0.005
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:45.031
And I update APT using apt 19.474
And I install "python3-behave" using apt 25.504
Then the Tails Persistent Storage behave tests pass 3.296
After features/support/hooks.rb:305 0.782
After features/support/hooks.rb:89 0.000
Tags: @product
58.148
Before features/support/hooks.rb:259 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 14.905
When I log in to a new session without activating the Persistent Storage 26.074
Then Tails is running from USB drive "__internal" 0.599
And persistence is disabled 0.465
But a Tails persistence partition exists on USB drive "__internal" 16.104
After features/support/hooks.rb:305 1.398
After features/support/hooks.rb:89 0.000
Tags: @product
3:19.035
Before features/support/hooks.rb:259 0.007
Given I have started Tails without network from a USB drive without a persistent partition and logged in 15.165
Then Tails is running from USB drive "__internal" 2.322
When I create a file in the Persistent directory 0.182
And I create a persistent partition with the default settings 27.318
Then the file I created was copied to the Persistent Storage 0.724
When I shutdown Tails and wait for the computer to power off 12.804
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:20.149
Then persistence for "Persistent" is active 0.298
And the file I created in the Persistent directory exists 0.069
After features/support/hooks.rb:305 0.784
After features/support/hooks.rb:89 0.009
Tags: @product
1:7.872
Before features/support/hooks.rb:259 0.005
Given I have started Tails without network from a USB drive without a persistent partition and logged in 11.866
And the system is very low on memory 8.428
When I create a file in the Persistent directory 1.214
When I try to create a persistent partition 25.946
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.197
When I close the Persistent Storage app 2.639
And I free up some memory 1.721
And I create a persistent partition with the default settings 15.603
Then the file I created was copied to the Persistent Storage 0.253
After features/support/hooks.rb:305 1.313
After features/support/hooks.rb:89 0.000
Tags: @product
22:30.836
Scenario Booting Tails from a USB drive with an enabled persistent partition and reconfiguring it
Before features/support/hooks.rb:259 0.005
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.384
Then Tails is running from USB drive "__internal" 0.382
And all tps features are active 2.584
And all persistent directories have safe access rights 2.561
When I disable the first tps feature 5.277
Then all tps features but the first one are active 2.297
And I shutdown Tails and wait for the computer to power off 10.810
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 21:55.538
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:711:in `new'
./features/step_definitions/common_steps.rb:711:in `/^all notifications have disappeared$/'
./features/step_definitions/common_steps.rb:295: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:305 9.771

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

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4830/artifact/build-artifacts/03:27:01_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_stable/4830/artifact/build-artifacts/03:27:01_Booting_Tails_from_a_USB_drive_with_an_enabled_persistent_partition_and_reconfiguring_it.mkv

After features/support/hooks.rb:89 0.008
Tags: @product
20.558
Before features/support/hooks.rb:259 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 12.070
Then persistence for "Persistent" is active 0.083
And I create a file in the Persistent directory 0.081
Then the file I created was copied to the Persistent Storage 0.063
When I disable the first tps feature 4.889
Then persistence for "Persistent" is not active 0.082
And the Persistent directory does not exist 0.048
When I enable the first tps feature 3.082
Then persistence for "Persistent" is active 0.084
And the file I created in the Persistent directory exists 0.072
After features/support/hooks.rb:305 0.719
After features/support/hooks.rb:89 0.000
Tags: @product
25.725
Before features/support/hooks.rb:259 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.849
Then persistence for "Persistent" is active 0.095
When I create a file in the Persistent directory 0.068
And I disable the first tps feature 12.064
And I delete the data of the Persistent Folder feature 3.579
Then the file I created does not exist on the Persistent Storage 0.067
After features/support/hooks.rb:305 1.003
After features/support/hooks.rb:89 0.000
Tags: @product
1:11.318
Before features/support/hooks.rb:259 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 12.173
And the network is plugged 0.450
And Tor is ready 23.321
And I take note of which tps features are available 0.696
When I write some files expected to persist 1.504
And I shutdown Tails and wait for the computer to power off 8.693
# 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.477
After features/support/hooks.rb:305 0.201
After features/support/hooks.rb:89 0.000
Tags: @product
2:59.877
Before features/support/hooks.rb:259 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.686
And the network is plugged 0.040
And Tor is ready 18.357
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.279
And I shutdown Tails and wait for the computer to power off 8.645
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:2.301
And I capture all network traffic 0.006
And the network is plugged 0.051
And Tor is ready 19.786
And I switch to the "persistent-con-current" NetworkManager connection 0.371
And the 1st network device has a spoofed MAC address configured 0.104
And no network device leaked the real MAC address 0.245
After features/support/hooks.rb:305 0.680
After features/support/hooks.rb:89 0.059
Tags: @product
1:1.499
Before features/support/hooks.rb:259 0.004
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 12.016
And I enable persistence creation in Tails Greeter 1.114
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.640
Then I create a persistent partition with the default settings using the wizard that was already open 25.727
After features/support/hooks.rb:305 1.763
After features/support/hooks.rb:89 0.000
Tags: @product
5:10.269
Before features/support/hooks.rb:259 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.331
When I enable persistence 38.594
Then no persistent Greeter options were restored 15.424
When I set all Greeter options to non-default values 25.220
And I log in to a new session in German (de) after having activated the Persistent Storage 56.768
Then all Greeter options are set to non-default values 0.224
When I cold reboot the computer 7.988
And the computer reboots Tails 1:8.298
Given I enable persistence 31.384
Then persistent Greeter options were restored 16.024
When I log in to a new session after having activated the Persistent Storage 37.483
Then all Greeter options are set to non-default values 0.525
After features/support/hooks.rb:305 1.366
After features/support/hooks.rb:89 0.008
Tags: @product
4:5.886
Before features/support/hooks.rb:259 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 12.121
# 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.441
And I shutdown Tails and wait for the computer to power off 15.197
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:23.551
And I change the passphrase of the Persistent Storage back to the original 38.575
After features/support/hooks.rb:305 2.626
After features/support/hooks.rb:89 0.010
Tags: @product
1:1.708
Before features/support/hooks.rb:259 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.162
And I log in to a new session without activating the Persistent Storage 23.163
Then persistence is disabled 0.296
But a Tails persistence partition exists on USB drive "__internal" 8.289
And all notifications have disappeared 10.715
When I delete the persistent partition 7.550
Then there is no persistence partition on USB drive "__internal" 0.531
After features/support/hooks.rb:305 0.856
After features/support/hooks.rb:89 0.000
Tags: @product
2:29.912
Before features/support/hooks.rb:259 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.955
When I write some dotfile expected to persist 0.070
And I shutdown Tails and wait for the computer to power off 9.041
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.495
Then the expected persistent dotfile is present in the filesystem 0.350
After features/support/hooks.rb:305 0.606
After features/support/hooks.rb:89 0.007
Tags: @product
1:43.019
Before features/support/hooks.rb:259 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.946
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.087
When I try to enable persistence 0.286
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 37.908
When I log in to a new session after having activated the Persistent Storage 37.297
And all notifications have disappeared 8.062
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.619
And all tps features are enabled 2.489
And all tps features but the first one are active 2.321
After features/support/hooks.rb:305 1.493
After features/support/hooks.rb:89 0.000
Tags: @product
5:54.412
Before features/support/hooks.rb:259 0.004
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:29.850
And I enable persistence 37.400
And I log in to a new session after having activated the Persistent Storage 45.825
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.050
And persistence is enabled 0.284
After features/support/hooks.rb:305 1.055
After features/support/hooks.rb:89 0.000
Tags: @product
35.587
Before features/support/hooks.rb:259 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.137
And I enable persistence but something goes wrong during the LUKS header upgrade 24.597
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.852
After features/support/hooks.rb:305 0.767
After features/support/hooks.rb:89 0.000