Project Number Date
test_Tails_ISO_20263-test-suite-without-spice 7 14 Mar 2025, 04:06

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Additional software 74 1 4 0 0 79 4 1 5 30:34.472 Failed
Feature Additional software
As a Tails user I may want to install softwares not shipped in Tails And have them installed automatically when I enable persistence in the Greeter
10:7.668
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Before features/support/hooks.rb:511 0.015
Given I start Tails from a freshly installed USB drive with an administration password and the network is plugged and I login 1:1.105
And I update APT using apt 5:14.793
And I install "popularity-contest" using apt 25.711
Then I am proposed to add the "popularity-contest" package to my Additional Software 5.934
When I create a persistent storage and activate the Additional Software feature 19.663
Then Additional Software is correctly configured for package "popularity-contest" 1.437
When I shutdown Tails and wait for the computer to power off 10.733
And I start Tails from USB drive "__internal" with network unplugged 1:0.618
And I enable persistence 23.987
And I log in to a new session 48.714
And the Additional Software installation service has started 31.829
Then I am notified that the installation succeeded 1.884
And Additional Software is correctly configured for package "popularity-contest" 0.886
And the package "popularity-contest" is installed after Additional Software has been started 0.368
After features/support/hooks.rb:519 15.752
After features/support/hooks.rb:330 2.388
After features/support/hooks.rb:100 0.012
1:11.752
Scenario The Additional Software dpkg hook notices when persistence is locked down while installing a package
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Before features/support/hooks.rb:511 0.005
Steps
Given a computer 0.196
And I start Tails from USB drive "__internal" and I login with an administration password 1:11.555
cannot find TailsGreeterAdminPasswordDialog.png on the screen (FindFailed)
./features/support/helpers/screen.rb:181:in `rescue in wait'
./features/support/helpers/screen.rb:165:in `wait'
./features/step_definitions/common_steps.rb:502:in `/^I set an administration password$/'
./features/step_definitions/common_steps.rb:249: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/additional_software_packages.feature:46:in `And I start Tails from USB drive "__internal" and I login with an administration password'
And I update APT using apt 0.000
When I install "makepp" using apt 0.000
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 0.000
And the package "makepp" is installed 0.000
After features/support/hooks.rb:519 0.035
After features/support/hooks.rb:330 5.614

SCENARIO FAILED: 'The Additional Software dpkg hook notices when persistence is locked down while installing a package' (at time 01:17:02)

Exception thrown while trying to save /tmp/TailsToaster/artifact.file_content_run_live-additional-software_log: RemoteShell::ServerFailure: FileNotFoundError: [Errno 2] No such file or directory: '/run/live-additional-software/log'

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_20263-test-suite-without-spice/7/artifact/build-artifacts/01:17:02_The_Additional_Software_dpkg_hook_notices_when_persistence_is_locked_down_while_installing_a_package.file_content_var_log_boot.log

Output of ls -la --full-time /live/persistence/tailsdata_unlocked: https://jenkins.tails.boum.org/job/test_Tails_ISO_20263-test-suite-without-spice/7/artifact/build-artifacts/01:17:02_The_Additional_Software_dpkg_hook_notices_when_persistence_is_locked_down_while_installing_a_package.cmd_output_persistent_volume

Output of ls -lar --full-time /var/cache/apt: https://jenkins.tails.boum.org/job/test_Tails_ISO_20263-test-suite-without-spice/7/artifact/build-artifacts/01:17:02_The_Additional_Software_dpkg_hook_notices_when_persistence_is_locked_down_while_installing_a_package.cmd_output_var_cache_apt

Output of ls -lar --full-time /var/lib/apt: https://jenkins.tails.boum.org/job/test_Tails_ISO_20263-test-suite-without-spice/7/artifact/build-artifacts/01:17:02_The_Additional_Software_dpkg_hook_notices_when_persistence_is_locked_down_while_installing_a_package.cmd_output_var_lib_apt

Output of mount: https://jenkins.tails.boum.org/job/test_Tails_ISO_20263-test-suite-without-spice/7/artifact/build-artifacts/01:17:02_The_Additional_Software_dpkg_hook_notices_when_persistence_is_locked_down_while_installing_a_package.cmd_output_mount

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20263-test-suite-without-spice/7/artifact/build-artifacts/01:17:02_The_Additional_Software_dpkg_hook_notices_when_persistence_is_locked_down_while_installing_a_package.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20263-test-suite-without-spice/7/artifact/build-artifacts/01:17:02_The_Additional_Software_dpkg_hook_notices_when_persistence_is_locked_down_while_installing_a_package.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20263-test-suite-without-spice/7/artifact/build-artifacts/01:17:02_The_Additional_Software_dpkg_hook_notices_when_persistence_is_locked_down_while_installing_a_package.journal

After features/support/hooks.rb:100 0.010
5:12.157
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Before features/support/hooks.rb:511 0.004
Given a computer 0.318
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:19.125
When I uninstall "popularity-contest" using apt 21.813
And I accept removing "popularity-contest" from Additional Software 0.596
Then "popularity-contest" is not in the list of Additional Software 0.727
When I start Synaptic 26.119
And I update APT using Synaptic 22.340
And I install "cowsay" using Synaptic 10.925
And I accept adding "cowsay" to Additional Software 2.745
Then Additional Software is correctly configured for package "cowsay" 0.845
When I uninstall "cowsay" using apt 3.248
And I refuse removing "cowsay" from Additional Software 0.579
Then Additional Software is correctly configured for package "cowsay" 0.855
When I start "Additional Software" via GNOME Activities Overview 10.626
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 5.869
Then "cowsay" is not in the list of Additional Software 0.853
When I install "cowsay" using apt 3.207
And I refuse adding "cowsay" to Additional Software 0.626
Then "cowsay" is not in the list of Additional Software 0.732
After features/support/hooks.rb:519 0.500
After features/support/hooks.rb:330 1.027
After features/support/hooks.rb:100 0.009
11:48.403
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Before features/support/hooks.rb:511 0.005
Given a computer 0.203
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:20.302
And I configure APT to prefer an old version of cowsay 0.029
When I install an old version "3.03+dfsg2-1" of the cowsay package using apt 25.743
And I accept adding "cowsay" to Additional Software 6.359
And Additional Software is correctly configured for package "cowsay" 0.840
And I shutdown Tails and wait for the computer to power off 4.516
And I start Tails from USB drive "__internal" with network unplugged 59.090
And I enable persistence 13.063
# We need to add back this custom APT source for the Additional Software
# install step, as it was not saved in persistence
And I configure APT to prefer an old version of cowsay 0.028
# Prevent the "Warning: virtual machine detected!" notification from racing
# with the one we'll be interacting with below.
And I disable the tails-virt-notify-user.service user unit 0.101
And I log in to a new session 44.063
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 31.223
And I revert the APT tweaks that made it prefer an old version of cowsay 0.066
# We remove the newest package after it has been downloaded and before
# it is installed, so that the upgrade process fails
And I prepare the Additional Software upgrade process to fail 0.075
And the network is plugged 0.059
And Tor is ready 47.688
And available upgrades have been checked 0.063
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 0.693
And I can open the Additional Software configuration window from the notification 3.097
And I shutdown Tails and wait for the computer to power off 2:3.434
And I start Tails from USB drive "__internal" with network unplugged 1:0.090
And I enable persistence 11.889
# We need to add back this custom APT source for the Additional Software
# install step, as it was not saved in persistence
And I configure APT to prefer an old version of cowsay 0.023
And I log in to a new session 50.251
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 31.377
And I revert the APT tweaks that made it prefer an old version of cowsay 0.065
And the network is plugged 0.069
And Tor is ready 53.608
Then the Additional Software upgrade service has started 0.170
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.112
After features/support/hooks.rb:519 1.332
After features/support/hooks.rb:330 0.603
After features/support/hooks.rb:100 0.060
2:14.491
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Before features/support/hooks.rb:511 0.004
Given a computer 0.218
And I start Tails from USB drive "__internal" with network unplugged 59.927
And I enable persistence 15.020
And I remove the "cowsay" deb files from the APT cache 0.062
# Prevent the "Warning: virtual machine detected!" notification from racing
# with the one we'll be interacting with below.
And I disable the tails-virt-notify-user.service user unit 0.072
And I log in to a new session 43.772
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 9.377
And I can open the Additional Software log file from the notification 5.520
And the package "cowsay" is not installed 0.518
After features/support/hooks.rb:519 0.119
After features/support/hooks.rb:330 2.063
After features/support/hooks.rb:100 0.007