Project Number Date
test_Tails_ISO_stable 5531 26 Mar 2025, 13:36

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:1:11.985 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
5:51.424
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Before features/support/hooks.rb:511 0.011
Given I start Tails from a freshly installed USB drive with an administration password and the network is plugged and I login 54.840
And I update APT using apt 1:11.459
And I install "popularity-contest" using apt 22.596
Then I am proposed to add the "popularity-contest" package to my Additional Software 6.869
When I create a persistent storage and activate the Additional Software feature 18.853
Then Additional Software is correctly configured for package "popularity-contest" 1.198
When I shutdown Tails and wait for the computer to power off 10.840
And I start Tails from USB drive "__internal" with network unplugged 59.909
And I enable persistence 19.485
And I log in to a new session 40.048
And the Additional Software installation service has started 41.647
Then I am notified that the installation succeeded 2.463
And Additional Software is correctly configured for package "popularity-contest" 0.947
And the package "popularity-contest" is installed after Additional Software has been started 0.265
After features/support/hooks.rb:519 15.253
After features/support/hooks.rb:330 1.883
After features/support/hooks.rb:100 0.022
36:47.233
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.005
Before features/support/hooks.rb:511 0.005
Steps
Given a computer 0.270
And I start Tails from USB drive "__internal" and I login with an administration password 1:46.943
And I update APT using apt 35:0.019
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.046
After features/support/hooks.rb:330 10.768

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

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5531/artifact/build-artifacts/01:41:47_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/5531/artifact/build-artifacts/01:41:47_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/5531/artifact/build-artifacts/01:41:47_The_Additional_Software_dpkg_hook_notices_when_persistence_is_locked_down_while_installing_a_package.journal

After features/support/hooks.rb:100 0.012
5:10.249
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Before features/support/hooks.rb:511 0.004
Given a computer 0.203
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:22.435
When I uninstall "popularity-contest" using apt 21.893
And I accept removing "popularity-contest" from Additional Software 0.570
Then "popularity-contest" is not in the list of Additional Software 0.756
When I start Synaptic 23.672
And I update APT using Synaptic 22.318
And I install "cowsay" using Synaptic 9.892
And I accept adding "cowsay" to Additional Software 1.418
Then Additional Software is correctly configured for package "cowsay" 0.855
When I uninstall "cowsay" using apt 3.257
And I refuse removing "cowsay" from Additional Software 0.552
Then Additional Software is correctly configured for package "cowsay" 0.739
When I start "Additional Software" via GNOME Activities Overview 10.563
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 5.598
Then "cowsay" is not in the list of Additional Software 1.024
When I install "cowsay" using apt 3.223
And I refuse adding "cowsay" to Additional Software 0.611
Then "cowsay" is not in the list of Additional Software 0.660
After features/support/hooks.rb:519 0.783
After features/support/hooks.rb:330 0.998
After features/support/hooks.rb:100 0.023
11:15.732
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Before features/support/hooks.rb:511 0.006
Given a computer 0.242
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:17.114
And I configure APT to prefer an old version of cowsay 0.031
When I install an old version "3.03+dfsg2-1" of the cowsay package using apt 25.656
And I accept adding "cowsay" to Additional Software 7.373
And Additional Software is correctly configured for package "cowsay" 0.898
And I shutdown Tails and wait for the computer to power off 4.423
And I start Tails from USB drive "__internal" with network unplugged 1:0.353
And I enable persistence 12.870
# 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
# 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.090
And I log in to a new session 40.850
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 31.267
And I revert the APT tweaks that made it prefer an old version of cowsay 0.063
# 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.104
And the network is plugged 0.069
And Tor is ready 21.157
And available upgrades have been checked 1.148
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 3.212
And I can open the Additional Software configuration window from the notification 2.544
And I shutdown Tails and wait for the computer to power off 2:7.653
And I start Tails from USB drive "__internal" with network unplugged 1:0.495
And I enable persistence 13.252
# 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 46.555
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 31.452
And I revert the APT tweaks that made it prefer an old version of cowsay 0.061
And the network is plugged 0.071
And Tor is ready 46.358
Then the Additional Software upgrade service has started 0.199
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.095
After features/support/hooks.rb:519 1.453
After features/support/hooks.rb:330 0.756
After features/support/hooks.rb:100 0.028
2:7.345
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Before features/support/hooks.rb:511 0.006
Given a computer 0.190
And I start Tails from USB drive "__internal" with network unplugged 59.390
And I enable persistence 11.657
And I remove the "cowsay" deb files from the APT cache 0.059
# 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.104
And I log in to a new session 41.825
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 6.724
And I can open the Additional Software log file from the notification 6.769
And the package "cowsay" is not installed 0.623
After features/support/hooks.rb:519 0.186
After features/support/hooks.rb:330 1.732
After features/support/hooks.rb:100 0.015