Project Number Date
test_Tails_ISO_20268-more-early-patch-functionality 66 06 May 2024, 06:53

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 25:58.067 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:2.757
Before features/support/hooks.rb:259 0.002
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 53.849
And I update APT using apt 18.912
And I install "popularity-contest" using apt 22.468
Then I am proposed to add the "popularity-contest" package to my Additional Software 8.372
When I create a persistent storage and activate the Additional Software feature 21.513
Then Additional Software is correctly configured for package "popularity-contest" 1.623
When I shutdown Tails and wait for the computer to power off 12.445
And I start Tails from USB drive "__internal" with network unplugged 58.885
And I enable persistence 24.042
And I log in to a new session 35.615
And the Additional Software installation service has started 41.309
Then I am notified that the installation succeeded 2.732
And Additional Software is correctly configured for package "popularity-contest" 0.744
And the package "popularity-contest" is installed after Additional Software has been started 0.241
After features/support/hooks.rb:464 38.815
After features/support/hooks.rb:305 1.150
After features/support/hooks.rb:89 0.012
2:31.610
Before features/support/hooks.rb:259 0.004
Before features/support/hooks.rb:456 0.004
Given a computer 0.254
And I start Tails from USB drive "__internal" and I login with an administration password 1:44.786
And I update APT using apt 16.078
When I install "makepp" using apt 26.079
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 4.334
And the package "makepp" is installed 0.077
After features/support/hooks.rb:464 40.567
After features/support/hooks.rb:305 1.132
After features/support/hooks.rb:89 0.014
4:26.341
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.010
Before features/support/hooks.rb:456 0.008
Steps
Given a computer 0.232
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:44.349
When I uninstall "popularity-contest" using apt 21.866
And I accept removing "popularity-contest" from Additional Software 0.571
Then "popularity-contest" is not in the list of Additional Software 0.715
When I start Synaptic 18.605
The
The Dogtail init script raised: Python process exited unexpectedly with -5
STDOUT:

STDERR:

(-c:13131): dbind-ERROR **: 03:33:12.629: 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.046
After features/support/hooks.rb:305 5.850

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:19:29)

Content of /run/live-additional-software/log: https://jenkins.tails.boum.org/job/test_Tails_ISO_20268-more-early-patch-functionality/66/artifact/build-artifacts/01:19:29_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_20268-more-early-patch-functionality/66/artifact/build-artifacts/01:19:29_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_20268-more-early-patch-functionality/66/artifact/build-artifacts/01:19:29_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_20268-more-early-patch-functionality/66/artifact/build-artifacts/01:19:29_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_20268-more-early-patch-functionality/66/artifact/build-artifacts/01:19:29_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_20268-more-early-patch-functionality/66/artifact/build-artifacts/01:19:29_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_20268-more-early-patch-functionality/66/artifact/build-artifacts/01:19:29_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_20268-more-early-patch-functionality/66/artifact/build-artifacts/01:19:29_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_20268-more-early-patch-functionality/66/artifact/build-artifacts/01:19:29_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.010
11:46.089
Before features/support/hooks.rb:259 0.006
Before features/support/hooks.rb:456 0.006
Given a computer 0.274
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:28.895
And I configure APT to prefer an old version of cowsay 0.027
When I install an old version "3.03+dfsg2-1" of the cowsay package using apt 26.863
And I accept adding "cowsay" to Additional Software 6.505
And Additional Software is correctly configured for package "cowsay" 1.036
And I shutdown Tails and wait for the computer to power off 6.831
And I start Tails from USB drive "__internal" with network unplugged 58.833
And I enable persistence 13.446
# 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.021
And I log in to a new session 35.776
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 41.290
And I revert the APT tweaks that made it prefer an old version of cowsay 0.046
# 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.068
And the network is plugged 0.033
And Tor is ready 19.356
# 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 8.526
And available upgrades have been checked 0.059
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 1.121
And I can open the Additional Software configuration window from the notification 5.596
And I shutdown Tails and wait for the computer to power off 2:8.129
And I start Tails from USB drive "__internal" with network unplugged 1:0.744
And I enable persistence 11.825
# 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.024
And I log in to a new session 35.956
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 41.996
And I revert the APT tweaks that made it prefer an old version of cowsay 0.063
And the network is plugged 0.044
And Tor is ready 52.433
Then the Additional Software upgrade service has started 0.158
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.100
After features/support/hooks.rb:464 2.351
After features/support/hooks.rb:305 0.642
After features/support/hooks.rb:89 0.028
2:11.268
Before features/support/hooks.rb:259 0.006
Before features/support/hooks.rb:456 0.007
Given a computer 0.237
And I start Tails from USB drive "__internal" with network unplugged 59.120
And I enable persistence 12.984
And I remove the "cowsay" deb files from the APT cache 0.649
# 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.086
And I log in to a new session 37.356
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 14.291
And I can open the Additional Software log file from the notification 5.912
And the package "cowsay" is not installed 0.629
After features/support/hooks.rb:464 0.127
After features/support/hooks.rb:305 1.054
After features/support/hooks.rb:89 0.009