Project Number Date
test_Tails_ISO_stable 5673 24 May 2025, 13:14

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:36.515 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:7.285
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Before features/support/hooks.rb:513 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:3.120
And I update APT using apt 12.139
And I install "popularity-contest" using apt 23.017
Then I am proposed to add the "popularity-contest" package to my Additional Software 8.526
When I create a persistent storage and activate the Additional Software feature 21.960
Then Additional Software is correctly configured for package "popularity-contest" 2.900
When I shutdown Tails and wait for the computer to power off 12.042
And I start Tails from USB drive "__internal" with network unplugged 1:4.157
And I enable persistence 22.302
And I log in to a new session 42.953
And the Additional Software installation service has started 31.293
Then I am notified that the installation succeeded 1.754
And Additional Software is correctly configured for package "popularity-contest" 0.873
And the package "popularity-contest" is installed after Additional Software has been started 0.241
After features/support/hooks.rb:521 16.666
After features/support/hooks.rb:330 2.617
After features/support/hooks.rb:100 0.029
2:33.179
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.013
Before features/support/hooks.rb:513 0.015
Given a computer 0.773
And I start Tails from USB drive "__internal" and I login with an administration password 1:50.649
And I update APT using apt 12.118
When I install "makepp" using apt 22.981
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 6.580
And the package "makepp" is installed 0.076
After features/support/hooks.rb:521 15.499
After features/support/hooks.rb:330 1.423
After features/support/hooks.rb:100 0.022
5:31.213
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Before features/support/hooks.rb:513 0.004
Given a computer 0.230
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:37.722
When I uninstall "popularity-contest" using apt 22.013
And I accept removing "popularity-contest" from Additional Software 0.631
Then "popularity-contest" is not in the list of Additional Software 0.872
When I start Synaptic 25.636
And I update APT using Synaptic 23.698
And I install "cowsay" using Synaptic 9.808
And I accept adding "cowsay" to Additional Software 2.308
Then Additional Software is correctly configured for package "cowsay" 0.862
When I uninstall "cowsay" using apt 3.222
And I refuse removing "cowsay" from Additional Software 0.621
Then Additional Software is correctly configured for package "cowsay" 0.970
When I start "Additional Software" via GNOME Activities Overview 10.996
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 5.510
Then "cowsay" is not in the list of Additional Software 1.410
When I install "cowsay" using apt 3.226
And I refuse adding "cowsay" to Additional Software 0.719
Then "cowsay" is not in the list of Additional Software 0.752
After features/support/hooks.rb:521 0.849
After features/support/hooks.rb:330 0.825
After features/support/hooks.rb:100 0.009
10:25.192
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Before features/support/hooks.rb:513 0.004
Given a computer 0.211
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:40.154
And I configure APT to prefer an old version of cowsay 0.038
When I install an old version "3.03+dfsg2-1" of the cowsay package using apt 29.431
And I accept adding "cowsay" to Additional Software 5.081
And Additional Software is correctly configured for package "cowsay" 0.997
And I shutdown Tails and wait for the computer to power off 6.487
And I start Tails from USB drive "__internal" with network unplugged 1:4.349
And I enable persistence 14.210
# 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.032
# 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.085
And I log in to a new session 44.697
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 42.162
And I revert the APT tweaks that made it prefer an old version of cowsay 0.063
# 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.094
And the network is plugged 0.129
And Tor is ready 19.204
And available upgrades have been checked 0.069
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 9.084
And I can open the Additional Software configuration window from the notification 3.901
And I shutdown Tails and wait for the computer to power off 15.374
And I start Tails from USB drive "__internal" with network unplugged 1:4.128
And I enable persistence 13.185
# 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 35.855
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 41.092
And I revert the APT tweaks that made it prefer an old version of cowsay 0.065
And the network is plugged 0.066
And Tor is ready 54.584
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.147
After features/support/hooks.rb:521 1.557
After features/support/hooks.rb:330 0.902
After features/support/hooks.rb:100 0.036
21:59.645
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:513 0.004
Steps
Given a computer 0.242
And I start Tails from USB drive "__internal" with network unplugged 1:2.224
And I enable persistence 15.147
And I remove the "cowsay" deb files from the APT cache 0.074
# 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.684
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 20:0.165
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:521 0.036
After features/support/hooks.rb:330 10.873

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

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5673/artifact/build-artifacts/01:49:54_I_am_notified_when_Additional_Software_fails_to_install_a_package.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5673/artifact/build-artifacts/01:49:54_I_am_notified_when_Additional_Software_fails_to_install_a_package.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5673/artifact/build-artifacts/01:49:54_I_am_notified_when_Additional_Software_fails_to_install_a_package.journal

After features/support/hooks.rb:100 0.010