Project Number Date
test_Tails_ISO_devel 3379 08 May 2024, 12:56

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 117 2 2 0 0 121 15 2 17 36:38.726 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:32.145
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 1:40.455
And I update APT using apt 22.199
And I install "python3-behave" using apt 25.755
Then the Tails Persistent Storage behave tests pass 3.734
After features/support/hooks.rb:305 0.985
After features/support/hooks.rb:89 0.000
Tags: @product
51.639
Before features/support/hooks.rb:259 0.011
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 13.858
When I log in to a new session without activating the Persistent Storage 25.533
Then Tails is running from USB drive "__internal" 0.687
And persistence is disabled 0.537
But a Tails persistence partition exists on USB drive "__internal" 11.022
After features/support/hooks.rb:305 1.454
After features/support/hooks.rb:89 0.000
Tags: @product
3:13.555
Before features/support/hooks.rb:259 0.007
Given I have started Tails without network from a USB drive without a persistent partition and logged in 14.295
Then Tails is running from USB drive "__internal" 0.498
When I create a file in the Persistent directory 0.141
And I create a persistent partition with the default settings 30.104
Then the file I created was copied to the Persistent Storage 0.553
When I shutdown Tails and wait for the computer to power off 12.572
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.956
Then persistence for "Persistent" is active 0.367
And the file I created in the Persistent directory exists 0.066
After features/support/hooks.rb:305 0.624
After features/support/hooks.rb:89 0.014
Tags: @product
1:9.335
Before features/support/hooks.rb:259 0.009
Given I have started Tails without network from a USB drive without a persistent partition and logged in 15.461
And the system is very low on memory 4.898
When I create a file in the Persistent directory 1.321
When I try to create a persistent partition 27.890
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.172
When I close the Persistent Storage app 2.562
And I free up some memory 1.772
And I create a persistent partition with the default settings 15.000
Then the file I created was copied to the Persistent Storage 0.255
After features/support/hooks.rb:305 1.411
After features/support/hooks.rb:89 0.000
Tags: @product
2:47.626
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.830
Then Tails is running from USB drive "__internal" 0.414
And all tps features are active 2.628
And all persistent directories have safe access rights 2.935
When I disable the first tps feature 6.073
Then all tps features but the first one are active 2.461
And I shutdown Tails and wait for the computer to power off 11.087
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.200
Then all tps features but the first one are active 2.994
After features/support/hooks.rb:305 0.825
After features/support/hooks.rb:89 0.011
Tags: @product
20.553
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.312
Then persistence for "Persistent" is active 0.219
And I create a file in the Persistent directory 0.087
Then the file I created was copied to the Persistent Storage 0.105
When I disable the first tps feature 6.310
Then persistence for "Persistent" is not active 0.117
And the Persistent directory does not exist 0.081
When I enable the first tps feature 3.148
Then persistence for "Persistent" is active 0.087
And the file I created in the Persistent directory exists 0.082
After features/support/hooks.rb:305 0.815
After features/support/hooks.rb:89 0.000
Tags: @product
20.349
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 9.541
Then persistence for "Persistent" is active 0.108
When I create a file in the Persistent directory 0.170
And I disable the first tps feature 6.075
And I delete the data of the Persistent Folder feature 4.395
Then the file I created does not exist on the Persistent Storage 0.058
After features/support/hooks.rb:305 0.953
After features/support/hooks.rb:89 0.000
Tags: @product
1:6.654
Before features/support/hooks.rb:259 0.010
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.189
And the network is plugged 0.055
And Tor is ready 20.745
And I take note of which tps features are available 0.711
When I write some files expected to persist 1.579
And I shutdown Tails and wait for the computer to power off 8.464
# 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.908
After features/support/hooks.rb:305 0.101
After features/support/hooks.rb:89 0.000
Tags: @product
3:8.913
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.614
And the network is plugged 0.057
And Tor is ready 21.326
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.282
And I shutdown Tails and wait for the computer to power off 8.745
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.123
And I capture all network traffic 0.018
And the network is plugged 0.053
And Tor is ready 17.977
And I switch to the "persistent-con-current" NetworkManager connection 0.396
And the 1st network device has a spoofed MAC address configured 0.065
And no network device leaked the real MAC address 0.251
After features/support/hooks.rb:305 0.607
After features/support/hooks.rb:89 0.046
Tags: @product
1:6.262
Before features/support/hooks.rb:259 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 14.616
And I enable persistence creation in Tails Greeter 1.216
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.391
Then I create a persistent partition with the default settings using the wizard that was already open 27.037
After features/support/hooks.rb:305 2.130
After features/support/hooks.rb:89 0.000
Tags: @product
5:32.688
Before features/support/hooks.rb:259 0.018
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 14.147
When I enable persistence 49.742
Then no persistent Greeter options were restored 15.827
When I set all Greeter options to non-default values 25.473
And I log in to a new session in German (de) after having activated the Persistent Storage 55.429
Then all Greeter options are set to non-default values 0.763
When I cold reboot the computer 8.535
And the computer reboots Tails 1:16.038
Given I enable persistence 33.626
Then persistent Greeter options were restored 15.560
When I log in to a new session after having activated the Persistent Storage 36.969
Then all Greeter options are set to non-default values 0.573
After features/support/hooks.rb:305 0.938
After features/support/hooks.rb:89 0.010
Tags: @product
3:8.808
Scenario Changing the Persistent Storage passphrase
Before features/support/hooks.rb:259 0.007
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.010
# 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 32.505
And I shutdown Tails and wait for the computer to power off 13.326
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:12.966
The
The Dogtail init script raised: SearchError: child of [desktop frame | main]: "gnome-shell" application
STDOUT:

STDERR:

 (Dogtail::Failure)
./features/support/helpers/dogtail.rb:93:in `run'
./features/support/helpers/dogtail.rb:70:in `initialize'
./features/step_definitions/common_steps.rb:711:in `new'
./features/step_definitions/common_steps.rb:711:in `/^all notifications have disappeared$/'
./features/step_definitions/common_steps.rb:295: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:305 4.261

SCENARIO FAILED: 'Changing the Persistent Storage passphrase' (at time 03:50:41)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3379/artifact/build-artifacts/03:50:41_Changing_the_Persistent_Storage_passphrase.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3379/artifact/build-artifacts/03:50:41_Changing_the_Persistent_Storage_passphrase.mkv

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3379/artifact/build-artifacts/03:50:41_Changing_the_Persistent_Storage_passphrase.boot-log

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3379/artifact/build-artifacts/03:50:41_Changing_the_Persistent_Storage_passphrase.journal

After features/support/hooks.rb:89 0.010
Tags: @product
1:6.884
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 11.149
And I log in to a new session without activating the Persistent Storage 27.992
Then persistence is disabled 0.462
But a Tails persistence partition exists on USB drive "__internal" 10.373
And all notifications have disappeared 10.019
When I delete the persistent partition 6.438
Then there is no persistence partition on USB drive "__internal" 0.448
After features/support/hooks.rb:305 0.925
After features/support/hooks.rb:89 0.000
Tags: @product
2:31.893
Scenario Dotfiles persistence
Before features/support/hooks.rb:259 0.009
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.631
When I write some dotfile expected to persist 0.089
And I shutdown Tails and wait for the computer to power off 9.134
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.038
The
The Dogtail init script raised: SearchError: child of [desktop frame | main]: "gnome-shell" application
STDOUT:

STDERR:

 (Dogtail::Failure)
./features/support/helpers/dogtail.rb:93:in `run'
./features/support/helpers/dogtail.rb:70:in `initialize'
./features/step_definitions/common_steps.rb:711:in `new'
./features/step_definitions/common_steps.rb:711:in `/^all notifications have disappeared$/'
./features/step_definitions/common_steps.rb:295: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:139:in `And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled'
Then the expected persistent dotfile is present in the filesystem 0.000
After features/support/hooks.rb:305 4.075

SCENARIO FAILED: 'Dotfiles persistence' (at time 03:54:25)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3379/artifact/build-artifacts/03:54:25_Dotfiles_persistence.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3379/artifact/build-artifacts/03:54:25_Dotfiles_persistence.mkv

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3379/artifact/build-artifacts/03:54:25_Dotfiles_persistence.boot-log

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3379/artifact/build-artifacts/03:54:25_Dotfiles_persistence.journal

After features/support/hooks.rb:89 0.013
Tags: @product
1:42.954
Before features/support/hooks.rb:259 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 9.804
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.090
When I try to enable persistence 0.291
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 36.871
When I log in to a new session after having activated the Persistent Storage 37.662
And all notifications have disappeared 8.577
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.274
And all tps features are enabled 2.707
And all tps features but the first one are active 2.675
After features/support/hooks.rb:305 2.124
After features/support/hooks.rb:89 0.000
Tags: @product
5:24.908
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 4:3.206
And I enable persistence 36.580
And I log in to a new session after having activated the Persistent Storage 42.709
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.679
And persistence is enabled 0.733
After features/support/hooks.rb:305 2.865
After features/support/hooks.rb:89 0.000
Tags: @product
33.552
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 10.438
And I enable persistence but something goes wrong during the LUKS header upgrade 22.283
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.830
After features/support/hooks.rb:305 1.102
After features/support/hooks.rb:89 0.000