Project Number Date
test_Tails_ISO_stable 4558 07 Dec 2023, 20:51

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 33:15.236 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:8.514
Before features/support/hooks.rb:245 0.038
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:25.991
And I update APT using apt 17.105
And I install "python3-behave" using apt 21.720
Then the Tails Persistent Storage behave tests pass 3.696
After features/support/hooks.rb:291 0.711
After features/support/hooks.rb:75 0.000
Tags: @product
39.376
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.500
When I log in to a new session without activating the Persistent Storage 20.121
Then Tails is running from USB drive "__internal" 0.430
And persistence is disabled 0.246
But a Tails persistence partition exists on USB drive "__internal" 7.076
After features/support/hooks.rb:291 1.485
After features/support/hooks.rb:75 0.000
Tags: @product
2:44.273
Before features/support/hooks.rb:245 0.004
Given I have started Tails without network from a USB drive without a persistent partition and logged in 12.615
Then Tails is running from USB drive "__internal" 0.522
When I create a file in the Persistent directory 0.136
And I create a persistent partition with the default settings 32.414
Then the file I created was copied to the Persistent Storage 0.398
When I shutdown Tails and wait for the computer to power off 9.088
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:48.709
Then persistence for "Persistent" is active 0.312
And the file I created in the Persistent directory exists 0.075
After features/support/hooks.rb:291 1.160
After features/support/hooks.rb:75 0.009
Tags: @product
42.293
Scenario Creating a Persistent Storage when system is low on memory
Before features/support/hooks.rb:245 0.006
Steps
Given I have started Tails without network from a USB drive without a persistent partition and logged in 10.327
And the system is very low on memory 3.193
When I create a file in the Persistent directory 1.214
When I try to create a persistent partition 27.559
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.734

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

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4558/artifact/build-artifacts/03:02:05_Creating_a_Persistent_Storage_when_system_is_low_on_memory.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4558/artifact/build-artifacts/03:02:05_Creating_a_Persistent_Storage_when_system_is_low_on_memory.mkv

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4558/artifact/build-artifacts/03:02:05_Creating_a_Persistent_Storage_when_system_is_low_on_memory.boot-log

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4558/artifact/build-artifacts/03:02:05_Creating_a_Persistent_Storage_when_system_is_low_on_memory.journal

After features/support/hooks.rb:75 0.000
Tags: @product
2:36.879
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 11.187
Then Tails is running from USB drive "__internal" 0.872
And all tps features are active 2.065
And all persistent directories have safe access rights 3.323
When I disable the first tps feature 17.408
Then all tps features but the first one are active 1.973
And I shutdown Tails and wait for the computer to power off 6.086
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:50.603
Then all tps features but the first one are active 3.358
After features/support/hooks.rb:291 0.702
After features/support/hooks.rb:75 0.033
Tags: @product
43.783
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 11.214
Then persistence for "Persistent" is active 0.142
And I create a file in the Persistent directory 0.087
Then the file I created was copied to the Persistent Storage 0.114
When I disable the first tps feature 16.810
Then persistence for "Persistent" is not active 0.111
And the Persistent directory does not exist 0.056
When I enable the first tps feature 15.063
Then persistence for "Persistent" is active 0.107
And the file I created in the Persistent directory exists 0.075
After features/support/hooks.rb:291 0.767
After features/support/hooks.rb:75 0.000
Tags: @product
42.127
Before features/support/hooks.rb:245 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 8.928
Then persistence for "Persistent" is active 0.114
When I create a file in the Persistent directory 0.070
And I disable the first tps feature 17.107
And I delete the data of the Persistent Folder feature 15.671
Then the file I created does not exist on the Persistent Storage 0.235
After features/support/hooks.rb:291 0.761
After features/support/hooks.rb:75 0.000
Tags: @product
48.754
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.874
And the network is plugged 0.037
And Tor is ready 15.168
And I take note of which tps features are available 0.626
When I write some files expected to persist 1.845
And I shutdown Tails and wait for the computer to power off 6.088
# 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" 16.113
After features/support/hooks.rb:291 0.111
After features/support/hooks.rb:75 0.000
Tags: @product
2:34.744
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.765
And the network is plugged 0.030
And Tor is ready 15.709
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.329
And I shutdown Tails and wait for the computer to power off 6.076
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:47.710
And I capture all network traffic 0.007
And the network is plugged 0.035
And Tor is ready 15.187
And I switch to the "persistent-con-current" NetworkManager connection 0.406
And the 1st network device has a spoofed MAC address configured 0.146
And no network device leaked the real MAC address 0.338
After features/support/hooks.rb:291 0.689
After features/support/hooks.rb:75 0.050
Tags: @product
52.369
Before features/support/hooks.rb:245 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 12.414
And I enable persistence creation in Tails Greeter 1.137
And I log in to a new session expecting no warning about the Persistent Storage not being activated 19.840
Then I create a persistent partition with the default settings using the wizard that was already open 18.977
After features/support/hooks.rb:291 1.152
After features/support/hooks.rb:75 0.000
Tags: @product
4:30.061
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 13.160
When I enable persistence 33.459
Then no persistent Greeter options were restored 14.593
When I set all Greeter options to non-default values 24.863
And I log in to a new session in German (de) after having activated the Persistent Storage 37.928
Then all Greeter options are set to non-default values 0.387
When I cold reboot the computer 5.082
And the computer reboots Tails 47.044
Given I enable persistence 51.123
Then persistent Greeter options were restored 15.244
When I log in to a new session after having activated the Persistent Storage 26.916
Then all Greeter options are set to non-default values 0.257
After features/support/hooks.rb:291 0.740
After features/support/hooks.rb:75 0.010
Tags: @product
3:54.947
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 13.910
# 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 48.866
And I shutdown Tails and wait for the computer to power off 12.669
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:56.122
And I change the passphrase of the Persistent Storage back to the original 43.379
After features/support/hooks.rb:291 1.887
After features/support/hooks.rb:75 0.011
Tags: @product
1:1.470
Before features/support/hooks.rb:245 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 10.403
And I log in to a new session without activating the Persistent Storage 19.179
Then persistence is disabled 0.181
But a Tails persistence partition exists on USB drive "__internal" 6.571
And all notifications have disappeared 7.626
When I delete the persistent partition 17.110
Then there is no persistence partition on USB drive "__internal" 0.397
After features/support/hooks.rb:291 0.925
After features/support/hooks.rb:75 0.000
Tags: @product
2:6.184
Before features/support/hooks.rb:245 0.025
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 8.716
When I write some dotfile expected to persist 0.092
And I shutdown Tails and wait for the computer to power off 6.132
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:50.895
Then the expected persistent dotfile is present in the filesystem 0.346
After features/support/hooks.rb:291 0.967
After features/support/hooks.rb:75 0.009
Tags: @product
1:24.127
Before features/support/hooks.rb:245 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 9.578
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.102
When I try to enable persistence 0.261
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 24.765
When I log in to a new session after having activated the Persistent Storage 27.568
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 18.139
And all tps features are enabled 1.981
And all tps features but the first one are active 1.730
After features/support/hooks.rb:291 1.013
After features/support/hooks.rb:75 0.000
Tags: @product
5:2.803
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:55.503
And I enable persistence 31.161
And I log in to a new session after having activated the Persistent Storage 35.157
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.811
And persistence is enabled 0.170
After features/support/hooks.rb:291 0.698
After features/support/hooks.rb:75 0.000
Tags: @product
42.522
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 9.320
And I enable persistence but something goes wrong during the LUKS header upgrade 32.318
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.882
After features/support/hooks.rb:291 0.624
After features/support/hooks.rb:75 0.000