Project Number Date
test_Tails_ISO_21014-htpdateerror 10 22 Jun 2025, 22:53

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:28.556 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:43.269
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.010
Before features/support/hooks.rb:507 0.015
Given I start Tails from a freshly installed USB drive with an administration password and the network is plugged and I login 1:17.192
And I update APT using apt 18.462
And I install "popularity-contest" using apt 35.190
Then I am proposed to add the "popularity-contest" package to my Additional Software 6.413
When I create a persistent storage and activate the Additional Software feature 31.527
Then Additional Software is correctly configured for package "popularity-contest" 3.751
When I shutdown Tails and wait for the computer to power off 15.124
And I start Tails from USB drive "__internal" with network unplugged 1:19.045
And I enable persistence 26.357
And I log in to a new session 56.747
And the Additional Software installation service has started 44.107
Then I am notified that the installation succeeded 2.103
And Additional Software is correctly configured for package "popularity-contest" 6.514
And the package "popularity-contest" is installed after Additional Software has been started 0.730
After features/support/hooks.rb:515 25.943
After features/support/hooks.rb:330 2.239
After features/support/hooks.rb:100 0.013
4:31.670
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.006
Before features/support/hooks.rb:507 0.004
Steps
Given a computer 0.253
And I start Tails from USB drive "__internal" and I login with an administration password 4:31.417
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:566:in `/^the Tails desktop is ready$/'
./features/step_definitions/common_steps.rb:522: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
Hooks
After features/support/hooks.rb:515 0.044
After features/support/hooks.rb:330 5.707
no implicit conversion of nil into String (TypeError)
./features/support/hooks.rb:455:in `exist?'
./features/support/hooks.rb:455:in `block (2 levels) in <top (required)>'
./features/support/hooks.rb:450:in `each'
./features/support/hooks.rb:450:in `After'
Output 1

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

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_21014-htpdateerror/10/artifact/build-artifacts/01:33:51_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_21014-htpdateerror/10/artifact/build-artifacts/01:33:51_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_21014-htpdateerror/10/artifact/build-artifacts/01:33:51_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_21014-htpdateerror/10/artifact/build-artifacts/01:33:51_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_21014-htpdateerror/10/artifact/build-artifacts/01:33:51_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_21014-htpdateerror/10/artifact/build-artifacts/01:33:51_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_21014-htpdateerror/10/artifact/build-artifacts/01:33:51_The_Additional_Software_dpkg_hook_notices_when_persistence_is_locked_down_while_installing_a_package.mkv

After features/support/hooks.rb:100 0.009
6:25.005
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.197
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 4:3.458
When I uninstall "popularity-contest" using apt 26.230
And I accept removing "popularity-contest" from Additional Software 2.009
Then "popularity-contest" is not in the list of Additional Software 2.336
When I start Synaptic 31.353
And I update APT using Synaptic 23.669
And I install "cowsay" using Synaptic 20.527
And I accept adding "cowsay" to Additional Software 4.033
Then Additional Software is correctly configured for package "cowsay" 1.587
When I uninstall "cowsay" using apt 3.286
And I refuse removing "cowsay" from Additional Software 2.123
Then Additional Software is correctly configured for package "cowsay" 0.877
When I start "Additional Software" via GNOME Activities Overview 11.014
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 6.458
Then "cowsay" is not in the list of Additional Software 0.940
When I install "cowsay" using apt 3.234
And I refuse adding "cowsay" to Additional Software 0.861
Then "cowsay" is not in the list of Additional Software 0.804
After features/support/hooks.rb:515 0.861
After features/support/hooks.rb:330 0.786
After features/support/hooks.rb:100 0.011
12:56.963
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Before features/support/hooks.rb:507 0.006
Given a computer 0.211
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:36.692
And I configure APT to prefer an old version of cowsay 0.048
When I install an old version "3.03+dfsg2-1" of the cowsay package using apt 34.608
And I accept adding "cowsay" to Additional Software 5.633
And Additional Software is correctly configured for package "cowsay" 1.152
And I shutdown Tails and wait for the computer to power off 11.050
And I start Tails from USB drive "__internal" with network unplugged 1:20.777
And I enable persistence 19.721
# 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.030
# 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.090
And I log in to a new session 46.703
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 43.701
And I revert the APT tweaks that made it prefer an old version of cowsay 0.062
# 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.160
And the network is plugged 0.133
And Tor is ready 28.489
And available upgrades have been checked 0.082
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 5.576
And I can open the Additional Software configuration window from the notification 2.802
And I shutdown Tails and wait for the computer to power off 19.727
And I start Tails from USB drive "__internal" with network unplugged 1:20.561
And I enable persistence 16.096
# 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.047
And I log in to a new session 58.962
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 44.528
And I revert the APT tweaks that made it prefer an old version of cowsay 0.076
And the network is plugged 0.068
And Tor is ready 58.796
Then the Additional Software upgrade service has started 0.200
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.167
After features/support/hooks.rb:515 2.338
After features/support/hooks.rb:330 0.723
After features/support/hooks.rb:100 0.031
2:51.647
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Before features/support/hooks.rb:507 0.007
Given a computer 0.218
And I start Tails from USB drive "__internal" with network unplugged 1:18.896
And I enable persistence 21.929
And I remove the "cowsay" deb files from the APT cache 0.622
# 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.282
And I log in to a new session 50.172
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 8.580
And I can open the Additional Software log file from the notification 10.077
And the package "cowsay" is not installed 0.867
After features/support/hooks.rb:515 0.119
After features/support/hooks.rb:330 1.653
After features/support/hooks.rb:100 0.008