Project Number Date
test_Tails_ISO_devel 3469 08 Aug 2024, 12:43

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Additional software 83 1 0 0 0 84 5 1 6 28:46.659 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:36.510
Scenario I am warned I can not use Additional Software when I start Tails from a DVD and install a package
Before features/support/hooks.rb:269 0.003
Before features/support/hooks.rb:507 0.003
Steps
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:43.149
And I update APT using apt 18.751
When I install "popularity-contest" using apt 25.862
Then I am notified I can not use Additional Software for "popularity-contest" 8.075
And I can open the Additional Software documentation from the notification 1:0.671
try_for() timeout expired
Last ignored exception was: Dogtail::Failure: The Dogtail init script raised: SearchError: child of [desktop frame | main]: "Firefox" 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:144:in `new'
./features/step_definitions/additional_software_packages.rb:144: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:144: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:144:in `/^I can open the Additional Software documentation from the notification$/'
features/additional_software_packages.feature:19:in `And I can open the Additional Software documentation from the notification'
After features/support/hooks.rb:515 0.054
After features/support/hooks.rb:326 8.454

SCENARIO FAILED: 'I am warned I can not use Additional Software when I start Tails from a DVD and install a package' (at time 01:11:15)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3469/artifact/build-artifacts/01:11:15_I_am_warned_I_can_not_use_Additional_Software_when_I_start_Tails_from_a_DVD_and_install_a_package.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3469/artifact/build-artifacts/01:11:15_I_am_warned_I_can_not_use_Additional_Software_when_I_start_Tails_from_a_DVD_and_install_a_package.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3469/artifact/build-artifacts/01:11:15_I_am_warned_I_can_not_use_Additional_Software_when_I_start_Tails_from_a_DVD_and_install_a_package.journal

After features/support/hooks.rb:100 0.004
5:30.485
Before features/support/hooks.rb:269 0.003
Before features/support/hooks.rb:507 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:10.632
And I update APT using apt 19.857
And I install "popularity-contest" using apt 25.748
Then I am proposed to add the "popularity-contest" package to my Additional Software 6.618
When I create a persistent storage and activate the Additional Software feature 21.330
Then Additional Software is correctly configured for package "popularity-contest" 1.349
When I shutdown Tails and wait for the computer to power off 13.067
And I start Tails from USB drive "__internal" with network unplugged 1:2.841
And I enable persistence 22.163
And I log in to a new session 40.739
And the Additional Software installation service has started 41.986
Then I am notified that the installation succeeded 2.944
And Additional Software is correctly configured for package "popularity-contest" 0.906
And the package "popularity-contest" is installed after Additional Software has been started 0.298
After features/support/hooks.rb:515 37.000
After features/support/hooks.rb:326 1.375
After features/support/hooks.rb:100 0.015
2:26.085
Before features/support/hooks.rb:269 0.007
Before features/support/hooks.rb:507 0.008
Given a computer 0.268
And I start Tails from USB drive "__internal" and I login with an administration password 1:39.989
And I update APT using apt 16.822
When I install "makepp" using apt 22.385
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 6.539
And the package "makepp" is installed 0.081
After features/support/hooks.rb:515 40.727
After features/support/hooks.rb:326 1.121
After features/support/hooks.rb:100 0.016
5:8.445
Before features/support/hooks.rb:269 0.007
Before features/support/hooks.rb:507 0.009
Given a computer 0.311
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:17.253
When I uninstall "popularity-contest" using apt 21.922
And I accept removing "popularity-contest" from Additional Software 0.604
Then "popularity-contest" is not in the list of Additional Software 0.789
When I start Synaptic 26.642
And I update APT using Synaptic 22.539
And I install "cowsay" using Synaptic 10.963
And I accept adding "cowsay" to Additional Software 1.072
Then Additional Software is correctly configured for package "cowsay" 0.818
When I uninstall "cowsay" using apt 3.224
And I refuse removing "cowsay" from Additional Software 0.576
Then Additional Software is correctly configured for package "cowsay" 0.860
When I start "Additional Software" via GNOME Activities Overview 10.573
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 4.999
Then "cowsay" is not in the list of Additional Software 0.896
When I install "cowsay" using apt 3.199
And I refuse adding "cowsay" to Additional Software 0.569
Then "cowsay" is not in the list of Additional Software 0.629
After features/support/hooks.rb:515 0.978
After features/support/hooks.rb:326 0.715
After features/support/hooks.rb:100 0.019
9:41.996
Before features/support/hooks.rb:269 0.009
Before features/support/hooks.rb:507 0.006
Given a computer 0.658
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:18.268
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 26.934
And I accept adding "cowsay" to Additional Software 6.840
And Additional Software is correctly configured for package "cowsay" 0.999
And I shutdown Tails and wait for the computer to power off 6.453
And I start Tails from USB drive "__internal" with network unplugged 59.962
And I enable persistence 12.918
# 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 39.097
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 41.479
And I revert the APT tweaks that made it prefer an old version of cowsay 0.065
# 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.071
And the network is plugged 0.071
And Tor is ready 19.761
# Note: the next step races against the appearance of the "The
# upgrade of your additional software failed" notification.
# It should win most of the time, which is good, but there's no
# guarantee it does. If it loses, then it'll remove the notification
# we'll be trying to interact with below ("I can open…")
And all notifications have disappeared 8.569
And available upgrades have been checked 0.074
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 1.146
And I can open the Additional Software configuration window from the notification 3.574
And I shutdown Tails and wait for the computer to power off 12.889
And I start Tails from USB drive "__internal" with network unplugged 1:0.252
And I enable persistence 11.403
# 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 37.183
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 41.508
And I revert the APT tweaks that made it prefer an old version of cowsay 0.055
And the network is plugged 0.083
And Tor is ready 51.318
Then the Additional Software upgrade service has started 0.178
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.086
After features/support/hooks.rb:515 2.462
After features/support/hooks.rb:326 0.749
After features/support/hooks.rb:100 0.022
2:23.136
Before features/support/hooks.rb:269 0.003
Before features/support/hooks.rb:507 0.005
Given a computer 0.215
And I start Tails from USB drive "__internal" with network unplugged 1:3.083
And I enable persistence 13.386
And I remove the "cowsay" deb files from the APT cache 0.921
# 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.122
And I log in to a new session 41.475
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 17.000
And I can open the Additional Software log file from the notification 5.947
And the package "cowsay" is not installed 0.983
After features/support/hooks.rb:515 0.159
After features/support/hooks.rb:326 1.511
After features/support/hooks.rb:100 0.013