Project Number Date
test_Tails_ISO_stable 4574 18 Dec 2023, 15:29

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Additional software 57 1 17 0 0 75 4 1 5 26:23.045 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
5:35.204
Before features/support/hooks.rb:245 0.002
Before features/support/hooks.rb:442 0.003
Given I start Tails from a freshly installed USB drive with an administration password and the network is plugged and I login 50.634
And I update APT using apt 16.978
And I install "popularity-contest" using apt 24.028
Then I am proposed to add the "popularity-contest" package to my Additional Software 58.126
When I create a persistent storage and activate the Additional Software feature 18.660
Then Additional Software is correctly configured for package "popularity-contest" 1.444
When I shutdown Tails and wait for the computer to power off 10.198
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:33.987
Then Additional Software is correctly configured for package "popularity-contest" 0.840
And the package "popularity-contest" is installed after Additional Software has been started 0.305
After features/support/hooks.rb:450 34.656
After features/support/hooks.rb:291 0.933
After features/support/hooks.rb:75 0.012
2:54.961
Before features/support/hooks.rb:245 0.004
Before features/support/hooks.rb:442 0.004
Given a computer 0.219
And I start Tails from USB drive "__internal" and I login with an administration password 1:18.896
And I update APT using apt 16.351
When I install "makepp" using apt 23.027
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 56.390
And the package "makepp" is installed 0.076
After features/support/hooks.rb:450 35.970
After features/support/hooks.rb:291 1.064
After features/support/hooks.rb:75 0.013
2:42.429
Scenario My Additional Software list is configurable through a GUI or through notifications when I install or remove packages with APT or Synaptic
Before features/support/hooks.rb:245 0.005
Before features/support/hooks.rb:442 0.005
Steps
Given a computer 0.204
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:42.225
FileNotFoundError: [Errno 2] No such file or directory: '/proc//status' (RemoteShell::ServerFailure)
./features/support/helpers/remote_shell.rb:69:in `block (2 levels) in communicate'
./features/support/helpers/remote_shell.rb:40:in `loop'
./features/support/helpers/remote_shell.rb:40:in `block in communicate'
./features/support/helpers/remote_shell.rb:37:in `communicate'
./features/support/helpers/remote_shell.rb:204:in `open'
./features/support/helpers/remote_shell.rb:222:in `read'
./features/support/helpers/vm_helper.rb:567:in `block in file_content'
./features/support/helpers/vm_helper.rb:566:in `each'
./features/support/helpers/vm_helper.rb:566:in `reduce'
./features/support/helpers/vm_helper.rb:566:in `file_content'
./features/step_definitions/checks.rb:213:in `get_seccomp_status'
./features/step_definitions/checks.rb:238:in `/^Tor is (not )?confined with Seccomp$/'
./features/step_definitions/common_steps.rb:627:in `/^I wait until Tor is ready$/'
./features/step_definitions/common_steps.rb:605:in `/^I successfully configure Tor$/'
./features/step_definitions/common_steps.rb:556:in `/^Tor is ready$/'
./features/step_definitions/common_steps.rb:245: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:51:in `And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password'
When I uninstall "popularity-contest" using apt 0.000
And I accept removing "popularity-contest" from Additional Software 0.000
Then "popularity-contest" is not in the list of Additional Software 0.000
When I start Synaptic 0.000
And I update APT using Synaptic 0.000
And I install "cowsay" using Synaptic 0.000
And I accept adding "cowsay" to Additional Software 0.000
Then Additional Software is correctly configured for package "cowsay" 0.000
When I uninstall "cowsay" using apt 0.000
And I refuse removing "cowsay" from Additional Software 0.000
Then Additional Software is correctly configured for package "cowsay" 0.000
When I start "Additional Software" via GNOME Activities Overview 0.000
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 0.000
Then "cowsay" is not in the list of Additional Software 0.000
When I install "cowsay" using apt 0.000
And I refuse adding "cowsay" to Additional Software 0.000
Then "cowsay" is not in the list of Additional Software 0.000
After features/support/hooks.rb:450 0.028
After features/support/hooks.rb:291 4.771

SCENARIO FAILED: 'My Additional Software list is configurable through a GUI or through notifications when I install or remove packages with APT or Synaptic' (at time 01:15:44)

Content of /run/live-additional-software/log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4574/artifact/build-artifacts/01:15:44_My_Additional_Software_list_is_configurable_through_a_GUI_or_through_notifications_when_I_install_or_remove_packages_with_APT_or_Synaptic.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_stable/4574/artifact/build-artifacts/01:15:44_My_Additional_Software_list_is_configurable_through_a_GUI_or_through_notifications_when_I_install_or_remove_packages_with_APT_or_Synaptic.cmd_output_persistent_volume

Output of ls -lar --full-time /var/cache/apt: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4574/artifact/build-artifacts/01:15:44_My_Additional_Software_list_is_configurable_through_a_GUI_or_through_notifications_when_I_install_or_remove_packages_with_APT_or_Synaptic.cmd_output_var_cache_apt

Output of ls -lar --full-time /var/lib/apt: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4574/artifact/build-artifacts/01:15:44_My_Additional_Software_list_is_configurable_through_a_GUI_or_through_notifications_when_I_install_or_remove_packages_with_APT_or_Synaptic.cmd_output_var_lib_apt

Output of mount: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4574/artifact/build-artifacts/01:15:44_My_Additional_Software_list_is_configurable_through_a_GUI_or_through_notifications_when_I_install_or_remove_packages_with_APT_or_Synaptic.cmd_output_mount

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4574/artifact/build-artifacts/01:15:44_My_Additional_Software_list_is_configurable_through_a_GUI_or_through_notifications_when_I_install_or_remove_packages_with_APT_or_Synaptic.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4574/artifact/build-artifacts/01:15:44_My_Additional_Software_list_is_configurable_through_a_GUI_or_through_notifications_when_I_install_or_remove_packages_with_APT_or_Synaptic.mkv

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4574/artifact/build-artifacts/01:15:44_My_Additional_Software_list_is_configurable_through_a_GUI_or_through_notifications_when_I_install_or_remove_packages_with_APT_or_Synaptic.boot-log

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4574/artifact/build-artifacts/01:15:44_My_Additional_Software_list_is_configurable_through_a_GUI_or_through_notifications_when_I_install_or_remove_packages_with_APT_or_Synaptic.journal

After features/support/hooks.rb:75 0.008
13:22.803
Before features/support/hooks.rb:245 0.004
Before features/support/hooks.rb:442 0.006
Given a computer 0.191
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:1.129
And I configure APT to prefer an old version of cowsay 0.022
When I install an old version "3.03+dfsg2-1" of the cowsay package using apt 18.278
And I accept adding "cowsay" to Additional Software 0.650
And Additional Software is correctly configured for package "cowsay" 0.875
And I shutdown Tails and wait for the computer to power off 2:2.479
And I start Tails from USB drive "__internal" with network unplugged 45.036
And I enable persistence 35.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.026
And I log in to a new session 21.666
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 41.332
And I revert the APT tweaks that made it prefer an old version of cowsay 0.061
# 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.074
And the network is plugged 0.035
And Tor is ready 19.005
# Note: the next step races against the appearance of the "The
# upgrade of your additional software failed" notification.
# It should win most of the time, which is good, but there's no
# guarantee it does. If it loses, then it'll remove the notification
# we'll be trying to interact with below ("I can open…")
And all notifications have disappeared 5.719
And available upgrades have been checked 0.149
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 0.941
And I can open the Additional Software configuration window from the notification 3.253
And I shutdown Tails and wait for the computer to power off 2:2.577
And I start Tails from USB drive "__internal" with network unplugged 44.928
And I enable persistence 32.881
# 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
And I log in to a new session 22.304
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 42.239
And I revert the APT tweaks that made it prefer an old version of cowsay 0.058
And the network is plugged 0.034
And Tor is ready 40.616
Then the Additional Software upgrade service has started 0.177
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.076
After features/support/hooks.rb:450 2.541
After features/support/hooks.rb:291 0.779
After features/support/hooks.rb:75 0.028
1:47.647
Before features/support/hooks.rb:245 0.005
Before features/support/hooks.rb:442 0.006
Given a computer 0.201
And I start Tails from USB drive "__internal" with network unplugged 46.006
And I enable persistence 33.575
And I remove the "cowsay" deb files from the APT cache 0.629
# 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 22.249
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 1.928
And I can open the Additional Software log file from the notification 2.680
And the package "cowsay" is not installed 0.293
After features/support/hooks.rb:450 0.103
After features/support/hooks.rb:291 0.733
After features/support/hooks.rb:75 0.025