Project Number Date
test_Tails_ISO_devel 3609 11 Dec 2024, 13:08

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Additional software 81 1 2 0 0 84 5 1 6 47:55.043 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:2.002
Before features/support/hooks.rb:269 0.003
Before features/support/hooks.rb:507 0.004
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:40.121
And I update APT using apt 14.169
When I install "popularity-contest" using apt 25.552
Then I am notified I can not use Additional Software for "popularity-contest" 6.697
And I can open the Additional Software documentation from the notification 35.460
After features/support/hooks.rb:515 15.557
After features/support/hooks.rb:326 3.512
After features/support/hooks.rb:100 0.004
5:35.060
Before features/support/hooks.rb:269 0.007
Before features/support/hooks.rb:507 0.008
Given I start Tails from a freshly installed USB drive with an administration password and the network is plugged and I login 1:13.886
And I update APT using apt 14.918
And I install "popularity-contest" using apt 25.670
Then I am proposed to add the "popularity-contest" package to my Additional Software 6.037
When I create a persistent storage and activate the Additional Software feature 19.087
Then Additional Software is correctly configured for package "popularity-contest" 1.266
When I shutdown Tails and wait for the computer to power off 12.416
And I start Tails from USB drive "__internal" with network unplugged 1:10.040
And I enable persistence 23.623
And I log in to a new session 43.809
And the Additional Software installation service has started 41.351
Then I am notified that the installation succeeded 1.813
And Additional Software is correctly configured for package "popularity-contest" 0.868
And the package "popularity-contest" is installed after Additional Software has been started 0.269
After features/support/hooks.rb:515 14.449
After features/support/hooks.rb:326 1.328
After features/support/hooks.rb:100 0.016
2:26.481
Before features/support/hooks.rb:269 0.006
Before features/support/hooks.rb:507 0.011
Given a computer 0.227
And I start Tails from USB drive "__internal" and I login with an administration password 1:43.194
And I update APT using apt 12.738
When I install "makepp" using apt 25.832
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 4.395
And the package "makepp" is installed 0.093
After features/support/hooks.rb:515 14.809
After features/support/hooks.rb:326 1.182
After features/support/hooks.rb:100 0.012
5:10.889
Before features/support/hooks.rb:269 0.005
Before features/support/hooks.rb:507 0.006
Given a computer 0.852
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:22.038
When I uninstall "popularity-contest" using apt 21.905
And I accept removing "popularity-contest" from Additional Software 0.664
Then "popularity-contest" is not in the list of Additional Software 0.803
When I start Synaptic 23.448
And I update APT using Synaptic 22.526
And I install "cowsay" using Synaptic 9.276
And I accept adding "cowsay" to Additional Software 2.766
Then Additional Software is correctly configured for package "cowsay" 0.942
When I uninstall "cowsay" using apt 3.221
And I refuse removing "cowsay" from Additional Software 0.566
Then Additional Software is correctly configured for package "cowsay" 0.839
When I start "Additional Software" via GNOME Activities Overview 10.718
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 4.752
Then "cowsay" is not in the list of Additional Software 1.029
When I install "cowsay" using apt 3.216
And I refuse adding "cowsay" to Additional Software 0.576
Then "cowsay" is not in the list of Additional Software 0.743
After features/support/hooks.rb:515 0.678
After features/support/hooks.rb:326 0.835
After features/support/hooks.rb:100 0.012
9:49.739
Before features/support/hooks.rb:269 0.005
Before features/support/hooks.rb:507 0.007
Given a computer 0.231
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:25.130
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 30.073
And I accept adding "cowsay" to Additional Software 4.728
And Additional Software is correctly configured for package "cowsay" 1.056
And I shutdown Tails and wait for the computer to power off 6.569
And I start Tails from USB drive "__internal" with network unplugged 59.951
And I enable persistence 14.642
# 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
# 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.091
And I log in to a new session 41.939
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 31.677
And I revert the APT tweaks that made it prefer an old version of cowsay 0.066
# 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.081
And the network is plugged 0.082
And Tor is ready 17.351
And available upgrades have been checked 3.089
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 4.201
And I can open the Additional Software configuration window from the notification 3.527
And I shutdown Tails and wait for the computer to power off 19.209
And I start Tails from USB drive "__internal" with network unplugged 59.420
And I enable persistence 12.439
# 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.030
And I log in to a new session 40.379
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 41.418
And I revert the APT tweaks that made it prefer an old version of cowsay 0.058
And the network is plugged 0.108
And Tor is ready 51.844
Then the Additional Software upgrade service has started 0.174
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.094
After features/support/hooks.rb:515 1.402
After features/support/hooks.rb:326 0.901
After features/support/hooks.rb:100 0.023
21:50.869
Scenario I am notified when Additional Software fails to install a package
Before features/support/hooks.rb:269 0.005
Before features/support/hooks.rb:507 0.005
Steps
Given a computer 0.201
And I start Tails from USB drive "__internal" with network unplugged 1:0.175
And I enable persistence 11.941
And I remove the "cowsay" deb files from the APT cache 0.051
# 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.079
And I log in to a new session 38.215
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 20:0.205
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:588:in `new'
./features/step_definitions/common_steps.rb:588:in `/^I see the "(.+)" notification(?: after at most (\d+) seconds)?$/'
features/additional_software_packages.feature:129:in `Then I see the "The installation of your additional software failed" notification after at most 300 seconds'
And I can open the Additional Software log file from the notification 0.000
And the package "cowsay" is not installed 0.000
After features/support/hooks.rb:515 0.038
After features/support/hooks.rb:326 10.911

SCENARIO FAILED: 'I am notified when Additional Software fails to install a package' (at time 01:55:10)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3609/artifact/build-artifacts/01:55:10_I_am_notified_when_Additional_Software_fails_to_install_a_package.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3609/artifact/build-artifacts/01:55:10_I_am_notified_when_Additional_Software_fails_to_install_a_package.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3609/artifact/build-artifacts/01:55:10_I_am_notified_when_Additional_Software_fails_to_install_a_package.journal

After features/support/hooks.rb:100 0.012