Project Number Date
test_Tails_ISO_20268-more-early-patch-functionality 61 01 May 2024, 06:36

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 119 1 1 0 0 121 16 1 17 36:20.211 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:27.241
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:37.683
And I update APT using apt 21.294
And I install "python3-behave" using apt 25.735
Then the Tails Persistent Storage behave tests pass 2.527
After features/support/hooks.rb:305 0.925
After features/support/hooks.rb:89 0.000
Tags: @product
1:1.815
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 13.470
When I log in to a new session without activating the Persistent Storage 29.203
Then Tails is running from USB drive "__internal" 0.591
And persistence is disabled 0.327
But a Tails persistence partition exists on USB drive "__internal" 18.223
After features/support/hooks.rb:305 1.319
After features/support/hooks.rb:89 0.000
Tags: @product
3:22.347
Before features/support/hooks.rb:259 0.008
Given I have started Tails without network from a USB drive without a persistent partition and logged in 11.672
Then Tails is running from USB drive "__internal" 0.494
When I create a file in the Persistent directory 0.181
And I create a persistent partition with the default settings 37.979
Then the file I created was copied to the Persistent Storage 0.505
When I shutdown Tails and wait for the computer to power off 12.879
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:18.213
Then persistence for "Persistent" is active 0.337
And the file I created in the Persistent directory exists 0.084
After features/support/hooks.rb:305 0.765
After features/support/hooks.rb:89 0.010
Tags: @product
1:2.204
Before features/support/hooks.rb:259 0.006
Given I have started Tails without network from a USB drive without a persistent partition and logged in 10.950
And the system is very low on memory 4.756
When I create a file in the Persistent directory 1.268
When I try to create a persistent partition 25.714
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.154
When I close the Persistent Storage app 2.556
And I free up some memory 1.623
And I create a persistent partition with the default settings 14.935
Then the file I created was copied to the Persistent Storage 0.245
After features/support/hooks.rb:305 1.262
After features/support/hooks.rb:89 0.000
Tags: @product
2:51.584
Before features/support/hooks.rb:259 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.956
Then Tails is running from USB drive "__internal" 0.374
And all tps features are active 2.139
And all persistent directories have safe access rights 2.660
When I disable the first tps feature 5.528
Then all tps features but the first one are active 2.111
And I shutdown Tails and wait for the computer to power off 10.885
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.861
Then all tps features but the first one are active 3.065
After features/support/hooks.rb:305 0.628
After features/support/hooks.rb:89 0.009
Tags: @product
19.136
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 10.227
Then persistence for "Persistent" is active 0.115
And I create a file in the Persistent directory 0.063
Then the file I created was copied to the Persistent Storage 0.087
When I disable the first tps feature 5.173
Then persistence for "Persistent" is not active 0.087
And the Persistent directory does not exist 0.054
When I enable the first tps feature 3.130
Then persistence for "Persistent" is active 0.106
And the file I created in the Persistent directory exists 0.089
After features/support/hooks.rb:305 1.751
After features/support/hooks.rb:89 0.000
Tags: @product
19.737
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 10.251
Then persistence for "Persistent" is active 0.083
When I create a file in the Persistent directory 0.065
And I disable the first tps feature 5.667
And I delete the data of the Persistent Folder feature 3.614
Then the file I created does not exist on the Persistent Storage 0.054
After features/support/hooks.rb:305 1.036
After features/support/hooks.rb:89 0.000
Tags: @product
1:6.259
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 9.786
And the network is plugged 0.036
And Tor is ready 20.790
And I take note of which tps features are available 0.648
When I write some files expected to persist 1.444
And I shutdown Tails and wait for the computer to power off 8.998
# 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.555
After features/support/hooks.rb:305 0.157
After features/support/hooks.rb:89 0.000
Tags: @product
2:59.100
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 9.895
And the network is plugged 0.041
And Tor is ready 16.546
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.184
And I shutdown Tails and wait for the computer to power off 8.285
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:1.428
And I capture all network traffic 0.016
And the network is plugged 0.037
And Tor is ready 21.927
And I switch to the "persistent-con-current" NetworkManager connection 0.347
And the 1st network device has a spoofed MAC address configured 0.124
And no network device leaked the real MAC address 0.263
After features/support/hooks.rb:305 0.775
After features/support/hooks.rb:89 0.068
Tags: @product
1:2.083
Before features/support/hooks.rb:259 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 14.327
And I enable persistence creation in Tails Greeter 1.171
And I log in to a new session expecting no warning about the Persistent Storage not being activated 20.338
Then I create a persistent partition with the default settings using the wizard that was already open 26.245
After features/support/hooks.rb:305 2.165
After features/support/hooks.rb:89 0.000
Tags: @product
5:1.119
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 14.786
When I enable persistence 45.656
Then no persistent Greeter options were restored 15.008
When I set all Greeter options to non-default values 23.923
And I log in to a new session in German (de) after having activated the Persistent Storage 39.907
Then all Greeter options are set to non-default values 0.718
When I cold reboot the computer 7.314
And the computer reboots Tails 1:10.558
Given I enable persistence 31.373
Then persistent Greeter options were restored 15.696
When I log in to a new session after having activated the Persistent Storage 35.684
Then all Greeter options are set to non-default values 0.492
After features/support/hooks.rb:305 0.820
After features/support/hooks.rb:89 0.010
Tags: @product
3:56.848
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.940
# 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 32.720
And I shutdown Tails and wait for the computer to power off 14.817
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:22.558
And I change the passphrase of the Persistent Storage back to the original 36.810
After features/support/hooks.rb:305 1.936
After features/support/hooks.rb:89 0.009
Tags: @product
56.818
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.116
And I log in to a new session without activating the Persistent Storage 20.612
Then persistence is disabled 0.284
But a Tails persistence partition exists on USB drive "__internal" 10.795
And all notifications have disappeared 8.380
When I delete the persistent partition 6.019
Then there is no persistence partition on USB drive "__internal" 0.609
After features/support/hooks.rb:305 0.935
After features/support/hooks.rb:89 0.000
Tags: @product
2:45.878
Scenario Dotfiles persistence
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 10.073
When I write some dotfile expected to persist 0.230
And I shutdown Tails and wait for the computer to power off 9.330
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:26.244
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: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:305 4.457

SCENARIO FAILED: 'Dotfiles persistence' (at time 03:25:30)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20268-more-early-patch-functionality/61/artifact/build-artifacts/03:25:30_Dotfiles_persistence.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20268-more-early-patch-functionality/61/artifact/build-artifacts/03:25:30_Dotfiles_persistence.mkv

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_20268-more-early-patch-functionality/61/artifact/build-artifacts/03:25:30_Dotfiles_persistence.boot-log

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20268-more-early-patch-functionality/61/artifact/build-artifacts/03:25:30_Dotfiles_persistence.journal

After features/support/hooks.rb:89 0.009
Tags: @product
1:42.127
Before features/support/hooks.rb:259 0.008
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 10.450
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.100
When I try to enable persistence 0.273
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 35.101
When I log in to a new session after having activated the Persistent Storage 38.147
And all notifications have disappeared 9.336
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.990
And all tps features are enabled 2.659
And all tps features but the first one are active 2.067
After features/support/hooks.rb:305 1.159
After features/support/hooks.rb:89 0.000
Tags: @product
4:55.120
Before features/support/hooks.rb:259 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 3:41.622
And I enable persistence 33.605
And I log in to a new session after having activated the Persistent Storage 37.402
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.709
And persistence is enabled 0.780
After features/support/hooks.rb:305 1.851
After features/support/hooks.rb:89 0.000
Tags: @product
30.787
Before features/support/hooks.rb:259 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 9.213
And I enable persistence but something goes wrong during the LUKS header upgrade 20.714
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.859
After features/support/hooks.rb:305 0.883
After features/support/hooks.rb:89 0.000