Project Number Date
test_Tails_ISO_18215-update-chutney-force-all-tests 8 26 Mar 2025, 21:14

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:6:49.119 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
3:58.764
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.014
Before features/support/hooks.rb:505 0.028
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:42.589
And I update APT using apt 1:14.100
When I install "popularity-contest" using apt 26.237
Then I am notified I can not use Additional Software for "popularity-contest" 5.846
And I can open the Additional Software documentation from the notification 29.991
After features/support/hooks.rb:513 14.870
After features/support/hooks.rb:330 3.590
After features/support/hooks.rb:100 0.003
6:18.553
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Before features/support/hooks.rb:505 0.005
Given I start Tails from a freshly installed USB drive with an administration password and the network is plugged and I login 1:2.357
And I update APT using apt 1:15.502
And I install "popularity-contest" using apt 23.289
Then I am proposed to add the "popularity-contest" package to my Additional Software 8.087
When I create a persistent storage and activate the Additional Software feature 20.361
Then Additional Software is correctly configured for package "popularity-contest" 3.282
When I shutdown Tails and wait for the computer to power off 11.361
And I start Tails from USB drive "__internal" with network unplugged 1:10.092
And I enable persistence 21.416
And I log in to a new session 47.078
And the Additional Software installation service has started 32.815
Then I am notified that the installation succeeded 1.741
And Additional Software is correctly configured for package "popularity-contest" 0.915
And the package "popularity-contest" is installed after Additional Software has been started 0.251
After features/support/hooks.rb:513 16.053
After features/support/hooks.rb:330 2.368
After features/support/hooks.rb:100 0.022
37:2.101
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:505 0.005
Steps
Given a computer 0.212
And I start Tails from USB drive "__internal" and I login with an administration password 2:1.866
And I update APT using apt 35:0.022
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:513 0.043
After features/support/hooks.rb:330 10.939

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

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_18215-update-chutney-force-all-tests/8/artifact/build-artifacts/01:49:44_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_18215-update-chutney-force-all-tests/8/artifact/build-artifacts/01:49:44_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_18215-update-chutney-force-all-tests/8/artifact/build-artifacts/01:49:44_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:11.513
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Before features/support/hooks.rb:505 0.007
Given a computer 0.214
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:26.866
When I uninstall "popularity-contest" using apt 18.720
And I accept removing "popularity-contest" from Additional Software 0.692
Then "popularity-contest" is not in the list of Additional Software 0.811
When I start Synaptic 22.132
And I update APT using Synaptic 23.526
And I install "cowsay" using Synaptic 9.052
And I accept adding "cowsay" to Additional Software 2.069
Then Additional Software is correctly configured for package "cowsay" 1.050
When I uninstall "cowsay" using apt 3.241
And I refuse removing "cowsay" from Additional Software 0.563
Then Additional Software is correctly configured for package "cowsay" 0.739
When I start "Additional Software" via GNOME Activities Overview 10.534
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 5.525
Then "cowsay" is not in the list of Additional Software 1.235
When I install "cowsay" using apt 3.240
And I refuse adding "cowsay" to Additional Software 0.597
Then "cowsay" is not in the list of Additional Software 0.697
After features/support/hooks.rb:513 0.879
After features/support/hooks.rb:330 0.816
After features/support/hooks.rb:100 0.009
11:57.489
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Before features/support/hooks.rb:505 0.006
Given a computer 0.261
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:30.701
And I configure APT to prefer an old version of cowsay 0.043
When I install an old version "3.03+dfsg2-1" of the cowsay package using apt 26.123
And I accept adding "cowsay" to Additional Software 7.008
And Additional Software is correctly configured for package "cowsay" 0.979
And I shutdown Tails and wait for the computer to power off 6.653
And I start Tails from USB drive "__internal" with network unplugged 1:4.559
And I enable persistence 15.680
# 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.027
# 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.116
And I log in to a new session 46.357
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 32.142
And I revert the APT tweaks that made it prefer an old version of cowsay 0.071
# 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.073
And the network is plugged 0.108
And Tor is ready 21.331
And available upgrades have been checked 1.161
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 2.575
And I can open the Additional Software configuration window from the notification 2.305
And I shutdown Tails and wait for the computer to power off 2:7.845
And I start Tails from USB drive "__internal" with network unplugged 1:6.235
And I enable persistence 13.416
# 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.025
And I log in to a new session 44.424
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 32.753
And I revert the APT tweaks that made it prefer an old version of cowsay 0.075
And the network is plugged 0.064
And Tor is ready 54.132
Then the Additional Software upgrade service has started 0.145
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.089
After features/support/hooks.rb:513 1.377
After features/support/hooks.rb:330 0.698
After features/support/hooks.rb:100 0.037
2:20.698
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Before features/support/hooks.rb:505 0.006
Given a computer 0.201
And I start Tails from USB drive "__internal" with network unplugged 1:2.590
And I enable persistence 13.844
And I remove the "cowsay" deb files from the APT cache 0.061
# 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.088
And I log in to a new session 45.435
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 11.937
And I can open the Additional Software log file from the notification 5.599
And the package "cowsay" is not installed 0.939
After features/support/hooks.rb:513 0.157
After features/support/hooks.rb:330 1.717
After features/support/hooks.rb:100 0.007