Project Number Date
test_Tails_ISO_stable 4820 01 May 2024, 13:37

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 115 2 4 0 0 121 15 2 17 33:55.274 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:28.182
Before features/support/hooks.rb:259 0.004
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:39.355
And I update APT using apt 20.669
And I install "python3-behave" using apt 25.542
Then the Tails Persistent Storage behave tests pass 2.615
After features/support/hooks.rb:305 1.281
After features/support/hooks.rb:89 0.000
Tags: @product
50.798
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 13.113
When I log in to a new session without activating the Persistent Storage 24.492
Then Tails is running from USB drive "__internal" 0.630
And persistence is disabled 0.242
But a Tails persistence partition exists on USB drive "__internal" 12.318
After features/support/hooks.rb:305 1.101
After features/support/hooks.rb:89 0.000
Tags: @product
3:13.210
Before features/support/hooks.rb:259 0.004
Given I have started Tails without network from a USB drive without a persistent partition and logged in 13.440
Then Tails is running from USB drive "__internal" 0.454
When I create a file in the Persistent directory 0.233
And I create a persistent partition with the default settings 29.206
Then the file I created was copied to the Persistent Storage 0.827
When I shutdown Tails and wait for the computer to power off 13.061
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.504
Then persistence for "Persistent" is active 0.409
And the file I created in the Persistent directory exists 0.071
After features/support/hooks.rb:305 0.871
After features/support/hooks.rb:89 0.011
Tags: @product
1:0.777
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 11.536
And the system is very low on memory 4.735
When I create a file in the Persistent directory 0.724
When I try to create a persistent partition 22.852
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.523
When I close the Persistent Storage app 2.686
And I free up some memory 1.631
And I create a persistent partition with the default settings 15.858
Then the file I created was copied to the Persistent Storage 0.227
After features/support/hooks.rb:305 1.491
After features/support/hooks.rb:89 0.000
Tags: @product
2:47.959
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 11.471
Then Tails is running from USB drive "__internal" 1.057
And all tps features are active 2.579
And all persistent directories have safe access rights 2.478
When I disable the first tps feature 5.945
Then all tps features but the first one are active 2.050
And I shutdown Tails and wait for the computer to power off 10.644
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.345
Then all tps features but the first one are active 2.387
After features/support/hooks.rb:305 0.913
After features/support/hooks.rb:89 0.008
Tags: @product
21.892
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 12.325
Then persistence for "Persistent" is active 0.121
And I create a file in the Persistent directory 0.070
Then the file I created was copied to the Persistent Storage 0.076
When I disable the first tps feature 5.862
Then persistence for "Persistent" is not active 0.072
And the Persistent directory does not exist 0.061
When I enable the first tps feature 3.160
Then persistence for "Persistent" is active 0.064
And the file I created in the Persistent directory exists 0.076
After features/support/hooks.rb:305 0.835
After features/support/hooks.rb:89 0.000
Tags: @product
18.769
Before features/support/hooks.rb:259 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.066
Then persistence for "Persistent" is active 0.132
When I create a file in the Persistent directory 0.140
And I disable the first tps feature 5.790
And I delete the data of the Persistent Folder feature 3.580
Then the file I created does not exist on the Persistent Storage 0.059
After features/support/hooks.rb:305 0.785
After features/support/hooks.rb:89 0.000
Tags: @product
1:3.647
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.433
And the network is plugged 0.048
And Tor is ready 20.704
And I take note of which tps features are available 0.626
When I write some files expected to persist 1.509
And I shutdown Tails and wait for the computer to power off 6.744
# 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.579
After features/support/hooks.rb:305 0.151
After features/support/hooks.rb:89 0.000
Tags: @product
3:3.415
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.979
And the network is plugged 0.036
And Tor is ready 20.856
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.176
And I shutdown Tails and wait for the computer to power off 6.562
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.999
And I capture all network traffic 0.012
And the network is plugged 0.032
And Tor is ready 18.092
And I switch to the "persistent-con-current" NetworkManager connection 0.349
And the 1st network device has a spoofed MAC address configured 0.067
And no network device leaked the real MAC address 0.248
After features/support/hooks.rb:305 0.614
After features/support/hooks.rb:89 0.058
Tags: @product
1:20.084
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 28.875
And I enable persistence creation in Tails Greeter 1.140
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.529
Then I create a persistent partition with the default settings using the wizard that was already open 28.539
After features/support/hooks.rb:305 2.136
After features/support/hooks.rb:89 0.000
Tags: @product
4:57.700
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.847
When I enable persistence 38.808
Then no persistent Greeter options were restored 15.567
When I set all Greeter options to non-default values 24.089
And I log in to a new session in German (de) after having activated the Persistent Storage 54.187
Then all Greeter options are set to non-default values 0.414
When I cold reboot the computer 7.669
And the computer reboots Tails 1:2.382
Given I enable persistence 31.745
Then persistent Greeter options were restored 15.764
When I log in to a new session after having activated the Persistent Storage 32.964
Then all Greeter options are set to non-default values 0.258
After features/support/hooks.rb:305 0.797
After features/support/hooks.rb:89 0.010
Tags: @product
2:41.533
Scenario Changing the Persistent Storage passphrase
Before features/support/hooks.rb:259 0.006
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.514
# 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 40.570
And I shutdown Tails and wait for the computer to power off 14.748
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:35.701
try_for() timeout expired
Last ignored exception was: RemoteShell::ServerFailure: FileNotFoundError: [Errno 2] No such file or directory: '/tmp/gdm-env'
./features/support/helpers/remote_shell.rb:71: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/usb.rb:108:in `new'
./features/step_definitions/usb.rb:108:in `greeter'
./features/step_definitions/common_steps.rb:448:in `block (2 levels) in <top (required)>'
./features/support/helpers/misc_helpers.rb:79:in `block (2 levels) in try_for'
./features/support/helpers/misc_helpers.rb:67:in `loop'
./features/support/helpers/misc_helpers.rb:67:in `block in try_for'
./features/support/helpers/misc_helpers.rb:66:in `try_for'
./features/step_definitions/common_steps.rb:447:in `block in <top (required)>'
./features/step_definitions/common_steps.rb:286:in `block in <top (required)>' (Timeout::Error)
./features/support/helpers/misc_helpers.rb:146:in `rescue in try_for'
./features/support/helpers/misc_helpers.rb:52:in `try_for'
./features/step_definitions/common_steps.rb:447:in `/^the computer (?:re)?boots Tails( with genuine APT sources)?$/'
./features/step_definitions/common_steps.rb:286: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.004

SCENARIO FAILED: 'Changing the Persistent Storage passphrase' (at time 03:12:28)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4820/artifact/build-artifacts/03:12:28_Changing_the_Persistent_Storage_passphrase.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4820/artifact/build-artifacts/03:12:28_Changing_the_Persistent_Storage_passphrase.mkv

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4820/artifact/build-artifacts/03:12:28_Changing_the_Persistent_Storage_passphrase.boot-log

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4820/artifact/build-artifacts/03:12:28_Changing_the_Persistent_Storage_passphrase.journal

After features/support/hooks.rb:89 0.010
Tags: @product
1:2.105
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 10.726
And I log in to a new session without activating the Persistent Storage 21.757
Then persistence is disabled 0.449
But a Tails persistence partition exists on USB drive "__internal" 10.850
And all notifications have disappeared 11.043
When I delete the persistent partition 6.824
Then there is no persistence partition on USB drive "__internal" 0.453
After features/support/hooks.rb:305 1.250
After features/support/hooks.rb:89 0.000
Tags: @product
2:22.244
Before features/support/hooks.rb:259 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.150
When I write some dotfile expected to persist 0.143
And I shutdown Tails and wait for the computer to power off 8.962
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:2.626
Then the expected persistent dotfile is present in the filesystem 0.362
After features/support/hooks.rb:305 0.740
After features/support/hooks.rb:89 0.009
Tags: @product
1:36.931
Scenario Feature activation fails
Before features/support/hooks.rb:259 0.006
Steps
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.248
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.083
When I try to enable persistence 0.291
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 34.421
When I log in to a new session after having activated the Persistent Storage 42.001
And all notifications have disappeared 10.885
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/persistence.feature:148:in `And all notifications have disappeared'
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 0.000
And all tps features are enabled 0.000
And all tps features but the first one are active 0.000
After features/support/hooks.rb:305 4.454

SCENARIO FAILED: 'Feature activation fails' (at time 03:17:35)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4820/artifact/build-artifacts/03:17:35_Feature_activation_fails.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4820/artifact/build-artifacts/03:17:35_Feature_activation_fails.mkv

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4820/artifact/build-artifacts/03:17:35_Feature_activation_fails.boot-log

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4820/artifact/build-artifacts/03:17:35_Feature_activation_fails.journal

After features/support/hooks.rb:89 0.000
Tags: @product
4:15.031
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 3:2.189
And I enable persistence 29.899
And I log in to a new session after having activated the Persistent Storage 40.876
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.629
And persistence is enabled 0.436
After features/support/hooks.rb:305 2.262
After features/support/hooks.rb:89 0.000
Tags: @product
30.988
Before features/support/hooks.rb:259 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 8.831
And I enable persistence but something goes wrong during the LUKS header upgrade 21.334
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.822
After features/support/hooks.rb:305 0.771
After features/support/hooks.rb:89 0.000