Project Number Date
test_Tails_ISO_codespell 16 30 Jun 2025, 11:01

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 35:17.620 Failed
Feature Additional software
As a Tails user I may want to install software not shipped in Tails And have them installed automatically when I enable persistence in the Greeter
6:37.397
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.011
Before features/support/hooks.rb:507 0.013
Given I start Tails from a freshly installed USB drive with an administration password and the network is plugged and I login 1:22.462
And I update APT using apt 19.972
And I install "popularity-contest" using apt 26.989
Then I am proposed to add the "popularity-contest" package to my Additional Software 9.854
When I create a persistent storage and activate the Additional Software feature 26.532
Then Additional Software is correctly configured for package "popularity-contest" 3.485
When I shutdown Tails and wait for the computer to power off 14.846
And I start Tails from USB drive "__internal" with network unplugged 1:17.431
And I enable persistence 36.884
And I log in to a new session 44.116
And the Additional Software installation service has started 48.171
Then I am notified that the installation succeeded 4.729
And Additional Software is correctly configured for package "popularity-contest" 1.344
And the package "popularity-contest" is installed after Additional Software has been started 0.574
After features/support/hooks.rb:515 26.667
After features/support/hooks.rb:330 1.833
After features/support/hooks.rb:100 0.013
4:30.682
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:507 0.006
Steps
Given a computer 0.288
And I start Tails from USB drive "__internal" and I login with an administration password 4:30.394
cannot find GnomeApplicationsMenu.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:566:in `/^the Tails desktop is ready$/'
./features/step_definitions/common_steps.rb:522:in `/^I log in to a new session(?: in ([^ ]*) \(([^ ]*)\))?( without activating the Persistent Storage)?( after having activated the Persistent Storage| expecting no warning about the Persistent Storage not being activated)?$/'
./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/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:515 0.049
After features/support/hooks.rb:330 5.803

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

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_codespell/16/artifact/build-artifacts/01:31:45_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_codespell/16/artifact/build-artifacts/01:31:45_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_codespell/16/artifact/build-artifacts/01:31:45_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_codespell/16/artifact/build-artifacts/01:31:45_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_codespell/16/artifact/build-artifacts/01:31:45_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_codespell/16/artifact/build-artifacts/01:31:45_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_codespell/16/artifact/build-artifacts/01:31:45_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_codespell/16/artifact/build-artifacts/01:31:45_The_Additional_Software_dpkg_hook_notices_when_persistence_is_locked_down_while_installing_a_package.journal

After features/support/hooks.rb:100 0.009
6:40.395
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Before features/support/hooks.rb:507 0.008
Given a computer 0.201
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 4:19.757
When I uninstall "popularity-contest" using apt 25.649
And I accept removing "popularity-contest" from Additional Software 1.697
Then "popularity-contest" is not in the list of Additional Software 2.908
When I start Synaptic 32.418
And I update APT using Synaptic 23.324
And I install "cowsay" using Synaptic 15.252
And I accept adding "cowsay" to Additional Software 0.638
Then Additional Software is correctly configured for package "cowsay" 0.952
When I uninstall "cowsay" using apt 3.302
And I refuse removing "cowsay" from Additional Software 0.834
Then Additional Software is correctly configured for package "cowsay" 1.230
When I start "Additional Software" via GNOME Activities Overview 14.418
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 5.389
Then "cowsay" is not in the list of Additional Software 2.728
When I install "cowsay" using apt 7.007
And I refuse adding "cowsay" to Additional Software 1.873
Then "cowsay" is not in the list of Additional Software 0.810
After features/support/hooks.rb:515 0.746
After features/support/hooks.rb:330 0.715
After features/support/hooks.rb:100 0.019
14:23.465
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Before features/support/hooks.rb:507 0.009
Given a computer 0.224
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:5.621
And I configure APT to prefer an old version of cowsay 0.241
When I install an old version "3.03+dfsg2-1" of the cowsay package using apt 37.626
And I accept adding "cowsay" to Additional Software 7.839
And Additional Software is correctly configured for package "cowsay" 1.358
And I shutdown Tails and wait for the computer to power off 7.957
And I start Tails from USB drive "__internal" with network unplugged 1:24.094
And I enable persistence 18.949
# 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.029
# 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.103
And I log in to a new session 55.107
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 44.362
And I revert the APT tweaks that made it prefer an old version of cowsay 0.120
# 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.111
And the network is plugged 0.066
And Tor is ready 28.446
And available upgrades have been checked 0.112
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 5.751
And I can open the Additional Software configuration window from the notification 2.799
And I shutdown Tails and wait for the computer to power off 2:11.811
And I start Tails from USB drive "__internal" with network unplugged 1:21.265
And I enable persistence 15.379
# 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.052
And I log in to a new session 49.494
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 43.713
And I revert the APT tweaks that made it prefer an old version of cowsay 0.067
And the network is plugged 0.089
And Tor is ready 1:0.216
Then the Additional Software upgrade service has started 0.344
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.107
After features/support/hooks.rb:515 1.694
After features/support/hooks.rb:330 2.014
After features/support/hooks.rb:100 0.231
3:5.679
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.035
Before features/support/hooks.rb:507 0.075
Given a computer 0.789
And I start Tails from USB drive "__internal" with network unplugged 1:29.435
And I enable persistence 18.432
And I remove the "cowsay" deb files from the APT cache 0.053
# 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.086
And I log in to a new session 1:0.561
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 7.467
And I can open the Additional Software log file from the notification 7.743
And the package "cowsay" is not installed 1.107
After features/support/hooks.rb:515 0.212
After features/support/hooks.rb:330 2.420
After features/support/hooks.rb:100 0.026