Project Number Date
test_Tails_ISO_devel 3274 10 Feb 2024, 18:27

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 116 1 3 0 0 120 16 1 17 43:23.075 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
6:9.861
Scenario Tails Persistent Storage behave tests
Before features/support/hooks.rb:245 0.003
Steps
Given I have started Tails from DVD and logged in with an administration password and the network is connected 6:9.861
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/common_steps.rb:719:in `/^available upgrades have been checked$/'
./features/step_definitions/snapshots.rb:148:in `block in reach_checkpoint'
./features/step_definitions/snapshots.rb:145:in `each'
./features/step_definitions/snapshots.rb:145:in `reach_checkpoint'
./features/step_definitions/snapshots.rb:168:in `/^I\ have\ started\ Tails\ from\ DVD\ and\ logged\ in\ with\ an\ administration\ password\ and\ the\ network\ is\ connected$/'
features/persistence.feature:7:in `Given I have started Tails from DVD and logged in with an administration password and the network is connected'
And I update APT using apt 0.000
And I install "python3-behave" using apt 0.000
Then the Tails Persistent Storage behave tests pass 0.000
After features/support/hooks.rb:291 4.110

SCENARIO FAILED: 'Tails Persistent Storage behave tests' (at time 03:56:44)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3274/artifact/build-artifacts/03:56:44_Tails_Persistent_Storage_behave_tests.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3274/artifact/build-artifacts/03:56:44_Tails_Persistent_Storage_behave_tests.mkv

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3274/artifact/build-artifacts/03:56:44_Tails_Persistent_Storage_behave_tests.boot-log

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3274/artifact/build-artifacts/03:56:44_Tails_Persistent_Storage_behave_tests.journal

After features/support/hooks.rb:75 0.000
Tags: @product
52.545
Before features/support/hooks.rb:245 0.003
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 13.883
When I log in to a new session without activating the Persistent Storage 27.534
Then Tails is running from USB drive "__internal" 0.345
And persistence is disabled 0.166
But a Tails persistence partition exists on USB drive "__internal" 10.615
After features/support/hooks.rb:291 1.145
After features/support/hooks.rb:75 0.000
Tags: @product
3:27.216
Before features/support/hooks.rb:245 0.002
Given I have started Tails without network from a USB drive without a persistent partition and logged in 10.286
Then Tails is running from USB drive "__internal" 0.525
When I create a file in the Persistent directory 0.165
And I create a persistent partition with the default settings 29.374
Then the file I created was copied to the Persistent Storage 0.508
When I shutdown Tails and wait for the computer to power off 11.304
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:34.574
Then persistence for "Persistent" is active 0.404
And the file I created in the Persistent directory exists 0.071
After features/support/hooks.rb:291 0.743
After features/support/hooks.rb:75 0.007
Tags: @product
1:8.658
Before features/support/hooks.rb:245 0.002
Given I have started Tails without network from a USB drive without a persistent partition and logged in 10.879
And the system is very low on memory 2.439
When I create a file in the Persistent directory 0.749
When I try to create a persistent partition 27.345
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.163
When I close the Persistent Storage app 2.583
And I free up some memory 1.548
And I create a persistent partition with the default settings 22.688
Then the file I created was copied to the Persistent Storage 0.261
After features/support/hooks.rb:291 1.026
After features/support/hooks.rb:75 0.000
Tags: @product
2:59.105
Before features/support/hooks.rb:245 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.493
Then Tails is running from USB drive "__internal" 0.411
And all tps features are active 2.174
And all persistent directories have safe access rights 2.757
When I disable the first tps feature 15.480
Then all tps features but the first one are active 2.323
And I shutdown Tails and wait for the computer to power off 6.175
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:17.823
Then all tps features but the first one are active 2.465
After features/support/hooks.rb:291 0.736
After features/support/hooks.rb:75 0.009
Tags: @product
39.843
Before features/support/hooks.rb:245 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.686
Then persistence for "Persistent" is active 0.183
And I create a file in the Persistent directory 0.066
Then the file I created was copied to the Persistent Storage 0.080
When I disable the first tps feature 15.973
Then persistence for "Persistent" is not active 0.068
And the Persistent directory does not exist 0.055
When I enable the first tps feature 13.569
Then persistence for "Persistent" is active 0.086
And the file I created in the Persistent directory exists 0.072
After features/support/hooks.rb:291 1.081
After features/support/hooks.rb:75 0.000
Tags: @product
38.610
Before features/support/hooks.rb:245 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.232
Then persistence for "Persistent" is active 0.076
When I create a file in the Persistent directory 0.087
And I disable the first tps feature 15.944
And I delete the data of the Persistent Folder feature 13.005
Then the file I created does not exist on the Persistent Storage 0.262
After features/support/hooks.rb:291 0.951
After features/support/hooks.rb:75 0.000
Tags: @product
55.507
Before features/support/hooks.rb:245 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.011
And the network is plugged 0.036
And Tor is ready 19.186
And I take note of which tps features are available 0.637
When I write some files expected to persist 2.166
And I shutdown Tails and wait for the computer to power off 8.071
# 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" 16.396
After features/support/hooks.rb:291 0.103
After features/support/hooks.rb:75 0.000
Tags: @product
3:8.479
Before features/support/hooks.rb:245 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 8.988
And the network is plugged 0.086
And Tor is ready 21.358
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.256
And I shutdown Tails and wait for the computer to power off 8.169
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.370
And I capture all network traffic 0.004
And the network is plugged 0.047
And Tor is ready 16.339
And I switch to the "persistent-con-current" NetworkManager connection 0.494
And the 1st network device has a spoofed MAC address configured 0.138
And no network device leaked the real MAC address 0.224
After features/support/hooks.rb:291 0.727
After features/support/hooks.rb:75 0.111
Tags: @product
55.094
Before features/support/hooks.rb:245 0.003
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 13.957
And I enable persistence creation in Tails Greeter 1.221
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.470
Then I create a persistent partition with the default settings using the wizard that was already open 17.445
After features/support/hooks.rb:291 1.809
After features/support/hooks.rb:75 0.000
Tags: @product
5:16.417
Before features/support/hooks.rb:245 0.002
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 12.379
When I enable persistence 46.282
Then no persistent Greeter options were restored 14.995
When I set all Greeter options to non-default values 25.001
And I log in to a new session in German (de) after having activated the Persistent Storage 47.071
Then all Greeter options are set to non-default values 0.213
When I cold reboot the computer 6.003
And the computer reboots Tails 57.483
Given I enable persistence 52.857
Then persistent Greeter options were restored 15.079
When I log in to a new session after having activated the Persistent Storage 38.730
Then all Greeter options are set to non-default values 0.320
After features/support/hooks.rb:291 0.854
After features/support/hooks.rb:75 0.006
Tags: @product
4:15.288
Before features/support/hooks.rb:245 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.779
# 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 47.834
And I shutdown Tails and wait for the computer to power off 11.654
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:18.587
And I change the passphrase of the Persistent Storage back to the original 47.433
After features/support/hooks.rb:291 1.605
After features/support/hooks.rb:75 0.006
Tags: @product
58.077
Before features/support/hooks.rb:245 0.003
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.955
And I log in to a new session without activating the Persistent Storage 20.718
Then persistence is disabled 0.163
But a Tails persistence partition exists on USB drive "__internal" 5.600
And all notifications have disappeared 5.399
When I delete the persistent partition 15.778
Then there is no persistence partition on USB drive "__internal" 0.461
After features/support/hooks.rb:291 0.708
After features/support/hooks.rb:75 0.000
Tags: @product
2:35.671
Before features/support/hooks.rb:245 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.449
When I write some dotfile expected to persist 0.066
And I shutdown Tails and wait for the computer to power off 6.104
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:19.647
Then the expected persistent dotfile is present in the filesystem 0.403
After features/support/hooks.rb:291 0.708
After features/support/hooks.rb:75 0.006
Tags: @product
1:46.249
Before features/support/hooks.rb:245 0.003
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.118
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.083
When I try to enable persistence 0.290
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 30.178
When I log in to a new session after having activated the Persistent Storage 45.965
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 15.391
And all tps features are enabled 2.899
And all tps features but the first one are active 2.321
After features/support/hooks.rb:291 1.796
After features/support/hooks.rb:75 0.000
Tags: @product
6:55.933
Before features/support/hooks.rb:245 0.003
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 5:5.329
And I enable persistence 33.680
And I log in to a new session after having activated the Persistent Storage 1:15.602
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.186
And persistence is enabled 0.134
After features/support/hooks.rb:291 1.219
After features/support/hooks.rb:75 0.000
Tags: @product
40.513
Before features/support/hooks.rb:245 0.003
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.586
And I enable persistence but something goes wrong during the LUKS header upgrade 31.183
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.744
After features/support/hooks.rb:291 0.651
After features/support/hooks.rb:75 0.000