Project Number Date
test_Tails_ISO_20268-more-early-patch-functionality 84 25 May 2024, 19:07

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 46:25.191 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:13.264
Before features/support/hooks.rb:259 0.002
Before features/support/hooks.rb:456 0.011
Given I start Tails from a freshly installed USB drive with an administration password and the network is plugged and I login 57.837
And I update APT using apt 18.371
And I install "popularity-contest" using apt 22.553
Then I am proposed to add the "popularity-contest" package to my Additional Software 8.532
When I create a persistent storage and activate the Additional Software feature 22.697
Then Additional Software is correctly configured for package "popularity-contest" 1.438
When I shutdown Tails and wait for the computer to power off 10.650
And I start Tails from USB drive "__internal" with network unplugged 1:1.107
And I enable persistence 27.320
And I log in to a new session 37.862
And the Additional Software installation service has started 41.460
Then I am notified that the installation succeeded 2.240
And Additional Software is correctly configured for package "popularity-contest" 0.838
And the package "popularity-contest" is installed after Additional Software has been started 0.353
After features/support/hooks.rb:464 37.966
After features/support/hooks.rb:305 1.337
After features/support/hooks.rb:89 0.013
2:37.144
Before features/support/hooks.rb:259 0.005
Before features/support/hooks.rb:456 0.006
Given a computer 0.223
And I start Tails from USB drive "__internal" and I login with an administration password 1:49.059
And I update APT using apt 18.984
When I install "makepp" using apt 22.421
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 6.358
And the package "makepp" is installed 0.095
After features/support/hooks.rb:464 40.167
After features/support/hooks.rb:305 1.061
After features/support/hooks.rb:89 0.015
5:9.674
Before features/support/hooks.rb:259 0.005
Before features/support/hooks.rb:456 0.006
Given a computer 0.226
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:15.070
When I uninstall "popularity-contest" using apt 22.200
And I accept removing "popularity-contest" from Additional Software 0.620
Then "popularity-contest" is not in the list of Additional Software 0.820
When I start Synaptic 28.676
And I update APT using Synaptic 22.114
And I install "cowsay" using Synaptic 11.937
And I accept adding "cowsay" to Additional Software 1.769
Then Additional Software is correctly configured for package "cowsay" 0.972
When I uninstall "cowsay" using apt 3.243
And I refuse removing "cowsay" from Additional Software 0.553
Then Additional Software is correctly configured for package "cowsay" 0.790
When I start "Additional Software" via GNOME Activities Overview 10.438
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 4.864
Then "cowsay" is not in the list of Additional Software 0.921
When I install "cowsay" using apt 3.235
And I refuse adding "cowsay" to Additional Software 0.562
Then "cowsay" is not in the list of Additional Software 0.653
After features/support/hooks.rb:464 0.994
After features/support/hooks.rb:305 0.720
After features/support/hooks.rb:89 0.008
11:36.185
Before features/support/hooks.rb:259 0.004
Before features/support/hooks.rb:456 0.005
Given a computer 0.176
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:21.142
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 27.013
And I accept adding "cowsay" to Additional Software 6.570
And Additional Software is correctly configured for package "cowsay" 1.148
And I shutdown Tails and wait for the computer to power off 6.472
And I start Tails from USB drive "__internal" with network unplugged 59.228
And I enable persistence 12.781
# 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.030
And I log in to a new session 36.442
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 41.420
And I revert the APT tweaks that made it prefer an old version of cowsay 0.064
# 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.065
And the network is plugged 0.056
And Tor is ready 20.181
# 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.200
And available upgrades have been checked 0.200
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 3.031
And I can open the Additional Software configuration window from the notification 3.440
And I shutdown Tails and wait for the computer to power off 2:2.644
And I start Tails from USB drive "__internal" with network unplugged 59.484
And I enable persistence 12.714
# 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.021
And I log in to a new session 40.659
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 41.165
And I revert the APT tweaks that made it prefer an old version of cowsay 0.055
And the network is plugged 0.127
And Tor is ready 52.334
Then the Additional Software upgrade service has started 0.181
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.094
After features/support/hooks.rb:464 2.330
After features/support/hooks.rb:305 0.910
After features/support/hooks.rb:89 0.029
21:48.923
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.006
Steps
Given a computer 0.254
And I start Tails from USB drive "__internal" with network unplugged 58.506
And I enable persistence 13.097
And I remove the "cowsay" deb files from the APT cache 0.681
# 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.092
And I log in to a new session 36.104
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 20:0.186
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: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.046
After features/support/hooks.rb:305 9.886

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

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20268-more-early-patch-functionality/84/artifact/build-artifacts/01:55:12_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/84/artifact/build-artifacts/01:55:12_I_am_notified_when_Additional_Software_fails_to_install_a_package.mkv

After features/support/hooks.rb:89 0.009