Project Number Date
test_Tails_ISO_devel 3487 20 Aug 2024, 12:45

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Additional software 70 1 13 0 0 84 5 1 6 30:1.915 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
3:14.922
Before features/support/hooks.rb:269 0.003
Before features/support/hooks.rb:507 0.003
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:42.479
And I update APT using apt 19.176
When I install "popularity-contest" using apt 25.524
Then I am notified I can not use Additional Software for "popularity-contest" 9.809
And I can open the Additional Software documentation from the notification 37.932
After features/support/hooks.rb:515 38.028
After features/support/hooks.rb:326 2.331
After features/support/hooks.rb:100 0.006
5:43.129
Before features/support/hooks.rb:269 0.009
Before features/support/hooks.rb:507 0.010
Given I start Tails from a freshly installed USB drive with an administration password and the network is plugged and I login 1:12.371
And I update APT using apt 19.771
And I install "popularity-contest" using apt 22.507
Then I am proposed to add the "popularity-contest" package to my Additional Software 16.734
When I create a persistent storage and activate the Additional Software feature 23.081
Then Additional Software is correctly configured for package "popularity-contest" 1.485
When I shutdown Tails and wait for the computer to power off 12.971
And I start Tails from USB drive "__internal" with network unplugged 1:1.200
And I enable persistence 22.091
And I log in to a new session 45.776
And the Additional Software installation service has started 41.630
Then I am notified that the installation succeeded 2.401
And Additional Software is correctly configured for package "popularity-contest" 0.852
And the package "popularity-contest" is installed after Additional Software has been started 0.252
After features/support/hooks.rb:515 36.295
After features/support/hooks.rb:326 1.423
After features/support/hooks.rb:100 0.051
2:32.884
Before features/support/hooks.rb:269 0.005
Before features/support/hooks.rb:507 0.007
Given a computer 0.441
And I start Tails from USB drive "__internal" and I login with an administration password 1:42.021
And I update APT using apt 20.179
When I install "makepp" using apt 25.829
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.078
After features/support/hooks.rb:515 36.846
After features/support/hooks.rb:326 0.965
After features/support/hooks.rb:100 0.014
3:57.368
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.009
Steps
Given a computer 0.463
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:15.203
When I uninstall "popularity-contest" using apt 21.885
And I accept removing "popularity-contest" from Additional Software 0.610
Then "popularity-contest" is not in the list of Additional Software 0.756
When I start Synaptic 18.447
The
The Dogtail init script raised: Python process exited unexpectedly with -5
STDOUT:

STDERR:

(-c:13564): dbind-ERROR **: 08:57:10.619: 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.036
After features/support/hooks.rb:326 7.670

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:22:58)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3487/artifact/build-artifacts/01:22:58_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_devel/3487/artifact/build-artifacts/01:22:58_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_devel/3487/artifact/build-artifacts/01:22:58_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_devel/3487/artifact/build-artifacts/01:22:58_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_devel/3487/artifact/build-artifacts/01:22:58_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_devel/3487/artifact/build-artifacts/01:22:58_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_devel/3487/artifact/build-artifacts/01:22:58_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_devel/3487/artifact/build-artifacts/01:22:58_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_devel/3487/artifact/build-artifacts/01:22:58_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.009
12:20.069
Before features/support/hooks.rb:269 0.010
Before features/support/hooks.rb:507 0.007
Given a computer 0.197
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:15.317
And I configure APT to prefer an old version of cowsay 0.025
When I install an old version "3.03+dfsg2-1" of the cowsay package using apt 29.666
And I accept adding "cowsay" to Additional Software 4.444
And Additional Software is correctly configured for package "cowsay" 0.885
And I shutdown Tails and wait for the computer to power off 6.482
And I start Tails from USB drive "__internal" with network unplugged 59.832
And I enable persistence 12.378
# 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.037
And I log in to a new session 41.744
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 41.632
And I revert the APT tweaks that made it prefer an old version of cowsay 0.067
# 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.091
And Tor is ready 49.341
# 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.738
And available upgrades have been checked 0.164
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 1.590
And I can open the Additional Software configuration window from the notification 3.900
And I shutdown Tails and wait for the computer to power off 2:6.619
And I start Tails from USB drive "__internal" with network unplugged 1:3.313
And I enable persistence 15.182
# 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.043
And I log in to a new session 41.733
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 41.369
And I revert the APT tweaks that made it prefer an old version of cowsay 0.060
And the network is plugged 0.257
And Tor is ready 54.582
Then the Additional Software upgrade service has started 0.196
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.091
After features/support/hooks.rb:515 2.669
After features/support/hooks.rb:326 0.813
After features/support/hooks.rb:100 0.024
2:13.541
Before features/support/hooks.rb:269 0.005
Before features/support/hooks.rb:507 0.006
Given a computer 0.321
And I start Tails from USB drive "__internal" with network unplugged 1:0.595
And I enable persistence 10.284
And I remove the "cowsay" deb files from the APT cache 0.768
# 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.076
And I log in to a new session 38.709
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 15.143
And I can open the Additional Software log file from the notification 6.924
And the package "cowsay" is not installed 0.717
After features/support/hooks.rb:515 0.113
After features/support/hooks.rb:326 0.946
After features/support/hooks.rb:100 0.009