Project Number Date
test_Tails_ISO_stable 4765 03 Apr 2024, 17:57

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 116 1 4 0 0 121 16 1 17 35:1.703 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:18.757
Before features/support/hooks.rb:245 0.006
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:33.458
And I update APT using apt 20.002
And I install "python3-behave" using apt 22.805
Then the Tails Persistent Storage behave tests pass 2.490
After features/support/hooks.rb:291 0.599
After features/support/hooks.rb:75 0.000
Tags: @product
36.216
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.834
When I log in to a new session without activating the Persistent Storage 19.222
Then Tails is running from USB drive "__internal" 0.403
And persistence is disabled 0.332
But a Tails persistence partition exists on USB drive "__internal" 5.423
After features/support/hooks.rb:291 0.992
After features/support/hooks.rb:75 0.000
Tags: @product
3:55.197
Before features/support/hooks.rb:245 0.006
Given I have started Tails without network from a USB drive without a persistent partition and logged in 47.052
Then Tails is running from USB drive "__internal" 0.452
When I create a file in the Persistent directory 0.177
And I create a persistent partition with the default settings 24.431
Then the file I created was copied to the Persistent Storage 0.499
When I shutdown Tails and wait for the computer to power off 11.286
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:30.791
Then persistence for "Persistent" is active 0.430
And the file I created in the Persistent directory exists 0.074
After features/support/hooks.rb:291 1.140
After features/support/hooks.rb:75 0.008
Tags: @product
57.738
Before features/support/hooks.rb:245 0.006
Given I have started Tails without network from a USB drive without a persistent partition and logged in 15.724
And the system is very low on memory 4.251
When I create a file in the Persistent directory 0.816
When I try to create a persistent partition 17.782
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.209
When I close the Persistent Storage app 2.856
And I free up some memory 1.425
And I create a persistent partition with the default settings 14.387
Then the file I created was copied to the Persistent Storage 0.284
After features/support/hooks.rb:291 1.534
After features/support/hooks.rb:75 0.000
Tags: @product
2:32.188
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 10.968
Then Tails is running from USB drive "__internal" 0.486
And all tps features are active 2.327
And all persistent directories have safe access rights 2.709
When I disable the first tps feature 4.654
Then all tps features but the first one are active 2.245
And I shutdown Tails and wait for the computer to power off 8.631
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:57.834
Then all tps features but the first one are active 2.332
After features/support/hooks.rb:291 0.836
After features/support/hooks.rb:75 0.011
Tags: @product
19.034
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.135
Then persistence for "Persistent" is active 0.098
And I create a file in the Persistent directory 0.089
Then the file I created was copied to the Persistent Storage 0.093
When I disable the first tps feature 5.245
Then persistence for "Persistent" is not active 0.063
And the Persistent directory does not exist 0.062
When I enable the first tps feature 3.088
Then persistence for "Persistent" is active 0.074
And the file I created in the Persistent directory exists 0.080
After features/support/hooks.rb:291 0.638
After features/support/hooks.rb:75 0.000
Tags: @product
18.255
Before features/support/hooks.rb:245 0.009
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.779
Then persistence for "Persistent" is active 0.096
When I create a file in the Persistent directory 0.103
And I disable the first tps feature 4.611
And I delete the data of the Persistent Folder feature 3.617
Then the file I created does not exist on the Persistent Storage 0.047
After features/support/hooks.rb:291 0.723
After features/support/hooks.rb:75 0.000
Tags: @product
1:9.707
Scenario Writing files to a read/write-enabled persistent partition
Before features/support/hooks.rb:245 0.005
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.651
And the network is plugged 0.053
And Tor is ready 1:0.002
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/step_definitions/common_steps.rb:625:in `/^I successfully configure Tor$/'
./features/step_definitions/common_steps.rb:601:in `/^Tor is ready$/'
features/persistence.feature:75:in `And Tor is ready'
And I take note of which tps features are available 0.000
When I write some files expected to persist 0.000
And I shutdown Tails and wait for the computer to power off 0.000
# 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" 0.000
After features/support/hooks.rb:291 9.683

SCENARIO FAILED: 'Writing files to a read/write-enabled persistent partition' (at time 02:59:02)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4765/artifact/build-artifacts/02:59:02_Writing_files_to_a_read_write-enabled_persistent_partition.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4765/artifact/build-artifacts/02:59:02_Writing_files_to_a_read_write-enabled_persistent_partition.mkv

After features/support/hooks.rb:75 0.000
Tags: @product
2:59.598
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.721
And the network is plugged 0.045
And Tor is ready 17.157
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.242
And I shutdown Tails and wait for the computer to power off 6.663
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.161
And I capture all network traffic 0.013
And the network is plugged 0.043
And Tor is ready 18.821
And I switch to the "persistent-con-current" NetworkManager connection 0.398
And the 1st network device has a spoofed MAC address configured 0.101
And no network device leaked the real MAC address 0.228
After features/support/hooks.rb:291 0.649
After features/support/hooks.rb:75 0.052
Tags: @product
1:5.390
Before features/support/hooks.rb:245 0.006
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 12.798
And I enable persistence creation in Tails Greeter 1.142
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.828
Then I create a persistent partition with the default settings using the wizard that was already open 27.619
After features/support/hooks.rb:291 1.941
After features/support/hooks.rb:75 0.000
Tags: @product
4:59.954
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 19.719
When I enable persistence 43.427
Then no persistent Greeter options were restored 14.673
When I set all Greeter options to non-default values 22.602
And I log in to a new session in German (de) after having activated the Persistent Storage 50.183
Then all Greeter options are set to non-default values 0.511
When I cold reboot the computer 10.185
And the computer reboots Tails 59.289
Given I enable persistence 31.032
Then persistent Greeter options were restored 15.092
When I log in to a new session after having activated the Persistent Storage 32.700
Then all Greeter options are set to non-default values 0.535
After features/support/hooks.rb:291 0.977
After features/support/hooks.rb:75 0.008
Tags: @product
3:37.996
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.960
# 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 34.507
And I shutdown Tails and wait for the computer to power off 14.579
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:53.642
And I change the passphrase of the Persistent Storage back to the original 43.305
After features/support/hooks.rb:291 2.556
After features/support/hooks.rb:75 0.048
Tags: @product
56.746
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 11.072
And I log in to a new session without activating the Persistent Storage 18.232
Then persistence is disabled 0.310
But a Tails persistence partition exists on USB drive "__internal" 9.055
And all notifications have disappeared 11.864
When I delete the persistent partition 5.755
Then there is no persistence partition on USB drive "__internal" 0.455
After features/support/hooks.rb:291 1.193
After features/support/hooks.rb:75 0.000
Tags: @product
2:12.900
Before features/support/hooks.rb:245 0.010
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.008
When I write some dotfile expected to persist 0.074
And I shutdown Tails and wait for the computer to power off 6.601
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:55.888
Then the expected persistent dotfile is present in the filesystem 0.327
After features/support/hooks.rb:291 0.649
After features/support/hooks.rb:75 0.010
Tags: @product
1:32.827
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 8.984
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.286
When I try to enable persistence 0.259
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 29.651
When I log in to a new session after having activated the Persistent Storage 35.255
And all notifications have disappeared 9.673
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.691
And all tps features are enabled 2.752
And all tps features but the first one are active 2.274
After features/support/hooks.rb:291 1.251
After features/support/hooks.rb:75 0.000
Tags: @product
4:53.368
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:41.831
And I enable persistence 31.204
And I log in to a new session after having activated the Persistent Storage 38.281
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.673
And persistence is enabled 0.377
After features/support/hooks.rb:291 1.815
After features/support/hooks.rb:75 0.000
Tags: @product
35.825
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 11.032
And I enable persistence but something goes wrong during the LUKS header upgrade 24.100
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.691
After features/support/hooks.rb:291 0.689
After features/support/hooks.rb:75 0.000