Project Number Date
test_Tails_ISO_stable 5060 31 Aug 2024, 09:05

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:47.317 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:2.117
Before features/support/hooks.rb:269 0.002
Before features/support/hooks.rb:507 0.003
Given I start Tails from a freshly installed USB drive with an administration password and the network is plugged and I login 56.888
And I update APT using apt 12.865
And I install "popularity-contest" using apt 25.949
Then I am proposed to add the "popularity-contest" package to my Additional Software 5.106
When I create a persistent storage and activate the Additional Software feature 21.186
Then Additional Software is correctly configured for package "popularity-contest" 1.352
When I shutdown Tails and wait for the computer to power off 10.557
And I start Tails from USB drive "__internal" with network unplugged 1:0.975
And I enable persistence 21.098
And I log in to a new session 40.475
And the Additional Software installation service has started 42.799
Then I am notified that the installation succeeded 1.732
And Additional Software is correctly configured for package "popularity-contest" 0.862
And the package "popularity-contest" is installed after Additional Software has been started 0.267
After features/support/hooks.rb:515 26.998
After features/support/hooks.rb:326 1.019
After features/support/hooks.rb:100 0.011
2:29.468
Before features/support/hooks.rb:269 0.005
Before features/support/hooks.rb:507 0.006
Given a computer 0.229
And I start Tails from USB drive "__internal" and I login with an administration password 1:45.634
And I update APT using apt 12.788
When I install "makepp" using apt 23.660
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 7.023
And the package "makepp" is installed 0.132
After features/support/hooks.rb:515 27.464
After features/support/hooks.rb:326 2.551
After features/support/hooks.rb:100 0.030
5:0.060
Before features/support/hooks.rb:269 0.006
Before features/support/hooks.rb:507 0.006
Given a computer 0.208
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:14.936
When I uninstall "popularity-contest" using apt 21.871
And I accept removing "popularity-contest" from Additional Software 0.559
Then "popularity-contest" is not in the list of Additional Software 0.776
When I start Synaptic 23.065
And I update APT using Synaptic 22.187
And I install "cowsay" using Synaptic 8.847
And I accept adding "cowsay" to Additional Software 1.202
Then Additional Software is correctly configured for package "cowsay" 0.818
When I uninstall "cowsay" using apt 3.252
And I refuse removing "cowsay" from Additional Software 0.580
Then Additional Software is correctly configured for package "cowsay" 0.809
When I start "Additional Software" via GNOME Activities Overview 10.554
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 4.709
Then "cowsay" is not in the list of Additional Software 1.108
When I install "cowsay" using apt 3.260
And I refuse adding "cowsay" to Additional Software 0.596
Then "cowsay" is not in the list of Additional Software 0.715
After features/support/hooks.rb:515 1.363
After features/support/hooks.rb:326 0.734
After features/support/hooks.rb:100 0.009
11:20.586
Before features/support/hooks.rb:269 0.004
Before features/support/hooks.rb:507 0.006
Given a computer 0.213
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:18.486
And I configure APT to prefer an old version of cowsay 0.033
When I install an old version "3.03+dfsg2-1" of the cowsay package using apt 25.804
And I accept adding "cowsay" to Additional Software 5.327
And Additional Software is correctly configured for package "cowsay" 0.877
And I shutdown Tails and wait for the computer to power off 6.478
And I start Tails from USB drive "__internal" with network unplugged 1:1.239
And I enable persistence 13.206
# 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 39.663
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 31.569
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.068
And the network is plugged 0.078
And Tor is ready 16.062
# 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.722
And available upgrades have been checked 0.128
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 1.495
And I can open the Additional Software configuration window from the notification 3.334
And I shutdown Tails and wait for the computer to power off 2:2.149
And I start Tails from USB drive "__internal" with network unplugged 1:0.872
And I enable persistence 12.981
# 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 46.173
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 42.588
And I revert the APT tweaks that made it prefer an old version of cowsay 0.060
And the network is plugged 0.085
And Tor is ready 43.481
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.093
After features/support/hooks.rb:515 2.581
After features/support/hooks.rb:326 0.717
After features/support/hooks.rb:100 0.026
21:55.085
Scenario I am notified when Additional Software fails to install a package
Before features/support/hooks.rb:269 0.005
Before features/support/hooks.rb:507 0.004
Steps
Given a computer 0.217
And I start Tails from USB drive "__internal" with network unplugged 1:1.272
And I enable persistence 12.574
And I remove the "cowsay" deb files from the APT cache 0.849
# 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.091
And I log in to a new session 39.927
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 20:0.152
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:591:in `new'
./features/step_definitions/common_steps.rb:591: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.043
After features/support/hooks.rb:326 11.050

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

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5060/artifact/build-artifacts/01:53:02_I_am_notified_when_Additional_Software_fails_to_install_a_package.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5060/artifact/build-artifacts/01:53:02_I_am_notified_when_Additional_Software_fails_to_install_a_package.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5060/artifact/build-artifacts/01:53:02_I_am_notified_when_Additional_Software_fails_to_install_a_package.journal

After features/support/hooks.rb:100 0.019