Project Number Date
test_Tails_ISO_devel 3294 23 Feb 2024, 12:48

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 41:12.357 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:33.876
Before features/support/hooks.rb:245 0.006
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:52.650
And I update APT using apt 18.136
And I install "python3-behave" using apt 19.390
Then the Tails Persistent Storage behave tests pass 3.698
After features/support/hooks.rb:291 0.796
After features/support/hooks.rb:75 0.000
Tags: @product
34.747
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.930
When I log in to a new session without activating the Persistent Storage 17.696
Then Tails is running from USB drive "__internal" 0.448
And persistence is disabled 0.163
But a Tails persistence partition exists on USB drive "__internal" 4.508
After features/support/hooks.rb:291 2.368
After features/support/hooks.rb:75 0.000
Tags: @product
3:34.829
Before features/support/hooks.rb:245 0.005
Given I have started Tails without network from a USB drive without a persistent partition and logged in 10.599
Then Tails is running from USB drive "__internal" 0.324
When I create a file in the Persistent directory 0.111
And I create a persistent partition with the default settings 30.911
Then the file I created was copied to the Persistent Storage 0.529
When I shutdown Tails and wait for the computer to power off 10.072
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:41.854
Then persistence for "Persistent" is active 0.365
And the file I created in the Persistent directory exists 0.059
After features/support/hooks.rb:291 1.099
After features/support/hooks.rb:75 0.008
Tags: @product
1:12.030
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.247
And the system is very low on memory 9.764
When I create a file in the Persistent directory 0.926
When I try to create a persistent partition 23.790
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.179
When I close the Persistent Storage app 2.671
And I free up some memory 1.475
And I create a persistent partition with the default settings 22.760
Then the file I created was copied to the Persistent Storage 0.213
After features/support/hooks.rb:291 1.292
After features/support/hooks.rb:75 0.000
Tags: @product
3:27.238
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.835
Then Tails is running from USB drive "__internal" 0.330
And all tps features are active 2.188
And all persistent directories have safe access rights 2.331
When I disable the first tps feature 16.361
Then all tps features but the first one are active 1.847
And I shutdown Tails and wait for the computer to power off 6.053
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:46.320
Then all tps features but the first one are active 1.969
After features/support/hooks.rb:291 0.844
After features/support/hooks.rb:75 0.007
Tags: @product
39.612
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.603
Then persistence for "Persistent" is active 0.080
And I create a file in the Persistent directory 0.066
Then the file I created was copied to the Persistent Storage 0.059
When I disable the first tps feature 15.928
Then persistence for "Persistent" is not active 0.071
And the Persistent directory does not exist 0.053
When I enable the first tps feature 13.620
Then persistence for "Persistent" is active 0.070
And the file I created in the Persistent directory exists 0.058
After features/support/hooks.rb:291 0.942
After features/support/hooks.rb:75 0.000
Tags: @product
38.676
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.808
Then persistence for "Persistent" is active 0.096
When I create a file in the Persistent directory 0.072
And I disable the first tps feature 16.410
And I delete the data of the Persistent Folder feature 12.936
Then the file I created does not exist on the Persistent Storage 0.352
After features/support/hooks.rb:291 1.045
After features/support/hooks.rb:75 0.000
Tags: @product
52.334
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.667
And the network is plugged 0.039
And Tor is ready 19.719
And I take note of which tps features are available 0.559
When I write some files expected to persist 1.372
And I shutdown Tails and wait for the computer to power off 6.072
# 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.904
After features/support/hooks.rb:291 0.131
After features/support/hooks.rb:75 0.000
Tags: @product
3:42.910
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.103
And the network is plugged 0.071
And Tor is ready 18.801
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.149
And I shutdown Tails and wait for the computer to power off 6.056
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:49.222
And I capture all network traffic 0.005
And the network is plugged 0.052
And Tor is ready 18.687
And I switch to the "persistent-con-current" NetworkManager connection 0.414
And the 1st network device has a spoofed MAC address configured 0.112
And no network device leaked the real MAC address 0.232
After features/support/hooks.rb:291 0.622
After features/support/hooks.rb:75 0.061
Tags: @product
48.244
Before features/support/hooks.rb:245 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 11.829
And I enable persistence creation in Tails Greeter 1.380
And I log in to a new session expecting no warning about the Persistent Storage not being activated 16.814
Then I create a persistent partition with the default settings using the wizard that was already open 18.220
After features/support/hooks.rb:291 1.553
After features/support/hooks.rb:75 0.000
Tags: @product
5:59.037
Before features/support/hooks.rb:245 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 11.474
When I enable persistence 45.779
Then no persistent Greeter options were restored 14.417
When I set all Greeter options to non-default values 26.139
And I log in to a new session in German (de) after having activated the Persistent Storage 1:11.095
Then all Greeter options are set to non-default values 0.292
When I cold reboot the computer 6.090
And the computer reboots Tails 55.882
Given I enable persistence 49.600
Then persistent Greeter options were restored 14.963
When I log in to a new session after having activated the Persistent Storage 1:2.910
Then all Greeter options are set to non-default values 0.391
After features/support/hooks.rb:291 0.692
After features/support/hooks.rb:75 0.008
Tags: @product
4:43.034
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.053
# 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 44.159
And I shutdown Tails and wait for the computer to power off 12.090
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:53.191
And I change the passphrase of the Persistent Storage back to the original 44.539
After features/support/hooks.rb:291 1.863
After features/support/hooks.rb:75 0.009
Tags: @product
57.289
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.644
And I log in to a new session without activating the Persistent Storage 16.625
Then persistence is disabled 0.201
But a Tails persistence partition exists on USB drive "__internal" 6.911
And all notifications have disappeared 7.144
When I delete the persistent partition 16.301
Then there is no persistence partition on USB drive "__internal" 0.458
After features/support/hooks.rb:291 0.930
After features/support/hooks.rb:75 0.000
Tags: @product
3:1.966
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.661
When I write some dotfile expected to persist 0.058
And I shutdown Tails and wait for the computer to power off 6.061
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:45.765
Then the expected persistent dotfile is present in the filesystem 0.419
After features/support/hooks.rb:291 0.727
After features/support/hooks.rb:75 0.009
Tags: @product
2:5.603
Scenario Feature activation fails
Before features/support/hooks.rb:245 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 8.792
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.087
When I try to enable persistence 0.281
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 32.774
When I log in to a new session after having activated the Persistent Storage 1:2.489
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 21.177
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 4.947

SCENARIO FAILED: 'Feature activation fails' (at time 03:39:25)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3294/artifact/build-artifacts/03:39:25_Feature_activation_fails.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3294/artifact/build-artifacts/03:39:25_Feature_activation_fails.mkv

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3294/artifact/build-artifacts/03:39:25_Feature_activation_fails.boot-log

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3294/artifact/build-artifacts/03:39:25_Feature_activation_fails.journal

After features/support/hooks.rb:75 0.000
Tags: @product
5:40.650
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 3:57.735
And I enable persistence 33.077
And I log in to a new session after having activated the Persistent Storage 1:8.340
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.114
And persistence is enabled 0.382
After features/support/hooks.rb:291 1.371
After features/support/hooks.rb:75 0.000
Tags: @product
40.275
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 8.904
And I enable persistence but something goes wrong during the LUKS header upgrade 30.642
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.727
After features/support/hooks.rb:291 0.665
After features/support/hooks.rb:75 0.000