Project Number Date
test_Tails_ISO_stable 4612 10 Jan 2024, 19:26

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 115 2 3 0 0 120 15 2 17 34:18.179 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:7.281
Before features/support/hooks.rb:245 0.005
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:24.034
And I update APT using apt 17.576
And I install "python3-behave" using apt 22.895
Then the Tails Persistent Storage behave tests pass 2.775
After features/support/hooks.rb:291 0.890
After features/support/hooks.rb:75 0.000
Tags: @product
36.802
Before features/support/hooks.rb:245 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.475
When I log in to a new session without activating the Persistent Storage 18.024
Then Tails is running from USB drive "__internal" 0.419
And persistence is disabled 0.271
But a Tails persistence partition exists on USB drive "__internal" 6.611
After features/support/hooks.rb:291 1.003
After features/support/hooks.rb:75 0.000
Tags: @product
2:53.548
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 17.176
Then Tails is running from USB drive "__internal" 0.484
When I create a file in the Persistent directory 0.141
And I create a persistent partition with the default settings 33.558
Then the file I created was copied to the Persistent Storage 0.443
When I shutdown Tails and wait for the computer to power off 10.104
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:51.240
Then persistence for "Persistent" is active 0.316
And the file I created in the Persistent directory exists 0.081
After features/support/hooks.rb:291 0.939
After features/support/hooks.rb:75 0.012
Tags: @product
1:13.517
Before features/support/hooks.rb:245 0.008
Given I have started Tails without network from a USB drive without a persistent partition and logged in 14.964
And the system is very low on memory 4.535
When I create a file in the Persistent directory 1.676
When I try to create a persistent partition 23.173
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.157
When I close the Persistent Storage app 2.644
And I free up some memory 1.582
And I create a persistent partition with the default settings 24.514
Then the file I created was copied to the Persistent Storage 0.268
After features/support/hooks.rb:291 1.128
After features/support/hooks.rb:75 0.000
Tags: @product
2:42.007
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 10.133
Then Tails is running from USB drive "__internal" 0.485
And all tps features are active 2.378
And all persistent directories have safe access rights 3.046
When I disable the first tps feature 16.940
Then all tps features but the first one are active 2.314
And I shutdown Tails and wait for the computer to power off 8.113
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:52.176
Then all tps features but the first one are active 6.419
After features/support/hooks.rb:291 0.871
After features/support/hooks.rb:75 0.009
Tags: @product
37.891
Scenario Activating and deactivating Persistent Storage features
Before features/support/hooks.rb:245 0.006
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.579
Then persistence for "Persistent" is active 0.089
And I create a file in the Persistent directory 0.114
Then the file I created was copied to the Persistent Storage 0.076
When I disable the first tps feature 17.513
Then persistence for "Persistent" is not active 0.091
And the Persistent directory does not exist 0.050
When I enable the first tps feature 10.376
cannot find GnomeApplicationsMenu.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:930:in `/^I start "([^"]+)" via GNOME Activities Overview$/'
./features/step_definitions/usb.rb:294:in `/^I (enable|disable) the first tps feature$/'
features/persistence.feature:60:in `When I enable the first tps feature'
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:291 3.968

SCENARIO FAILED: 'Activating and deactivating Persistent Storage features' (at time 03:08:22)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4612/artifact/build-artifacts/03:08:22_Activating_and_deactivating_Persistent_Storage_features.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4612/artifact/build-artifacts/03:08:22_Activating_and_deactivating_Persistent_Storage_features.mkv

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4612/artifact/build-artifacts/03:08:22_Activating_and_deactivating_Persistent_Storage_features.boot-log

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4612/artifact/build-artifacts/03:08:22_Activating_and_deactivating_Persistent_Storage_features.journal

After features/support/hooks.rb:75 0.000
Tags: @product
42.259
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.208
Then persistence for "Persistent" is active 0.111
When I create a file in the Persistent directory 0.078
And I disable the first tps feature 16.718
And I delete the data of the Persistent Folder feature 15.892
Then the file I created does not exist on the Persistent Storage 0.249
After features/support/hooks.rb:291 1.029
After features/support/hooks.rb:75 0.000
Tags: @product
1:19.967
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 10.391
And the network is plugged 0.191
And Tor is ready 44.844
And I take note of which tps features are available 0.757
When I write some files expected to persist 1.732
And I shutdown Tails and wait for the computer to power off 7.318
# 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" 14.731
After features/support/hooks.rb:291 0.114
After features/support/hooks.rb:75 0.000
Tags: @product
2:33.211
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.033
And the network is plugged 0.041
And Tor is ready 14.537
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.224
And I shutdown Tails and wait for the computer to power off 6.085
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:48.435
And I capture all network traffic 0.017
And the network is plugged 0.049
And Tor is ready 13.970
And I switch to the "persistent-con-current" NetworkManager connection 0.431
And the 1st network device has a spoofed MAC address configured 0.107
And no network device leaked the real MAC address 0.277
After features/support/hooks.rb:291 0.640
After features/support/hooks.rb:75 0.051
Tags: @product
47.198
Before features/support/hooks.rb:245 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 11.746
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 18.166
Then I create a persistent partition with the default settings using the wizard that was already open 16.164
After features/support/hooks.rb:291 1.099
After features/support/hooks.rb:75 0.000
Tags: @product
4:26.671
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.487
When I enable persistence 38.347
Then no persistent Greeter options were restored 17.807
When I set all Greeter options to non-default values 24.548
And I log in to a new session in German (de) after having activated the Persistent Storage 34.626
Then all Greeter options are set to non-default values 0.360
When I cold reboot the computer 5.245
And the computer reboots Tails 44.833
Given I enable persistence 51.217
Then persistent Greeter options were restored 14.991
When I log in to a new session after having activated the Persistent Storage 20.999
Then all Greeter options are set to non-default values 0.205
After features/support/hooks.rb:291 0.658
After features/support/hooks.rb:75 0.011
Tags: @product
3:41.622
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 9.521
# 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 43.178
And I shutdown Tails and wait for the computer to power off 11.722
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:50.456
And I change the passphrase of the Persistent Storage back to the original 46.744
After features/support/hooks.rb:291 2.081
After features/support/hooks.rb:75 0.009
Tags: @product
1:9.631
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 13.698
And I log in to a new session without activating the Persistent Storage 24.979
Then persistence is disabled 0.279
But a Tails persistence partition exists on USB drive "__internal" 5.780
And all notifications have disappeared 7.185
When I delete the persistent partition 17.412
Then there is no persistence partition on USB drive "__internal" 0.294
After features/support/hooks.rb:291 0.791
After features/support/hooks.rb:75 0.000
Tags: @product
1:24.935
Scenario Dotfiles persistence
Before features/support/hooks.rb:245 0.005
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 8.754
When I write some dotfile expected to persist 0.075
And I shutdown Tails and wait for the computer to power off 7.153
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:8.951
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/support/helpers/dogtail.rb:345:in `grabFocus'
./features/step_definitions/usb.rb:654:in `/^I try to enable persistence( with the changed passphrase)?$/'
./features/step_definitions/usb.rb:665:in `/^I enable persistence( with the changed passphrase)?$/'
./features/step_definitions/common_steps.rb:236: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:139:in `And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled'
Then the expected persistent dotfile is present in the filesystem 0.000
After features/support/hooks.rb:291 4.130

SCENARIO FAILED: 'Dotfiles persistence' (at time 03:24:38)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4612/artifact/build-artifacts/03:24:38_Dotfiles_persistence.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4612/artifact/build-artifacts/03:24:38_Dotfiles_persistence.mkv

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4612/artifact/build-artifacts/03:24:38_Dotfiles_persistence.boot-log

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4612/artifact/build-artifacts/03:24:38_Dotfiles_persistence.journal

After features/support/hooks.rb:75 0.011
Tags: @product
1:25.259
Before features/support/hooks.rb:245 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.914
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.066
When I try to enable persistence 0.264
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 25.847
When I log in to a new session after having activated the Persistent Storage 26.261
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 17.712
And all tps features are enabled 2.610
And all tps features but the first one are active 2.582
After features/support/hooks.rb:291 1.022
After features/support/hooks.rb:75 0.000
Tags: @product
5:50.263
Before features/support/hooks.rb:245 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 4:43.184
And I enable persistence 34.713
And I log in to a new session after having activated the Persistent Storage 31.359
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.863
And persistence is enabled 0.141
After features/support/hooks.rb:291 1.021
After features/support/hooks.rb:75 0.000
Tags: @product
46.108
Before features/support/hooks.rb:245 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 13.547
And I enable persistence but something goes wrong during the LUKS header upgrade 31.687
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.873
After features/support/hooks.rb:291 0.668
After features/support/hooks.rb:75 0.000