Project Number Date
test_Tails_ISO_stable 4981 29 Jul 2024, 21:46

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:26.024 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
4:57.441
Before features/support/hooks.rb:269 0.003
Before features/support/hooks.rb:507 0.011
Given I start Tails from a freshly installed USB drive with an administration password and the network is plugged and I login 55.403
And I update APT using apt 19.519
And I install "popularity-contest" using apt 22.320
Then I am proposed to add the "popularity-contest" package to my Additional Software 8.432
When I create a persistent storage and activate the Additional Software feature 18.283
Then Additional Software is correctly configured for package "popularity-contest" 1.418
When I shutdown Tails and wait for the computer to power off 14.666
And I start Tails from USB drive "__internal" with network unplugged 59.289
And I enable persistence 22.263
And I log in to a new session 31.741
And the Additional Software installation service has started 41.577
Then I am notified that the installation succeeded 1.349
And Additional Software is correctly configured for package "popularity-contest" 0.904
And the package "popularity-contest" is installed after Additional Software has been started 0.270
After features/support/hooks.rb:515 37.764
After features/support/hooks.rb:326 1.407
After features/support/hooks.rb:100 0.016
2:38.666
Before features/support/hooks.rb:269 0.004
Before features/support/hooks.rb:507 0.006
Given a computer 0.250
And I start Tails from USB drive "__internal" and I login with an administration password 1:52.210
And I update APT using apt 16.960
When I install "makepp" using apt 22.723
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 6.443
And the package "makepp" is installed 0.077
After features/support/hooks.rb:515 39.113
After features/support/hooks.rb:326 1.083
After features/support/hooks.rb:100 0.014
4:6.142
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:269 0.006
Before features/support/hooks.rb:507 0.007
Steps
Given a computer 0.228
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:24.373
When I uninstall "popularity-contest" using apt 21.827
And I accept removing "popularity-contest" from Additional Software 0.612
Then "popularity-contest" is not in the list of Additional Software 0.833
When I start Synaptic 18.267
The
The Dogtail init script raised: Python process exited unexpectedly with -5
STDOUT:

STDERR:

(-c:13772): dbind-ERROR **: 18:26:47.914: 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:143:in `new'
./features/step_definitions/apt.rb:143: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:515 0.029
After features/support/hooks.rb:326 6.622

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:13:40)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4981/artifact/build-artifacts/01:13:40_My_Additional_Software_list_is_configurable_through_a_GUI_or_through_notifications_when_I_install_or_remove_packages_with_APT_or_Synaptic.file_content_var_log_boot.log

Content of /run/live-additional-software/log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4981/artifact/build-artifacts/01:13:40_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/4981/artifact/build-artifacts/01:13:40_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/4981/artifact/build-artifacts/01:13:40_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/4981/artifact/build-artifacts/01:13:40_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/4981/artifact/build-artifacts/01:13:40_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/4981/artifact/build-artifacts/01:13:40_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/4981/artifact/build-artifacts/01:13:40_My_Additional_Software_list_is_configurable_through_a_GUI_or_through_notifications_when_I_install_or_remove_packages_with_APT_or_Synaptic.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4981/artifact/build-artifacts/01:13:40_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:100 0.033
9:38.564
Before features/support/hooks.rb:269 0.006
Before features/support/hooks.rb:507 0.007
Given a computer 0.196
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:21.007
And I configure APT to prefer an old version of cowsay 0.026
When I install an old version "3.03+dfsg2-1" of the cowsay package using apt 26.517
And I accept adding "cowsay" to Additional Software 6.821
And Additional Software is correctly configured for package "cowsay" 1.001
And I shutdown Tails and wait for the computer to power off 6.241
And I start Tails from USB drive "__internal" with network unplugged 58.964
And I enable persistence 12.319
# 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.030
And I log in to a new session 36.726
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 41.171
And I revert the APT tweaks that made it prefer an old version of cowsay 0.056
# 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.078
And the network is plugged 0.051
And Tor is ready 20.644
# 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 6.595
And available upgrades have been checked 0.083
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 1.446
And I can open the Additional Software configuration window from the notification 3.377
And I shutdown Tails and wait for the computer to power off 8.440
And I start Tails from USB drive "__internal" with network unplugged 59.910
And I enable persistence 14.466
# 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 38.237
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 41.082
And I revert the APT tweaks that made it prefer an old version of cowsay 0.072
And the network is plugged 0.053
And Tor is ready 52.638
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.091
After features/support/hooks.rb:515 2.424
After features/support/hooks.rb:326 0.794
After features/support/hooks.rb:100 0.026
2:5.209
Before features/support/hooks.rb:269 0.006
Before features/support/hooks.rb:507 0.006
Given a computer 0.214
And I start Tails from USB drive "__internal" with network unplugged 59.978
And I enable persistence 10.387
And I remove the "cowsay" deb files from the APT cache 0.744
# 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.092
And I log in to a new session 34.327
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 13.506
And I can open the Additional Software log file from the notification 5.262
And the package "cowsay" is not installed 0.693
After features/support/hooks.rb:515 0.119
After features/support/hooks.rb:326 1.021
After features/support/hooks.rb:100 0.020