Project Number Date
test_Tails_ISO_20448-tor-browser-14-force-all-tests 7 07 Aug 2024, 00:01

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 31:12.582 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:34.346
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:40.708
And I update APT using apt 18.484
When I install "popularity-contest" using apt 25.707
Then I am notified I can not use Additional Software for "popularity-contest" 8.775
And I can open the Additional Software documentation from the notification 1:0.670
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.050
After features/support/hooks.rb:326 8.293

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:09:12)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20448-tor-browser-14-force-all-tests/7/artifact/build-artifacts/01:09:12_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_20448-tor-browser-14-force-all-tests/7/artifact/build-artifacts/01:09:12_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_20448-tor-browser-14-force-all-tests/7/artifact/build-artifacts/01:09:12_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.005
5:27.985
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:8.308
And I update APT using apt 19.462
And I install "popularity-contest" using apt 25.879
Then I am proposed to add the "popularity-contest" package to my Additional Software 6.256
When I create a persistent storage and activate the Additional Software feature 22.099
Then Additional Software is correctly configured for package "popularity-contest" 1.670
When I shutdown Tails and wait for the computer to power off 15.045
And I start Tails from USB drive "__internal" with network unplugged 1:4.350
And I enable persistence 19.389
And I log in to a new session 40.840
And the Additional Software installation service has started 41.498
Then I am notified that the installation succeeded 2.085
And Additional Software is correctly configured for package "popularity-contest" 0.809
And the package "popularity-contest" is installed after Additional Software has been started 0.287
After features/support/hooks.rb:515 40.957
After features/support/hooks.rb:326 1.437
After features/support/hooks.rb:100 0.016
2:32.073
Before features/support/hooks.rb:269 0.006
Before features/support/hooks.rb:507 0.010
Given a computer 0.273
And I start Tails from USB drive "__internal" and I login with an administration password 1:44.508
And I update APT using apt 17.049
When I install "makepp" using apt 25.684
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 4.474
And the package "makepp" is installed 0.082
After features/support/hooks.rb:515 40.564
After features/support/hooks.rb:326 1.099
After features/support/hooks.rb:100 0.016
5:11.933
Before features/support/hooks.rb:269 0.008
Before features/support/hooks.rb:507 0.007
Given a computer 0.223
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:17.035
When I uninstall "popularity-contest" using apt 21.899
And I accept removing "popularity-contest" from Additional Software 0.648
Then "popularity-contest" is not in the list of Additional Software 0.768
When I start Synaptic 25.755
And I update APT using Synaptic 22.922
And I install "cowsay" using Synaptic 12.506
And I accept adding "cowsay" to Additional Software 1.694
Then Additional Software is correctly configured for package "cowsay" 0.988
When I uninstall "cowsay" using apt 3.290
And I refuse removing "cowsay" from Additional Software 0.622
Then Additional Software is correctly configured for package "cowsay" 0.955
When I start "Additional Software" via GNOME Activities Overview 10.815
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 6.352
Then "cowsay" is not in the list of Additional Software 0.846
When I install "cowsay" using apt 3.262
And I refuse adding "cowsay" to Additional Software 0.578
Then "cowsay" is not in the list of Additional Software 0.766
After features/support/hooks.rb:515 0.974
After features/support/hooks.rb:326 0.775
After features/support/hooks.rb:100 0.009
12:6.959
Before features/support/hooks.rb:269 0.006
Before features/support/hooks.rb:507 0.007
Given a computer 0.212
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:28.709
And I configure APT to prefer an old version of cowsay 0.026
When I install an old version "3.03+dfsg2-1" of the cowsay package using apt 27.297
And I accept adding "cowsay" to Additional Software 8.658
And Additional Software is correctly configured for package "cowsay" 1.108
And I shutdown Tails and wait for the computer to power off 8.987
And I start Tails from USB drive "__internal" with network unplugged 1:2.383
And I enable persistence 13.884
# 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.024
And I log in to a new session 37.751
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 41.682
And I revert the APT tweaks that made it prefer an old version of cowsay 0.056
# 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.047
And Tor is ready 22.182
# 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 9.047
And available upgrades have been checked 0.128
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 1.266
And I can open the Additional Software configuration window from the notification 4.217
And I shutdown Tails and wait for the computer to power off 2:2.868
And I start Tails from USB drive "__internal" with network unplugged 1:8.204
And I enable persistence 14.584
# 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.024
And I log in to a new session 40.253
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 40.786
And I revert the APT tweaks that made it prefer an old version of cowsay 0.063
And the network is plugged 0.062
And Tor is ready 52.046
Then the Additional Software upgrade service has started 0.195
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.117
After features/support/hooks.rb:515 2.327
After features/support/hooks.rb:326 1.052
After features/support/hooks.rb:100 0.032
2:19.283
Before features/support/hooks.rb:269 0.006
Before features/support/hooks.rb:507 0.008
Given a computer 0.230
And I start Tails from USB drive "__internal" with network unplugged 1:3.825
And I enable persistence 12.524
And I remove the "cowsay" deb files from the APT cache 1.125
# 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 41.236
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 13.712
And I can open the Additional Software log file from the notification 5.465
And the package "cowsay" is not installed 1.079
After features/support/hooks.rb:515 0.139
After features/support/hooks.rb:326 1.199
After features/support/hooks.rb:100 0.012