Project Number Date
test_Tails_ISO_stable 4987 01 Aug 2024, 13:05

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 115 1 5 0 0 121 16 1 17 46:56.540 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:30.263
Before features/support/hooks.rb:269 0.005
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:43.082
And I update APT using apt 17.609
And I install "python3-behave" using apt 25.951
Then the Tails Persistent Storage behave tests pass 3.620
After features/support/hooks.rb:326 0.722
After features/support/hooks.rb:100 0.000
Tags: @product
1:46.310
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 1:10.036
When I log in to a new session without activating the Persistent Storage 22.952
Then Tails is running from USB drive "__internal" 0.739
And persistence is disabled 0.394
But a Tails persistence partition exists on USB drive "__internal" 12.187
After features/support/hooks.rb:326 2.886
After features/support/hooks.rb:100 0.000
Tags: @product
4:34.086
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive without a persistent partition and logged in 1:17.098
Then Tails is running from USB drive "__internal" 1.284
When I create a file in the Persistent directory 0.286
And I create a persistent partition with the default settings 24.722
Then the file I created was copied to the Persistent Storage 0.703
When I shutdown Tails and wait for the computer to power off 13.522
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:35.980
Then persistence for "Persistent" is active 0.395
And the file I created in the Persistent directory exists 0.091
After features/support/hooks.rb:326 0.717
After features/support/hooks.rb:100 0.013
Tags: @product
1:1.376
Before features/support/hooks.rb:269 0.009
Given I have started Tails without network from a USB drive without a persistent partition and logged in 20.270
And the system is very low on memory 4.428
When I create a file in the Persistent directory 1.248
When I try to create a persistent partition 15.908
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.294
When I close the Persistent Storage app 2.632
And I free up some memory 1.295
And I create a persistent partition with the default settings 15.036
Then the file I created was copied to the Persistent Storage 0.261
After features/support/hooks.rb:326 1.415
After features/support/hooks.rb:100 0.000
Tags: @product
3:1.827
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 17.691
Then Tails is running from USB drive "__internal" 0.582
And all tps features are active 2.826
And all persistent directories have safe access rights 2.883
When I disable the first tps feature 5.454
Then all tps features but the first one are active 3.179
And I shutdown Tails and wait for the computer to power off 13.490
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.425
Then all tps features but the first one are active 3.294
After features/support/hooks.rb:326 1.077
After features/support/hooks.rb:100 0.014
Tags: @product
21.776
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.590
Then persistence for "Persistent" is active 0.213
And I create a file in the Persistent directory 0.079
Then the file I created was copied to the Persistent Storage 0.113
When I disable the first tps feature 5.579
Then persistence for "Persistent" is not active 0.099
And the Persistent directory does not exist 0.063
When I enable the first tps feature 3.841
Then persistence for "Persistent" is active 0.100
And the file I created in the Persistent directory exists 0.095
After features/support/hooks.rb:326 0.917
After features/support/hooks.rb:100 0.000
Tags: @product
23.203
Before features/support/hooks.rb:269 0.009
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 12.561
Then persistence for "Persistent" is active 0.150
When I create a file in the Persistent directory 0.137
And I disable the first tps feature 6.303
And I delete the data of the Persistent Folder feature 3.973
Then the file I created does not exist on the Persistent Storage 0.077
After features/support/hooks.rb:326 1.265
After features/support/hooks.rb:100 0.000
Tags: @product
1:18.839
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 11.571
And the network is plugged 0.053
And Tor is ready 25.771
And I take note of which tps features are available 0.953
When I write some files expected to persist 2.029
And I shutdown Tails and wait for the computer to power off 9.793
# 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" 28.667
After features/support/hooks.rb:326 0.178
After features/support/hooks.rb:100 0.000
Tags: @product
3:8.933
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.619
And the network is plugged 0.056
And Tor is ready 17.666
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.241
And I shutdown Tails and wait for the computer to power off 8.939
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.695
And I capture all network traffic 0.008
And the network is plugged 0.076
And Tor is ready 19.942
And I switch to the "persistent-con-current" NetworkManager connection 0.326
And the 1st network device has a spoofed MAC address configured 0.081
And no network device leaked the real MAC address 0.278
After features/support/hooks.rb:326 1.455
After features/support/hooks.rb:100 0.063
Tags: @product
1:7.881
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 15.765
And I enable persistence creation in Tails Greeter 1.529
And I log in to a new session expecting no warning about the Persistent Storage not being activated 25.730
Then I create a persistent partition with the default settings using the wizard that was already open 24.855
After features/support/hooks.rb:326 1.694
After features/support/hooks.rb:100 0.000
Tags: @product
5:54.414
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 46.681
When I enable persistence 45.366
Then no persistent Greeter options were restored 16.219
When I set all Greeter options to non-default values 27.345
And I log in to a new session in German (de) after having activated the Persistent Storage 56.075
Then all Greeter options are set to non-default values 0.417
When I cold reboot the computer 8.133
And the computer reboots Tails 1:4.145
Given I enable persistence 37.651
Then persistent Greeter options were restored 16.231
When I log in to a new session after having activated the Persistent Storage 35.386
Then all Greeter options are set to non-default values 0.759
After features/support/hooks.rb:326 0.955
After features/support/hooks.rb:100 0.009
Tags: @product
4:4.299
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 15.400
# 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 32.469
And I shutdown Tails and wait for the computer to power off 14.653
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:22.284
And I change the passphrase of the Persistent Storage back to the original 39.491
After features/support/hooks.rb:326 3.292
After features/support/hooks.rb:100 0.052
Tags: @product
1:8.602
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 15.103
And I log in to a new session without activating the Persistent Storage 24.496
Then persistence is disabled 0.315
But a Tails persistence partition exists on USB drive "__internal" 10.623
And all notifications have disappeared 11.725
When I delete the persistent partition 5.787
Then there is no persistence partition on USB drive "__internal" 0.550
After features/support/hooks.rb:326 1.899
After features/support/hooks.rb:100 0.000
Tags: @product
2:48.825
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.946
When I write some dotfile expected to persist 0.126
And I shutdown Tails and wait for the computer to power off 11.843
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:22.585
Then the expected persistent dotfile is present in the filesystem 0.324
After features/support/hooks.rb:326 0.859
After features/support/hooks.rb:100 0.010
Tags: @product
1:11.340
Scenario Feature activation fails
Before features/support/hooks.rb:269 0.006
Steps
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 10.944
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.092
When I try to enable persistence 0.302
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 1:0.001
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:1717: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 10.668

SCENARIO FAILED: 'Feature activation fails' (at time 03:54:24)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4987/artifact/build-artifacts/03:54:24_Feature_activation_fails.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4987/artifact/build-artifacts/03:54:24_Feature_activation_fails.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4987/artifact/build-artifacts/03:54:24_Feature_activation_fails.journal

After features/support/hooks.rb:100 0.000
Tags: @product
11:25.693
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 10:4.655
And I enable persistence 36.629
And I log in to a new session after having activated the Persistent Storage 41.899
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.003
And persistence is enabled 0.506
After features/support/hooks.rb:326 1.649
After features/support/hooks.rb:100 0.000
Tags: @product
1:8.866
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 16.968
And I enable persistence but something goes wrong during the LUKS header upgrade 50.971
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.926
After features/support/hooks.rb:326 0.755
After features/support/hooks.rb:100 0.000