Project Number Date
test_Tails_ISO_devel 3466 07 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:44.925 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:31.327
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.011
Steps
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:39.552
And I update APT using apt 19.765
When I install "popularity-contest" using apt 25.663
Then I am notified I can not use Additional Software for "popularity-contest" 5.521
And I can open the Additional Software documentation from the notification 1:0.823
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.036
After features/support/hooks.rb:326 8.430

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:10:10)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3466/artifact/build-artifacts/01:10:10_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/3466/artifact/build-artifacts/01:10:10_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/3466/artifact/build-artifacts/01:10:10_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:36.761
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:5.267
And I update APT using apt 17.217
And I install "popularity-contest" using apt 22.434
Then I am proposed to add the "popularity-contest" package to my Additional Software 9.677
When I create a persistent storage and activate the Additional Software feature 21.701
Then Additional Software is correctly configured for package "popularity-contest" 1.428
When I shutdown Tails and wait for the computer to power off 14.551
And I start Tails from USB drive "__internal" with network unplugged 1:7.155
And I enable persistence 29.576
And I log in to a new session 42.967
And the Additional Software installation service has started 41.188
Then I am notified that the installation succeeded 2.532
And Additional Software is correctly configured for package "popularity-contest" 0.798
And the package "popularity-contest" is installed after Additional Software has been started 0.264
After features/support/hooks.rb:515 37.529
After features/support/hooks.rb:326 1.351
After features/support/hooks.rb:100 0.016
2:38.099
Before features/support/hooks.rb:269 0.007
Before features/support/hooks.rb:507 0.005
Given a computer 0.214
And I start Tails from USB drive "__internal" and I login with an administration password 1:50.606
And I update APT using apt 17.815
When I install "makepp" using apt 22.606
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 6.783
And the package "makepp" is installed 0.072
After features/support/hooks.rb:515 40.635
After features/support/hooks.rb:326 1.065
After features/support/hooks.rb:100 0.014
5:8.921
Before features/support/hooks.rb:269 0.006
Before features/support/hooks.rb:507 0.006
Given a computer 0.220
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:19.103
When I uninstall "popularity-contest" using apt 21.798
And I accept removing "popularity-contest" from Additional Software 0.599
Then "popularity-contest" is not in the list of Additional Software 0.842
When I start Synaptic 24.903
And I update APT using Synaptic 22.447
And I install "cowsay" using Synaptic 9.662
And I accept adding "cowsay" to Additional Software 3.049
Then Additional Software is correctly configured for package "cowsay" 0.818
When I uninstall "cowsay" using apt 3.218
And I refuse removing "cowsay" from Additional Software 0.548
Then Additional Software is correctly configured for package "cowsay" 0.822
When I start "Additional Software" via GNOME Activities Overview 10.594
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 4.788
Then "cowsay" is not in the list of Additional Software 1.083
When I install "cowsay" using apt 3.218
And I refuse adding "cowsay" to Additional Software 0.553
Then "cowsay" is not in the list of Additional Software 0.647
After features/support/hooks.rb:515 1.352
After features/support/hooks.rb:326 1.160
After features/support/hooks.rb:100 0.009
9:41.181
Before features/support/hooks.rb:269 0.005
Before features/support/hooks.rb:507 0.004
Given a computer 0.194
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:16.962
And I configure APT to prefer an old version of cowsay 0.035
When I install an old version "3.03+dfsg2-1" of the cowsay package using apt 26.791
And I accept adding "cowsay" to Additional Software 7.492
And Additional Software is correctly configured for package "cowsay" 0.976
And I shutdown Tails and wait for the computer to power off 6.345
And I start Tails from USB drive "__internal" with network unplugged 58.804
And I enable persistence 12.188
# 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 39.462
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 41.241
And I revert the APT tweaks that made it prefer an old version of cowsay 0.039
# 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.078
And the network is plugged 0.034
And Tor is ready 20.606
# 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.677
And available upgrades have been checked 0.152
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 1.071
And I can open the Additional Software configuration window from the notification 3.160
And I shutdown Tails and wait for the computer to power off 14.755
And I start Tails from USB drive "__internal" with network unplugged 58.482
And I enable persistence 10.447
# 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.026
And I log in to a new session 37.720
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 41.627
And I revert the APT tweaks that made it prefer an old version of cowsay 0.061
And the network is plugged 0.057
And Tor is ready 52.393
Then the Additional Software upgrade service has started 0.168
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.101
After features/support/hooks.rb:515 2.230
After features/support/hooks.rb:326 1.118
After features/support/hooks.rb:100 0.026
2:8.633
Before features/support/hooks.rb:269 0.005
Before features/support/hooks.rb:507 0.008
Given a computer 0.231
And I start Tails from USB drive "__internal" with network unplugged 59.625
And I enable persistence 10.023
And I remove the "cowsay" deb files from the APT cache 0.711
# 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.077
And I log in to a new session 37.338
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 14.351
And I can open the Additional Software log file from the notification 5.613
And the package "cowsay" is not installed 0.660
After features/support/hooks.rb:515 0.103
After features/support/hooks.rb:326 0.872
After features/support/hooks.rb:100 0.009