Project Number Date
test_Tails_ISO_stable 4824 02 May 2024, 18:06

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 27:29.327 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:7.969
Before features/support/hooks.rb:259 0.002
Before features/support/hooks.rb:456 0.033
Given I start Tails from a freshly installed USB drive with an administration password and the network is plugged and I login 58.769
And I update APT using apt 16.407
And I install "popularity-contest" using apt 22.365
Then I am proposed to add the "popularity-contest" package to my Additional Software 7.885
When I create a persistent storage and activate the Additional Software feature 22.336
Then Additional Software is correctly configured for package "popularity-contest" 1.524
When I shutdown Tails and wait for the computer to power off 13.514
And I start Tails from USB drive "__internal" with network unplugged 1:3.429
And I enable persistence 25.138
And I log in to a new session 32.164
And the Additional Software installation service has started 41.192
Then I am notified that the installation succeeded 2.167
And Additional Software is correctly configured for package "popularity-contest" 0.771
And the package "popularity-contest" is installed after Additional Software has been started 0.299
After features/support/hooks.rb:464 38.031
After features/support/hooks.rb:305 1.326
After features/support/hooks.rb:89 0.021
3:0.726
Before features/support/hooks.rb:259 0.006
Before features/support/hooks.rb:456 0.006
Given a computer 0.178
And I start Tails from USB drive "__internal" and I login with an administration password 2:13.282
And I update APT using apt 16.754
When I install "makepp" using apt 26.025
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 4.400
And the package "makepp" is installed 0.084
After features/support/hooks.rb:464 39.637
After features/support/hooks.rb:305 1.033
After features/support/hooks.rb:89 0.016
5:16.583
Before features/support/hooks.rb:259 0.007
Before features/support/hooks.rb:456 0.008
Given a computer 0.205
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:25.690
When I uninstall "popularity-contest" using apt 21.852
And I accept removing "popularity-contest" from Additional Software 0.599
Then "popularity-contest" is not in the list of Additional Software 0.758
When I start Synaptic 27.697
And I update APT using Synaptic 22.995
And I install "cowsay" using Synaptic 10.227
And I accept adding "cowsay" to Additional Software 1.161
Then Additional Software is correctly configured for package "cowsay" 0.826
When I uninstall "cowsay" using apt 3.187
And I refuse removing "cowsay" from Additional Software 0.550
Then Additional Software is correctly configured for package "cowsay" 0.783
When I start "Additional Software" via GNOME Activities Overview 9.813
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 4.783
Then "cowsay" is not in the list of Additional Software 1.035
When I install "cowsay" using apt 3.203
And I refuse adding "cowsay" to Additional Software 0.558
Then "cowsay" is not in the list of Additional Software 0.651
After features/support/hooks.rb:464 1.382
After features/support/hooks.rb:305 0.736
After features/support/hooks.rb:89 0.010
11:58.558
Before features/support/hooks.rb:259 0.004
Before features/support/hooks.rb:456 0.005
Given a computer 0.250
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:12.417
And I configure APT to prefer an old version of cowsay 0.022
When I install an old version "3.03+dfsg2-1" of the cowsay package using apt 29.923
And I accept adding "cowsay" to Additional Software 4.547
And Additional Software is correctly configured for package "cowsay" 0.847
And I shutdown Tails and wait for the computer to power off 6.570
And I start Tails from USB drive "__internal" with network unplugged 1:0.744
And I enable persistence 12.083
# 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.246
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 42.007
And I revert the APT tweaks that made it prefer an old version of cowsay 0.051
# 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.071
And the network is plugged 0.039
And Tor is ready 47.060
# 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 6.611
And available upgrades have been checked 0.102
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 5.749
And I can open the Additional Software configuration window from the notification 4.219
And I shutdown Tails and wait for the computer to power off 2:7.531
And I start Tails from USB drive "__internal" with network unplugged 58.566
And I enable persistence 12.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.022
And I log in to a new session 35.803
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 42.010
And I revert the APT tweaks that made it prefer an old version of cowsay 0.059
And the network is plugged 0.040
And Tor is ready 50.927
Then the Additional Software upgrade service has started 0.173
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.087
After features/support/hooks.rb:464 2.369
After features/support/hooks.rb:305 0.648
After features/support/hooks.rb:89 0.026
2:5.490
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.186
And I start Tails from USB drive "__internal" with network unplugged 59.977
And I enable persistence 13.461
And I remove the "cowsay" deb files from the APT cache 0.666
# 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.104
And I log in to a new session 39.933
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 11.160
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.045
After features/support/hooks.rb:305 4.593

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

Content of /run/live-additional-software/log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4824/artifact/build-artifacts/01:36:22_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/4824/artifact/build-artifacts/01:36:22_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/4824/artifact/build-artifacts/01:36:22_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/4824/artifact/build-artifacts/01:36:22_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/4824/artifact/build-artifacts/01:36:22_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/4824/artifact/build-artifacts/01:36:22_I_am_notified_when_Additional_Software_fails_to_install_a_package.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4824/artifact/build-artifacts/01:36:22_I_am_notified_when_Additional_Software_fails_to_install_a_package.mkv

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4824/artifact/build-artifacts/01:36:22_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/4824/artifact/build-artifacts/01:36:22_I_am_notified_when_Additional_Software_fails_to_install_a_package.journal

After features/support/hooks.rb:89 0.011