Project Number Date
test_Tails_ISO_stable 5589 23 Apr 2025, 13:38

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:3:29.417 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:24.756
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Before features/support/hooks.rb:511 0.006
Given I start Tails from a freshly installed USB drive with an administration password and the network is plugged and I login 1:3.010
And I update APT using apt 2:13.136
And I install "popularity-contest" using apt 26.539
Then I am proposed to add the "popularity-contest" package to my Additional Software 5.568
When I create a persistent storage and activate the Additional Software feature 21.708
Then Additional Software is correctly configured for package "popularity-contest" 2.971
When I shutdown Tails and wait for the computer to power off 11.042
And I start Tails from USB drive "__internal" with network unplugged 1:4.013
And I enable persistence 25.810
And I log in to a new session 44.442
And the Additional Software installation service has started 43.320
Then I am notified that the installation succeeded 1.875
And Additional Software is correctly configured for package "popularity-contest" 0.990
And the package "popularity-contest" is installed after Additional Software has been started 0.327
After features/support/hooks.rb:519 15.785
After features/support/hooks.rb:330 2.706
After features/support/hooks.rb:100 0.014
36:54.393
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.006
Before features/support/hooks.rb:511 0.006
Steps
Given a computer 0.208
And I start Tails from USB drive "__internal" and I login with an administration password 1:54.170
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.033
After features/support/hooks.rb:330 10.957

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

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

After features/support/hooks.rb:100 0.011
5:10.670
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.249
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:20.441
When I uninstall "popularity-contest" using apt 21.804
And I accept removing "popularity-contest" from Additional Software 0.615
Then "popularity-contest" is not in the list of Additional Software 0.694
When I start Synaptic 27.224
And I update APT using Synaptic 23.285
And I install "cowsay" using Synaptic 10.088
And I accept adding "cowsay" to Additional Software 0.649
Then Additional Software is correctly configured for package "cowsay" 0.765
When I uninstall "cowsay" using apt 3.237
And I refuse removing "cowsay" from Additional Software 0.483
Then Additional Software is correctly configured for package "cowsay" 0.801
When I start "Additional Software" via GNOME Activities Overview 9.829
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 4.486
Then "cowsay" is not in the list of Additional Software 1.491
When I install "cowsay" using apt 3.244
And I refuse adding "cowsay" to Additional Software 0.597
Then "cowsay" is not in the list of Additional Software 0.679
After features/support/hooks.rb:519 0.983
After features/support/hooks.rb:330 1.080
After features/support/hooks.rb:100 0.008
11:41.806
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Before features/support/hooks.rb:511 0.015
Given a computer 0.251
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:24.832
And I configure APT to prefer an old version of cowsay 0.025
When I install an old version "3.03+dfsg2-1" of the cowsay package using apt 26.057
And I accept adding "cowsay" to Additional Software 6.869
And Additional Software is correctly configured for package "cowsay" 0.905
And I shutdown Tails and wait for the computer to power off 6.544
And I start Tails from USB drive "__internal" with network unplugged 1:3.036
And I enable persistence 13.208
# 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.139
And I log in to a new session 38.808
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 41.609
And I revert the APT tweaks that made it prefer an old version of cowsay 0.075
# 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.074
And the network is plugged 0.066
And Tor is ready 20.859
And available upgrades have been checked 2.331
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 3.265
And I can open the Additional Software configuration window from the notification 2.967
And I shutdown Tails and wait for the computer to power off 2:3.282
And I start Tails from USB drive "__internal" with network unplugged 1:1.003
And I enable persistence 13.620
# 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
And I log in to a new session 39.873
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 41.266
And I revert the APT tweaks that made it prefer an old version of cowsay 0.067
And the network is plugged 0.083
And Tor is ready 50.353
Then the Additional Software upgrade service has started 0.158
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.105
After features/support/hooks.rb:519 1.510
After features/support/hooks.rb:330 0.728
After features/support/hooks.rb:100 0.026
2:17.790
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.204
And I start Tails from USB drive "__internal" with network unplugged 1:1.244
And I enable persistence 11.690
And I remove the "cowsay" deb files from the APT cache 0.076
# 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.076
And I log in to a new session 46.757
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 11.703
And I can open the Additional Software log file from the notification 4.978
And the package "cowsay" is not installed 1.057
After features/support/hooks.rb:519 0.152
After features/support/hooks.rb:330 1.513
After features/support/hooks.rb:100 0.008