Project Number Date
test_Tails_ISO_20268-more-early-patch-functionality 112 20 Jun 2024, 07:13

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 45:58.265 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:59.644
Before features/support/hooks.rb:269 0.002
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 56.602
And I update APT using apt 18.093
And I install "popularity-contest" using apt 22.330
Then I am proposed to add the "popularity-contest" package to my Additional Software 8.922
When I create a persistent storage and activate the Additional Software feature 21.504
Then Additional Software is correctly configured for package "popularity-contest" 1.768
When I shutdown Tails and wait for the computer to power off 10.319
And I start Tails from USB drive "__internal" with network unplugged 57.718
And I enable persistence 18.765
And I log in to a new session 38.561
And the Additional Software installation service has started 41.354
Then I am notified that the installation succeeded 2.598
And Additional Software is correctly configured for package "popularity-contest" 0.828
And the package "popularity-contest" is installed after Additional Software has been started 0.276
After features/support/hooks.rb:515 37.579
After features/support/hooks.rb:326 1.265
After features/support/hooks.rb:100 0.012
2:26.576
Before features/support/hooks.rb:269 0.005
Before features/support/hooks.rb:507 0.004
Given a computer 0.234
And I start Tails from USB drive "__internal" and I login with an administration password 1:40.424
And I update APT using apt 16.824
When I install "makepp" using apt 22.410
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 6.588
And the package "makepp" is installed 0.094
After features/support/hooks.rb:515 37.336
After features/support/hooks.rb:326 0.937
After features/support/hooks.rb:100 0.014
5:4.651
Before features/support/hooks.rb:269 0.006
Before features/support/hooks.rb:507 0.007
Given a computer 0.228
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:14.588
When I uninstall "popularity-contest" using apt 21.822
And I accept removing "popularity-contest" from Additional Software 0.533
Then "popularity-contest" is not in the list of Additional Software 0.723
When I start Synaptic 22.540
And I update APT using Synaptic 22.680
And I install "cowsay" using Synaptic 11.874
And I accept adding "cowsay" to Additional Software 2.994
Then Additional Software is correctly configured for package "cowsay" 1.006
When I uninstall "cowsay" using apt 3.295
And I refuse removing "cowsay" from Additional Software 0.760
Then Additional Software is correctly configured for package "cowsay" 0.900
When I start "Additional Software" via GNOME Activities Overview 10.670
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 4.646
Then "cowsay" is not in the list of Additional Software 0.807
When I install "cowsay" using apt 3.213
And I refuse adding "cowsay" to Additional Software 0.604
Then "cowsay" is not in the list of Additional Software 0.758
After features/support/hooks.rb:515 1.014
After features/support/hooks.rb:326 0.699
After features/support/hooks.rb:100 0.008
11:37.761
Before features/support/hooks.rb:269 0.004
Before features/support/hooks.rb:507 0.004
Given a computer 0.232
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:19.911
And I configure APT to prefer an old version of cowsay 0.026
When I install an old version "3.03+dfsg2-1" of the cowsay package using apt 30.132
And I accept adding "cowsay" to Additional Software 4.461
And Additional Software is correctly configured for package "cowsay" 0.850
And I shutdown Tails and wait for the computer to power off 6.529
And I start Tails from USB drive "__internal" with network unplugged 56.415
And I enable persistence 11.808
# 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.026
And I log in to a new session 36.598
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 42.344
And I revert the APT tweaks that made it prefer an old version of cowsay 0.058
# 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.066
And the network is plugged 0.065
And Tor is ready 22.300
# 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 7.094
And available upgrades have been checked 0.176
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 1.778
And I can open the Additional Software configuration window from the notification 6.003
And I shutdown Tails and wait for the computer to power off 2:3.274
And I start Tails from USB drive "__internal" with network unplugged 59.288
And I enable persistence 10.555
# 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 40.098
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 42.685
And I revert the APT tweaks that made it prefer an old version of cowsay 0.065
And the network is plugged 0.056
And Tor is ready 54.542
Then the Additional Software upgrade service has started 0.192
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.095
After features/support/hooks.rb:515 2.728
After features/support/hooks.rb:326 0.773
After features/support/hooks.rb:100 0.025
21:49.631
Scenario I am notified when Additional Software fails to install a package
Before features/support/hooks.rb:269 0.004
Before features/support/hooks.rb:507 0.004
Steps
Given a computer 0.215
And I start Tails from USB drive "__internal" with network unplugged 1:0.377
And I enable persistence 10.448
And I remove the "cowsay" deb files from the APT cache 0.679
# 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.095
And I log in to a new session 37.633
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 20:0.182
execution expired (RemoteShell::Timeout)
./features/support/helpers/remote_shell.rb:56:in `read'
./features/support/helpers/remote_shell.rb:56:in `block (3 levels) in communicate'
./features/support/helpers/remote_shell.rb:55:in `block (2 levels) in communicate'
./features/support/helpers/remote_shell.rb:42:in `loop'
./features/support/helpers/remote_shell.rb:42:in `block in communicate'
./features/support/helpers/remote_shell.rb:37:in `communicate'
./features/support/helpers/remote_shell.rb:174:in `execute'
./features/support/helpers/remote_shell.rb:185:in `initialize'
./features/support/helpers/dogtail.rb:80:in `new'
./features/support/helpers/dogtail.rb:80:in `run'
./features/support/helpers/dogtail.rb:70:in `initialize'
./features/step_definitions/common_steps.rb:582:in `new'
./features/step_definitions/common_steps.rb:582: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:515 0.033
After features/support/hooks.rb:326 11.215

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

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20268-more-early-patch-functionality/112/artifact/build-artifacts/01:54:07_I_am_notified_when_Additional_Software_fails_to_install_a_package.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20268-more-early-patch-functionality/112/artifact/build-artifacts/01:54:07_I_am_notified_when_Additional_Software_fails_to_install_a_package.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20268-more-early-patch-functionality/112/artifact/build-artifacts/01:54:07_I_am_notified_when_Additional_Software_fails_to_install_a_package.journal

After features/support/hooks.rb:100 0.007