Project Number Date
test_Tails_ISO_feature-arti 111 08 Jul 2025, 21:21

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:35.209 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:9.497
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.010
Before features/support/hooks.rb:509 0.014
Given I start Tails from a freshly installed USB drive with an administration password and the network is plugged and I login 1:13.537
And I update APT using apt 45.938
And I install "popularity-contest" using apt 31.636
Then I am proposed to add the "popularity-contest" package to my Additional Software 7.486
When I create a persistent storage and activate the Additional Software feature 32.173
Then Additional Software is correctly configured for package "popularity-contest" 3.593
When I shutdown Tails and wait for the computer to power off 13.711
And I start Tails from USB drive "__internal" with network unplugged 1:20.851
And I enable persistence 35.907
And I log in to a new session 49.362
And the Additional Software installation service has started 51.627
Then I am notified that the installation succeeded 2.321
And Additional Software is correctly configured for package "popularity-contest" 1.005
And the package "popularity-contest" is installed after Additional Software has been started 0.342
After features/support/hooks.rb:517 29.946
After features/support/hooks.rb:330 4.338
After features/support/hooks.rb:100 0.025
2:15.228
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.015
Before features/support/hooks.rb:509 0.027
Steps
Given a computer 0.422
And I start Tails from USB drive "__internal" and I login with an administration password 2:14.805
try_for() timeout expired (Timeout::Error)
./features/support/helpers/misc_helpers.rb:145:in `rescue in try_for'
./features/support/helpers/misc_helpers.rb:51:in `try_for'
./features/step_definitions/tor.rb:828:in `click_connect_to_tor'
./features/step_definitions/tor.rb:502:in `tca_configure'
./features/step_definitions/tor.rb:512:in `/^I configure a direct connection in the Tor Connection Assistant$/'
./features/step_definitions/common_steps.rb:664:in `/^I successfully configure Tor$/'
./features/step_definitions/common_steps.rb:618:in `/^Tor is ready$/'
./features/step_definitions/common_steps.rb:311: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:517 0.081
After features/support/hooks.rb:330 7.351

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

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_feature-arti/111/artifact/build-artifacts/02:14:15_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_feature-arti/111/artifact/build-artifacts/02:14:15_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_feature-arti/111/artifact/build-artifacts/02:14:15_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_feature-arti/111/artifact/build-artifacts/02:14:15_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_feature-arti/111/artifact/build-artifacts/02:14:15_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_feature-arti/111/artifact/build-artifacts/02:14:15_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_feature-arti/111/artifact/build-artifacts/02:14:15_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_feature-arti/111/artifact/build-artifacts/02:14:15_The_Additional_Software_dpkg_hook_notices_when_persistence_is_locked_down_while_installing_a_package.journal

After features/support/hooks.rb:100 0.011
7:14.205
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Before features/support/hooks.rb:509 0.007
Given a computer 0.208
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 4:42.958
When I uninstall "popularity-contest" using apt 29.297
And I accept removing "popularity-contest" from Additional Software 2.877
Then "popularity-contest" is not in the list of Additional Software 1.633
When I start Synaptic 33.442
And I update APT using Synaptic 26.036
And I install "cowsay" using Synaptic 15.022
And I accept adding "cowsay" to Additional Software 3.708
Then Additional Software is correctly configured for package "cowsay" 2.507
When I uninstall "cowsay" using apt 3.327
And I refuse removing "cowsay" from Additional Software 2.074
Then Additional Software is correctly configured for package "cowsay" 1.307
When I start "Additional Software" via GNOME Activities Overview 11.608
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 6.203
Then "cowsay" is not in the list of Additional Software 0.974
When I install "cowsay" using apt 3.492
And I refuse adding "cowsay" to Additional Software 4.245
Then "cowsay" is not in the list of Additional Software 3.278
After features/support/hooks.rb:517 2.977
After features/support/hooks.rb:330 1.254
After features/support/hooks.rb:100 0.050
14:16.993
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.013
Before features/support/hooks.rb:509 0.013
Given a computer 0.267
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:25.927
And I configure APT to prefer an old version of cowsay 0.088
When I install an old version "3.03+dfsg2-1" of the cowsay package using apt 39.445
And I accept adding "cowsay" to Additional Software 10.571
And Additional Software is correctly configured for package "cowsay" 3.497
And I shutdown Tails and wait for the computer to power off 6.361
And I start Tails from USB drive "__internal" with network unplugged 1:24.289
And I enable persistence 18.736
# 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.026
# 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.085
And I log in to a new session 55.545
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 47.874
And I revert the APT tweaks that made it prefer an old version of cowsay 0.203
# 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.519
And the network is plugged 0.170
And Tor is ready 30.826
And available upgrades have been checked 1.422
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 5.101
And I can open the Additional Software configuration window from the notification 8.299
And I shutdown Tails and wait for the computer to power off 20.074
And I start Tails from USB drive "__internal" with network unplugged 1:34.815
And I enable persistence 22.615
# 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.038
And I log in to a new session 1:10.399
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 46.427
And I revert the APT tweaks that made it prefer an old version of cowsay 0.864
And the network is plugged 1.044
And Tor is ready 1:20.073
Then the Additional Software upgrade service has started 0.806
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.573
After features/support/hooks.rb:517 5.554
After features/support/hooks.rb:330 0.725
After features/support/hooks.rb:100 0.038
3:39.284
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.008
Before features/support/hooks.rb:509 0.008
Given a computer 0.286
And I start Tails from USB drive "__internal" with network unplugged 1:33.475
And I enable persistence 21.152
And I remove the "cowsay" deb files from the APT cache 0.487
# 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.471
And I log in to a new session 1:9.879
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 19.579
And I can open the Additional Software log file from the notification 12.895
And the package "cowsay" is not installed 1.056
After features/support/hooks.rb:517 0.265
After features/support/hooks.rb:330 1.547
After features/support/hooks.rb:100 0.009