Project Number Date
test_Tails_ISO_feature-arti 89 12 Jun 2025, 17:19

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 50:17.642 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
6:40.025
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Before features/support/hooks.rb:509 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:5.520
And I update APT using apt 50.481
And I install "popularity-contest" using apt 26.479
Then I am proposed to add the "popularity-contest" package to my Additional Software 7.928
When I create a persistent storage and activate the Additional Software feature 25.357
Then Additional Software is correctly configured for package "popularity-contest" 3.335
When I shutdown Tails and wait for the computer to power off 15.902
And I start Tails from USB drive "__internal" with network unplugged 1:15.742
And I enable persistence 37.384
And I log in to a new session 46.788
And the Additional Software installation service has started 42.063
Then I am notified that the installation succeeded 1.683
And Additional Software is correctly configured for package "popularity-contest" 1.018
And the package "popularity-contest" is installed after Additional Software has been started 0.338
After features/support/hooks.rb:517 16.878
After features/support/hooks.rb:330 2.336
After features/support/hooks.rb:100 0.014
3:6.542
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Before features/support/hooks.rb:509 0.008
Given a computer 0.214
And I start Tails from USB drive "__internal" and I login with an administration password 1:50.859
And I update APT using apt 44.163
When I install "makepp" using apt 26.757
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 4.468
And the package "makepp" is installed 0.078
After features/support/hooks.rb:517 17.432
After features/support/hooks.rb:330 1.064
After features/support/hooks.rb:100 0.011
5:24.599
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Before features/support/hooks.rb:509 0.004
Given a computer 0.240
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:30.710
When I uninstall "popularity-contest" using apt 21.905
And I accept removing "popularity-contest" from Additional Software 0.639
Then "popularity-contest" is not in the list of Additional Software 0.769
When I start Synaptic 23.727
And I update APT using Synaptic 23.051
And I install "cowsay" using Synaptic 14.036
And I accept adding "cowsay" to Additional Software 0.768
Then Additional Software is correctly configured for package "cowsay" 0.947
When I uninstall "cowsay" using apt 3.267
And I refuse removing "cowsay" from Additional Software 0.684
Then Additional Software is correctly configured for package "cowsay" 0.955
When I start "Additional Software" via GNOME Activities Overview 10.980
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 5.883
Then "cowsay" is not in the list of Additional Software 1.204
When I install "cowsay" using apt 3.349
And I refuse adding "cowsay" to Additional Software 0.650
Then "cowsay" is not in the list of Additional Software 0.827
After features/support/hooks.rb:517 1.325
After features/support/hooks.rb:330 1.089
After features/support/hooks.rb:100 0.012
13:1.461
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Before features/support/hooks.rb:509 0.008
Given a computer 1.341
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:45.089
And I configure APT to prefer an old version of cowsay 0.046
When I install an old version "3.03+dfsg2-1" of the cowsay package using apt 30.433
And I accept adding "cowsay" to Additional Software 5.760
And Additional Software is correctly configured for package "cowsay" 1.235
And I shutdown Tails and wait for the computer to power off 8.802
And I start Tails from USB drive "__internal" with network unplugged 1:6.933
And I enable persistence 14.091
# 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.035
# 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.097
And I log in to a new session 47.437
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 41.356
And I revert the APT tweaks that made it prefer an old version of cowsay 0.050
# 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.114
And the network is plugged 0.069
And Tor is ready 46.937
And available upgrades have been checked 0.072
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 0.889
And I can open the Additional Software configuration window from the notification 2.827
And I shutdown Tails and wait for the computer to power off 2:2.177
And I start Tails from USB drive "__internal" with network unplugged 1:5.788
And I enable persistence 17.141
# 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.039
And I log in to a new session 45.534
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 42.033
And I revert the APT tweaks that made it prefer an old version of cowsay 0.048
And the network is plugged 0.110
And Tor is ready 54.631
Then the Additional Software upgrade service has started 0.204
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.127
After features/support/hooks.rb:517 2.372
After features/support/hooks.rb:330 1.047
After features/support/hooks.rb:100 0.033
22:5.013
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.006
Before features/support/hooks.rb:509 0.006
Steps
Given a computer 0.287
And I start Tails from USB drive "__internal" with network unplugged 1:7.176
And I enable persistence 13.728
And I remove the "cowsay" deb files from the APT cache 0.061
# 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.094
And I log in to a new session 43.424
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 20:0.240
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:606:in `new'
./features/step_definitions/common_steps.rb:606: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:517 0.062
After features/support/hooks.rb:330 11.344

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

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/89/artifact/build-artifacts/02:47:23_I_am_notified_when_Additional_Software_fails_to_install_a_package.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/89/artifact/build-artifacts/02:47:23_I_am_notified_when_Additional_Software_fails_to_install_a_package.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/89/artifact/build-artifacts/02:47:23_I_am_notified_when_Additional_Software_fails_to_install_a_package.journal

After features/support/hooks.rb:100 0.025