Project Number Date
test_Tails_ISO_stable 4832 08 May 2024, 12:47

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Additional software 76 1 2 0 0 79 4 1 5 48:42.620 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
26:52.822
Scenario I set up Additional Software when installing a package without persistent partition and the package is installed next time I start Tails
Before features/support/hooks.rb:259 0.003
Before features/support/hooks.rb:456 0.011
Steps
Given I start Tails from a freshly installed USB drive with an administration password and the network is plugged and I login 55.993
And I update APT using apt 18.436
And I install "popularity-contest" using apt 25.727
Then I am proposed to add the "popularity-contest" package to my Additional Software 6.907
When I create a persistent storage and activate the Additional Software feature 24.164
Then Additional Software is correctly configured for package "popularity-contest" 1.540
When I shutdown Tails and wait for the computer to power off 12.383
And I start Tails from USB drive "__internal" with network unplugged 1:1.791
And I enable persistence 26.510
And I log in to a new session 35.622
And the Additional Software installation service has started 2:23.627
Then I am notified that the installation succeeded 20:0.117
execution expired (RemoteShell::Timeout)
./features/support/helpers/remote_shell.rb:56:in `read'
./features/support/helpers/remote_shell.rb:56:in `block (3 levels) in communicate'
./features/support/helpers/remote_shell.rb:55:in `block (2 levels) in communicate'
./features/support/helpers/remote_shell.rb:42:in `loop'
./features/support/helpers/remote_shell.rb:42:in `block in communicate'
./features/support/helpers/remote_shell.rb:37:in `communicate'
./features/support/helpers/remote_shell.rb:174:in `execute'
./features/support/helpers/remote_shell.rb:185:in `initialize'
./features/support/helpers/dogtail.rb:80:in `new'
./features/support/helpers/dogtail.rb:80:in `run'
./features/support/helpers/dogtail.rb:70:in `initialize'
./features/step_definitions/common_steps.rb:587:in `new'
./features/step_definitions/common_steps.rb:587:in `/^I see the "(.+)" notification(?: after at most (\d+) seconds)?$/'
./features/step_definitions/additional_software_packages.rb:28:in `/^I am notified that the installation succeeded$/'
features/additional_software_packages.feature:39:in `Then I am notified that the installation succeeded'
And Additional Software is correctly configured for package "popularity-contest" 0.000
And the package "popularity-contest" is installed after Additional Software has been started 0.000
After features/support/hooks.rb:464 0.048
After features/support/hooks.rb:305 9.845

SCENARIO FAILED: 'I set up Additional Software when installing a package without persistent partition and the package is installed next time I start Tails' (at time 01:34:15)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4832/artifact/build-artifacts/01:34:15_I_set_up_Additional_Software_when_installing_a_package_without_persistent_partition_and_the_package_is_installed_next_time_I_start_Tails.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4832/artifact/build-artifacts/01:34:15_I_set_up_Additional_Software_when_installing_a_package_without_persistent_partition_and_the_package_is_installed_next_time_I_start_Tails.mkv

After features/support/hooks.rb:89 0.011
2:23.922
Before features/support/hooks.rb:259 0.002
Before features/support/hooks.rb:456 0.003
Given a computer 0.178
And I start Tails from USB drive "__internal" and I login with an administration password 1:35.865
And I update APT using apt 18.858
When I install "makepp" using apt 22.393
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 6.513
And the package "makepp" is installed 0.112
After features/support/hooks.rb:464 39.161
After features/support/hooks.rb:305 0.848
After features/support/hooks.rb:89 0.013
5:13.522
Before features/support/hooks.rb:259 0.004
Before features/support/hooks.rb:456 0.005
Given a computer 0.197
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:18.122
When I uninstall "popularity-contest" using apt 21.883
And I accept removing "popularity-contest" from Additional Software 0.568
Then "popularity-contest" is not in the list of Additional Software 0.687
When I start Synaptic 26.564
And I update APT using Synaptic 22.042
And I install "cowsay" using Synaptic 11.024
And I accept adding "cowsay" to Additional Software 2.925
Then Additional Software is correctly configured for package "cowsay" 0.832
When I uninstall "cowsay" using apt 3.248
And I refuse removing "cowsay" from Additional Software 0.561
Then Additional Software is correctly configured for package "cowsay" 2.189
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 6.336
Then "cowsay" is not in the list of Additional Software 0.977
When I install "cowsay" using apt 3.251
And I refuse adding "cowsay" to Additional Software 0.595
Then "cowsay" is not in the list of Additional Software 0.803
After features/support/hooks.rb:464 1.033
After features/support/hooks.rb:305 0.740
After features/support/hooks.rb:89 0.008
11:56.529
Before features/support/hooks.rb:259 0.004
Before features/support/hooks.rb:456 0.007
Given a computer 0.225
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:23.019
And I configure APT to prefer an old version of cowsay 0.028
When I install an old version "3.03+dfsg2-1" of the cowsay package using apt 30.954
And I accept adding "cowsay" to Additional Software 4.997
And Additional Software is correctly configured for package "cowsay" 0.980
And I shutdown Tails and wait for the computer to power off 6.667
And I start Tails from USB drive "__internal" with network unplugged 59.784
And I enable persistence 18.041
# 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.032
And I log in to a new session 39.680
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 41.579
And I revert the APT tweaks that made it prefer an old version of cowsay 0.070
# 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.072
And the network is plugged 0.044
And Tor is ready 18.987
# 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.097
And available upgrades have been checked 0.251
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 3.878
And I can open the Additional Software configuration window from the notification 5.738
And I shutdown Tails and wait for the computer to power off 2:4.253
And I start Tails from USB drive "__internal" with network unplugged 1:1.213
And I enable persistence 13.102
# 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.031
And I log in to a new session 38.574
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 42.335
And I revert the APT tweaks that made it prefer an old version of cowsay 0.066
And the network is plugged 0.048
And Tor is ready 52.437
Then the Additional Software upgrade service has started 0.209
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.125
After features/support/hooks.rb:464 2.494
After features/support/hooks.rb:305 1.228
After features/support/hooks.rb:89 0.044
2:15.823
Before features/support/hooks.rb:259 0.008
Before features/support/hooks.rb:456 0.009
Given a computer 0.234
And I start Tails from USB drive "__internal" with network unplugged 1:1.020
And I enable persistence 12.704
And I remove the "cowsay" deb files from the APT cache 0.696
# 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.097
And I log in to a new session 38.263
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 15.622
And I can open the Additional Software log file from the notification 6.536
And the package "cowsay" is not installed 0.647
After features/support/hooks.rb:464 0.111
After features/support/hooks.rb:305 0.966
After features/support/hooks.rb:89 0.015