Project Number Date
test_Tails_ISO_20263-test-suite-disable-spice-vdagent 7 12 Mar 2025, 17:32

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 47:34.040 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:12.681
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Before features/support/hooks.rb:511 0.003
Given I start Tails from a freshly installed USB drive with an administration password and the network is plugged and I login 58.271
And I update APT using apt 12.256
And I install "popularity-contest" using apt 22.282
Then I am proposed to add the "popularity-contest" package to my Additional Software 7.726
When I create a persistent storage and activate the Additional Software feature 21.409
Then Additional Software is correctly configured for package "popularity-contest" 1.364
When I shutdown Tails and wait for the computer to power off 15.215
And I start Tails from USB drive "__internal" with network unplugged 1:17.178
And I enable persistence 22.275
And I log in to a new session 40.474
And the Additional Software installation service has started 31.550
Then I am notified that the installation succeeded 1.592
And Additional Software is correctly configured for package "popularity-contest" 0.816
And the package "popularity-contest" is installed after Additional Software has been started 0.267
After features/support/hooks.rb:519 13.526
After features/support/hooks.rb:330 2.092
After features/support/hooks.rb:100 0.022
2:38.595
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Before features/support/hooks.rb:511 0.004
Given a computer 0.187
And I start Tails from USB drive "__internal" and I login with an administration password 1:56.936
And I update APT using apt 11.816
When I install "makepp" using apt 22.869
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 6.701
And the package "makepp" is installed 0.083
After features/support/hooks.rb:519 14.537
After features/support/hooks.rb:330 0.963
After features/support/hooks.rb:100 0.011
5:13.438
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Before features/support/hooks.rb:511 0.006
Given a computer 0.211
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:28.800
When I uninstall "popularity-contest" using apt 21.824
And I accept removing "popularity-contest" from Additional Software 0.636
Then "popularity-contest" is not in the list of Additional Software 0.687
When I start Synaptic 22.314
And I update APT using Synaptic 21.991
And I install "cowsay" using Synaptic 9.017
And I accept adding "cowsay" to Additional Software 2.018
Then Additional Software is correctly configured for package "cowsay" 0.814
When I uninstall "cowsay" using apt 3.253
And I refuse removing "cowsay" from Additional Software 0.571
Then Additional Software is correctly configured for package "cowsay" 0.783
When I start "Additional Software" via GNOME Activities Overview 10.546
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 4.664
Then "cowsay" is not in the list of Additional Software 0.825
When I install "cowsay" using apt 3.199
And I refuse adding "cowsay" to Additional Software 0.573
Then "cowsay" is not in the list of Additional Software 0.703
After features/support/hooks.rb:519 0.542
After features/support/hooks.rb:330 0.762
After features/support/hooks.rb:100 0.008
12:24.600
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Before features/support/hooks.rb:511 0.006
Given a computer 0.201
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:38.291
And I configure APT to prefer an old version of cowsay 0.028
When I install an old version "3.03+dfsg2-1" of the cowsay package using apt 25.947
And I accept adding "cowsay" to Additional Software 5.621
And Additional Software is correctly configured for package "cowsay" 0.834
And I shutdown Tails and wait for the computer to power off 6.218
And I start Tails from USB drive "__internal" with network unplugged 1:15.664
And I enable persistence 10.832
# 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.027
# 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.081
And I log in to a new session 39.382
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 41.171
And I revert the APT tweaks that made it prefer an old version of cowsay 0.070
# 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.083
And the network is plugged 0.075
And Tor is ready 21.173
And available upgrades have been checked 1.193
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 3.209
And I can open the Additional Software configuration window from the notification 2.767
And I shutdown Tails and wait for the computer to power off 2:7.316
And I start Tails from USB drive "__internal" with network unplugged 1:15.943
And I enable persistence 11.845
# 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.028
And I log in to a new session 38.971
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 41.874
And I revert the APT tweaks that made it prefer an old version of cowsay 0.064
And the network is plugged 0.103
And Tor is ready 55.293
Then the Additional Software upgrade service has started 0.186
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.096
After features/support/hooks.rb:519 1.396
After features/support/hooks.rb:330 0.673
After features/support/hooks.rb:100 0.028
22:4.724
Scenario I am notified when Additional Software fails to install a package
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Before features/support/hooks.rb:511 0.006
Steps
Given a computer 0.202
And I start Tails from USB drive "__internal" with network unplugged 1:15.639
And I enable persistence 9.884
And I remove the "cowsay" deb files from the APT cache 0.101
# 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.068
And I log in to a new session 38.528
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 20:0.300
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:550:in `new'
./features/step_definitions/common_steps.rb:550:in `/^I see the "(.+)" notification(?: after at most (\d+) seconds)?$/'
features/additional_software_packages.feature:129: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:519 0.047
After features/support/hooks.rb:330 10.896

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

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20263-test-suite-disable-spice-vdagent/7/artifact/build-artifacts/01:54:41_I_am_notified_when_Additional_Software_fails_to_install_a_package.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20263-test-suite-disable-spice-vdagent/7/artifact/build-artifacts/01:54:41_I_am_notified_when_Additional_Software_fails_to_install_a_package.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20263-test-suite-disable-spice-vdagent/7/artifact/build-artifacts/01:54:41_I_am_notified_when_Additional_Software_fails_to_install_a_package.journal

After features/support/hooks.rb:100 0.008