Project Number Date
test_Tails_ISO_stable 4608 09 Jan 2024, 12:05

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 117 1 2 0 0 120 16 1 17 31:58.776 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:1.248
Before features/support/hooks.rb:245 0.007
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:20.461
And I update APT using apt 16.780
And I install "python3-behave" using apt 20.835
Then the Tails Persistent Storage behave tests pass 3.170
After features/support/hooks.rb:291 0.608
After features/support/hooks.rb:75 0.000
Tags: @product
35.943
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 10.361
When I log in to a new session without activating the Persistent Storage 18.543
Then Tails is running from USB drive "__internal" 0.430
And persistence is disabled 0.207
But a Tails persistence partition exists on USB drive "__internal" 6.401
After features/support/hooks.rb:291 1.479
After features/support/hooks.rb:75 0.000
Tags: @product
1:59.606
Scenario Creating a Persistent Storage
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 11.814
Then Tails is running from USB drive "__internal" 0.420
When I create a file in the Persistent directory 0.127
And I create a persistent partition with the default settings 33.856
Then the file I created was copied to the Persistent Storage 0.463
When I shutdown Tails and wait for the computer to power off 8.141
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:4.782
try_for() timeout expired (Timeout::Error)
./features/support/helpers/misc_helpers.rb:145:in `rescue in try_for'
./features/support/helpers/misc_helpers.rb:51:in `try_for'
./features/support/helpers/dogtail.rb:345:in `grabFocus'
./features/step_definitions/usb.rb:654:in `/^I try to enable persistence( with the changed passphrase)?$/'
./features/step_definitions/usb.rb:665:in `/^I enable persistence( with the changed passphrase)?$/'
./features/step_definitions/common_steps.rb:236: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:26:in `And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled'
Then persistence for "Persistent" is active 0.000
And the file I created in the Persistent directory exists 0.000
After features/support/hooks.rb:291 4.012

SCENARIO FAILED: 'Creating a Persistent Storage' (at time 02:54:26)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4608/artifact/build-artifacts/02:54:26_Creating_a_Persistent_Storage.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4608/artifact/build-artifacts/02:54:26_Creating_a_Persistent_Storage.mkv

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4608/artifact/build-artifacts/02:54:26_Creating_a_Persistent_Storage.boot-log

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4608/artifact/build-artifacts/02:54:26_Creating_a_Persistent_Storage.journal

After features/support/hooks.rb:75 0.007
Tags: @product
1:11.927
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 11.590
And the system is very low on memory 2.521
When I create a file in the Persistent directory 1.079
When I try to create a persistent partition 26.961
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.291
When I close the Persistent Storage app 2.559
And I free up some memory 1.638
And I create a persistent partition with the default settings 24.587
Then the file I created was copied to the Persistent Storage 0.696
After features/support/hooks.rb:291 1.215
After features/support/hooks.rb:75 0.000
Tags: @product
2:30.058
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 9.623
Then Tails is running from USB drive "__internal" 0.515
And all tps features are active 2.271
And all persistent directories have safe access rights 2.755
When I disable the first tps feature 16.325
Then all tps features but the first one are active 2.250
And I shutdown Tails and wait for the computer to power off 5.091
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:48.970
Then all tps features but the first one are active 2.254
After features/support/hooks.rb:291 0.672
After features/support/hooks.rb:75 0.028
Tags: @product
41.684
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.470
Then persistence for "Persistent" is active 0.127
And I create a file in the Persistent directory 0.070
Then the file I created was copied to the Persistent Storage 0.103
When I disable the first tps feature 16.549
Then persistence for "Persistent" is not active 0.078
And the Persistent directory does not exist 0.044
When I enable the first tps feature 15.079
Then persistence for "Persistent" is active 0.071
And the file I created in the Persistent directory exists 0.089
After features/support/hooks.rb:291 0.765
After features/support/hooks.rb:75 0.000
Tags: @product
41.433
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.864
Then persistence for "Persistent" is active 0.141
When I create a file in the Persistent directory 0.091
And I disable the first tps feature 16.433
And I delete the data of the Persistent Folder feature 15.647
Then the file I created does not exist on the Persistent Storage 0.254
After features/support/hooks.rb:291 0.762
After features/support/hooks.rb:75 0.000
Tags: @product
55.082
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.180
And the network is plugged 0.050
And Tor is ready 16.297
And I take note of which tps features are available 0.733
When I write some files expected to persist 1.555
And I shutdown Tails and wait for the computer to power off 11.505
# 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.759
After features/support/hooks.rb:291 0.114
After features/support/hooks.rb:75 0.000
Tags: @product
2:35.380
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.294
And the network is plugged 0.034
And Tor is ready 15.483
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.198
And I shutdown Tails and wait for the computer to power off 5.064
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:49.402
And I capture all network traffic 0.015
And the network is plugged 0.049
And Tor is ready 14.971
And I switch to the "persistent-con-current" NetworkManager connection 0.403
And the 1st network device has a spoofed MAC address configured 0.202
And no network device leaked the real MAC address 0.258
After features/support/hooks.rb:291 0.719
After features/support/hooks.rb:75 0.042
Tags: @product
43.355
Before features/support/hooks.rb:245 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 10.277
And I enable persistence creation in Tails Greeter 1.266
And I log in to a new session expecting no warning about the Persistent Storage not being activated 15.008
Then I create a persistent partition with the default settings using the wizard that was already open 16.802
After features/support/hooks.rb:291 1.488
After features/support/hooks.rb:75 0.000
Tags: @product
4:9.868
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.303
When I enable persistence 33.923
Then no persistent Greeter options were restored 13.860
When I set all Greeter options to non-default values 22.661
And I log in to a new session in German (de) after having activated the Persistent Storage 33.443
Then all Greeter options are set to non-default values 0.409
When I cold reboot the computer 5.042
And the computer reboots Tails 44.503
Given I enable persistence 49.860
Then persistent Greeter options were restored 14.534
When I log in to a new session after having activated the Persistent Storage 19.973
Then all Greeter options are set to non-default values 0.354
After features/support/hooks.rb:291 1.751
After features/support/hooks.rb:75 0.011
Tags: @product
3:35.505
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.627
# 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 42.538
And I shutdown Tails and wait for the computer to power off 11.049
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:45.828
And I change the passphrase of the Persistent Storage back to the original 46.461
After features/support/hooks.rb:291 1.899
After features/support/hooks.rb:75 0.007
Tags: @product
54.226
Before features/support/hooks.rb:245 0.003
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.094
And I log in to a new session without activating the Persistent Storage 16.108
Then persistence is disabled 0.273
But a Tails persistence partition exists on USB drive "__internal" 6.152
And all notifications have disappeared 4.986
When I delete the persistent partition 17.284
Then there is no persistence partition on USB drive "__internal" 0.325
After features/support/hooks.rb:291 0.860
After features/support/hooks.rb:75 0.000
Tags: @product
1:57.053
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.812
When I write some dotfile expected to persist 0.098
And I shutdown Tails and wait for the computer to power off 5.086
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:42.718
Then the expected persistent dotfile is present in the filesystem 0.337
After features/support/hooks.rb:291 0.769
After features/support/hooks.rb:75 0.009
Tags: @product
1:17.926
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 8.501
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.076
When I try to enable persistence 1.322
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 24.204
When I log in to a new session after having activated the Persistent Storage 24.132
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 14.934
And all tps features are enabled 2.460
And all tps features but the first one are active 2.293
After features/support/hooks.rb:291 0.949
After features/support/hooks.rb:75 0.000
Tags: @product
5:30.064
Before features/support/hooks.rb:245 0.004
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 4:30.675
And I enable persistence 30.486
And I log in to a new session after having activated the Persistent Storage 28.098
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.690
And persistence is enabled 0.113
After features/support/hooks.rb:291 0.863
After features/support/hooks.rb:75 0.000
Tags: @product
38.411
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 8.837
And I enable persistence but something goes wrong during the LUKS header upgrade 28.877
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.696
After features/support/hooks.rb:291 0.642
After features/support/hooks.rb:75 0.000