Project Number Date
test_Tails_ISO_stable 4822 02 May 2024, 12:23

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Additional software 76 1 2 0 0 79 4 1 5 25:18.503 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:16.797
Before features/support/hooks.rb:259 0.014
Before features/support/hooks.rb:456 0.017
Given I start Tails from a freshly installed USB drive with an administration password and the network is plugged and I login 1:1.548
And I update APT using apt 18.141
And I install "popularity-contest" using apt 25.776
Then I am proposed to add the "popularity-contest" package to my Additional Software 5.965
When I create a persistent storage and activate the Additional Software feature 23.036
Then Additional Software is correctly configured for package "popularity-contest" 1.491
When I shutdown Tails and wait for the computer to power off 15.660
And I start Tails from USB drive "__internal" with network unplugged 1:2.778
And I enable persistence 26.610
And I log in to a new session 30.891
And the Additional Software installation service has started 41.710
Then I am notified that the installation succeeded 1.973
And Additional Software is correctly configured for package "popularity-contest" 0.940
And the package "popularity-contest" is installed after Additional Software has been started 0.272
After features/support/hooks.rb:464 39.444
After features/support/hooks.rb:305 1.217
After features/support/hooks.rb:89 0.013
2:35.100
Before features/support/hooks.rb:259 0.005
Before features/support/hooks.rb:456 0.005
Given a computer 0.212
And I start Tails from USB drive "__internal" and I login with an administration password 1:45.330
And I update APT using apt 19.538
When I install "makepp" using apt 25.407
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 4.518
And the package "makepp" is installed 0.092
After features/support/hooks.rb:464 40.882
After features/support/hooks.rb:305 1.137
After features/support/hooks.rb:89 0.016
5:13.187
Before features/support/hooks.rb:259 0.005
Before features/support/hooks.rb:456 0.004
Given a computer 0.212
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:19.175
When I uninstall "popularity-contest" using apt 21.853
And I accept removing "popularity-contest" from Additional Software 0.887
Then "popularity-contest" is not in the list of Additional Software 0.790
When I start Synaptic 27.708
And I update APT using Synaptic 22.037
And I install "cowsay" using Synaptic 12.731
And I accept adding "cowsay" to Additional Software 1.416
Then Additional Software is correctly configured for package "cowsay" 0.815
When I uninstall "cowsay" using apt 3.262
And I refuse removing "cowsay" from Additional Software 0.578
Then Additional Software is correctly configured for package "cowsay" 0.764
When I start "Additional Software" via GNOME Activities Overview 10.590
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 4.935
Then "cowsay" is not in the list of Additional Software 0.867
When I install "cowsay" using apt 3.242
And I refuse adding "cowsay" to Additional Software 0.584
Then "cowsay" is not in the list of Additional Software 0.732
After features/support/hooks.rb:464 1.567
After features/support/hooks.rb:305 0.789
After features/support/hooks.rb:89 0.015
10:4.719
Before features/support/hooks.rb:259 0.011
Before features/support/hooks.rb:456 0.013
Given a computer 0.244
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:23.375
And I configure APT to prefer an old version of cowsay 0.030
When I install an old version "3.03+dfsg2-1" of the cowsay package using apt 26.704
And I accept adding "cowsay" to Additional Software 7.046
And Additional Software is correctly configured for package "cowsay" 0.917
And I shutdown Tails and wait for the computer to power off 6.737
And I start Tails from USB drive "__internal" with network unplugged 1:4.143
And I enable persistence 18.542
# 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 37.233
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 42.349
And I revert the APT tweaks that made it prefer an old version of cowsay 0.062
# 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.075
And the network is plugged 0.041
And Tor is ready 17.831
# 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 9.735
And available upgrades have been checked 0.101
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 1.284
And I can open the Additional Software configuration window from the notification 3.670
And I shutdown Tails and wait for the computer to power off 13.605
And I start Tails from USB drive "__internal" with network unplugged 1:1.515
And I enable persistence 15.656
# 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.032
And I log in to a new session 38.359
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 41.164
And I revert the APT tweaks that made it prefer an old version of cowsay 0.058
And the network is plugged 0.055
And Tor is ready 53.821
Then the Additional Software upgrade service has started 0.194
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.102
After features/support/hooks.rb:464 2.527
After features/support/hooks.rb:305 0.932
After features/support/hooks.rb:89 0.026
2:8.698
Scenario I am notified when Additional Software fails to install a package
Before features/support/hooks.rb:259 0.005
Before features/support/hooks.rb:456 0.007
Steps
Given a computer 0.190
And I start Tails from USB drive "__internal" with network unplugged 1:0.882
And I enable persistence 14.263
And I remove the "cowsay" deb files from the APT cache 0.894
# 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.087
And I log in to a new session 41.505
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 10.875
The
The Dogtail init script raised: SearchError: child of [desktop frame | main]: "gnome-shell" application
STDOUT:

STDERR:

 (Dogtail::Failure)
./features/support/helpers/dogtail.rb:93:in `run'
./features/support/helpers/dogtail.rb:70:in `initialize'
./features/step_definitions/common_steps.rb:587:in `new'
./features/step_definitions/common_steps.rb:587:in `/^I see the "(.+)" notification(?: after at most (\d+) seconds)?$/'
features/additional_software_packages.feature:132:in `Then I see the "The installation of your additional software failed" notification after at most 300 seconds'
And I can open the Additional Software log file from the notification 0.000
And the package "cowsay" is not installed 0.000
After features/support/hooks.rb:464 0.037
After features/support/hooks.rb:305 5.035

SCENARIO FAILED: 'I am notified when Additional Software fails to install a package' (at time 01:33:15)

Content of /run/live-additional-software/log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4822/artifact/build-artifacts/01:33:15_I_am_notified_when_Additional_Software_fails_to_install_a_package.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/4822/artifact/build-artifacts/01:33:15_I_am_notified_when_Additional_Software_fails_to_install_a_package.cmd_output_persistent_volume

Output of ls -lar --full-time /var/cache/apt: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4822/artifact/build-artifacts/01:33:15_I_am_notified_when_Additional_Software_fails_to_install_a_package.cmd_output_var_cache_apt

Output of ls -lar --full-time /var/lib/apt: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4822/artifact/build-artifacts/01:33:15_I_am_notified_when_Additional_Software_fails_to_install_a_package.cmd_output_var_lib_apt

Output of mount: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4822/artifact/build-artifacts/01:33:15_I_am_notified_when_Additional_Software_fails_to_install_a_package.cmd_output_mount

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4822/artifact/build-artifacts/01:33:15_I_am_notified_when_Additional_Software_fails_to_install_a_package.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4822/artifact/build-artifacts/01:33:15_I_am_notified_when_Additional_Software_fails_to_install_a_package.mkv

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4822/artifact/build-artifacts/01:33:15_I_am_notified_when_Additional_Software_fails_to_install_a_package.boot-log

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4822/artifact/build-artifacts/01:33:15_I_am_notified_when_Additional_Software_fails_to_install_a_package.journal

After features/support/hooks.rb:89 0.009