Project Number Date
test_Tails_ISO_stable 5112 24 Sep 2024, 09:09

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:39.236 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:10.152
Before features/support/hooks.rb:269 0.003
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 1:0.581
And I update APT using apt 12.421
And I install "popularity-contest" using apt 25.739
Then I am proposed to add the "popularity-contest" package to my Additional Software 5.121
When I create a persistent storage and activate the Additional Software feature 21.540
Then Additional Software is correctly configured for package "popularity-contest" 1.472
When I shutdown Tails and wait for the computer to power off 10.599
And I start Tails from USB drive "__internal" with network unplugged 1:0.080
And I enable persistence 24.548
And I log in to a new session 43.940
And the Additional Software installation service has started 41.225
Then I am notified that the installation succeeded 1.646
And Additional Software is correctly configured for package "popularity-contest" 0.940
And the package "popularity-contest" is installed after Additional Software has been started 0.293
After features/support/hooks.rb:515 27.065
After features/support/hooks.rb:326 1.575
After features/support/hooks.rb:100 0.012
2:27.368
Before features/support/hooks.rb:269 0.005
Before features/support/hooks.rb:507 0.006
Given a computer 0.300
And I start Tails from USB drive "__internal" and I login with an administration password 1:43.418
And I update APT using apt 13.072
When I install "makepp" using apt 26.035
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 4.448
And the package "makepp" is installed 0.092
After features/support/hooks.rb:515 26.513
After features/support/hooks.rb:326 1.123
After features/support/hooks.rb:100 0.011
5:9.249
Before features/support/hooks.rb:269 0.006
Before features/support/hooks.rb:507 0.004
Given a computer 0.318
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:20.566
When I uninstall "popularity-contest" using apt 18.799
And I accept removing "popularity-contest" from Additional Software 1.965
Then "popularity-contest" is not in the list of Additional Software 0.725
When I start Synaptic 23.550
And I update APT using Synaptic 22.712
And I install "cowsay" using Synaptic 10.869
And I accept adding "cowsay" to Additional Software 1.291
Then Additional Software is correctly configured for package "cowsay" 0.850
When I uninstall "cowsay" using apt 3.214
And I refuse removing "cowsay" from Additional Software 0.657
Then Additional Software is correctly configured for package "cowsay" 0.924
When I start "Additional Software" via GNOME Activities Overview 10.861
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 6.313
Then "cowsay" is not in the list of Additional Software 1.015
When I install "cowsay" using apt 3.245
And I refuse adding "cowsay" to Additional Software 0.630
Then "cowsay" is not in the list of Additional Software 0.735
After features/support/hooks.rb:515 1.182
After features/support/hooks.rb:326 1.002
After features/support/hooks.rb:100 0.010
11:51.487
Before features/support/hooks.rb:269 0.006
Before features/support/hooks.rb:507 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 2:26.683
And I configure APT to prefer an old version of cowsay 0.027
When I install an old version "3.03+dfsg2-1" of the cowsay package using apt 29.604
And I accept adding "cowsay" to Additional Software 4.580
And Additional Software is correctly configured for package "cowsay" 0.966
And I shutdown Tails and wait for the computer to power off 6.813
And I start Tails from USB drive "__internal" with network unplugged 1:0.913
And I enable persistence 11.983
# 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.029
And I log in to a new session 37.331
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 41.850
And I revert the APT tweaks that made it prefer an old version of cowsay 0.072
# 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.107
And the network is plugged 0.073
And Tor is ready 24.288
# 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.439
And available upgrades have been checked 0.060
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 1.220
And I can open the Additional Software configuration window from the notification 3.365
And I shutdown Tails and wait for the computer to power off 2:4.195
And I start Tails from USB drive "__internal" with network unplugged 1:2.152
And I enable persistence 12.833
# 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.040
And I log in to a new session 43.100
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 41.069
And I revert the APT tweaks that made it prefer an old version of cowsay 0.074
And the network is plugged 0.076
And Tor is ready 51.008
Then the Additional Software upgrade service has started 0.175
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.120
After features/support/hooks.rb:515 2.785
After features/support/hooks.rb:326 0.730
After features/support/hooks.rb:100 0.027
22:0.978
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.005
Steps
Given a computer 0.229
And I start Tails from USB drive "__internal" with network unplugged 1:1.077
And I enable persistence 16.966
And I remove the "cowsay" deb files from the APT cache 0.847
# 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.105
And I log in to a new session 41.522
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 20:0.229
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.037
After features/support/hooks.rb:326 10.841

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

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5112/artifact/build-artifacts/01:56:28_I_am_notified_when_Additional_Software_fails_to_install_a_package.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5112/artifact/build-artifacts/01:56:28_I_am_notified_when_Additional_Software_fails_to_install_a_package.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5112/artifact/build-artifacts/01:56:28_I_am_notified_when_Additional_Software_fails_to_install_a_package.journal

After features/support/hooks.rb:100 0.011