Project Number Date
test_Tails_ISO_devel 3468 07 Aug 2024, 21: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 30:38.112 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.738
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.002
Before features/support/hooks.rb:507 0.012
Steps
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:40.734
And I update APT using apt 20.447
When I install "popularity-contest" using apt 25.786
Then I am notified I can not use Additional Software for "popularity-contest" 7.113
And I can open the Additional Software documentation from the notification 1:0.657
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.039
After features/support/hooks.rb:326 8.494

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

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3468/artifact/build-artifacts/01:12:08_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/3468/artifact/build-artifacts/01:12:08_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/3468/artifact/build-artifacts/01:12:08_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:41.989
Before features/support/hooks.rb:269 0.003
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 1:13.657
And I update APT using apt 18.977
And I install "popularity-contest" using apt 25.723
Then I am proposed to add the "popularity-contest" package to my Additional Software 6.727
When I create a persistent storage and activate the Additional Software feature 23.328
Then Additional Software is correctly configured for package "popularity-contest" 1.714
When I shutdown Tails and wait for the computer to power off 13.877
And I start Tails from USB drive "__internal" with network unplugged 1:9.456
And I enable persistence 21.655
And I log in to a new session 41.715
And the Additional Software installation service has started 41.702
Then I am notified that the installation succeeded 2.269
And Additional Software is correctly configured for package "popularity-contest" 0.908
And the package "popularity-contest" is installed after Additional Software has been started 0.276
After features/support/hooks.rb:515 41.586
After features/support/hooks.rb:326 1.541
After features/support/hooks.rb:100 0.017
2:38.279
Before features/support/hooks.rb:269 0.007
Before features/support/hooks.rb:507 0.010
Given a computer 0.233
And I start Tails from USB drive "__internal" and I login with an administration password 1:49.959
And I update APT using apt 16.752
When I install "makepp" using apt 25.752
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 5.488
And the package "makepp" is installed 0.092
After features/support/hooks.rb:515 42.690
After features/support/hooks.rb:326 1.045
After features/support/hooks.rb:100 0.014
5:46.674
Before features/support/hooks.rb:269 0.007
Before features/support/hooks.rb:507 0.007
Given a computer 0.246
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:46.800
When I uninstall "popularity-contest" using apt 21.973
And I accept removing "popularity-contest" from Additional Software 2.254
Then "popularity-contest" is not in the list of Additional Software 0.948
When I start Synaptic 26.802
And I update APT using Synaptic 22.408
And I install "cowsay" using Synaptic 13.730
And I accept adding "cowsay" to Additional Software 1.660
Then Additional Software is correctly configured for package "cowsay" 0.858
When I uninstall "cowsay" using apt 6.338
And I refuse removing "cowsay" from Additional Software 0.575
Then Additional Software is correctly configured for package "cowsay" 0.807
When I start "Additional Software" via GNOME Activities Overview 10.709
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 5.161
Then "cowsay" is not in the list of Additional Software 0.822
When I install "cowsay" using apt 3.242
And I refuse adding "cowsay" to Additional Software 0.628
Then "cowsay" is not in the list of Additional Software 0.705
After features/support/hooks.rb:515 1.339
After features/support/hooks.rb:326 1.121
After features/support/hooks.rb:100 0.014
10:36.716
Before features/support/hooks.rb:269 0.007
Before features/support/hooks.rb:507 0.007
Given a computer 1.854
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:42.497
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 27.762
And I accept adding "cowsay" to Additional Software 7.627
And Additional Software is correctly configured for package "cowsay" 0.831
And I shutdown Tails and wait for the computer to power off 8.572
And I start Tails from USB drive "__internal" with network unplugged 1:0.930
And I enable persistence 15.042
# 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.038
And I log in to a new session 42.965
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 42.283
And I revert the APT tweaks that made it prefer an old version of cowsay 0.061
# 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.070
And the network is plugged 0.089
And Tor is ready 19.963
# 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.178
And available upgrades have been checked 0.100
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 1.218
And I can open the Additional Software configuration window from the notification 4.033
And I shutdown Tails and wait for the computer to power off 19.324
And I start Tails from USB drive "__internal" with network unplugged 1:1.065
And I enable persistence 13.738
# 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.027
And I log in to a new session 41.080
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 42.121
And I revert the APT tweaks that made it prefer an old version of cowsay 0.071
And the network is plugged 0.080
And Tor is ready 53.765
Then the Additional Software upgrade service has started 0.205
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.085
After features/support/hooks.rb:515 2.254
After features/support/hooks.rb:326 0.657
After features/support/hooks.rb:100 0.035
2:19.714
Before features/support/hooks.rb:269 0.008
Before features/support/hooks.rb:507 0.010
Given a computer 0.362
And I start Tails from USB drive "__internal" with network unplugged 1:1.349
And I enable persistence 14.297
And I remove the "cowsay" deb files from the APT cache 0.748
# 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.088
And I log in to a new session 43.123
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 13.925
And I can open the Additional Software log file from the notification 4.992
And the package "cowsay" is not installed 0.826
After features/support/hooks.rb:515 0.142
After features/support/hooks.rb:326 1.357
After features/support/hooks.rb:100 0.015