Project Number Date
test_Tails_ISO_devel 3777 10 Apr 2025, 21:04

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Additional software 80 1 3 0 0 84 5 1 6 1:9:50.905 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
37:3.598
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:266 0.000
Before features/support/hooks.rb:273 0.002
Before features/support/hooks.rb:511 0.005
Steps
Given I have started Tails from DVD and logged in with an administration password and the network is connected 2:3.577
And I update APT using apt 35:0.020
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/misc_helpers.rb:180:in `new'
./features/support/helpers/misc_helpers.rb:180:in `force_new_tor_circuit'
./features/support/helpers/misc_helpers.rb:192:in `block in retry_tor'
./features/support/helpers/misc_helpers.rb:222:in `rescue in block in retry_action'
./features/support/helpers/misc_helpers.rb:209:in `block in retry_action'
./features/support/helpers/misc_helpers.rb:208:in `loop'
./features/support/helpers/misc_helpers.rb:208:in `retry_action'
./features/support/helpers/misc_helpers.rb:196:in `retry_tor'
./features/step_definitions/apt.rb:59:in `/^I update APT using apt$/'
features/additional_software_packages.feature:16:in `And I update APT using apt'
When I install "popularity-contest" using apt 0.000
Then I am notified I can not use Additional Software for "popularity-contest" 0.000
And I can open the Additional Software documentation from the notification 0.000
After features/support/hooks.rb:519 0.036
After features/support/hooks.rb:330 10.901

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:44:41)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3777/artifact/build-artifacts/01:44:41_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/3777/artifact/build-artifacts/01:44:41_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/3777/artifact/build-artifacts/01:44:41_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.002
9:32.507
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Before features/support/hooks.rb:511 0.004
Given I start Tails from a freshly installed USB drive with an administration password and the network is plugged and I login 1:22.618
And I update APT using apt 3:54.137
And I install "popularity-contest" using apt 27.055
Then I am proposed to add the "popularity-contest" package to my Additional Software 6.950
When I create a persistent storage and activate the Additional Software feature 21.927
Then Additional Software is correctly configured for package "popularity-contest" 3.298
When I shutdown Tails and wait for the computer to power off 13.815
And I start Tails from USB drive "__internal" with network unplugged 1:6.794
And I enable persistence 26.307
And I log in to a new session 45.688
And the Additional Software installation service has started 41.305
Then I am notified that the installation succeeded 1.464
And Additional Software is correctly configured for package "popularity-contest" 0.884
And the package "popularity-contest" is installed after Additional Software has been started 0.259
After features/support/hooks.rb:519 16.178
After features/support/hooks.rb:330 2.946
After features/support/hooks.rb:100 0.016
4:30.449
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Before features/support/hooks.rb:511 0.007
Given a computer 2.023
And I start Tails from USB drive "__internal" and I login with an administration password 1:46.357
And I update APT using apt 2:12.355
When I install "makepp" using apt 23.133
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 6.495
And the package "makepp" is installed 0.083
After features/support/hooks.rb:519 15.850
After features/support/hooks.rb:330 1.629
After features/support/hooks.rb:100 0.014
5:19.093
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Before features/support/hooks.rb:511 0.007
Given a computer 0.216
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:30.080
When I uninstall "popularity-contest" using apt 21.992
And I accept removing "popularity-contest" from Additional Software 0.609
Then "popularity-contest" is not in the list of Additional Software 0.750
When I start Synaptic 24.508
And I update APT using Synaptic 22.573
And I install "cowsay" using Synaptic 8.889
And I accept adding "cowsay" to Additional Software 3.027
Then Additional Software is correctly configured for package "cowsay" 0.879
When I uninstall "cowsay" using apt 3.212
And I refuse removing "cowsay" from Additional Software 0.621
Then Additional Software is correctly configured for package "cowsay" 0.876
When I start "Additional Software" via GNOME Activities Overview 9.769
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 5.146
Then "cowsay" is not in the list of Additional Software 1.292
When I install "cowsay" using apt 3.243
And I refuse adding "cowsay" to Additional Software 0.591
Then "cowsay" is not in the list of Additional Software 0.810
After features/support/hooks.rb:519 0.725
After features/support/hooks.rb:330 0.770
After features/support/hooks.rb:100 0.010
11:23.359
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Before features/support/hooks.rb:511 0.008
Given a computer 0.246
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:26.036
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 28.988
And I accept adding "cowsay" to Additional Software 4.356
And Additional Software is correctly configured for package "cowsay" 0.953
And I shutdown Tails and wait for the computer to power off 4.642
And I start Tails from USB drive "__internal" with network unplugged 1:4.639
And I enable persistence 16.485
# 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.029
# 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.083
And I log in to a new session 40.968
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 31.764
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.088
And the network is plugged 0.072
And Tor is ready 18.261
And available upgrades have been checked 1.183
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 3.151
And I can open the Additional Software configuration window from the notification 2.666
And I shutdown Tails and wait for the computer to power off 2:4.478
And I start Tails from USB drive "__internal" with network unplugged 1:1.938
And I enable persistence 12.047
# 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 46.068
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 31.621
And I revert the APT tweaks that made it prefer an old version of cowsay 0.062
And the network is plugged 0.079
And Tor is ready 42.067
Then the Additional Software upgrade service has started 0.163
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.089
After features/support/hooks.rb:519 1.373
After features/support/hooks.rb:330 0.629
After features/support/hooks.rb:100 0.025
2:1.896
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Before features/support/hooks.rb:511 0.009
Given a computer 0.237
And I start Tails from USB drive "__internal" with network unplugged 1:2.838
And I enable persistence 11.283
And I remove the "cowsay" deb files from the APT cache 0.067
# 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.092
And I log in to a new session 38.167
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 3.955
And I can open the Additional Software log file from the notification 5.025
And the package "cowsay" is not installed 0.227
After features/support/hooks.rb:519 0.155
After features/support/hooks.rb:330 1.386
After features/support/hooks.rb:100 0.009