Project Number Date
test_Tails_ISO_devel 3730 08 Mar 2025, 14:06

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Additional software 79 2 3 0 0 84 4 2 6 1:11:44.230 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:45.553
Scenario I am warned I can not use Additional Software when I start Tails from a DVD and install a package
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Before features/support/hooks.rb:511 0.011
Steps
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:36.023
And I update APT using apt 5:14.558
When I install "popularity-contest" using apt 22.158
Then I am notified I can not use Additional Software for "popularity-contest" 7.786
And I can open the Additional Software documentation from the notification 3:25.025
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/browser.rb:200:in `page_has_loaded_in_the_tor_browser'
./features/step_definitions/browser.rb:215:in `/^"([^"]+)" has loaded in the Tor Browser$/'
./features/step_definitions/additional_software_packages.rb:145:in `/^I can open the Additional Software documentation from the notification$/'
features/additional_software_packages.feature:19:in `And I can open the Additional Software documentation from the notification'
After features/support/hooks.rb:519 0.041
After features/support/hooks.rb:330 6.204

SCENARIO FAILED: 'I am warned I can not use Additional Software when I start Tails from a DVD and install a package' (at time 01:10:25)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3730/artifact/build-artifacts/01:10:25_I_am_warned_I_can_not_use_Additional_Software_when_I_start_Tails_from_a_DVD_and_install_a_package.file_content_var_log_boot.log

Content of /run/live-additional-software/log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3730/artifact/build-artifacts/01:10:25_I_am_warned_I_can_not_use_Additional_Software_when_I_start_Tails_from_a_DVD_and_install_a_package.file_content_run_live-additional-software_log

Output of ls -la --full-time /live/persistence/tailsdata_unlocked: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3730/artifact/build-artifacts/01:10:25_I_am_warned_I_can_not_use_Additional_Software_when_I_start_Tails_from_a_DVD_and_install_a_package.cmd_output_persistent_volume

Output of ls -lar --full-time /var/cache/apt: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3730/artifact/build-artifacts/01:10:25_I_am_warned_I_can_not_use_Additional_Software_when_I_start_Tails_from_a_DVD_and_install_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_devel/3730/artifact/build-artifacts/01:10:25_I_am_warned_I_can_not_use_Additional_Software_when_I_start_Tails_from_a_DVD_and_install_a_package.cmd_output_var_lib_apt

Output of mount: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3730/artifact/build-artifacts/01:10:25_I_am_warned_I_can_not_use_Additional_Software_when_I_start_Tails_from_a_DVD_and_install_a_package.cmd_output_mount

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3730/artifact/build-artifacts/01:10:25_I_am_warned_I_can_not_use_Additional_Software_when_I_start_Tails_from_a_DVD_and_install_a_package.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3730/artifact/build-artifacts/01:10:25_I_am_warned_I_can_not_use_Additional_Software_when_I_start_Tails_from_a_DVD_and_install_a_package.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3730/artifact/build-artifacts/01:10:25_I_am_warned_I_can_not_use_Additional_Software_when_I_start_Tails_from_a_DVD_and_install_a_package.journal

After features/support/hooks.rb:100 0.003
7:21.902
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Before features/support/hooks.rb:511 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:0.981
And I update APT using apt 2:43.586
And I install "popularity-contest" using apt 22.241
Then I am proposed to add the "popularity-contest" package to my Additional Software 7.100
When I create a persistent storage and activate the Additional Software feature 19.514
Then Additional Software is correctly configured for package "popularity-contest" 1.266
When I shutdown Tails and wait for the computer to power off 12.751
And I start Tails from USB drive "__internal" with network unplugged 1:1.534
And I enable persistence 24.254
And I log in to a new session 31.383
And the Additional Software installation service has started 34.290
Then I am notified that the installation succeeded 1.790
And Additional Software is correctly configured for package "popularity-contest" 0.839
And the package "popularity-contest" is installed after Additional Software has been started 0.366
After features/support/hooks.rb:519 15.952
After features/support/hooks.rb:330 1.833
After features/support/hooks.rb:100 0.012
36:38.522
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:511 0.006
Steps
Given a computer 0.205
And I start Tails from USB drive "__internal" and I login with an administration password 1:38.296
And I update APT using apt 35:0.021
execution expired (RemoteShell::Timeout)
./features/support/helpers/remote_shell.rb:56:in `read'
./features/support/helpers/remote_shell.rb:56:in `block (3 levels) in communicate'
./features/support/helpers/remote_shell.rb:55:in `block (2 levels) in communicate'
./features/support/helpers/remote_shell.rb:42:in `loop'
./features/support/helpers/remote_shell.rb:42:in `block in communicate'
./features/support/helpers/remote_shell.rb:37:in `communicate'
./features/support/helpers/remote_shell.rb:174:in `execute'
./features/support/helpers/remote_shell.rb:185:in `initialize'
./features/support/helpers/misc_helpers.rb:180:in `new'
./features/support/helpers/misc_helpers.rb:180:in `force_new_tor_circuit'
./features/support/helpers/misc_helpers.rb:192:in `block in retry_tor'
./features/support/helpers/misc_helpers.rb:222:in `rescue in block in retry_action'
./features/support/helpers/misc_helpers.rb:209:in `block in retry_action'
./features/support/helpers/misc_helpers.rb:208:in `loop'
./features/support/helpers/misc_helpers.rb:208:in `retry_action'
./features/support/helpers/misc_helpers.rb:196:in `retry_tor'
./features/step_definitions/apt.rb:59:in `/^I update APT using apt$/'
features/additional_software_packages.feature:47:in `And I update APT using apt'
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.032
After features/support/hooks.rb:330 11.078

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

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3730/artifact/build-artifacts/01:54:50_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_devel/3730/artifact/build-artifacts/01:54:50_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_devel/3730/artifact/build-artifacts/01:54:50_The_Additional_Software_dpkg_hook_notices_when_persistence_is_locked_down_while_installing_a_package.journal

After features/support/hooks.rb:100 0.009
5:16.054
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.190
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:30.928
When I uninstall "popularity-contest" using apt 18.854
And I accept removing "popularity-contest" from Additional Software 1.770
Then "popularity-contest" is not in the list of Additional Software 0.686
When I start Synaptic 23.242
And I update APT using Synaptic 22.058
And I install "cowsay" using Synaptic 9.425
And I accept adding "cowsay" to Additional Software 1.956
Then Additional Software is correctly configured for package "cowsay" 0.813
When I uninstall "cowsay" using apt 3.289
And I refuse removing "cowsay" from Additional Software 0.654
Then Additional Software is correctly configured for package "cowsay" 0.784
When I start "Additional Software" via GNOME Activities Overview 10.589
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 5.289
Then "cowsay" is not in the list of Additional Software 0.948
When I install "cowsay" using apt 3.215
And I refuse adding "cowsay" to Additional Software 0.622
Then "cowsay" is not in the list of Additional Software 0.733
After features/support/hooks.rb:519 0.797
After features/support/hooks.rb:330 1.036
After features/support/hooks.rb:100 0.009
9:34.031
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Before features/support/hooks.rb:511 0.006
Given a computer 0.205
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:22.295
And I configure APT to prefer an old version of cowsay 0.034
When I install an old version "3.03+dfsg2-1" of the cowsay package using apt 26.210
And I accept adding "cowsay" to Additional Software 6.553
And Additional Software is correctly configured for package "cowsay" 0.920
And I shutdown Tails and wait for the computer to power off 6.525
And I start Tails from USB drive "__internal" with network unplugged 1:0.540
And I enable persistence 14.200
# 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.081
And I log in to a new session 39.396
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 31.879
And I revert the APT tweaks that made it prefer an old version of cowsay 0.079
# 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.077
And the network is plugged 0.076
And Tor is ready 21.003
And available upgrades have been checked 0.070
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 3.988
And I can open the Additional Software configuration window from the notification 2.910
And I shutdown Tails and wait for the computer to power off 12.490
And I start Tails from USB drive "__internal" with network unplugged 1:1.705
And I enable persistence 12.786
# 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.039
And I log in to a new session 47.068
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 31.365
And I revert the APT tweaks that made it prefer an old version of cowsay 0.061
And the network is plugged 0.072
And Tor is ready 51.098
Then the Additional Software upgrade service has started 0.187
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.077
After features/support/hooks.rb:519 1.408
After features/support/hooks.rb:330 0.693
After features/support/hooks.rb:100 0.028
2:8.165
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Before features/support/hooks.rb:511 0.005
Given a computer 0.245
And I start Tails from USB drive "__internal" with network unplugged 59.343
And I enable persistence 12.071
And I remove the "cowsay" deb files from the APT cache 0.055
# 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 38.073
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 12.644
And I can open the Additional Software log file from the notification 5.111
And the package "cowsay" is not installed 0.548
After features/support/hooks.rb:519 0.114
After features/support/hooks.rb:330 1.100
After features/support/hooks.rb:100 0.008