Project Number Date
test_Tails_ISO_stable 5723 18 Jun 2025, 17:09

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 34:22.488 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
7:19.840
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Before features/support/hooks.rb:507 0.003
Given I start Tails from a freshly installed USB drive with an administration password and the network is plugged and I login 1:34.002
And I update APT using apt 21.421
And I install "popularity-contest" using apt 36.200
Then I am proposed to add the "popularity-contest" package to my Additional Software 8.196
When I create a persistent storage and activate the Additional Software feature 35.895
Then Additional Software is correctly configured for package "popularity-contest" 3.270
When I shutdown Tails and wait for the computer to power off 15.635
And I start Tails from USB drive "__internal" with network unplugged 1:22.277
And I enable persistence 35.251
And I log in to a new session 59.813
And the Additional Software installation service has started 44.232
Then I am notified that the installation succeeded 2.162
And Additional Software is correctly configured for package "popularity-contest" 1.220
And the package "popularity-contest" is installed after Additional Software has been started 0.260
After features/support/hooks.rb:515 29.833
After features/support/hooks.rb:330 2.269
After features/support/hooks.rb:100 0.012
4:35.013
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.005
Before features/support/hooks.rb:507 0.007
Steps
Given a computer 0.221
And I start Tails from USB drive "__internal" and I login with an administration password 4:34.792
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.043
After features/support/hooks.rb:330 6.009

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

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_stable/5723/artifact/build-artifacts/01:48:00_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_stable/5723/artifact/build-artifacts/01:48:00_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_stable/5723/artifact/build-artifacts/01:48:00_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_stable/5723/artifact/build-artifacts/01:48:00_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_stable/5723/artifact/build-artifacts/01:48:00_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_stable/5723/artifact/build-artifacts/01:48:00_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_stable/5723/artifact/build-artifacts/01:48:00_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_stable/5723/artifact/build-artifacts/01:48:00_The_Additional_Software_dpkg_hook_notices_when_persistence_is_locked_down_while_installing_a_package.journal

After features/support/hooks.rb:100 0.016
6:27.915
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Before features/support/hooks.rb:507 0.005
Given a computer 0.209
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 4:16.237
When I uninstall "popularity-contest" using apt 22.996
And I accept removing "popularity-contest" from Additional Software 0.576
Then "popularity-contest" is not in the list of Additional Software 0.730
When I start Synaptic 26.390
And I update APT using Synaptic 25.116
And I install "cowsay" using Synaptic 17.441
And I accept adding "cowsay" to Additional Software 5.455
Then Additional Software is correctly configured for package "cowsay" 1.673
When I uninstall "cowsay" using apt 3.316
And I refuse removing "cowsay" from Additional Software 0.574
Then Additional Software is correctly configured for package "cowsay" 0.848
When I start "Additional Software" via GNOME Activities Overview 11.910
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 7.728
Then "cowsay" is not in the list of Additional Software 1.058
When I install "cowsay" using apt 3.399
And I refuse adding "cowsay" to Additional Software 0.551
Then "cowsay" is not in the list of Additional Software 1.699
After features/support/hooks.rb:515 4.587
After features/support/hooks.rb:330 1.556
After features/support/hooks.rb:100 0.048
12:57.293
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.026
Before features/support/hooks.rb:507 0.041
Given a computer 0.664
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:6.929
And I configure APT to prefer an old version of cowsay 0.039
When I install an old version "3.03+dfsg2-1" of the cowsay package using apt 39.387
And I accept adding "cowsay" to Additional Software 7.166
And Additional Software is correctly configured for package "cowsay" 3.002
And I shutdown Tails and wait for the computer to power off 7.461
And I start Tails from USB drive "__internal" with network unplugged 1:21.224
And I enable persistence 18.012
# 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.092
And I log in to a new session 1:3.399
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 43.083
And I revert the APT tweaks that made it prefer an old version of cowsay 0.106
# 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.126
And the network is plugged 0.093
And Tor is ready 29.244
And available upgrades have been checked 0.090
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 6.454
And I can open the Additional Software configuration window from the notification 3.658
And I shutdown Tails and wait for the computer to power off 15.316
And I start Tails from USB drive "__internal" with network unplugged 1:26.068
And I enable persistence 19.512
# 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.048
And I log in to a new session 55.678
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 44.706
And I revert the APT tweaks that made it prefer an old version of cowsay 0.055
And the network is plugged 0.073
And Tor is ready 1:1.989
Then the Additional Software upgrade service has started 2.986
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.589
After features/support/hooks.rb:515 3.779
After features/support/hooks.rb:330 1.067
After features/support/hooks.rb:100 0.158
3:2.426
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.012
Before features/support/hooks.rb:507 0.011
Given a computer 0.234
And I start Tails from USB drive "__internal" with network unplugged 1:22.891
And I enable persistence 18.234
And I remove the "cowsay" deb files from the APT cache 0.110
# 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.097
And I log in to a new session 1:2.824
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 7.867
And I can open the Additional Software log file from the notification 9.513
And the package "cowsay" is not installed 0.651
After features/support/hooks.rb:515 0.143
After features/support/hooks.rb:330 1.930
After features/support/hooks.rb:100 0.010