Project Number Date
test_Tails_ISO_18215-update-chutney-force-all-tests 27 07 Apr 2025, 13:21

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:12:43.610 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:55.023
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Before features/support/hooks.rb:505 0.004
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:44.512
And I update APT using apt 3:5.854
When I install "popularity-contest" using apt 23.053
Then I am notified I can not use Additional Software for "popularity-contest" 9.338
And I can open the Additional Software documentation from the notification 32.263
After features/support/hooks.rb:513 15.942
After features/support/hooks.rb:330 4.204
After features/support/hooks.rb:100 0.004
10:45.424
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 I start Tails from a freshly installed USB drive with an administration password and the network is plugged and I login 1:14.627
And I update APT using apt 5:28.643
And I install "popularity-contest" using apt 23.389
Then I am proposed to add the "popularity-contest" package to my Additional Software 7.331
When I create a persistent storage and activate the Additional Software feature 20.745
Then Additional Software is correctly configured for package "popularity-contest" 2.994
When I shutdown Tails and wait for the computer to power off 13.360
And I start Tails from USB drive "__internal" with network unplugged 1:6.497
And I enable persistence 25.802
And I log in to a new session 44.139
And the Additional Software installation service has started 33.956
Then I am notified that the installation succeeded 2.738
And Additional Software is correctly configured for package "popularity-contest" 0.906
And the package "popularity-contest" is installed after Additional Software has been started 0.290
After features/support/hooks.rb:513 15.454
After features/support/hooks.rb:330 2.344
After features/support/hooks.rb:100 0.013
36:46.330
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:505 0.004
Steps
Given a computer 0.282
And I start Tails from USB drive "__internal" and I login with an administration password 1:46.029
And I update APT using apt 35:0.018
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.037
After features/support/hooks.rb:330 10.769

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

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_18215-update-chutney-force-all-tests/27/artifact/build-artifacts/01:56:50_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/27/artifact/build-artifacts/01:56:50_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/27/artifact/build-artifacts/01:56:50_The_Additional_Software_dpkg_hook_notices_when_persistence_is_locked_down_while_installing_a_package.journal

After features/support/hooks.rb:100 0.011
4:56.695
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Before features/support/hooks.rb:505 0.005
Given a computer 0.229
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:10.821
When I uninstall "popularity-contest" using apt 21.776
And I accept removing "popularity-contest" from Additional Software 0.557
Then "popularity-contest" is not in the list of Additional Software 0.743
When I start Synaptic 22.761
And I update APT using Synaptic 22.986
And I install "cowsay" using Synaptic 9.692
And I accept adding "cowsay" to Additional Software 0.872
Then Additional Software is correctly configured for package "cowsay" 0.732
When I uninstall "cowsay" using apt 3.277
And I refuse removing "cowsay" from Additional Software 0.465
Then Additional Software is correctly configured for package "cowsay" 0.842
When I start "Additional Software" via GNOME Activities Overview 9.855
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 4.788
Then "cowsay" is not in the list of Additional Software 1.625
When I install "cowsay" using apt 3.204
And I refuse adding "cowsay" to Additional Software 0.605
Then "cowsay" is not in the list of Additional Software 0.855
After features/support/hooks.rb:513 1.025
After features/support/hooks.rb:330 0.721
After features/support/hooks.rb:100 0.009
11:53.143
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.301
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:33.733
And I configure APT to prefer an old version of cowsay 0.029
When I install an old version "3.03+dfsg2-1" of the cowsay package using apt 29.269
And I accept adding "cowsay" to Additional Software 4.365
And Additional Software is correctly configured for package "cowsay" 0.919
And I shutdown Tails and wait for the computer to power off 6.066
And I start Tails from USB drive "__internal" with network unplugged 1:1.493
And I enable persistence 11.440
# 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.033
# 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.101
And I log in to a new session 41.776
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 32.450
And I revert the APT tweaks that made it prefer an old version of cowsay 0.055
# 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.077
And the network is plugged 0.072
And Tor is ready 20.338
And available upgrades have been checked 1.170
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 3.841
And I can open the Additional Software configuration window from the notification 2.511
And I shutdown Tails and wait for the computer to power off 2:2.087
And I start Tails from USB drive "__internal" with network unplugged 1:3.558
And I enable persistence 13.335
# 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.024
And I log in to a new session 39.712
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 42.277
And I revert the APT tweaks that made it prefer an old version of cowsay 0.063
And the network is plugged 0.073
And Tor is ready 1:1.695
Then the Additional Software upgrade service has started 0.185
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.078
After features/support/hooks.rb:513 1.685
After features/support/hooks.rb:330 0.670
After features/support/hooks.rb:100 0.032
2:26.994
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Before features/support/hooks.rb:505 0.007
Given a computer 0.206
And I start Tails from USB drive "__internal" with network unplugged 1:11.625
And I enable persistence 12.254
And I remove the "cowsay" deb files from the APT cache 0.106
# 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.181
And I log in to a new session 42.312
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 13.269
And I can open the Additional Software log file from the notification 6.192
And the package "cowsay" is not installed 0.845
After features/support/hooks.rb:513 0.134
After features/support/hooks.rb:330 2.051
After features/support/hooks.rb:100 0.012