Project Number Date
test_Tails_ISO_stable 4579 20 Dec 2023, 13:33

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Additional software 70 1 4 0 0 75 4 1 5 28:43.321 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:42.414
Before features/support/hooks.rb:245 0.003
Before features/support/hooks.rb:442 0.003
Given I start Tails from a freshly installed USB drive with an administration password and the network is plugged and I login 50.902
And I update APT using apt 16.702
And I install "popularity-contest" using apt 19.568
Then I am proposed to add the "popularity-contest" package to my Additional Software 1:2.124
When I create a persistent storage and activate the Additional Software feature 17.230
Then Additional Software is correctly configured for package "popularity-contest" 1.422
When I shutdown Tails and wait for the computer to power off 10.090
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:43.110
Then Additional Software is correctly configured for package "popularity-contest" 0.994
And the package "popularity-contest" is installed after Additional Software has been started 0.268
After features/support/hooks.rb:450 38.777
After features/support/hooks.rb:291 0.991
After features/support/hooks.rb:75 0.031
3:55.218
Scenario The Additional Software dpkg hook notices when persistence is locked down while installing a package
Before features/support/hooks.rb:245 0.006
Before features/support/hooks.rb:442 0.006
Steps
Given a computer 0.222
And I start Tails from USB drive "__internal" and I login with an administration password 3:54.996
cannot find GnomeApplicationsMenu.png on the screen (FindFailed)
./features/support/helpers/screen.rb:166:in `rescue in wait'
./features/support/helpers/screen.rb:159:in `wait'
./features/step_definitions/common_steps.rb:499:in `/^the Tails desktop is ready$/'
./features/step_definitions/common_steps.rb:454:in `/^I log in to a new session(?: in ([^ ]*) \(([^ ]*)\))?( without activating the Persistent Storage)?( after having activated the Persistent Storage| expecting no warning about the Persistent Storage not being activated)?$/'
./features/step_definitions/common_steps.rb:240:in `/^I start Tails from (.+?) drive "(.+?)"( with network unplugged)?( and I login( with persistence enabled)?( with the changed persistence passphrase)?( (?:and|with) an administration password)?)?$/'
features/additional_software_packages.feature:42:in `And I start Tails from USB drive "__internal" and I login with an administration password'
And I update APT using apt 0.000
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:450 0.037
After features/support/hooks.rb:291 4.382

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

Exception thrown while trying to save /tmp/TailsToaster/artifact.file_content_run_live-additional-software_log: RemoteShell::ServerFailure: FileNotFoundError: [Errno 2] No such file or directory: '/run/live-additional-software/log'

Output of ls -la --full-time /live/persistence/tailsdata_unlocked: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4579/artifact/build-artifacts/01:13:28_The_Additional_Software_dpkg_hook_notices_when_persistence_is_locked_down_while_installing_a_package.cmd_output_persistent_volume

Output of ls -lar --full-time /var/cache/apt: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4579/artifact/build-artifacts/01:13:28_The_Additional_Software_dpkg_hook_notices_when_persistence_is_locked_down_while_installing_a_package.cmd_output_var_cache_apt

Output of ls -lar --full-time /var/lib/apt: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4579/artifact/build-artifacts/01:13:28_The_Additional_Software_dpkg_hook_notices_when_persistence_is_locked_down_while_installing_a_package.cmd_output_var_lib_apt

Output of mount: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4579/artifact/build-artifacts/01:13:28_The_Additional_Software_dpkg_hook_notices_when_persistence_is_locked_down_while_installing_a_package.cmd_output_mount

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4579/artifact/build-artifacts/01:13:28_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_stable/4579/artifact/build-artifacts/01:13:28_The_Additional_Software_dpkg_hook_notices_when_persistence_is_locked_down_while_installing_a_package.mkv

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4579/artifact/build-artifacts/01:13:28_The_Additional_Software_dpkg_hook_notices_when_persistence_is_locked_down_while_installing_a_package.boot-log

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4579/artifact/build-artifacts/01:13:28_The_Additional_Software_dpkg_hook_notices_when_persistence_is_locked_down_while_installing_a_package.journal

After features/support/hooks.rb:75 0.010
4:54.530
Before features/support/hooks.rb:245 0.007
Before features/support/hooks.rb:442 0.008
Given a computer 0.180
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:13.817
When I uninstall "popularity-contest" using apt 12.682
And I accept removing "popularity-contest" from Additional Software 0.874
Then "popularity-contest" is not in the list of Additional Software 0.847
When I start Synaptic 23.788
And I update APT using Synaptic 21.946
And I install "cowsay" using Synaptic 9.806
And I accept adding "cowsay" to Additional Software 0.925
Then Additional Software is correctly configured for package "cowsay" 0.976
When I uninstall "cowsay" using apt 3.401
And I refuse removing "cowsay" from Additional Software 0.802
Then Additional Software is correctly configured for package "cowsay" 1.026
When I start "Additional Software" via GNOME Activities Overview 12.653
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 4.756
Then "cowsay" is not in the list of Additional Software 1.215
When I install "cowsay" using apt 3.299
And I refuse adding "cowsay" to Additional Software 0.678
Then "cowsay" is not in the list of Additional Software 0.849
After features/support/hooks.rb:450 1.094
After features/support/hooks.rb:291 0.888
After features/support/hooks.rb:75 0.011
12:20.745
Before features/support/hooks.rb:245 0.005
Before features/support/hooks.rb:442 0.007
Given a computer 0.194
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:8.475
And I configure APT to prefer an old version of cowsay 0.023
When I install an old version "3.03+dfsg2-1" of the cowsay package using apt 25.255
And I accept adding "cowsay" to Additional Software 1:6.938
And Additional Software is correctly configured for package "cowsay" 1.480
And I shutdown Tails and wait for the computer to power off 6.083
And I start Tails from USB drive "__internal" with network unplugged 47.776
And I enable persistence 34.364
# 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.023
And I log in to a new session 22.599
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 51.315
And I revert the APT tweaks that made it prefer an old version of cowsay 0.096
# 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.095
And the network is plugged 0.049
And Tor is ready 20.455
# Note: the next step races against the appearance of the "The
# upgrade of your additional software failed" notification.
# It should win most of the time, which is good, but there's no
# guarantee it does. If it loses, then it'll remove the notification
# we'll be trying to interact with below ("I can open…")
And all notifications have disappeared 6.325
And available upgrades have been checked 0.169
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 1.104
And I can open the Additional Software configuration window from the notification 3.154
And I shutdown Tails and wait for the computer to power off 2:2.480
And I start Tails from USB drive "__internal" with network unplugged 46.331
And I enable persistence 33.917
# 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.023
And I log in to a new session 32.094
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 41.191
And I revert the APT tweaks that made it prefer an old version of cowsay 0.051
And the network is plugged 0.048
And Tor is ready 48.298
Then the Additional Software upgrade service has started 0.247
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.078
After features/support/hooks.rb:450 2.409
After features/support/hooks.rb:291 0.693
After features/support/hooks.rb:75 0.034
1:50.412
Before features/support/hooks.rb:245 0.008
Before features/support/hooks.rb:442 0.008
Given a computer 0.218
And I start Tails from USB drive "__internal" with network unplugged 44.872
And I enable persistence 31.894
And I remove the "cowsay" deb files from the APT cache 0.627
# 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.080
And I log in to a new session 24.173
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 5.168
And I can open the Additional Software log file from the notification 3.187
And the package "cowsay" is not installed 0.189
After features/support/hooks.rb:450 0.113
After features/support/hooks.rb:291 0.900
After features/support/hooks.rb:75 0.012