Project Number Date
test_Tails_ISO_stable 5572 14 Apr 2025, 13:46

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Additional software 75 1 3 0 0 79 4 1 5 1:2:8.280 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
7:55.971
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Before features/support/hooks.rb:511 0.003
Given I start Tails from a freshly installed USB drive with an administration password and the network is plugged and I login 57.357
And I update APT using apt 3:14.076
And I install "popularity-contest" using apt 22.877
Then I am proposed to add the "popularity-contest" package to my Additional Software 7.239
When I create a persistent storage and activate the Additional Software feature 17.407
Then Additional Software is correctly configured for package "popularity-contest" 2.649
When I shutdown Tails and wait for the computer to power off 10.994
And I start Tails from USB drive "__internal" with network unplugged 59.809
And I enable persistence 22.705
And I log in to a new session 44.388
And the Additional Software installation service has started 32.523
Then I am notified that the installation succeeded 2.708
And Additional Software is correctly configured for package "popularity-contest" 0.932
And the package "popularity-contest" is installed after Additional Software has been started 0.300
After features/support/hooks.rb:519 13.700
After features/support/hooks.rb:330 1.835
After features/support/hooks.rb:100 0.019
36:48.243
Scenario The Additional Software dpkg hook notices when persistence is locked down while installing a package
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.011
Before features/support/hooks.rb:511 0.011
Steps
Given a computer 0.215
And I start Tails from USB drive "__internal" and I login with an administration password 1:48.014
And I update APT using apt 35:0.013
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:47:in `And I update APT using apt'
When I install "makepp" using apt 0.000
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 0.000
And the package "makepp" is installed 0.000
After features/support/hooks.rb:519 0.038
After features/support/hooks.rb:330 10.776

SCENARIO FAILED: 'The Additional Software dpkg hook notices when persistence is locked down while installing a package' (at time 01:44:56)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5572/artifact/build-artifacts/01:44:56_The_Additional_Software_dpkg_hook_notices_when_persistence_is_locked_down_while_installing_a_package.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5572/artifact/build-artifacts/01:44:56_The_Additional_Software_dpkg_hook_notices_when_persistence_is_locked_down_while_installing_a_package.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5572/artifact/build-artifacts/01:44:56_The_Additional_Software_dpkg_hook_notices_when_persistence_is_locked_down_while_installing_a_package.journal

After features/support/hooks.rb:100 0.033
5:7.909
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Before features/support/hooks.rb:511 0.005
Given a computer 0.258
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:17.835
When I uninstall "popularity-contest" using apt 21.795
And I accept removing "popularity-contest" from Additional Software 0.579
Then "popularity-contest" is not in the list of Additional Software 0.684
When I start Synaptic 23.204
And I update APT using Synaptic 23.895
And I install "cowsay" using Synaptic 9.825
And I accept adding "cowsay" to Additional Software 2.051
Then Additional Software is correctly configured for package "cowsay" 0.930
When I uninstall "cowsay" using apt 3.316
And I refuse removing "cowsay" from Additional Software 0.540
Then Additional Software is correctly configured for package "cowsay" 1.030
When I start "Additional Software" via GNOME Activities Overview 10.857
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 4.560
Then "cowsay" is not in the list of Additional Software 1.957
When I install "cowsay" using apt 3.240
And I refuse adding "cowsay" to Additional Software 0.605
Then "cowsay" is not in the list of Additional Software 0.740
After features/support/hooks.rb:519 0.690
After features/support/hooks.rb:330 0.796
After features/support/hooks.rb:100 0.010
9:58.174
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Before features/support/hooks.rb:511 0.006
Given a computer 0.244
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:41.480
And I configure APT to prefer an old version of cowsay 0.033
When I install an old version "3.03+dfsg2-1" of the cowsay package using apt 25.965
And I accept adding "cowsay" to Additional Software 6.964
And Additional Software is correctly configured for package "cowsay" 0.900
And I shutdown Tails and wait for the computer to power off 6.664
And I start Tails from USB drive "__internal" with network unplugged 1:3.928
And I enable persistence 12.581
# 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.028
# 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.109
And I log in to a new session 41.357
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 32.034
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.079
And the network is plugged 0.106
And Tor is ready 19.458
And available upgrades have been checked 1.166
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 3.275
And I can open the Additional Software configuration window from the notification 3.336
And I shutdown Tails and wait for the computer to power off 13.468
And I start Tails from USB drive "__internal" with network unplugged 1:2.934
And I enable persistence 12.462
# 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.028
And I log in to a new session 42.859
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 32.916
And I revert the APT tweaks that made it prefer an old version of cowsay 0.064
And the network is plugged 0.081
And Tor is ready 53.182
Then the Additional Software upgrade service has started 0.311
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.085
After features/support/hooks.rb:519 1.506
After features/support/hooks.rb:330 0.693
After features/support/hooks.rb:100 0.021
2:17.981
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Before features/support/hooks.rb:511 0.004
Given a computer 0.242
And I start Tails from USB drive "__internal" with network unplugged 1:2.594
And I enable persistence 13.317
And I remove the "cowsay" deb files from the APT cache 0.063
# 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.075
And I log in to a new session 43.797
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 11.777
And I can open the Additional Software log file from the notification 5.323
And the package "cowsay" is not installed 0.789
After features/support/hooks.rb:519 0.153
After features/support/hooks.rb:330 1.861
After features/support/hooks.rb:100 0.015