Project Number Date
test_Tails_ISO_devel 3438 25 Jun 2024, 12:48

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 29:17.454 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:4.180
Before features/support/hooks.rb:269 0.003
Before features/support/hooks.rb:507 0.011
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:37.031
And I update APT using apt 24.121
When I install "popularity-contest" using apt 22.491
Then I am notified I can not use Additional Software for "popularity-contest" 10.012
And I can open the Additional Software documentation from the notification 30.522
After features/support/hooks.rb:515 38.405
After features/support/hooks.rb:326 2.740
After features/support/hooks.rb:100 0.004
5:22.174
Before features/support/hooks.rb:269 0.008
Before features/support/hooks.rb:507 0.007
Given I start Tails from a freshly installed USB drive with an administration password and the network is plugged and I login 1:13.500
And I update APT using apt 20.499
And I install "popularity-contest" using apt 22.800
Then I am proposed to add the "popularity-contest" package to my Additional Software 8.844
When I create a persistent storage and activate the Additional Software feature 20.263
Then Additional Software is correctly configured for package "popularity-contest" 1.551
When I shutdown Tails and wait for the computer to power off 14.777
And I start Tails from USB drive "__internal" with network unplugged 57.850
And I enable persistence 20.129
And I log in to a new session 47.613
And the Additional Software installation service has started 31.432
Then I am notified that the installation succeeded 1.873
And Additional Software is correctly configured for package "popularity-contest" 0.791
And the package "popularity-contest" is installed after Additional Software has been started 0.246
After features/support/hooks.rb:515 39.789
After features/support/hooks.rb:326 1.276
After features/support/hooks.rb:100 0.017
2:51.498
Before features/support/hooks.rb:269 0.008
Before features/support/hooks.rb:507 0.010
Given a computer 0.303
And I start Tails from USB drive "__internal" and I login with an administration password 2:5.187
And I update APT using apt 18.092
When I install "makepp" using apt 22.468
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 5.370
And the package "makepp" is installed 0.074
After features/support/hooks.rb:515 39.685
After features/support/hooks.rb:326 0.963
After features/support/hooks.rb:100 0.016
4:2.394
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.008
Before features/support/hooks.rb:507 0.008
Steps
Given a computer 0.231
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:11.943
When I uninstall "popularity-contest" using apt 21.766
And I accept removing "popularity-contest" from Additional Software 0.573
Then "popularity-contest" is not in the list of Additional Software 0.620
When I start Synaptic 27.259
The
The Dogtail init script raised: Python process exited unexpectedly with -15
STDOUT:

STDERR:

 (Dogtail::Failure)
./features/support/helpers/dogtail.rb:93: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.038
After features/support/hooks.rb:326 5.960

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

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3438/artifact/build-artifacts/01:25: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_var_log_boot.log

Content of /run/live-additional-software/log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3438/artifact/build-artifacts/01:25: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_devel/3438/artifact/build-artifacts/01:25: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_devel/3438/artifact/build-artifacts/01:25: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_devel/3438/artifact/build-artifacts/01:25: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_devel/3438/artifact/build-artifacts/01:25: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_devel/3438/artifact/build-artifacts/01:25: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_devel/3438/artifact/build-artifacts/01:25:29_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/3438/artifact/build-artifacts/01:25: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:100 0.010
11:53.698
Before features/support/hooks.rb:269 0.006
Before features/support/hooks.rb:507 0.007
Given a computer 0.224
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:43.275
And I configure APT to prefer an old version of cowsay 0.023
When I install an old version "3.03+dfsg2-1" of the cowsay package using apt 27.839
And I accept adding "cowsay" to Additional Software 4.459
And Additional Software is correctly configured for package "cowsay" 1.443
And I shutdown Tails and wait for the computer to power off 6.384
And I start Tails from USB drive "__internal" with network unplugged 55.918
And I enable persistence 11.214
# 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.051
And I log in to a new session 37.000
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 42.291
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.067
And the network is plugged 0.055
And Tor is ready 19.597
# 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.657
And available upgrades have been checked 0.149
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 1.492
And I can open the Additional Software configuration window from the notification 3.470
And I shutdown Tails and wait for the computer to power off 2:7.938
And I start Tails from USB drive "__internal" with network unplugged 57.223
And I enable persistence 11.744
# 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 34.966
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 41.903
And I revert the APT tweaks that made it prefer an old version of cowsay 0.055
And the network is plugged 0.050
And Tor is ready 55.821
Then the Additional Software upgrade service has started 0.191
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.102
After features/support/hooks.rb:515 2.775
After features/support/hooks.rb:326 1.040
After features/support/hooks.rb:100 0.031
2:3.507
Before features/support/hooks.rb:269 0.008
Before features/support/hooks.rb:507 0.008
Given a computer 0.282
And I start Tails from USB drive "__internal" with network unplugged 56.945
And I enable persistence 12.485
And I remove the "cowsay" deb files from the APT cache 0.642
# 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.110
And I log in to a new session 32.976
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 13.936
And I can open the Additional Software log file from the notification 5.338
And the package "cowsay" is not installed 0.787
After features/support/hooks.rb:515 0.119
After features/support/hooks.rb:326 1.156
After features/support/hooks.rb:100 0.011