Project Number Date
test_Tails_ISO_stable 4605 08 Jan 2024, 16:15

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 114 1 5 0 0 120 16 1 17 34:40.701 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:6.782
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:26.982
And I update APT using apt 16.661
And I install "python3-behave" using apt 19.777
Then the Tails Persistent Storage behave tests pass 3.360
After features/support/hooks.rb:291 0.788
After features/support/hooks.rb:75 0.000
Tags: @product
37.579
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.383
When I log in to a new session without activating the Persistent Storage 18.360
Then Tails is running from USB drive "__internal" 0.564
And persistence is disabled 0.240
But a Tails persistence partition exists on USB drive "__internal" 7.029
After features/support/hooks.rb:291 1.301
After features/support/hooks.rb:75 0.000
Tags: @product
2:57.876
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 12.832
Then Tails is running from USB drive "__internal" 0.498
When I create a file in the Persistent directory 0.149
And I create a persistent partition with the default settings 33.254
Then the file I created was copied to the Persistent Storage 0.711
When I shutdown Tails and wait for the computer to power off 13.110
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:56.890
Then persistence for "Persistent" is active 0.354
And the file I created in the Persistent directory exists 0.073
After features/support/hooks.rb:291 0.721
After features/support/hooks.rb:75 0.019
Tags: @product
44.216
Scenario Creating a Persistent Storage when system is low on memory
Before features/support/hooks.rb:245 0.007
Steps
Given I have started Tails without network from a USB drive without a persistent partition and logged in 13.591
And the system is very low on memory 2.578
When I create a file in the Persistent directory 0.871
When I try to create a persistent partition 27.175
The
The Dogtail init script raised: SearchError: child of [desktop frame | main]: "tps-frontend" application
STDOUT:

STDERR:

 (Dogtail::Failure)
./features/support/helpers/dogtail.rb:93:in `run'
./features/support/helpers/dogtail.rb:70:in `initialize'
./features/step_definitions/usb.rb:80:in `new'
./features/step_definitions/usb.rb:80:in `persistent_storage_frontend'
./features/step_definitions/usb.rb:84:in `persistent_storage_main_frame'
./features/step_definitions/usb.rb:349:in `/^I try to create a persistent partition( for Additional Software)?( using the wizard that was already open)?$/'
features/persistence.feature:34:in `When I try to create a persistent partition'
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.000
When I close the Persistent Storage app 0.000
And I free up some memory 0.000
And I create a persistent partition with the default settings 0.000
Then the file I created was copied to the Persistent Storage 0.000
After features/support/hooks.rb:291 7.897

SCENARIO FAILED: 'Creating a Persistent Storage when system is low on memory' (at time 02:55:40)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4605/artifact/build-artifacts/02:55:40_Creating_a_Persistent_Storage_when_system_is_low_on_memory.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4605/artifact/build-artifacts/02:55:40_Creating_a_Persistent_Storage_when_system_is_low_on_memory.mkv

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4605/artifact/build-artifacts/02:55:40_Creating_a_Persistent_Storage_when_system_is_low_on_memory.boot-log

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4605/artifact/build-artifacts/02:55:40_Creating_a_Persistent_Storage_when_system_is_low_on_memory.journal

After features/support/hooks.rb:75 0.000
Tags: @product
2:45.934
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.133
Then Tails is running from USB drive "__internal" 0.553
And all tps features are active 2.449
And all persistent directories have safe access rights 2.880
When I disable the first tps feature 18.097
Then all tps features but the first one are active 3.806
And I shutdown Tails and wait for the computer to power off 7.235
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:58.272
Then all tps features but the first one are active 2.506
After features/support/hooks.rb:291 0.680
After features/support/hooks.rb:75 0.011
Tags: @product
42.592
Before features/support/hooks.rb:245 0.008
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.787
Then persistence for "Persistent" is active 0.091
And I create a file in the Persistent directory 0.100
Then the file I created was copied to the Persistent Storage 0.080
When I disable the first tps feature 17.034
Then persistence for "Persistent" is not active 0.089
And the Persistent directory does not exist 0.063
When I enable the first tps feature 15.160
Then persistence for "Persistent" is active 0.091
And the file I created in the Persistent directory exists 0.094
After features/support/hooks.rb:291 0.850
After features/support/hooks.rb:75 0.000
Tags: @product
44.199
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.733
Then persistence for "Persistent" is active 0.091
When I create a file in the Persistent directory 0.189
And I disable the first tps feature 17.327
And I delete the data of the Persistent Folder feature 15.618
Then the file I created does not exist on the Persistent Storage 0.240
After features/support/hooks.rb:291 0.822
After features/support/hooks.rb:75 0.000
Tags: @product
48.504
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 9.505
And the network is plugged 0.046
And Tor is ready 15.395
And I take note of which tps features are available 0.660
When I write some files expected to persist 1.717
And I shutdown Tails and wait for the computer to power off 6.106
# 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" 15.073
After features/support/hooks.rb:291 0.097
After features/support/hooks.rb:75 0.000
Tags: @product
3:16.115
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.234
And the network is plugged 0.109
And Tor is ready 42.118
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.241
And I shutdown Tails and wait for the computer to power off 7.082
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:56.770
And I capture all network traffic 0.054
And the network is plugged 0.107
And Tor is ready 19.674
And I switch to the "persistent-con-current" NetworkManager connection 0.313
And the 1st network device has a spoofed MAC address configured 0.114
And no network device leaked the real MAC address 0.294
After features/support/hooks.rb:291 1.085
After features/support/hooks.rb:75 0.048
Tags: @product
47.049
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 12.224
And I enable persistence creation in Tails Greeter 1.135
And I log in to a new session expecting no warning about the Persistent Storage not being activated 16.703
Then I create a persistent partition with the default settings using the wizard that was already open 16.986
After features/support/hooks.rb:291 1.176
After features/support/hooks.rb:75 0.000
Tags: @product
4:26.411
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.509
When I enable persistence 39.780
Then no persistent Greeter options were restored 14.568
When I set all Greeter options to non-default values 25.202
And I log in to a new session in German (de) after having activated the Persistent Storage 36.747
Then all Greeter options are set to non-default values 0.266
When I cold reboot the computer 5.037
And the computer reboots Tails 46.666
Given I enable persistence 49.844
Then persistent Greeter options were restored 14.490
When I log in to a new session after having activated the Persistent Storage 21.982
Then all Greeter options are set to non-default values 0.316
After features/support/hooks.rb:291 0.786
After features/support/hooks.rb:75 0.009
Tags: @product
4:1.083
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 10.271
# 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 59.160
And I shutdown Tails and wait for the computer to power off 11.687
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:56.174
And I change the passphrase of the Persistent Storage back to the original 43.789
After features/support/hooks.rb:291 2.311
After features/support/hooks.rb:75 0.012
Tags: @product
1:18.905
Before features/support/hooks.rb:245 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 24.088
And I log in to a new session without activating the Persistent Storage 18.317
Then persistence is disabled 0.251
But a Tails persistence partition exists on USB drive "__internal" 6.670
And all notifications have disappeared 7.812
When I delete the persistent partition 21.403
Then there is no persistence partition on USB drive "__internal" 0.360
After features/support/hooks.rb:291 0.956
After features/support/hooks.rb:75 0.000
Tags: @product
2:6.480
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.620
When I write some dotfile expected to persist 0.112
And I shutdown Tails and wait for the computer to power off 6.221
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:50.097
Then the expected persistent dotfile is present in the filesystem 0.427
After features/support/hooks.rb:291 0.647
After features/support/hooks.rb:75 0.008
Tags: @product
1:27.145
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 8.537
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.080
When I try to enable persistence 0.284
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 29.864
When I log in to a new session after having activated the Persistent Storage 28.406
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 15.303
And all tps features are enabled 2.459
And all tps features but the first one are active 2.209
After features/support/hooks.rb:291 1.136
After features/support/hooks.rb:75 0.000
Tags: @product
5:5.082
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 3:54.996
And I enable persistence 32.888
And I log in to a new session after having activated the Persistent Storage 36.112
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.917
And persistence is enabled 0.166
After features/support/hooks.rb:291 1.223
After features/support/hooks.rb:75 0.000
Tags: @product
44.738
Before features/support/hooks.rb:245 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 10.245
And I enable persistence but something goes wrong during the LUKS header upgrade 33.679
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.812
After features/support/hooks.rb:291 0.721
After features/support/hooks.rb:75 0.000