Project Number Date
test_Tails_ISO_5501-plaintext-locale-greeter 41 28 Jun 2025, 11:14

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Additional software 74 1 4 0 0 79 4 1 5 33:54.116 Failed
Feature Additional software
As a Tails user I may want to install software not shipped in Tails And have them installed automatically when I enable persistence in the Greeter
6:45.641
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Before features/support/hooks.rb:507 0.012
Given I start Tails from a freshly installed USB drive with an administration password and the network is plugged and I login 1:19.748
And I update APT using apt 16.727
And I install "popularity-contest" using apt 26.695
Then I am proposed to add the "popularity-contest" package to my Additional Software 13.339
When I create a persistent storage and activate the Additional Software feature 31.082
Then Additional Software is correctly configured for package "popularity-contest" 6.520
When I shutdown Tails and wait for the computer to power off 20.270
And I start Tails from USB drive "__internal" with network unplugged 1:23.209
And I enable persistence 41.197
And I log in to a new session 40.472
And the Additional Software installation service has started 42.953
Then I am notified that the installation succeeded 1.881
And Additional Software is correctly configured for package "popularity-contest" 0.881
And the package "popularity-contest" is installed after Additional Software has been started 0.660
After features/support/hooks.rb:515 31.108
After features/support/hooks.rb:330 2.696
After features/support/hooks.rb:100 0.012
4:35.769
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.004
Before features/support/hooks.rb:507 0.007
Steps
Given a computer 0.205
And I start Tails from USB drive "__internal" and I login with an administration password 4:35.563
cannot find GnomeApplicationsMenu.png on the screen (FindFailed)
./features/support/helpers/screen.rb:181:in `rescue in wait'
./features/support/helpers/screen.rb:165:in `wait'
./features/step_definitions/common_steps.rb:579:in `/^the Tails desktop is ready$/'
./features/step_definitions/common_steps.rb:535: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:295: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:46: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:515 0.044
After features/support/hooks.rb:330 5.324

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

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'

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_5501-plaintext-locale-greeter/41/artifact/build-artifacts/01:29:13_The_Additional_Software_dpkg_hook_notices_when_persistence_is_locked_down_while_installing_a_package.file_content_var_log_boot.log

Output of ls -la --full-time /live/persistence/tailsdata_unlocked: https://jenkins.tails.boum.org/job/test_Tails_ISO_5501-plaintext-locale-greeter/41/artifact/build-artifacts/01:29:13_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_5501-plaintext-locale-greeter/41/artifact/build-artifacts/01:29:13_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_5501-plaintext-locale-greeter/41/artifact/build-artifacts/01:29:13_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_5501-plaintext-locale-greeter/41/artifact/build-artifacts/01:29:13_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_5501-plaintext-locale-greeter/41/artifact/build-artifacts/01:29:13_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_5501-plaintext-locale-greeter/41/artifact/build-artifacts/01:29:13_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_5501-plaintext-locale-greeter/41/artifact/build-artifacts/01:29:13_The_Additional_Software_dpkg_hook_notices_when_persistence_is_locked_down_while_installing_a_package.journal

After features/support/hooks.rb:100 0.008
6:38.866
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Before features/support/hooks.rb:507 0.004
Given a computer 0.343
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 4:13.243
When I uninstall "popularity-contest" using apt 27.306
And I accept removing "popularity-contest" from Additional Software 0.596
Then "popularity-contest" is not in the list of Additional Software 1.078
When I start Synaptic 35.422
And I update APT using Synaptic 23.886
And I install "cowsay" using Synaptic 16.599
And I accept adding "cowsay" to Additional Software 1.543
Then Additional Software is correctly configured for package "cowsay" 1.130
When I uninstall "cowsay" using apt 3.294
And I refuse removing "cowsay" from Additional Software 5.623
Then Additional Software is correctly configured for package "cowsay" 2.802
When I start "Additional Software" via GNOME Activities Overview 10.109
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 8.570
Then "cowsay" is not in the list of Additional Software 1.366
When I install "cowsay" using apt 3.258
And I refuse adding "cowsay" to Additional Software 2.002
Then "cowsay" is not in the list of Additional Software 0.684
After features/support/hooks.rb:515 0.738
After features/support/hooks.rb:330 0.826
After features/support/hooks.rb:100 0.008
12:54.881
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Before features/support/hooks.rb:507 0.004
Given a computer 0.310
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:14.278
And I configure APT to prefer an old version of cowsay 0.034
When I install an old version "3.03+dfsg2-1" of the cowsay package using apt 30.321
And I accept adding "cowsay" to Additional Software 8.853
And Additional Software is correctly configured for package "cowsay" 1.417
And I shutdown Tails and wait for the computer to power off 6.798
And I start Tails from USB drive "__internal" with network unplugged 1:27.897
And I enable persistence 22.839
# 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.041
# 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.166
And I log in to a new session 50.434
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 43.980
And I revert the APT tweaks that made it prefer an old version of cowsay 0.124
# 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.300
And the network is plugged 0.253
And Tor is ready 25.926
And available upgrades have been checked 0.098
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 6.716
And I can open the Additional Software configuration window from the notification 3.347
And I shutdown Tails and wait for the computer to power off 15.952
And I start Tails from USB drive "__internal" with network unplugged 1:31.371
And I enable persistence 22.944
# 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.094
And I log in to a new session 56.008
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 43.673
And I revert the APT tweaks that made it prefer an old version of cowsay 0.091
And the network is plugged 0.132
And Tor is ready 1:0.019
Then the Additional Software upgrade service has started 0.353
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.097
After features/support/hooks.rb:515 1.473
After features/support/hooks.rb:330 0.666
After features/support/hooks.rb:100 0.078
2:58.957
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Before features/support/hooks.rb:507 0.005
Given a computer 0.198
And I start Tails from USB drive "__internal" with network unplugged 1:23.934
And I enable persistence 21.038
And I remove the "cowsay" deb files from the APT cache 0.063
# 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.085
And I log in to a new session 54.675
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 8.223
And I can open the Additional Software log file from the notification 9.999
And the package "cowsay" is not installed 0.739
After features/support/hooks.rb:515 0.156
After features/support/hooks.rb:330 1.432
After features/support/hooks.rb:100 0.008