Project Number Date
test_Tails_ISO_18215-update-chutney-force-all-tests 25 05 Apr 2025, 13:57

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Additional software 76 2 6 0 0 84 4 2 6 1:47:19.789 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
36:45.481
Scenario I am warned I can not use Additional Software when I start Tails from a DVD and install a package
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Before features/support/hooks.rb:505 0.004
Steps
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:45.465
And I update APT using apt 35:0.016
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:16:in `And I update APT using apt'
When I install "popularity-contest" using apt 0.000
Then I am notified I can not use Additional Software for "popularity-contest" 0.000
And I can open the Additional Software documentation from the notification 0.000
After features/support/hooks.rb:513 0.032
After features/support/hooks.rb:330 10.746

SCENARIO FAILED: 'I am warned I can not use Additional Software when I start Tails from a DVD and install a package' (at time 01:41:06)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_18215-update-chutney-force-all-tests/25/artifact/build-artifacts/01:41:06_I_am_warned_I_can_not_use_Additional_Software_when_I_start_Tails_from_a_DVD_and_install_a_package.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_18215-update-chutney-force-all-tests/25/artifact/build-artifacts/01:41:06_I_am_warned_I_can_not_use_Additional_Software_when_I_start_Tails_from_a_DVD_and_install_a_package.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_18215-update-chutney-force-all-tests/25/artifact/build-artifacts/01:41:06_I_am_warned_I_can_not_use_Additional_Software_when_I_start_Tails_from_a_DVD_and_install_a_package.journal

After features/support/hooks.rb:100 0.001
15:53.290
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Before features/support/hooks.rb:505 0.002
Given I start Tails from a freshly installed USB drive with an administration password and the network is plugged and I login 1:5.253
And I update APT using apt 10:48.674
And I install "popularity-contest" using apt 27.060
Then I am proposed to add the "popularity-contest" package to my Additional Software 7.262
When I create a persistent storage and activate the Additional Software feature 21.033
Then Additional Software is correctly configured for package "popularity-contest" 2.675
When I shutdown Tails and wait for the computer to power off 12.815
And I start Tails from USB drive "__internal" with network unplugged 1:4.898
And I enable persistence 23.814
And I log in to a new session 44.140
And the Additional Software installation service has started 32.898
Then I am notified that the installation succeeded 1.722
And Additional Software is correctly configured for package "popularity-contest" 0.765
And the package "popularity-contest" is installed after Additional Software has been started 0.272
After features/support/hooks.rb:513 17.653
After features/support/hooks.rb:330 1.979
After features/support/hooks.rb:100 0.016
36:52.175
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.006
Steps
Given a computer 0.208
And I start Tails from USB drive "__internal" and I login with an administration password 1:51.952
And I update APT using apt 35:0.015
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.040
After features/support/hooks.rb:330 10.795

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

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_18215-update-chutney-force-all-tests/25/artifact/build-artifacts/02:34:22_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/25/artifact/build-artifacts/02:34:22_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/25/artifact/build-artifacts/02:34:22_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.356
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.208
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:17.391
When I uninstall "popularity-contest" using apt 18.989
And I accept removing "popularity-contest" from Additional Software 1.802
Then "popularity-contest" is not in the list of Additional Software 0.678
When I start Synaptic 26.608
And I update APT using Synaptic 22.549
And I install "cowsay" using Synaptic 10.320
And I accept adding "cowsay" to Additional Software 1.753
Then Additional Software is correctly configured for package "cowsay" 0.761
When I uninstall "cowsay" using apt 3.216
And I refuse removing "cowsay" from Additional Software 0.806
Then Additional Software is correctly configured for package "cowsay" 0.822
When I start "Additional Software" via GNOME Activities Overview 10.939
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 5.514
Then "cowsay" is not in the list of Additional Software 1.537
When I install "cowsay" using apt 3.246
And I refuse adding "cowsay" to Additional Software 2.345
Then "cowsay" is not in the list of Additional Software 0.861
After features/support/hooks.rb:513 1.233
After features/support/hooks.rb:330 0.880
After features/support/hooks.rb:100 0.008
10:19.001
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Before features/support/hooks.rb:505 0.008
Given a computer 0.216
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:37.477
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 29.646
And I accept adding "cowsay" to Additional Software 5.815
And Additional Software is correctly configured for package "cowsay" 1.064
And I shutdown Tails and wait for the computer to power off 6.401
And I start Tails from USB drive "__internal" with network unplugged 1:4.825
And I enable persistence 13.409
# 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
# 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.114
And I log in to a new session 41.060
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 41.976
And I revert the APT tweaks that made it prefer an old version of cowsay 0.048
# 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.099
And the network is plugged 0.070
And Tor is ready 21.404
And available upgrades have been checked 0.065
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 4.910
And I can open the Additional Software configuration window from the notification 3.058
And I shutdown Tails and wait for the computer to power off 18.174
And I start Tails from USB drive "__internal" with network unplugged 1:2.278
And I enable persistence 13.419
# 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.028
And I log in to a new session 46.497
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 31.749
And I revert the APT tweaks that made it prefer an old version of cowsay 0.067
And the network is plugged 0.091
And Tor is ready 54.713
Then the Additional Software upgrade service has started 0.173
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.088
After features/support/hooks.rb:513 1.507
After features/support/hooks.rb:330 0.718
After features/support/hooks.rb:100 0.026
2:19.483
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Before features/support/hooks.rb:505 0.004
Given a computer 0.203
And I start Tails from USB drive "__internal" with network unplugged 1:3.686
And I enable persistence 13.706
And I remove the "cowsay" deb files from the APT cache 0.060
# 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.072
And I log in to a new session 43.144
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 12.527
And I can open the Additional Software log file from the notification 5.138
And the package "cowsay" is not installed 0.944
After features/support/hooks.rb:513 0.110
After features/support/hooks.rb:330 1.696
After features/support/hooks.rb:100 0.009