Project Number Date
test_Tails_ISO_stable 4911 24 Jun 2024, 12:39

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 54:36.556 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:21.341
Before features/support/hooks.rb:269 0.005
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:33.288
And I update APT using apt 18.992
And I install "python3-behave" using apt 25.766
Then the Tails Persistent Storage behave tests pass 3.294
After features/support/hooks.rb:326 0.748
After features/support/hooks.rb:100 0.000
Tags: @product
42.839
Before features/support/hooks.rb:269 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.254
When I log in to a new session without activating the Persistent Storage 21.343
Then Tails is running from USB drive "__internal" 0.547
And persistence is disabled 0.423
But a Tails persistence partition exists on USB drive "__internal" 6.269
After features/support/hooks.rb:326 0.896
After features/support/hooks.rb:100 0.000
Tags: @product
2:54.769
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive without a persistent partition and logged in 15.810
Then Tails is running from USB drive "__internal" 0.418
When I create a file in the Persistent directory 0.150
And I create a persistent partition with the default settings 24.191
Then the file I created was copied to the Persistent Storage 0.697
When I shutdown Tails and wait for the computer to power off 12.740
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:0.388
Then persistence for "Persistent" is active 0.296
And the file I created in the Persistent directory exists 0.074
After features/support/hooks.rb:326 0.876
After features/support/hooks.rb:100 0.011
Tags: @product
56.754
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive without a persistent partition and logged in 12.033
And the system is very low on memory 4.707
When I create a file in the Persistent directory 0.744
When I try to create a persistent partition 21.265
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.389
When I close the Persistent Storage app 2.692
And I free up some memory 1.642
And I create a persistent partition with the default settings 13.050
Then the file I created was copied to the Persistent Storage 0.230
After features/support/hooks.rb:326 1.444
After features/support/hooks.rb:100 0.000
Tags: @product
2:47.689
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.875
Then Tails is running from USB drive "__internal" 0.460
And all tps features are active 2.162
And all persistent directories have safe access rights 2.505
When I disable the first tps feature 5.286
Then all tps features but the first one are active 1.879
And I shutdown Tails and wait for the computer to power off 11.044
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.370
Then all tps features but the first one are active 2.103
After features/support/hooks.rb:326 0.793
After features/support/hooks.rb:100 0.008
Tags: @product
18.265
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.369
Then persistence for "Persistent" is active 0.085
And I create a file in the Persistent directory 0.082
Then the file I created was copied to the Persistent Storage 0.082
When I disable the first tps feature 5.204
Then persistence for "Persistent" is not active 0.084
And the Persistent directory does not exist 0.058
When I enable the first tps feature 3.155
Then persistence for "Persistent" is active 0.078
And the file I created in the Persistent directory exists 0.064
After features/support/hooks.rb:326 0.772
After features/support/hooks.rb:100 0.000
Tags: @product
19.008
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.067
Then persistence for "Persistent" is active 0.139
When I create a file in the Persistent directory 0.075
And I disable the first tps feature 5.061
And I delete the data of the Persistent Folder feature 3.611
Then the file I created does not exist on the Persistent Storage 0.053
After features/support/hooks.rb:326 0.765
After features/support/hooks.rb:100 0.000
Tags: @product
1:8.656
Before features/support/hooks.rb:269 0.009
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.045
And the network is plugged 0.035
And Tor is ready 16.048
And I take note of which tps features are available 0.549
When I write some files expected to persist 1.498
And I shutdown Tails and wait for the computer to power off 15.440
# 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" 25.038
After features/support/hooks.rb:326 0.140
After features/support/hooks.rb:100 0.000
Tags: @product
3:6.863
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.875
And the network is plugged 0.045
And Tor is ready 14.958
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.220
And I shutdown Tails and wait for the computer to power off 8.894
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.157
And I capture all network traffic 0.013
And the network is plugged 0.052
And Tor is ready 21.919
And I switch to the "persistent-con-current" NetworkManager connection 0.375
And the 1st network device has a spoofed MAC address configured 0.092
And no network device leaked the real MAC address 0.255
After features/support/hooks.rb:326 0.637
After features/support/hooks.rb:100 0.055
Tags: @product
1:3.344
Before features/support/hooks.rb:269 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.915
And I enable persistence creation in Tails Greeter 1.157
And I log in to a new session expecting no warning about the Persistent Storage not being activated 28.188
Then I create a persistent partition with the default settings using the wizard that was already open 22.083
After features/support/hooks.rb:326 1.454
After features/support/hooks.rb:100 0.000
Tags: @product
5:4.932
Before features/support/hooks.rb:269 0.009
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 13.083
When I enable persistence 37.147
Then no persistent Greeter options were restored 15.369
When I set all Greeter options to non-default values 27.749
And I log in to a new session in German (de) after having activated the Persistent Storage 52.075
Then all Greeter options are set to non-default values 0.366
When I cold reboot the computer 9.433
And the computer reboots Tails 1:4.532
Given I enable persistence 31.634
Then persistent Greeter options were restored 15.741
When I log in to a new session after having activated the Persistent Storage 37.148
Then all Greeter options are set to non-default values 0.649
After features/support/hooks.rb:326 1.512
After features/support/hooks.rb:100 0.011
Tags: @product
3:48.241
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.985
# 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 41.838
And I shutdown Tails and wait for the computer to power off 12.389
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:13.304
And I change the passphrase of the Persistent Storage back to the original 29.724
After features/support/hooks.rb:326 1.639
After features/support/hooks.rb:100 0.011
Tags: @product
51.185
Before features/support/hooks.rb:269 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.004
And I log in to a new session without activating the Persistent Storage 19.121
Then persistence is disabled 0.341
But a Tails persistence partition exists on USB drive "__internal" 7.277
And all notifications have disappeared 7.084
When I delete the persistent partition 6.018
Then there is no persistence partition on USB drive "__internal" 0.336
After features/support/hooks.rb:326 0.901
After features/support/hooks.rb:100 0.000
Tags: @product
22:9.412
Scenario Dotfiles persistence
Before features/support/hooks.rb:269 0.005
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.043
When I write some dotfile expected to persist 0.067
And I shutdown Tails and wait for the computer to power off 8.596
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 21:50.704
execution expired (RemoteShell::Timeout)
./features/support/helpers/remote_shell.rb:56:in `read'
./features/support/helpers/remote_shell.rb:56:in `block (3 levels) in communicate'
./features/support/helpers/remote_shell.rb:55:in `block (2 levels) in communicate'
./features/support/helpers/remote_shell.rb:42:in `loop'
./features/support/helpers/remote_shell.rb:42:in `block in communicate'
./features/support/helpers/remote_shell.rb:37:in `communicate'
./features/support/helpers/remote_shell.rb:174:in `execute'
./features/support/helpers/remote_shell.rb:185:in `initialize'
./features/support/helpers/dogtail.rb:80:in `new'
./features/support/helpers/dogtail.rb:80:in `run'
./features/support/helpers/dogtail.rb:70:in `initialize'
./features/step_definitions/common_steps.rb:706:in `new'
./features/step_definitions/common_steps.rb:706:in `/^all notifications have disappeared$/'
./features/step_definitions/common_steps.rb:292: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:326 10.878

SCENARIO FAILED: 'Dotfiles persistence' (at time 03:41:19)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4911/artifact/build-artifacts/03:41:19_Dotfiles_persistence.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4911/artifact/build-artifacts/03:41:19_Dotfiles_persistence.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4911/artifact/build-artifacts/03:41:19_Dotfiles_persistence.journal

After features/support/hooks.rb:100 0.011
Tags: @product
1:41.112
Before features/support/hooks.rb:269 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 8.987
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.106
When I try to enable persistence 0.278
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 30.939
When I log in to a new session after having activated the Persistent Storage 43.154
And all notifications have disappeared 9.767
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.835
And all tps features are enabled 2.131
And all tps features but the first one are active 1.910
After features/support/hooks.rb:326 0.813
After features/support/hooks.rb:100 0.000
Tags: @product
4:54.579
Before features/support/hooks.rb:269 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:33.292
And I enable persistence 32.209
And I log in to a new session after having activated the Persistent Storage 46.500
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.214
And persistence is enabled 0.361
After features/support/hooks.rb:326 1.551
After features/support/hooks.rb:100 0.000
Tags: @product
27.558
Before features/support/hooks.rb:269 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 8.673
And I enable persistence but something goes wrong during the LUKS header upgrade 18.140
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.744
After features/support/hooks.rb:326 0.802
After features/support/hooks.rb:100 0.000