Project Number Date
test_Tails_ISO_devel 3691 14 Feb 2025, 13:05

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Additional software 82 1 1 0 0 84 5 1 6 28:54.341 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
3:21.960
Before features/support/hooks.rb:269 0.002
Before features/support/hooks.rb:507 0.011
Given I have started Tails from DVD and logged in with an administration password and the network is connected 2:3.686
And I update APT using apt 13.568
When I install "popularity-contest" using apt 22.794
Then I am notified I can not use Additional Software for "popularity-contest" 7.531
And I can open the Additional Software documentation from the notification 34.379
After features/support/hooks.rb:515 14.524
After features/support/hooks.rb:326 2.210
After features/support/hooks.rb:100 0.003
5:29.392
Before features/support/hooks.rb:269 0.005
Before features/support/hooks.rb:507 0.005
Given I start Tails from a freshly installed USB drive with an administration password and the network is plugged and I login 1:18.029
And I update APT using apt 12.239
And I install "popularity-contest" using apt 25.688
Then I am proposed to add the "popularity-contest" package to my Additional Software 4.691
When I create a persistent storage and activate the Additional Software feature 20.307
Then Additional Software is correctly configured for package "popularity-contest" 1.714
When I shutdown Tails and wait for the computer to power off 12.730
And I start Tails from USB drive "__internal" with network unplugged 1:5.000
And I enable persistence 22.962
And I log in to a new session 40.861
And the Additional Software installation service has started 41.818
Then I am notified that the installation succeeded 1.995
And Additional Software is correctly configured for package "popularity-contest" 0.979
And the package "popularity-contest" is installed after Additional Software has been started 0.374
After features/support/hooks.rb:515 15.818
After features/support/hooks.rb:326 1.171
After features/support/hooks.rb:100 0.014
2:35.090
Before features/support/hooks.rb:269 0.005
Before features/support/hooks.rb:507 0.005
Given a computer 0.244
And I start Tails from USB drive "__internal" and I login with an administration password 1:51.876
And I update APT using apt 14.000
When I install "makepp" using apt 22.489
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 6.393
And the package "makepp" is installed 0.086
After features/support/hooks.rb:515 13.606
After features/support/hooks.rb:326 0.788
After features/support/hooks.rb:100 0.015
5:15.628
Before features/support/hooks.rb:269 0.006
Before features/support/hooks.rb:507 0.007
Given a computer 0.235
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:24.367
When I uninstall "popularity-contest" using apt 21.744
And I accept removing "popularity-contest" from Additional Software 0.623
Then "popularity-contest" is not in the list of Additional Software 0.724
When I start Synaptic 25.232
And I update APT using Synaptic 21.945
And I install "cowsay" using Synaptic 11.644
And I accept adding "cowsay" to Additional Software 2.539
Then Additional Software is correctly configured for package "cowsay" 0.846
When I uninstall "cowsay" using apt 3.244
And I refuse removing "cowsay" from Additional Software 0.633
Then Additional Software is correctly configured for package "cowsay" 0.884
When I start "Additional Software" via GNOME Activities Overview 10.660
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 4.569
Then "cowsay" is not in the list of Additional Software 1.080
When I install "cowsay" using apt 3.300
And I refuse adding "cowsay" to Additional Software 0.604
Then "cowsay" is not in the list of Additional Software 0.747
After features/support/hooks.rb:515 0.893
After features/support/hooks.rb:326 0.695
After features/support/hooks.rb:100 0.011
9:3.094
Before features/support/hooks.rb:269 0.007
Before features/support/hooks.rb:507 0.007
Given a computer 0.251
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:20.265
And I configure APT to prefer an old version of cowsay 0.025
When I install an old version "3.03+dfsg2-1" of the cowsay package using apt 25.594
And I accept adding "cowsay" to Additional Software 6.801
And Additional Software is correctly configured for package "cowsay" 0.914
And I shutdown Tails and wait for the computer to power off 4.322
And I start Tails from USB drive "__internal" with network unplugged 1:0.026
And I enable persistence 14.565
# 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.029
# 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.082
And I log in to a new session 39.927
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 31.376
And I revert the APT tweaks that made it prefer an old version of cowsay 0.075
# 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.077
And the network is plugged 0.080
And Tor is ready 19.889
And available upgrades have been checked 1.222
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 3.159
And I can open the Additional Software configuration window from the notification 1.703
And I shutdown Tails and wait for the computer to power off 12.764
And I start Tails from USB drive "__internal" with network unplugged 1:0.391
And I enable persistence 13.321
# 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.080
And I log in to a new session 33.603
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 31.732
And I revert the APT tweaks that made it prefer an old version of cowsay 0.051
And the network is plugged 0.069
And Tor is ready 40.444
Then the Additional Software upgrade service has started 0.165
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.079
After features/support/hooks.rb:515 1.196
After features/support/hooks.rb:326 0.725
After features/support/hooks.rb:100 0.023
3:9.174
Scenario I am notified when Additional Software fails to install a package
Before features/support/hooks.rb:269 0.005
Before features/support/hooks.rb:507 0.006
Steps
Given a computer 0.251
And I start Tails from USB drive "__internal" with network unplugged 1:8.639
And I enable persistence 12.689
And I remove the "cowsay" deb files from the APT cache 0.052
# 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 40.334
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 6.383
And I can open the Additional Software log file from the notification 1:0.739
try_for() timeout expired
Last ignored exception was: Dogtail::Failure: The Dogtail init script raised: SearchError: child of [desktop frame | main]: "gnome-text-editor" application
STDOUT:

STDERR:


./features/support/helpers/dogtail.rb:93:in `run'
./features/support/helpers/dogtail.rb:70:in `initialize'
./features/step_definitions/additional_software_packages.rb:171:in `new'
./features/step_definitions/additional_software_packages.rb:171:in `block (2 levels) in <top (required)>'
./features/support/helpers/misc_helpers.rb:78:in `block (2 levels) in try_for'
./features/support/helpers/misc_helpers.rb:66:in `loop'
./features/support/helpers/misc_helpers.rb:66:in `block in try_for'
./features/support/helpers/misc_helpers.rb:65:in `try_for'
./features/step_definitions/additional_software_packages.rb:170:in `block in <top (required)>' (Timeout::Error)
./features/support/helpers/misc_helpers.rb:145:in `rescue in try_for'
./features/support/helpers/misc_helpers.rb:51:in `try_for'
./features/step_definitions/additional_software_packages.rb:170:in `/^I can open the Additional Software log file from the notification$/'
features/additional_software_packages.feature:130:in `And I can open the Additional Software log file from the notification'
And the package "cowsay" is not installed 0.000
After features/support/hooks.rb:515 0.035
After features/support/hooks.rb:326 8.261

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

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3691/artifact/build-artifacts/01:30:38_I_am_notified_when_Additional_Software_fails_to_install_a_package.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3691/artifact/build-artifacts/01:30:38_I_am_notified_when_Additional_Software_fails_to_install_a_package.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3691/artifact/build-artifacts/01:30:38_I_am_notified_when_Additional_Software_fails_to_install_a_package.journal

After features/support/hooks.rb:100 0.009