Project Number Date
test_Tails_ISO_stable 4803 21 Apr 2024, 12:18

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Additional software 65 1 13 0 0 79 4 1 5 23:50.451 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:15.146
Before features/support/hooks.rb:259 0.003
Before features/support/hooks.rb:456 0.011
Given I start Tails from a freshly installed USB drive with an administration password and the network is plugged and I login 57.259
And I update APT using apt 24.984
And I install "popularity-contest" using apt 22.347
Then I am proposed to add the "popularity-contest" package to my Additional Software 8.768
When I create a persistent storage and activate the Additional Software feature 21.348
Then Additional Software is correctly configured for package "popularity-contest" 1.520
When I shutdown Tails and wait for the computer to power off 12.657
And I start Tails from USB drive "__internal" with network unplugged 59.754
And I enable persistence 25.876
And I log in to a new session 36.016
And the Additional Software installation service has started 41.105
Then I am notified that the installation succeeded 2.407
And Additional Software is correctly configured for package "popularity-contest" 0.842
And the package "popularity-contest" is installed after Additional Software has been started 0.257
After features/support/hooks.rb:464 37.061
After features/support/hooks.rb:305 1.107
After features/support/hooks.rb:89 0.017
2:29.768
Before features/support/hooks.rb:259 0.015
Before features/support/hooks.rb:456 0.013
Given a computer 0.189
And I start Tails from USB drive "__internal" and I login with an administration password 1:42.862
And I update APT using apt 17.684
When I install "makepp" using apt 22.391
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 6.568
And the package "makepp" is installed 0.072
After features/support/hooks.rb:464 40.507
After features/support/hooks.rb:305 0.908
After features/support/hooks.rb:89 0.013
3:51.771
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:259 0.004
Before features/support/hooks.rb:456 0.006
Steps
Given a computer 0.187
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:10.147
When I uninstall "popularity-contest" using apt 21.817
And I accept removing "popularity-contest" from Additional Software 0.591
Then "popularity-contest" is not in the list of Additional Software 0.716
When I start Synaptic 18.311
The
The Dogtail init script raised: Python process exited unexpectedly with -5
STDOUT:

STDERR:

(-c:13081): dbind-ERROR **: 09:04:44.130: AT-SPI: Couldn't connect to accessibility bus. Is at-spi-bus-launcher running?

 (Dogtail::Failure)
./features/support/helpers/dogtail.rb:85:in `run'
./features/support/helpers/dogtail.rb:70:in `initialize'
./features/step_definitions/apt.rb:159:in `new'
./features/step_definitions/apt.rb:159:in `/^I start Synaptic$/'
features/additional_software_packages.feature:59:in `When I start Synaptic'
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:464 0.029
After features/support/hooks.rb:305 5.684

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:18:55)

Content of /run/live-additional-software/log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4803/artifact/build-artifacts/01:18:55_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/4803/artifact/build-artifacts/01:18:55_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/4803/artifact/build-artifacts/01:18:55_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/4803/artifact/build-artifacts/01:18:55_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/4803/artifact/build-artifacts/01:18:55_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/4803/artifact/build-artifacts/01:18:55_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/4803/artifact/build-artifacts/01:18:55_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/4803/artifact/build-artifacts/01:18:55_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/4803/artifact/build-artifacts/01:18:55_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:89 0.009
10:0.256
Before features/support/hooks.rb:259 0.005
Before features/support/hooks.rb:456 0.006
Given a computer 0.180
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:10.186
And I configure APT to prefer an old version of cowsay 0.032
When I install an old version "3.03+dfsg2-1" of the cowsay package using apt 26.298
And I accept adding "cowsay" to Additional Software 7.740
And Additional Software is correctly configured for package "cowsay" 0.867
And I shutdown Tails and wait for the computer to power off 6.338
And I start Tails from USB drive "__internal" with network unplugged 59.795
And I enable persistence 11.777
# 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.023
And I log in to a new session 37.702
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 41.437
And I revert the APT tweaks that made it prefer an old version of cowsay 0.059
# 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.069
And the network is plugged 0.044
And Tor is ready 17.660
# 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 9.490
And available upgrades have been checked 0.133
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 1.233
And I can open the Additional Software configuration window from the notification 3.216
And I shutdown Tails and wait for the computer to power off 13.535
And I start Tails from USB drive "__internal" with network unplugged 59.947
And I enable persistence 14.428
# 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 37.200
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 41.360
And I revert the APT tweaks that made it prefer an old version of cowsay 0.059
And the network is plugged 0.057
And Tor is ready 1:19.080
Then the Additional Software upgrade service has started 0.175
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.096
After features/support/hooks.rb:464 2.451
After features/support/hooks.rb:305 0.735
After features/support/hooks.rb:89 0.032
2:13.508
Before features/support/hooks.rb:259 0.006
Before features/support/hooks.rb:456 0.007
Given a computer 0.207
And I start Tails from USB drive "__internal" with network unplugged 1:0.561
And I enable persistence 11.301
And I remove the "cowsay" deb files from the APT cache 0.598
# 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.071
And I log in to a new session 39.762
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 14.021
And I can open the Additional Software log file from the notification 6.347
And the package "cowsay" is not installed 0.636
After features/support/hooks.rb:464 0.100
After features/support/hooks.rb:305 0.759
After features/support/hooks.rb:89 0.009