Project Number Date
test_Tails_ISO_stable 5764 09 Jul 2025, 14:22

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 51:55.506 Failed
Feature Additional software
As a Tails user I may want to install software not shipped in Tails And have them installed automatically when I enable persistence in the Greeter
6:51.531
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Before features/support/hooks.rb:507 0.004
Given I start Tails from a freshly installed USB drive with an administration password and the network is plugged and I login 1:17.267
And I update APT using apt 19.682
And I install "popularity-contest" using apt 27.088
Then I am proposed to add the "popularity-contest" package to my Additional Software 11.602
When I create a persistent storage and activate the Additional Software feature 27.964
Then Additional Software is correctly configured for package "popularity-contest" 4.097
When I shutdown Tails and wait for the computer to power off 16.809
And I start Tails from USB drive "__internal" with network unplugged 1:30.432
And I enable persistence 30.575
And I log in to a new session 56.460
And the Additional Software installation service has started 41.858
Then I am notified that the installation succeeded 2.022
And Additional Software is correctly configured for package "popularity-contest" 5.047
And the package "popularity-contest" is installed after Additional Software has been started 0.621
After features/support/hooks.rb:515 30.359
After features/support/hooks.rb:330 2.787
After features/support/hooks.rb:100 0.011
3:20.955
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Before features/support/hooks.rb:507 0.005
Given a computer 0.234
And I start Tails from USB drive "__internal" and I login with an administration password 2:30.764
And I update APT using apt 16.699
When I install "makepp" using apt 26.650
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 6.540
And the package "makepp" is installed 0.066
After features/support/hooks.rb:515 30.351
After features/support/hooks.rb:330 1.541
After features/support/hooks.rb:100 0.015
6:47.146
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Before features/support/hooks.rb:507 0.008
Given a computer 0.204
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 4:22.635
When I uninstall "popularity-contest" using apt 27.301
And I accept removing "popularity-contest" from Additional Software 4.339
Then "popularity-contest" is not in the list of Additional Software 1.532
When I start Synaptic 33.731
And I update APT using Synaptic 25.693
And I install "cowsay" using Synaptic 18.300
And I accept adding "cowsay" to Additional Software 2.910
Then Additional Software is correctly configured for package "cowsay" 2.028
When I uninstall "cowsay" using apt 3.332
And I refuse removing "cowsay" from Additional Software 0.584
Then Additional Software is correctly configured for package "cowsay" 0.978
When I start "Additional Software" via GNOME Activities Overview 11.418
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 6.191
Then "cowsay" is not in the list of Additional Software 1.004
When I install "cowsay" using apt 3.238
And I refuse adding "cowsay" to Additional Software 0.634
Then "cowsay" is not in the list of Additional Software 1.085
After features/support/hooks.rb:515 0.690
After features/support/hooks.rb:330 2.489
After features/support/hooks.rb:100 0.050
12:23.336
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.028
Before features/support/hooks.rb:507 0.055
Given a computer 0.892
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:10.929
And I configure APT to prefer an old version of cowsay 0.031
When I install an old version "3.03+dfsg2-1" of the cowsay package using apt 35.118
And I accept adding "cowsay" to Additional Software 6.815
And Additional Software is correctly configured for package "cowsay" 1.189
And I shutdown Tails and wait for the computer to power off 9.627
And I start Tails from USB drive "__internal" with network unplugged 1:23.499
And I enable persistence 19.902
# 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.038
# 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.090
And I log in to a new session 48.204
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 43.157
And I revert the APT tweaks that made it prefer an old version of cowsay 0.314
# 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.254
And the network is plugged 0.151
And Tor is ready 28.669
And available upgrades have been checked 0.064
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 3.892
And I can open the Additional Software configuration window from the notification 3.759
And I shutdown Tails and wait for the computer to power off 14.000
And I start Tails from USB drive "__internal" with network unplugged 1:18.007
And I enable persistence 16.879
# 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.071
And I log in to a new session 48.112
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 42.729
And I revert the APT tweaks that made it prefer an old version of cowsay 0.080
And the network is plugged 0.100
And Tor is ready 1:4.655
Then the Additional Software upgrade service has started 1.599
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.493
After features/support/hooks.rb:515 2.666
After features/support/hooks.rb:330 0.802
After features/support/hooks.rb:100 0.036
22:32.536
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.011
Before features/support/hooks.rb:507 0.008
Steps
Given a computer 0.218
And I start Tails from USB drive "__internal" with network unplugged 1:22.904
And I enable persistence 17.094
And I remove the "cowsay" deb files from the APT cache 0.057
# 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.126
And I log in to a new session 51.409
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 20:0.723
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:595:in `new'
./features/step_definitions/common_steps.rb:595: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:515 0.072
After features/support/hooks.rb:330 11.237

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

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5764/artifact/build-artifacts/02:19:49_I_am_notified_when_Additional_Software_fails_to_install_a_package.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5764/artifact/build-artifacts/02:19:49_I_am_notified_when_Additional_Software_fails_to_install_a_package.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5764/artifact/build-artifacts/02:19:49_I_am_notified_when_Additional_Software_fails_to_install_a_package.journal

After features/support/hooks.rb:100 0.016