Project Number Date
test_Tails_ISO_devel 3358 20 Apr 2024, 16:44

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 112 1 8 0 0 121 16 1 17 38:26.588 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:56.214
Before features/support/hooks.rb:259 0.008
Given I have started Tails from DVD and logged in with an administration password and the network is connected 2:6.994
And I update APT using apt 20.223
And I install "python3-behave" using apt 25.588
Then the Tails Persistent Storage behave tests pass 3.408
After features/support/hooks.rb:305 1.914
After features/support/hooks.rb:89 0.000
Tags: @product
52.313
Before features/support/hooks.rb:259 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 16.412
When I log in to a new session without activating the Persistent Storage 22.942
Then Tails is running from USB drive "__internal" 0.409
And persistence is disabled 0.488
But a Tails persistence partition exists on USB drive "__internal" 12.061
After features/support/hooks.rb:305 1.208
After features/support/hooks.rb:89 0.000
Tags: @product
3:28.047
Before features/support/hooks.rb:259 0.006
Given I have started Tails without network from a USB drive without a persistent partition and logged in 14.699
Then Tails is running from USB drive "__internal" 0.461
When I create a file in the Persistent directory 0.204
And I create a persistent partition with the default settings 35.133
Then the file I created was copied to the Persistent Storage 0.639
When I shutdown Tails and wait for the computer to power off 13.381
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:23.139
Then persistence for "Persistent" is active 0.290
And the file I created in the Persistent directory exists 0.097
After features/support/hooks.rb:305 0.757
After features/support/hooks.rb:89 0.010
Tags: @product
1:3.369
Before features/support/hooks.rb:259 0.006
Given I have started Tails without network from a USB drive without a persistent partition and logged in 15.003
And the system is very low on memory 5.303
When I create a file in the Persistent directory 1.003
When I try to create a persistent partition 21.655
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.143
When I close the Persistent Storage app 2.601
And I free up some memory 1.440
And I create a persistent partition with the default settings 15.881
Then the file I created was copied to the Persistent Storage 0.336
After features/support/hooks.rb:305 1.216
After features/support/hooks.rb:89 0.000
Tags: @product
10.809
Scenario Booting Tails from a USB drive with an enabled persistent partition and reconfiguring it
Before features/support/hooks.rb:259 0.012
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.809
execution expired (RemoteShell::Timeout)
./features/support/helpers/misc_helpers.rb:305:in `read'
./features/support/helpers/misc_helpers.rb:305:in `block in cmd_helper'
./features/support/helpers/misc_helpers.rb:304:in `popen'
./features/support/helpers/misc_helpers.rb:304:in `cmd_helper'
./features/support/helpers/screen.rb:125:in `xdotool'
./features/support/helpers/screen.rb:369:in `click'
./features/step_definitions/common_steps.rb:12:in `post_vm_start_hook'
./features/step_definitions/common_steps.rb:99:in `post_snapshot_restore_hook'
./features/step_definitions/snapshots.rb:166:in `reach_checkpoint'
./features/step_definitions/snapshots.rb:172:in `/^I\ have\ started\ Tails\ without\ network\ from\ a\ USB\ drive\ with\ a\ persistent\ partition\ enabled\ and\ logged\ in$/'
features/persistence.feature:42:in `Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in'
Then Tails is running from USB drive "__internal" 0.000
And all tps features are active 0.000
And all persistent directories have safe access rights 0.000
When I disable the first tps feature 0.000
Then all tps features but the first one are active 0.000
And I shutdown Tails and wait for the computer to power off 0.000
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 0.000
Then all tps features but the first one are active 0.000
After features/support/hooks.rb:305 7.774

SCENARIO FAILED: 'Booting Tails from a USB drive with an enabled persistent partition and reconfiguring it' (at time 03:09:36)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3358/artifact/build-artifacts/03:09:36_Booting_Tails_from_a_USB_drive_with_an_enabled_persistent_partition_and_reconfiguring_it.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3358/artifact/build-artifacts/03:09:36_Booting_Tails_from_a_USB_drive_with_an_enabled_persistent_partition_and_reconfiguring_it.mkv

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3358/artifact/build-artifacts/03:09:36_Booting_Tails_from_a_USB_drive_with_an_enabled_persistent_partition_and_reconfiguring_it.boot-log

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3358/artifact/build-artifacts/03:09:36_Booting_Tails_from_a_USB_drive_with_an_enabled_persistent_partition_and_reconfiguring_it.journal

After features/support/hooks.rb:89 0.000
Tags: @product
20.136
Before features/support/hooks.rb:259 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.882
Then persistence for "Persistent" is active 0.142
And I create a file in the Persistent directory 0.079
Then the file I created was copied to the Persistent Storage 0.071
When I disable the first tps feature 5.519
Then persistence for "Persistent" is not active 0.085
And the Persistent directory does not exist 0.048
When I enable the first tps feature 3.124
Then persistence for "Persistent" is active 0.090
And the file I created in the Persistent directory exists 0.091
After features/support/hooks.rb:305 0.837
After features/support/hooks.rb:89 0.000
Tags: @product
19.118
Before features/support/hooks.rb:259 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.901
Then persistence for "Persistent" is active 0.130
When I create a file in the Persistent directory 0.113
And I disable the first tps feature 5.336
And I delete the data of the Persistent Folder feature 3.578
Then the file I created does not exist on the Persistent Storage 0.059
After features/support/hooks.rb:305 0.742
After features/support/hooks.rb:89 0.000
Tags: @product
1:34.368
Before features/support/hooks.rb:259 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.004
And the network is plugged 0.065
And Tor is ready 46.975
And I take note of which tps features are available 0.618
When I write some files expected to persist 1.669
And I shutdown Tails and wait for the computer to power off 8.519
# 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" 26.515
After features/support/hooks.rb:305 0.139
After features/support/hooks.rb:89 0.000
Tags: @product
3:10.692
Before features/support/hooks.rb:259 0.009
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.206
And the network is plugged 0.040
And Tor is ready 19.164
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.273
And I shutdown Tails and wait for the computer to power off 11.434
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.085
And I capture all network traffic 0.006
And the network is plugged 0.038
And Tor is ready 21.577
And I switch to the "persistent-con-current" NetworkManager connection 0.438
And the 1st network device has a spoofed MAC address configured 0.085
And no network device leaked the real MAC address 0.341
After features/support/hooks.rb:305 0.658
After features/support/hooks.rb:89 0.075
Tags: @product
1:9.348
Before features/support/hooks.rb:259 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 15.930
And I enable persistence creation in Tails Greeter 1.374
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.870
Then I create a persistent partition with the default settings using the wizard that was already open 28.172
After features/support/hooks.rb:305 1.824
After features/support/hooks.rb:89 0.000
Tags: @product
5:18.181
Before features/support/hooks.rb:259 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 18.115
When I enable persistence 41.778
Then no persistent Greeter options were restored 15.705
When I set all Greeter options to non-default values 24.108
And I log in to a new session in German (de) after having activated the Persistent Storage 53.201
Then all Greeter options are set to non-default values 0.515
When I cold reboot the computer 8.012
And the computer reboots Tails 1:9.655
Given I enable persistence 32.164
Then persistent Greeter options were restored 16.117
When I log in to a new session after having activated the Persistent Storage 37.781
Then all Greeter options are set to non-default values 1.027
After features/support/hooks.rb:305 1.459
After features/support/hooks.rb:89 0.010
Tags: @product
3:54.322
Before features/support/hooks.rb:259 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.015
# 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 39.102
And I shutdown Tails and wait for the computer to power off 14.968
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:14.381
And I change the passphrase of the Persistent Storage back to the original 35.854
After features/support/hooks.rb:305 2.530
After features/support/hooks.rb:89 0.013
Tags: @product
1:6.699
Before features/support/hooks.rb:259 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.945
And I log in to a new session without activating the Persistent Storage 22.551
Then persistence is disabled 0.296
But a Tails persistence partition exists on USB drive "__internal" 11.869
And all notifications have disappeared 11.619
When I delete the persistent partition 6.022
Then there is no persistence partition on USB drive "__internal" 0.393
After features/support/hooks.rb:305 0.835
After features/support/hooks.rb:89 0.000
Tags: @product
2:37.356
Before features/support/hooks.rb:259 0.008
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.782
When I write some dotfile expected to persist 0.120
And I shutdown Tails and wait for the computer to power off 14.013
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.948
Then the expected persistent dotfile is present in the filesystem 0.491
After features/support/hooks.rb:305 0.744
After features/support/hooks.rb:89 0.023
Tags: @product
1:53.579
Before features/support/hooks.rb:259 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.771
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.134
When I try to enable persistence 0.288
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 37.827
When I log in to a new session after having activated the Persistent Storage 45.415
And all notifications have disappeared 10.008
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.089
And all tps features are enabled 2.581
And all tps features but the first one are active 2.463
After features/support/hooks.rb:305 0.799
After features/support/hooks.rb:89 0.000
Tags: @product
7:55.877
Before features/support/hooks.rb:259 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 6:26.960
And I enable persistence 42.899
And I log in to a new session after having activated the Persistent Storage 43.877
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.744
And persistence is enabled 0.394
After features/support/hooks.rb:305 1.488
After features/support/hooks.rb:89 0.000
Tags: @product
36.149
Before features/support/hooks.rb:259 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 12.133
And I enable persistence but something goes wrong during the LUKS header upgrade 23.191
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.824
After features/support/hooks.rb:305 0.773
After features/support/hooks.rb:89 0.000