Project Number Date
test_Tails_ISO_10422-tor-browser-in-flatpak 20 15 Feb 2025, 05:26

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:57.905 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
4:52.067
Before features/support/hooks.rb:269 0.002
Before features/support/hooks.rb:507 0.002
Given I start Tails from a freshly installed USB drive with an administration password and the network is plugged and I login 55.675
And I update APT using apt 12.296
And I install "popularity-contest" using apt 23.087
Then I am proposed to add the "popularity-contest" package to my Additional Software 7.062
When I create a persistent storage and activate the Additional Software feature 17.981
Then Additional Software is correctly configured for package "popularity-contest" 2.635
When I shutdown Tails and wait for the computer to power off 12.699
And I start Tails from USB drive "__internal" with network unplugged 1:1.917
And I enable persistence 22.407
And I log in to a new session 40.979
And the Additional Software installation service has started 32.263
Then I am notified that the installation succeeded 1.903
And Additional Software is correctly configured for package "popularity-contest" 0.878
And the package "popularity-contest" is installed after Additional Software has been started 0.279
After features/support/hooks.rb:515 14.224
After features/support/hooks.rb:326 1.206
After features/support/hooks.rb:100 0.012
2:36.566
Before features/support/hooks.rb:269 0.004
Before features/support/hooks.rb:507 0.004
Given a computer 0.218
And I start Tails from USB drive "__internal" and I login with an administration password 1:54.059
And I update APT using apt 11.929
When I install "makepp" using apt 23.642
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 6.619
And the package "makepp" is installed 0.096
After features/support/hooks.rb:515 17.221
After features/support/hooks.rb:326 1.411
After features/support/hooks.rb:100 0.016
5:0.760
Before features/support/hooks.rb:269 0.006
Before features/support/hooks.rb:507 0.007
Given a computer 0.326
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:16.562
When I uninstall "popularity-contest" using apt 18.817
And I accept removing "popularity-contest" from Additional Software 1.948
Then "popularity-contest" is not in the list of Additional Software 0.735
When I start Synaptic 22.226
And I update APT using Synaptic 22.557
And I install "cowsay" using Synaptic 9.518
And I accept adding "cowsay" to Additional Software 1.105
Then Additional Software is correctly configured for package "cowsay" 0.852
When I uninstall "cowsay" using apt 3.229
And I refuse removing "cowsay" from Additional Software 0.590
Then Additional Software is correctly configured for package "cowsay" 0.827
When I start "Additional Software" via GNOME Activities Overview 10.564
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 4.513
Then "cowsay" is not in the list of Additional Software 1.952
When I install "cowsay" using apt 3.230
And I refuse adding "cowsay" to Additional Software 0.554
Then "cowsay" is not in the list of Additional Software 0.644
After features/support/hooks.rb:515 0.602
After features/support/hooks.rb:326 0.700
After features/support/hooks.rb:100 0.011
11:25.996
Before features/support/hooks.rb:269 0.004
Before features/support/hooks.rb:507 0.003
Given a computer 0.197
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:20.718
And I configure APT to prefer an old version of cowsay 0.029
When I install an old version "3.03+dfsg2-1" of the cowsay package using apt 25.896
And I accept adding "cowsay" to Additional Software 5.372
And Additional Software is correctly configured for package "cowsay" 0.906
And I shutdown Tails and wait for the computer to power off 6.240
And I start Tails from USB drive "__internal" with network unplugged 1:1.642
And I enable persistence 14.292
# 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.030
# 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.100
And I log in to a new session 35.975
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 31.605
And I revert the APT tweaks that made it prefer an old version of cowsay 0.058
# 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.066
And the network is plugged 0.084
And Tor is ready 19.616
And available upgrades have been checked 1.133
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 3.117
And I can open the Additional Software configuration window from the notification 1.885
And I shutdown Tails and wait for the computer to power off 2:3.027
And I start Tails from USB drive "__internal" with network unplugged 1:3.149
And I enable persistence 14.697
# 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.025
And I log in to a new session 40.500
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 43.093
And I revert the APT tweaks that made it prefer an old version of cowsay 0.082
And the network is plugged 0.085
And Tor is ready 52.065
Then the Additional Software upgrade service has started 0.182
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.114
After features/support/hooks.rb:515 1.324
After features/support/hooks.rb:326 0.657
After features/support/hooks.rb:100 0.026
22:2.515
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.233
And I start Tails from USB drive "__internal" with network unplugged 1:2.634
And I enable persistence 14.624
And I remove the "cowsay" deb files from the APT cache 0.070
# 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.113
And I log in to a new session 44.703
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 20:0.134
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:588:in `new'
./features/step_definitions/common_steps.rb:588: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.043
After features/support/hooks.rb:326 10.848

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

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_10422-tor-browser-in-flatpak/20/artifact/build-artifacts/01:46:19_I_am_notified_when_Additional_Software_fails_to_install_a_package.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_10422-tor-browser-in-flatpak/20/artifact/build-artifacts/01:46:19_I_am_notified_when_Additional_Software_fails_to_install_a_package.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_10422-tor-browser-in-flatpak/20/artifact/build-artifacts/01:46:19_I_am_notified_when_Additional_Software_fails_to_install_a_package.journal

After features/support/hooks.rb:100 0.007