Project Number Date
test_Tails_ISO_21027-fix-interactive-debugging-context 9 24 Jun 2025, 22:29

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 36:20.967 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
9:58.796
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Before features/support/hooks.rb:509 0.009
Given I start Tails from a freshly installed USB drive with an administration password and the network is plugged and I login 2:49.408
And I update APT using apt 19.153
And I install "popularity-contest" using apt 42.607
Then I am proposed to add the "popularity-contest" package to my Additional Software 10.577
When I create a persistent storage and activate the Additional Software feature 48.698
Then Additional Software is correctly configured for package "popularity-contest" 6.483
When I shutdown Tails and wait for the computer to power off 20.037
And I start Tails from USB drive "__internal" with network unplugged 1:42.927
And I enable persistence 49.237
And I log in to a new session 1:13.202
And the Additional Software installation service has started 50.837
Then I am notified that the installation succeeded 4.453
And Additional Software is correctly configured for package "popularity-contest" 0.905
And the package "popularity-contest" is installed after Additional Software has been started 0.267
After features/support/hooks.rb:517 39.549
After features/support/hooks.rb:330 1.308
After features/support/hooks.rb:100 0.012
1:56.441
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.004
Before features/support/hooks.rb:509 0.006
Steps
Given a computer 0.232
And I start Tails from USB drive "__internal" and I login with an administration password 1:56.208
cannot find TailsGreeterLoginButton.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:554:in `/^I set an administration password$/'
./features/step_definitions/common_steps.rb:294: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.043
After features/support/hooks.rb:330 5.532

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

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_21027-fix-interactive-debugging-context/9/artifact/build-artifacts/02:15:38_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_21027-fix-interactive-debugging-context/9/artifact/build-artifacts/02:15:38_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_21027-fix-interactive-debugging-context/9/artifact/build-artifacts/02:15:38_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_21027-fix-interactive-debugging-context/9/artifact/build-artifacts/02:15:38_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_21027-fix-interactive-debugging-context/9/artifact/build-artifacts/02:15:38_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_21027-fix-interactive-debugging-context/9/artifact/build-artifacts/02:15:38_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_21027-fix-interactive-debugging-context/9/artifact/build-artifacts/02:15:38_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_21027-fix-interactive-debugging-context/9/artifact/build-artifacts/02:15:38_The_Additional_Software_dpkg_hook_notices_when_persistence_is_locked_down_while_installing_a_package.journal

After features/support/hooks.rb:100 0.031
8:39.788
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.026
Before features/support/hooks.rb:509 0.043
Given a computer 0.196
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 5:49.452
When I uninstall "popularity-contest" using apt 31.200
And I accept removing "popularity-contest" from Additional Software 3.495
Then "popularity-contest" is not in the list of Additional Software 8.086
When I start Synaptic 40.231
And I update APT using Synaptic 28.580
And I install "cowsay" using Synaptic 20.424
And I accept adding "cowsay" to Additional Software 0.673
Then Additional Software is correctly configured for package "cowsay" 1.689
When I uninstall "cowsay" using apt 7.639
And I refuse removing "cowsay" from Additional Software 1.661
Then Additional Software is correctly configured for package "cowsay" 0.895
When I start "Additional Software" via GNOME Activities Overview 10.611
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 9.291
Then "cowsay" is not in the list of Additional Software 0.848
When I install "cowsay" using apt 3.226
And I refuse adding "cowsay" to Additional Software 0.770
Then "cowsay" is not in the list of Additional Software 0.812
After features/support/hooks.rb:517 1.214
After features/support/hooks.rb:330 0.861
After features/support/hooks.rb:100 0.007
12:48.111
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Before features/support/hooks.rb:509 0.008
Given a computer 0.212
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:28.283
And I configure APT to prefer an old version of cowsay 0.195
When I install an old version "3.03+dfsg2-1" of the cowsay package using apt 35.758
And I accept adding "cowsay" to Additional Software 10.584
And Additional Software is correctly configured for package "cowsay" 2.002
And I shutdown Tails and wait for the computer to power off 7.900
And I start Tails from USB drive "__internal" with network unplugged 1:30.823
And I enable persistence 19.279
# 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.033
# 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.094
And I log in to a new session 56.389
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 35.055
And I revert the APT tweaks that made it prefer an old version of cowsay 0.134
# 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.167
And the network is plugged 0.102
And Tor is ready 24.865
And available upgrades have been checked 0.051
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 4.938
And I can open the Additional Software configuration window from the notification 3.417
And I shutdown Tails and wait for the computer to power off 12.873
And I start Tails from USB drive "__internal" with network unplugged 1:20.037
And I enable persistence 19.449
# 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.027
And I log in to a new session 50.307
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 46.749
And I revert the APT tweaks that made it prefer an old version of cowsay 0.076
And the network is plugged 0.080
And Tor is ready 57.649
Then the Additional Software upgrade service has started 0.443
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.124
After features/support/hooks.rb:517 2.339
After features/support/hooks.rb:330 1.369
After features/support/hooks.rb:100 0.028
2:57.830
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Before features/support/hooks.rb:509 0.006
Given a computer 0.226
And I start Tails from USB drive "__internal" with network unplugged 1:18.620
And I enable persistence 15.971
And I remove the "cowsay" deb files from the APT cache 0.132
# 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.284
And I log in to a new session 51.823
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 20.761
And I can open the Additional Software log file from the notification 8.777
And the package "cowsay" is not installed 1.232
After features/support/hooks.rb:517 0.122
After features/support/hooks.rb:330 2.217
After features/support/hooks.rb:100 0.009