Project Number Date
test_Tails_ISO_devel 3379 08 May 2024, 12:56

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Additional software 81 1 2 0 0 84 5 1 6 50:44.006 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:10.568
Before features/support/hooks.rb:259 0.002
Before features/support/hooks.rb:456 0.003
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:36.739
And I update APT using apt 24.061
When I install "popularity-contest" using apt 26.144
Then I am notified I can not use Additional Software for "popularity-contest" 9.684
And I can open the Additional Software documentation from the notification 33.937
After features/support/hooks.rb:464 41.282
After features/support/hooks.rb:305 3.093
After features/support/hooks.rb:89 0.004
6:1.375
Before features/support/hooks.rb:259 0.005
Before features/support/hooks.rb:456 0.006
Given I start Tails from a freshly installed USB drive with an administration password and the network is plugged and I login 1:33.362
And I update APT using apt 18.224
And I install "popularity-contest" using apt 26.255
Then I am proposed to add the "popularity-contest" package to my Additional Software 8.606
When I create a persistent storage and activate the Additional Software feature 27.330
Then Additional Software is correctly configured for package "popularity-contest" 1.798
When I shutdown Tails and wait for the computer to power off 14.967
And I start Tails from USB drive "__internal" with network unplugged 1:3.033
And I enable persistence 26.121
And I log in to a new session 36.938
And the Additional Software installation service has started 41.285
Then I am notified that the installation succeeded 2.416
And Additional Software is correctly configured for package "popularity-contest" 0.797
And the package "popularity-contest" is installed after Additional Software has been started 0.237
After features/support/hooks.rb:464 37.260
After features/support/hooks.rb:305 1.220
After features/support/hooks.rb:89 0.031
2:29.855
Before features/support/hooks.rb:259 0.013
Before features/support/hooks.rb:456 0.008
Given a computer 0.207
And I start Tails from USB drive "__internal" and I login with an administration password 1:42.663
And I update APT using apt 16.968
When I install "makepp" using apt 25.556
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 4.336
And the package "makepp" is installed 0.123
After features/support/hooks.rb:464 39.589
After features/support/hooks.rb:305 0.832
After features/support/hooks.rb:89 0.014
5:13.603
Before features/support/hooks.rb:259 0.007
Before features/support/hooks.rb:456 0.006
Given a computer 0.221
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:18.676
When I uninstall "popularity-contest" using apt 22.176
And I accept removing "popularity-contest" from Additional Software 1.931
Then "popularity-contest" is not in the list of Additional Software 0.672
When I start Synaptic 26.540
And I update APT using Synaptic 22.586
And I install "cowsay" using Synaptic 12.420
And I accept adding "cowsay" to Additional Software 1.310
Then Additional Software is correctly configured for package "cowsay" 0.933
When I uninstall "cowsay" using apt 3.299
And I refuse removing "cowsay" from Additional Software 0.792
Then Additional Software is correctly configured for package "cowsay" 0.952
When I start "Additional Software" via GNOME Activities Overview 10.879
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 4.912
Then "cowsay" is not in the list of Additional Software 0.837
When I install "cowsay" using apt 3.214
And I refuse adding "cowsay" to Additional Software 0.564
Then "cowsay" is not in the list of Additional Software 0.681
After features/support/hooks.rb:464 1.031
After features/support/hooks.rb:305 0.774
After features/support/hooks.rb:89 0.009
11:56.493
Before features/support/hooks.rb:259 0.006
Before features/support/hooks.rb:456 0.008
Given a computer 0.317
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:25.884
And I configure APT to prefer an old version of cowsay 0.029
When I install an old version "3.03+dfsg2-1" of the cowsay package using apt 26.552
And I accept adding "cowsay" to Additional Software 9.691
And Additional Software is correctly configured for package "cowsay" 0.946
And I shutdown Tails and wait for the computer to power off 8.712
And I start Tails from USB drive "__internal" with network unplugged 1:2.092
And I enable persistence 14.339
# 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 35.437
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 41.230
And I revert the APT tweaks that made it prefer an old version of cowsay 0.066
# 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.061
And Tor is ready 21.208
# 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.827
And available upgrades have been checked 0.168
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 3.810
And I can open the Additional Software configuration window from the notification 4.836
And I shutdown Tails and wait for the computer to power off 2:7.266
And I start Tails from USB drive "__internal" with network unplugged 59.462
And I enable persistence 13.044
# 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 37.626
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 41.744
And I revert the APT tweaks that made it prefer an old version of cowsay 0.048
And the network is plugged 0.052
And Tor is ready 53.644
Then the Additional Software upgrade service has started 0.184
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.082
After features/support/hooks.rb:464 2.211
After features/support/hooks.rb:305 1.375
After features/support/hooks.rb:89 0.063
21:52.110
Scenario I am notified when Additional Software fails to install a package
Before features/support/hooks.rb:259 0.007
Before features/support/hooks.rb:456 0.009
Steps
Given a computer 0.195
And I start Tails from USB drive "__internal" with network unplugged 59.104
And I enable persistence 14.235
And I remove the "cowsay" deb files from the APT cache 0.669
# 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.089
And I log in to a new session 37.695
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 20:0.120
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.039
After features/support/hooks.rb:305 10.196

SCENARIO FAILED: 'I am notified when Additional Software fails to install a package' (at time 02:00:20)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3379/artifact/build-artifacts/02:00:20_I_am_notified_when_Additional_Software_fails_to_install_a_package.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3379/artifact/build-artifacts/02:00:20_I_am_notified_when_Additional_Software_fails_to_install_a_package.mkv

After features/support/hooks.rb:89 0.011