Project Number Date
test_Tails_ISO_devel 3758 27 Mar 2025, 14:24

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:14:29.757 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
11:54.829
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 have started Tails from DVD and logged in with an administration password and the network is connected 2:13.013
And I update APT using apt 8:38.904
When I install "popularity-contest" using apt 26.408
Then I am notified I can not use Additional Software for "popularity-contest" 7.216
And I can open the Additional Software documentation from the notification 29.287
After features/support/hooks.rb:519 16.499
After features/support/hooks.rb:330 3.509
After features/support/hooks.rb:100 0.004
7:11.051
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 I start Tails from a freshly installed USB drive with an administration password and the network is plugged and I login 1:13.462
And I update APT using apt 1:54.972
And I install "popularity-contest" using apt 22.888
Then I am proposed to add the "popularity-contest" package to my Additional Software 7.807
When I create a persistent storage and activate the Additional Software feature 21.634
Then Additional Software is correctly configured for package "popularity-contest" 3.068
When I shutdown Tails and wait for the computer to power off 10.966
And I start Tails from USB drive "__internal" with network unplugged 1:9.550
And I enable persistence 24.394
And I log in to a new session 47.865
And the Additional Software installation service has started 31.183
Then I am notified that the installation succeeded 1.975
And Additional Software is correctly configured for package "popularity-contest" 1.005
And the package "popularity-contest" is installed after Additional Software has been started 0.275
After features/support/hooks.rb:519 17.223
After features/support/hooks.rb:330 2.426
After features/support/hooks.rb:100 0.013
36:56.162
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.272
And I start Tails from USB drive "__internal" and I login with an administration password 1:55.873
And I update APT using apt 35:0.017
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.054
After features/support/hooks.rb:330 10.829

SCENARIO FAILED: 'The Additional Software dpkg hook notices when persistence is locked down while installing a package' (at time 02:06:34)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3758/artifact/build-artifacts/02:06:34_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_devel/3758/artifact/build-artifacts/02:06:34_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_devel/3758/artifact/build-artifacts/02:06:34_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:26.490
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.234
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:35.796
When I uninstall "popularity-contest" using apt 22.026
And I accept removing "popularity-contest" from Additional Software 0.621
Then "popularity-contest" is not in the list of Additional Software 0.830
When I start Synaptic 24.729
And I update APT using Synaptic 22.640
And I install "cowsay" using Synaptic 9.761
And I accept adding "cowsay" to Additional Software 2.219
Then Additional Software is correctly configured for package "cowsay" 0.937
When I uninstall "cowsay" using apt 3.298
And I refuse removing "cowsay" from Additional Software 0.743
Then Additional Software is correctly configured for package "cowsay" 1.165
When I start "Additional Software" via GNOME Activities Overview 10.048
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 5.059
Then "cowsay" is not in the list of Additional Software 1.468
When I install "cowsay" using apt 3.277
And I refuse adding "cowsay" to Additional Software 0.649
Then "cowsay" is not in the list of Additional Software 0.979
After features/support/hooks.rb:519 0.764
After features/support/hooks.rb:330 0.808
After features/support/hooks.rb:100 0.025
10:37.105
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Before features/support/hooks.rb:511 0.010
Given a computer 0.297
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:42.019
And I configure APT to prefer an old version of cowsay 0.066
When I install an old version "3.03+dfsg2-1" of the cowsay package using apt 29.619
And I accept adding "cowsay" to Additional Software 4.757
And Additional Software is correctly configured for package "cowsay" 1.199
And I shutdown Tails and wait for the computer to power off 7.031
And I start Tails from USB drive "__internal" with network unplugged 1:7.591
And I enable persistence 13.874
# 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.042
# 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.126
And I log in to a new session 48.669
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 32.193
And I revert the APT tweaks that made it prefer an old version of cowsay 0.049
# 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.064
And the network is plugged 0.069
And Tor is ready 21.040
And available upgrades have been checked 1.266
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 4.345
And I can open the Additional Software configuration window from the notification 3.062
And I shutdown Tails and wait for the computer to power off 19.418
And I start Tails from USB drive "__internal" with network unplugged 1:4.195
And I enable persistence 13.167
# 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
And I log in to a new session 47.343
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 32.027
And I revert the APT tweaks that made it prefer an old version of cowsay 0.079
And the network is plugged 0.129
And Tor is ready 1:2.941
Then the Additional Software upgrade service has started 0.253
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.135
After features/support/hooks.rb:519 1.692
After features/support/hooks.rb:330 0.778
After features/support/hooks.rb:100 0.031
2:24.117
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.285
And I start Tails from USB drive "__internal" with network unplugged 1:6.358
And I enable persistence 13.770
And I remove the "cowsay" deb files from the APT cache 0.071
# 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.120
And I log in to a new session 42.757
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 14.048
And I can open the Additional Software log file from the notification 5.735
And the package "cowsay" is not installed 0.970
After features/support/hooks.rb:519 0.155
After features/support/hooks.rb:330 1.601
After features/support/hooks.rb:100 0.013