Project Number Date
test_Tails_ISO_stable 5004 07 Aug 2024, 12:43

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Additional software 62 2 15 0 0 79 3 2 5 38:48.632 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:54.923
Before features/support/hooks.rb:269 0.002
Before features/support/hooks.rb:507 0.002
Given I start Tails from a freshly installed USB drive with an administration password and the network is plugged and I login 56.491
And I update APT using apt 18.527
And I install "popularity-contest" using apt 22.308
Then I am proposed to add the "popularity-contest" package to my Additional Software 7.973
When I create a persistent storage and activate the Additional Software feature 18.557
Then Additional Software is correctly configured for package "popularity-contest" 1.461
When I shutdown Tails and wait for the computer to power off 10.424
And I start Tails from USB drive "__internal" with network unplugged 58.820
And I enable persistence 19.152
And I log in to a new session 45.952
And the Additional Software installation service has started 32.283
Then I am notified that the installation succeeded 1.872
And Additional Software is correctly configured for package "popularity-contest" 0.818
And the package "popularity-contest" is installed after Additional Software has been started 0.277
After features/support/hooks.rb:515 35.902
After features/support/hooks.rb:326 0.998
After features/support/hooks.rb:100 0.019
2:53.027
Before features/support/hooks.rb:269 0.006
Before features/support/hooks.rb:507 0.007
Given a computer 0.260
And I start Tails from USB drive "__internal" and I login with an administration password 2:6.982
And I update APT using apt 15.739
When I install "makepp" using apt 25.630
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 4.331
And the package "makepp" is installed 0.082
After features/support/hooks.rb:515 37.818
After features/support/hooks.rb:326 1.150
After features/support/hooks.rb:100 0.015
3:52.553
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.007
Before features/support/hooks.rb:507 0.006
Steps
Given a computer 0.236
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:14.044
When I uninstall "popularity-contest" using apt 21.802
And I accept removing "popularity-contest" from Additional Software 0.598
Then "popularity-contest" is not in the list of Additional Software 0.658
When I start Synaptic 15.212
The
The Dogtail init script raised: Error: atspi_error: timeout from dbind (1)
STDOUT:

STDERR:

 (Dogtail::Failure)
./features/support/helpers/dogtail.rb:93:in `run'
./features/support/helpers/dogtail.rb:335:in `initialize'
./features/support/helpers/dogtail.rb:316:in `new'
./features/support/helpers/dogtail.rb:316:in `parent'
./features/step_definitions/common_steps.rb:757:in `gnome_shell_unlock_dialog'
./features/step_definitions/common_steps.rb:774:in `deal_with_polkit_prompt'
./features/step_definitions/apt.rb:142: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.034
After features/support/hooks.rb:326 7.655

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/5004/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/5004/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/5004/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/5004/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/5004/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/5004/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/5004/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/5004/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/5004/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.010
24:51.076
Scenario Recovering in offline mode after Additional Software previously failed to upgrade and then succeed to upgrade when online
Before features/support/hooks.rb:269 0.006
Before features/support/hooks.rb:507 0.006
Steps
Given a computer 0.221
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:25.727
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 26.743
And I accept adding "cowsay" to Additional Software 6.790
And Additional Software is correctly configured for package "cowsay" 1.000
And I shutdown Tails and wait for the computer to power off 6.509
And I start Tails from USB drive "__internal" with network unplugged 1:7.046
And I enable persistence 11.634
# 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.027
And I log in to a new session 38.721
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 41.806
And I revert the APT tweaks that made it prefer an old version of cowsay 0.063
# 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.070
And the network is plugged 0.042
And Tor is ready 19.260
# 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.828
And available upgrades have been checked 0.080
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 1.478
And I can open the Additional Software configuration window from the notification 3.841
And I shutdown Tails and wait for the computer to power off 10.717
And I start Tails from USB drive "__internal" with network unplugged 59.114
And I enable persistence 10.631
# 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.034
And I log in to a new session 38.526
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 42.354
And I revert the APT tweaks that made it prefer an old version of cowsay 0.064
And the network is plugged 0.050
And Tor is ready 15:49.660
try_for() timeout expired (Timeout::Error)
./features/support/helpers/misc_helpers.rb:145:in `rescue in try_for'
./features/support/helpers/misc_helpers.rb:51:in `try_for'
./features/step_definitions/additional_software_packages.rb:15:in `/^the Additional Software (upgrade|installation) service has started$/'
./features/step_definitions/common_steps.rb:674:in `/^I wait until Tor is ready$/'
./features/step_definitions/common_steps.rb:643:in `/^I successfully configure Tor$/'
./features/step_definitions/common_steps.rb:594:in `/^Tor is ready$/'
features/additional_software_packages.feature:117:in `And Tor is ready'
Then the Additional Software upgrade service has started 0.000
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.000
After features/support/hooks.rb:515 0.043
After features/support/hooks.rb:326 5.155

SCENARIO FAILED: 'Recovering in offline mode after Additional Software previously failed to upgrade and then succeed to upgrade when online' (at time 01:38:39)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5004/artifact/build-artifacts/01:38:39_Recovering_in_offline_mode_after_Additional_Software_previously_failed_to_upgrade_and_then_succeed_to_upgrade_when_online.file_content_var_log_boot.log

Content of /run/live-additional-software/log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5004/artifact/build-artifacts/01:38:39_Recovering_in_offline_mode_after_Additional_Software_previously_failed_to_upgrade_and_then_succeed_to_upgrade_when_online.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/5004/artifact/build-artifacts/01:38:39_Recovering_in_offline_mode_after_Additional_Software_previously_failed_to_upgrade_and_then_succeed_to_upgrade_when_online.cmd_output_persistent_volume

Output of ls -lar --full-time /var/cache/apt: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5004/artifact/build-artifacts/01:38:39_Recovering_in_offline_mode_after_Additional_Software_previously_failed_to_upgrade_and_then_succeed_to_upgrade_when_online.cmd_output_var_cache_apt

Output of ls -lar --full-time /var/lib/apt: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5004/artifact/build-artifacts/01:38:39_Recovering_in_offline_mode_after_Additional_Software_previously_failed_to_upgrade_and_then_succeed_to_upgrade_when_online.cmd_output_var_lib_apt

Output of mount: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5004/artifact/build-artifacts/01:38:39_Recovering_in_offline_mode_after_Additional_Software_previously_failed_to_upgrade_and_then_succeed_to_upgrade_when_online.cmd_output_mount

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5004/artifact/build-artifacts/01:38:39_Recovering_in_offline_mode_after_Additional_Software_previously_failed_to_upgrade_and_then_succeed_to_upgrade_when_online.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5004/artifact/build-artifacts/01:38:39_Recovering_in_offline_mode_after_Additional_Software_previously_failed_to_upgrade_and_then_succeed_to_upgrade_when_online.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5004/artifact/build-artifacts/01:38:39_Recovering_in_offline_mode_after_Additional_Software_previously_failed_to_upgrade_and_then_succeed_to_upgrade_when_online.journal

After features/support/hooks.rb:100 0.035
2:17.051
Before features/support/hooks.rb:269 0.007
Before features/support/hooks.rb:507 0.007
Given a computer 0.210
And I start Tails from USB drive "__internal" with network unplugged 1:1.201
And I enable persistence 13.052
And I remove the "cowsay" deb files from the APT cache 0.851
# 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.106
And I log in to a new session 40.444
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 14.119
And I can open the Additional Software log file from the notification 6.347
And the package "cowsay" is not installed 0.717
After features/support/hooks.rb:515 0.123
After features/support/hooks.rb:326 1.290
After features/support/hooks.rb:100 0.013