Project Number Date
test_Tails_ISO_devel 3291 20 Feb 2024, 21:58

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 117 1 2 0 0 120 16 1 17 47:57.031 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:13.689
Before features/support/hooks.rb:245 0.009
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:28.862
And I update APT using apt 19.476
And I install "python3-behave" using apt 22.549
Then the Tails Persistent Storage behave tests pass 2.801
After features/support/hooks.rb:291 0.769
After features/support/hooks.rb:75 0.000
Tags: @product
44.546
Before features/support/hooks.rb:245 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.716
When I log in to a new session without activating the Persistent Storage 24.294
Then Tails is running from USB drive "__internal" 0.468
And persistence is disabled 0.263
But a Tails persistence partition exists on USB drive "__internal" 5.804
After features/support/hooks.rb:291 1.235
After features/support/hooks.rb:75 0.000
Tags: @product
3:51.699
Before features/support/hooks.rb:245 0.007
Given I have started Tails without network from a USB drive without a persistent partition and logged in 10.396
Then Tails is running from USB drive "__internal" 0.433
When I create a file in the Persistent directory 0.186
And I create a persistent partition with the default settings 31.009
Then the file I created was copied to the Persistent Storage 0.484
When I shutdown Tails and wait for the computer to power off 11.093
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:57.699
Then persistence for "Persistent" is active 0.327
And the file I created in the Persistent directory exists 0.068
After features/support/hooks.rb:291 1.499
After features/support/hooks.rb:75 0.013
Tags: @product
1:9.768
Before features/support/hooks.rb:245 0.009
Given I have started Tails without network from a USB drive without a persistent partition and logged in 11.069
And the system is very low on memory 3.489
When I create a file in the Persistent directory 1.208
When I try to create a persistent partition 24.255
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.275
When I close the Persistent Storage app 2.487
And I free up some memory 1.797
And I create a persistent partition with the default settings 24.779
Then the file I created was copied to the Persistent Storage 0.405
After features/support/hooks.rb:291 1.191
After features/support/hooks.rb:75 0.000
Tags: @product
3:33.349
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 10.852
Then Tails is running from USB drive "__internal" 0.433
And all tps features are active 2.100
And all persistent directories have safe access rights 2.197
When I disable the first tps feature 15.528
Then all tps features but the first one are active 2.012
And I shutdown Tails and wait for the computer to power off 7.069
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:50.893
Then all tps features but the first one are active 2.263
After features/support/hooks.rb:291 1.092
After features/support/hooks.rb:75 0.009
Tags: @product
38.830
Before features/support/hooks.rb:245 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.195
Then persistence for "Persistent" is active 0.167
And I create a file in the Persistent directory 0.074
Then the file I created was copied to the Persistent Storage 0.090
When I disable the first tps feature 16.068
Then persistence for "Persistent" is not active 0.074
And the Persistent directory does not exist 0.060
When I enable the first tps feature 12.959
Then persistence for "Persistent" is active 0.071
And the file I created in the Persistent directory exists 0.066
After features/support/hooks.rb:291 0.968
After features/support/hooks.rb:75 0.000
Tags: @product
40.809
Before features/support/hooks.rb:245 0.009
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.858
Then persistence for "Persistent" is active 0.094
When I create a file in the Persistent directory 0.080
And I disable the first tps feature 16.217
And I delete the data of the Persistent Folder feature 14.316
Then the file I created does not exist on the Persistent Storage 0.241
After features/support/hooks.rb:291 0.956
After features/support/hooks.rb:75 0.000
Tags: @product
54.158
Before features/support/hooks.rb:245 0.010
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.278
And the network is plugged 0.039
And Tor is ready 20.473
And I take note of which tps features are available 0.567
When I write some files expected to persist 1.441
And I shutdown Tails and wait for the computer to power off 7.050
# 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" 15.308
After features/support/hooks.rb:291 0.117
After features/support/hooks.rb:75 0.000
Tags: @product
3:52.384
Before features/support/hooks.rb:245 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.260
And the network is plugged 0.044
And Tor is ready 20.120
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.243
And I shutdown Tails and wait for the computer to power off 9.090
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:54.021
And I capture all network traffic 0.017
And the network is plugged 0.059
And Tor is ready 18.831
And I switch to the "persistent-con-current" NetworkManager connection 0.371
And the 1st network device has a spoofed MAC address configured 0.096
And no network device leaked the real MAC address 0.227
After features/support/hooks.rb:291 0.771
After features/support/hooks.rb:75 0.069
Tags: @product
52.905
Before features/support/hooks.rb:245 0.007
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 11.252
And I enable persistence creation in Tails Greeter 1.181
And I log in to a new session expecting no warning about the Persistent Storage not being activated 18.805
Then I create a persistent partition with the default settings using the wizard that was already open 21.665
After features/support/hooks.rb:291 1.392
After features/support/hooks.rb:75 0.000
Tags: @product
6:7.964
Before features/support/hooks.rb:245 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 11.605
When I enable persistence 41.245
Then no persistent Greeter options were restored 14.775
When I set all Greeter options to non-default values 29.884
And I log in to a new session in German (de) after having activated the Persistent Storage 1:18.238
Then all Greeter options are set to non-default values 0.540
When I cold reboot the computer 6.276
And the computer reboots Tails 58.463
Given I enable persistence 54.331
Then persistent Greeter options were restored 15.048
When I log in to a new session after having activated the Persistent Storage 57.296
Then all Greeter options are set to non-default values 0.258
After features/support/hooks.rb:291 0.958
After features/support/hooks.rb:75 0.014
Tags: @product
4:46.072
Before features/support/hooks.rb:245 0.009
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.536
# 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 52.021
And I shutdown Tails and wait for the computer to power off 11.660
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:46.397
And I change the passphrase of the Persistent Storage back to the original 45.456
After features/support/hooks.rb:291 2.023
After features/support/hooks.rb:75 0.012
Tags: @product
1:9.883
Before features/support/hooks.rb:245 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 15.072
And I log in to a new session without activating the Persistent Storage 20.994
Then persistence is disabled 0.276
But a Tails persistence partition exists on USB drive "__internal" 9.104
And all notifications have disappeared 8.071
When I delete the persistent partition 15.928
Then there is no persistence partition on USB drive "__internal" 0.435
After features/support/hooks.rb:291 0.991
After features/support/hooks.rb:75 0.000
Tags: @product
3:12.108
Before features/support/hooks.rb:245 0.009
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.548
When I write some dotfile expected to persist 0.087
And I shutdown Tails and wait for the computer to power off 7.159
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:52.914
Then the expected persistent dotfile is present in the filesystem 0.398
After features/support/hooks.rb:291 0.678
After features/support/hooks.rb:75 0.013
Tags: @product
2:13.923
Scenario Feature activation fails
Before features/support/hooks.rb:245 0.009
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.106
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.081
When I try to enable persistence 0.258
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 40.919
When I log in to a new session after having activated the Persistent Storage 1:2.608
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 20.950
cannot find GnomeActivitiesOverviewSearch.png on the screen (FindFailed)
./features/support/helpers/screen.rb:166:in `rescue in wait'
./features/support/helpers/screen.rb:159:in `wait'
./features/step_definitions/common_steps.rb:1015:in `/^I start "([^"]+)" via GNOME Activities Overview$/'
./features/step_definitions/usb.rb:1687:in `/^the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated$/'
features/persistence.feature:148:in `Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated'
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:291 5.628

SCENARIO FAILED: 'Feature activation fails' (at time 03:38:57)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3291/artifact/build-artifacts/03:38:57_Feature_activation_fails.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3291/artifact/build-artifacts/03:38:57_Feature_activation_fails.mkv

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3291/artifact/build-artifacts/03:38:57_Feature_activation_fails.boot-log

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3291/artifact/build-artifacts/03:38:57_Feature_activation_fails.journal

After features/support/hooks.rb:75 0.000
Tags: @product
11:12.290
Before features/support/hooks.rb:245 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:19.504
And I enable persistence 42.436
And I log in to a new session after having activated the Persistent Storage 1:8.489
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.665
And persistence is enabled 0.194
After features/support/hooks.rb:291 0.759
After features/support/hooks.rb:75 0.000
Tags: @product
42.645
Before features/support/hooks.rb:245 0.005
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.349
And I enable persistence but something goes wrong during the LUKS header upgrade 32.541
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.754
After features/support/hooks.rb:291 0.804
After features/support/hooks.rb:75 0.000