Project Number Date
test_Tails_ISO_stable 4995 03 Aug 2024, 12:40

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 119 1 1 0 0 121 16 1 17 54:20.173 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:24.484
Before features/support/hooks.rb:269 0.005
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:37.673
And I update APT using apt 18.592
And I install "python3-behave" using apt 25.544
Then the Tails Persistent Storage behave tests pass 2.673
After features/support/hooks.rb:326 0.816
After features/support/hooks.rb:100 0.000
Tags: @product
48.079
Before features/support/hooks.rb:269 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.174
When I log in to a new session without activating the Persistent Storage 22.313
Then Tails is running from USB drive "__internal" 0.564
And persistence is disabled 0.308
But a Tails persistence partition exists on USB drive "__internal" 11.718
After features/support/hooks.rb:326 1.333
After features/support/hooks.rb:100 0.000
Tags: @product
3:17.078
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive without a persistent partition and logged in 13.078
Then Tails is running from USB drive "__internal" 0.622
When I create a file in the Persistent directory 0.145
And I create a persistent partition with the default settings 23.973
Then the file I created was copied to the Persistent Storage 0.756
When I shutdown Tails and wait for the computer to power off 12.493
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:25.635
Then persistence for "Persistent" is active 0.316
And the file I created in the Persistent directory exists 0.056
After features/support/hooks.rb:326 1.005
After features/support/hooks.rb:100 0.009
Tags: @product
57.765
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive without a persistent partition and logged in 11.729
And the system is very low on memory 3.960
When I create a file in the Persistent directory 1.166
When I try to create a persistent partition 22.936
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.249
When I close the Persistent Storage app 2.749
And I free up some memory 1.351
And I create a persistent partition with the default settings 13.315
Then the file I created was copied to the Persistent Storage 0.307
After features/support/hooks.rb:326 1.259
After features/support/hooks.rb:100 0.000
Tags: @product
2:38.180
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.218
Then Tails is running from USB drive "__internal" 0.378
And all tps features are active 2.295
And all persistent directories have safe access rights 2.453
When I disable the first tps feature 4.923
Then all tps features but the first one are active 2.121
And I shutdown Tails and wait for the computer to power off 8.528
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:2.667
Then all tps features but the first one are active 3.595
After features/support/hooks.rb:326 0.962
After features/support/hooks.rb:100 0.009
Tags: @product
33.059
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 24.390
Then persistence for "Persistent" is active 0.114
And I create a file in the Persistent directory 0.086
Then the file I created was copied to the Persistent Storage 0.075
When I disable the first tps feature 4.989
Then persistence for "Persistent" is not active 0.073
And the Persistent directory does not exist 0.065
When I enable the first tps feature 3.124
Then persistence for "Persistent" is active 0.062
And the file I created in the Persistent directory exists 0.075
After features/support/hooks.rb:326 0.879
After features/support/hooks.rb:100 0.000
Tags: @product
18.312
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.290
Then persistence for "Persistent" is active 0.144
When I create a file in the Persistent directory 0.101
And I disable the first tps feature 5.071
And I delete the data of the Persistent Folder feature 3.652
Then the file I created does not exist on the Persistent Storage 0.052
After features/support/hooks.rb:326 0.863
After features/support/hooks.rb:100 0.000
Tags: @product
1:3.551
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.396
And the network is plugged 0.277
And Tor is ready 18.250
And I take note of which tps features are available 1.485
When I write some files expected to persist 1.510
And I shutdown Tails and wait for the computer to power off 8.201
# 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" 24.428
After features/support/hooks.rb:326 0.123
After features/support/hooks.rb:100 0.000
Tags: @product
2:58.721
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.176
And the network is plugged 0.036
And Tor is ready 21.702
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.180
And I shutdown Tails and wait for the computer to power off 8.228
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:58.509
And I capture all network traffic 0.005
And the network is plugged 0.054
And Tor is ready 19.064
And I switch to the "persistent-con-current" NetworkManager connection 0.353
And the 1st network device has a spoofed MAC address configured 0.169
And no network device leaked the real MAC address 0.239
After features/support/hooks.rb:326 0.628
After features/support/hooks.rb:100 0.042
Tags: @product
1:6.284
Before features/support/hooks.rb:269 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 21.938
And I enable persistence creation in Tails Greeter 1.111
And I log in to a new session expecting no warning about the Persistent Storage not being activated 20.991
Then I create a persistent partition with the default settings using the wizard that was already open 22.243
After features/support/hooks.rb:326 1.823
After features/support/hooks.rb:100 0.000
Tags: @product
4:48.452
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 14.796
When I enable persistence 38.911
Then no persistent Greeter options were restored 15.368
When I set all Greeter options to non-default values 23.039
And I log in to a new session in German (de) after having activated the Persistent Storage 44.856
Then all Greeter options are set to non-default values 0.391
When I cold reboot the computer 9.895
And the computer reboots Tails 57.992
Given I enable persistence 31.200
Then persistent Greeter options were restored 15.770
When I log in to a new session after having activated the Persistent Storage 35.845
Then all Greeter options are set to non-default values 0.384
After features/support/hooks.rb:326 1.694
After features/support/hooks.rb:100 0.013
Tags: @product
22:51.135
Scenario Changing the Persistent Storage passphrase
Before features/support/hooks.rb:269 0.006
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.111
# 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.845
And I shutdown Tails and wait for the computer to power off 12.829
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 21:53.349
execution expired (RemoteShell::Timeout)
./features/support/helpers/remote_shell.rb:56:in `read'
./features/support/helpers/remote_shell.rb:56:in `block (3 levels) in communicate'
./features/support/helpers/remote_shell.rb:55:in `block (2 levels) in communicate'
./features/support/helpers/remote_shell.rb:42:in `loop'
./features/support/helpers/remote_shell.rb:42:in `block in communicate'
./features/support/helpers/remote_shell.rb:37:in `communicate'
./features/support/helpers/remote_shell.rb:174:in `execute'
./features/support/helpers/remote_shell.rb:185:in `initialize'
./features/support/helpers/dogtail.rb:80:in `new'
./features/support/helpers/dogtail.rb:80:in `run'
./features/support/helpers/dogtail.rb:70:in `initialize'
./features/step_definitions/common_steps.rb:706:in `new'
./features/step_definitions/common_steps.rb:706:in `/^all notifications have disappeared$/'
./features/step_definitions/common_steps.rb:292: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:123:in `Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase'
And I change the passphrase of the Persistent Storage back to the original 0.000
After features/support/hooks.rb:326 10.824

SCENARIO FAILED: 'Changing the Persistent Storage passphrase' (at time 03:34:08)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4995/artifact/build-artifacts/03:34:08_Changing_the_Persistent_Storage_passphrase.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4995/artifact/build-artifacts/03:34:08_Changing_the_Persistent_Storage_passphrase.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4995/artifact/build-artifacts/03:34:08_Changing_the_Persistent_Storage_passphrase.journal

After features/support/hooks.rb:100 0.013
Tags: @product
1:2.846
Before features/support/hooks.rb:269 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 14.025
And I log in to a new session without activating the Persistent Storage 20.001
Then persistence is disabled 0.371
But a Tails persistence partition exists on USB drive "__internal" 10.787
And all notifications have disappeared 11.358
When I delete the persistent partition 5.736
Then there is no persistence partition on USB drive "__internal" 0.565
After features/support/hooks.rb:326 0.880
After features/support/hooks.rb:100 0.000
Tags: @product
2:22.951
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.719
When I write some dotfile expected to persist 0.079
And I shutdown Tails and wait for the computer to power off 8.615
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:4.142
Then the expected persistent dotfile is present in the filesystem 0.394
After features/support/hooks.rb:326 1.017
After features/support/hooks.rb:100 0.011
Tags: @product
1:37.706
Before features/support/hooks.rb:269 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 9.757
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.088
When I try to enable persistence 0.274
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 33.069
When I log in to a new session after having activated the Persistent Storage 38.945
And all notifications have disappeared 8.086
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.280
And all tps features are enabled 2.164
And all tps features but the first one are active 2.039
After features/support/hooks.rb:326 1.158
After features/support/hooks.rb:100 0.000
Tags: @product
4:59.233
Before features/support/hooks.rb:269 0.006
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:34.670
And I enable persistence 36.793
And I log in to a new session after having activated the Persistent Storage 45.902
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.649
And persistence is enabled 0.218
After features/support/hooks.rb:326 1.324
After features/support/hooks.rb:100 0.000
Tags: @product
32.328
Before features/support/hooks.rb:269 0.009
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.195
And I enable persistence but something goes wrong during the LUKS header upgrade 22.392
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.739
After features/support/hooks.rb:326 0.796
After features/support/hooks.rb:100 0.000