Project Number Date
test_Tails_ISO_20263-remote-shell-debug-logging 21 21 Mar 2025, 22:10

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:30.859 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
10:27.214
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Before features/support/hooks.rb:511 0.011
Given I start Tails from a freshly installed USB drive with an administration password and the network is plugged and I login 1:5.516
And I update APT using apt 5:49.901
And I install "popularity-contest" using apt 22.761
Then I am proposed to add the "popularity-contest" package to my Additional Software 5.736
When I create a persistent storage and activate the Additional Software feature 18.596
Then Additional Software is correctly configured for package "popularity-contest" 1.106
When I shutdown Tails and wait for the computer to power off 10.579
And I start Tails from USB drive "__internal" with network unplugged 58.524
And I enable persistence 22.815
And I log in to a new session 36.830
And the Additional Software installation service has started 32.050
Then I am notified that the installation succeeded 1.782
And Additional Software is correctly configured for package "popularity-contest" 0.759
And the package "popularity-contest" is installed after Additional Software has been started 0.252
After features/support/hooks.rb:519 14.418
After features/support/hooks.rb:330 1.759
After features/support/hooks.rb:100 0.011
36:38.830
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.006
Steps
Given a computer 0.195
And I start Tails from USB drive "__internal" and I login with an administration password 1:38.611
And I update APT using apt 35:0.023
execution expired (RemoteShell::Timeout)
./features/support/helpers/remote_shell.rb:62:in `read'
./features/support/helpers/remote_shell.rb:62:in `block (3 levels) in communicate'
./features/support/helpers/remote_shell.rb:61:in `block (2 levels) in communicate'
./features/support/helpers/remote_shell.rb:44:in `loop'
./features/support/helpers/remote_shell.rb:44:in `block in communicate'
./features/support/helpers/remote_shell.rb:37:in `communicate'
./features/support/helpers/remote_shell.rb:182:in `execute'
./features/support/helpers/remote_shell.rb:193: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.032
After features/support/hooks.rb:330 10.774

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

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20263-remote-shell-debug-logging/21/artifact/build-artifacts/01:42:47_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_20263-remote-shell-debug-logging/21/artifact/build-artifacts/01:42:47_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_20263-remote-shell-debug-logging/21/artifact/build-artifacts/01:42:47_The_Additional_Software_dpkg_hook_notices_when_persistence_is_locked_down_while_installing_a_package.journal

After features/support/hooks.rb:100 0.009
5:2.575
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.213
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:14.093
When I uninstall "popularity-contest" using apt 21.766
And I accept removing "popularity-contest" from Additional Software 0.684
Then "popularity-contest" is not in the list of Additional Software 0.665
When I start Synaptic 26.655
And I update APT using Synaptic 21.711
And I install "cowsay" using Synaptic 9.752
And I accept adding "cowsay" to Additional Software 1.000
Then Additional Software is correctly configured for package "cowsay" 0.752
When I uninstall "cowsay" using apt 3.242
And I refuse removing "cowsay" from Additional Software 0.670
Then Additional Software is correctly configured for package "cowsay" 0.763
When I start "Additional Software" via GNOME Activities Overview 10.417
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 4.674
Then "cowsay" is not in the list of Additional Software 0.877
When I install "cowsay" using apt 3.209
And I refuse adding "cowsay" to Additional Software 0.734
Then "cowsay" is not in the list of Additional Software 0.690
After features/support/hooks.rb:519 0.684
After features/support/hooks.rb:330 0.740
After features/support/hooks.rb:100 0.008
9:13.902
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.182
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:20.668
And I configure APT to prefer an old version of cowsay 0.026
When I install an old version "3.03+dfsg2-1" of the cowsay package using apt 25.825
And I accept adding "cowsay" to Additional Software 4.998
And Additional Software is correctly configured for package "cowsay" 0.842
And I shutdown Tails and wait for the computer to power off 6.345
And I start Tails from USB drive "__internal" with network unplugged 57.691
And I enable persistence 12.288
# 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.089
And I log in to a new session 38.463
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 31.430
And I revert the APT tweaks that made it prefer an old version of cowsay 0.053
# 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.082
And the network is plugged 0.069
And Tor is ready 20.476
And available upgrades have been checked 0.102
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 4.643
And I can open the Additional Software configuration window from the notification 4.321
And I shutdown Tails and wait for the computer to power off 13.710
And I start Tails from USB drive "__internal" with network unplugged 58.076
And I enable persistence 11.083
# 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
And I log in to a new session 38.304
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 31.421
And I revert the APT tweaks that made it prefer an old version of cowsay 0.047
And the network is plugged 0.075
And Tor is ready 52.260
Then the Additional Software upgrade service has started 0.161
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.101
After features/support/hooks.rb:519 1.344
After features/support/hooks.rb:330 0.654
After features/support/hooks.rb:100 0.023
2:8.337
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Before features/support/hooks.rb:511 0.005
Given a computer 0.180
And I start Tails from USB drive "__internal" with network unplugged 57.330
And I enable persistence 14.830
And I remove the "cowsay" deb files from the APT cache 0.049
# 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.078
And I log in to a new session 37.682
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 12.420
And I can open the Additional Software log file from the notification 5.181
And the package "cowsay" is not installed 0.582
After features/support/hooks.rb:519 0.133
After features/support/hooks.rb:330 1.519
After features/support/hooks.rb:100 0.007