Project Number Date
test_Tails_ISO_20268-more-early-patch-functionality 66 06 May 2024, 06:53

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 115 2 4 0 0 121 15 2 17 38:16.951 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:31.103
Before features/support/hooks.rb:259 0.006
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:42.289
And I update APT using apt 20.227
And I install "python3-behave" using apt 25.800
Then the Tails Persistent Storage behave tests pass 2.786
After features/support/hooks.rb:305 1.041
After features/support/hooks.rb:89 0.000
Tags: @product
53.443
Before features/support/hooks.rb:259 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 18.904
When I log in to a new session without activating the Persistent Storage 22.974
Then Tails is running from USB drive "__internal" 0.553
And persistence is disabled 0.568
But a Tails persistence partition exists on USB drive "__internal" 10.442
After features/support/hooks.rb:305 1.246
After features/support/hooks.rb:89 0.000
Tags: @product
3:49.076
Before features/support/hooks.rb:259 0.005
Given I have started Tails without network from a USB drive without a persistent partition and logged in 20.264
Then Tails is running from USB drive "__internal" 0.656
When I create a file in the Persistent directory 0.191
And I create a persistent partition with the default settings 36.996
Then the file I created was copied to the Persistent Storage 0.953
When I shutdown Tails and wait for the computer to power off 16.364
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:33.165
Then persistence for "Persistent" is active 0.418
And the file I created in the Persistent directory exists 0.065
After features/support/hooks.rb:305 0.679
After features/support/hooks.rb:89 0.008
Tags: @product
1:12.007
Before features/support/hooks.rb:259 0.004
Given I have started Tails without network from a USB drive without a persistent partition and logged in 12.347
And the system is very low on memory 6.876
When I create a file in the Persistent directory 1.407
When I try to create a persistent partition 31.932
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.308
When I close the Persistent Storage app 2.628
And I free up some memory 1.560
And I create a persistent partition with the default settings 14.690
Then the file I created was copied to the Persistent Storage 0.255
After features/support/hooks.rb:305 2.018
After features/support/hooks.rb:89 0.000
Tags: @product
2:42.978
Before features/support/hooks.rb:259 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.386
Then Tails is running from USB drive "__internal" 0.369
And all tps features are active 2.155
And all persistent directories have safe access rights 2.538
When I disable the first tps feature 5.656
Then all tps features but the first one are active 2.053
And I shutdown Tails and wait for the computer to power off 8.413
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.110
Then all tps features but the first one are active 2.293
After features/support/hooks.rb:305 0.609
After features/support/hooks.rb:89 0.016
Tags: @product
18.986
Before features/support/hooks.rb:259 0.010
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.470
Then persistence for "Persistent" is active 0.089
And I create a file in the Persistent directory 0.080
Then the file I created was copied to the Persistent Storage 0.076
When I disable the first tps feature 5.900
Then persistence for "Persistent" is not active 0.113
And the Persistent directory does not exist 0.072
When I enable the first tps feature 3.060
Then persistence for "Persistent" is active 0.064
And the file I created in the Persistent directory exists 0.057
After features/support/hooks.rb:305 0.867
After features/support/hooks.rb:89 0.000
Tags: @product
18.664
Before features/support/hooks.rb:259 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.258
Then persistence for "Persistent" is active 0.078
When I create a file in the Persistent directory 0.062
And I disable the first tps feature 5.473
And I delete the data of the Persistent Folder feature 3.740
Then the file I created does not exist on the Persistent Storage 0.050
After features/support/hooks.rb:305 1.000
After features/support/hooks.rb:89 0.000
Tags: @product
1:4.255
Before features/support/hooks.rb:259 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.427
And the network is plugged 0.044
And Tor is ready 19.360
And I take note of which tps features are available 0.608
When I write some files expected to persist 1.520
And I shutdown Tails and wait for the computer to power off 8.735
# 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" 24.559
After features/support/hooks.rb:305 0.149
After features/support/hooks.rb:89 0.000
Tags: @product
3:3.798
Before features/support/hooks.rb:259 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.460
And the network is plugged 0.040
And Tor is ready 19.714
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.292
And I shutdown Tails and wait for the computer to power off 8.357
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:4.718
And I capture all network traffic 0.009
And the network is plugged 0.049
And Tor is ready 18.277
And I switch to the "persistent-con-current" NetworkManager connection 0.438
And the 1st network device has a spoofed MAC address configured 0.103
And no network device leaked the real MAC address 0.337
After features/support/hooks.rb:305 0.766
After features/support/hooks.rb:89 0.054
Tags: @product
1:13.967
Before features/support/hooks.rb:259 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 19.131
And I enable persistence creation in Tails Greeter 1.173
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.949
Then I create a persistent partition with the default settings using the wizard that was already open 29.713
After features/support/hooks.rb:305 2.628
After features/support/hooks.rb:89 0.000
Tags: @product
5:15.809
Before features/support/hooks.rb:259 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 28.312
When I enable persistence 39.366
Then no persistent Greeter options were restored 15.119
When I set all Greeter options to non-default values 24.627
And I log in to a new session in German (de) after having activated the Persistent Storage 47.459
Then all Greeter options are set to non-default values 0.458
When I cold reboot the computer 10.335
And the computer reboots Tails 1:3.565
Given I enable persistence 32.687
Then persistent Greeter options were restored 16.270
When I log in to a new session after having activated the Persistent Storage 37.331
Then all Greeter options are set to non-default values 0.275
After features/support/hooks.rb:305 0.980
After features/support/hooks.rb:89 0.023
Tags: @product
3:8.776
Scenario Changing the Persistent Storage passphrase
Before features/support/hooks.rb:259 0.006
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.967
# 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 36.106
And I shutdown Tails and wait for the computer to power off 12.895
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:9.806
The
The Dogtail init script raised: SearchError: child of [desktop frame | main]: "gnome-shell" application
STDOUT:

STDERR:

 (Dogtail::Failure)
./features/support/helpers/dogtail.rb:93:in `run'
./features/support/helpers/dogtail.rb:70:in `initialize'
./features/step_definitions/common_steps.rb:711:in `new'
./features/step_definitions/common_steps.rb:711:in `/^all notifications have disappeared$/'
./features/step_definitions/common_steps.rb:295: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:123:in `Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase'
And I change the passphrase of the Persistent Storage back to the original 0.000
After features/support/hooks.rb:305 4.252

SCENARIO FAILED: 'Changing the Persistent Storage passphrase' (at time 03:20:08)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20268-more-early-patch-functionality/66/artifact/build-artifacts/03:20:08_Changing_the_Persistent_Storage_passphrase.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20268-more-early-patch-functionality/66/artifact/build-artifacts/03:20:08_Changing_the_Persistent_Storage_passphrase.mkv

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_20268-more-early-patch-functionality/66/artifact/build-artifacts/03:20:08_Changing_the_Persistent_Storage_passphrase.boot-log

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20268-more-early-patch-functionality/66/artifact/build-artifacts/03:20:08_Changing_the_Persistent_Storage_passphrase.journal

After features/support/hooks.rb:89 0.010
Tags: @product
1:3.765
Before features/support/hooks.rb:259 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 10.761
And I log in to a new session without activating the Persistent Storage 21.039
Then persistence is disabled 0.467
But a Tails persistence partition exists on USB drive "__internal" 12.522
And all notifications have disappeared 12.176
When I delete the persistent partition 6.282
Then there is no persistence partition on USB drive "__internal" 0.515
After features/support/hooks.rb:305 0.942
After features/support/hooks.rb:89 0.000
Tags: @product
2:43.823
Before features/support/hooks.rb:259 0.008
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 28.004
When I write some dotfile expected to persist 0.077
And I shutdown Tails and wait for the computer to power off 9.000
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.360
Then the expected persistent dotfile is present in the filesystem 0.380
After features/support/hooks.rb:305 0.659
After features/support/hooks.rb:89 0.021
Tags: @product
1:40.088
Scenario Feature activation fails
Before features/support/hooks.rb:259 0.004
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.157
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.079
When I try to enable persistence 0.317
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 34.868
When I log in to a new session after having activated the Persistent Storage 44.473
And all notifications have disappeared 11.192
The
The Dogtail init script raised: SearchError: child of [desktop frame | main]: "gnome-shell" application
STDOUT:

STDERR:

 (Dogtail::Failure)
./features/support/helpers/dogtail.rb:93:in `run'
./features/support/helpers/dogtail.rb:70:in `initialize'
./features/step_definitions/common_steps.rb:711:in `new'
./features/step_definitions/common_steps.rb:711:in `/^all notifications have disappeared$/'
features/persistence.feature:148:in `And all notifications have disappeared'
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:305 4.885

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

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20268-more-early-patch-functionality/66/artifact/build-artifacts/03:25:42_Feature_activation_fails.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20268-more-early-patch-functionality/66/artifact/build-artifacts/03:25:42_Feature_activation_fails.mkv

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_20268-more-early-patch-functionality/66/artifact/build-artifacts/03:25:42_Feature_activation_fails.boot-log

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20268-more-early-patch-functionality/66/artifact/build-artifacts/03:25:42_Feature_activation_fails.journal

After features/support/hooks.rb:89 0.000
Tags: @product
6:45.202
Before features/support/hooks.rb:259 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 5:21.292
And I enable persistence 38.788
And I log in to a new session after having activated the Persistent Storage 43.934
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.982
And persistence is enabled 0.204
After features/support/hooks.rb:305 1.134
After features/support/hooks.rb:89 0.000
Tags: @product
31.200
Before features/support/hooks.rb:259 0.008
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.936
And I enable persistence but something goes wrong during the LUKS header upgrade 21.490
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.774
After features/support/hooks.rb:305 0.938
After features/support/hooks.rb:89 0.000