Project Number Date
test_Tails_ISO_21014-htpdateerror 21 03 Jul 2025, 22:51

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 35:13.485 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:29.260
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.010
Before features/support/hooks.rb:507 0.010
Given I start Tails from a freshly installed USB drive with an administration password and the network is plugged and I login 1:11.858
And I update APT using apt 17.402
And I install "popularity-contest" using apt 31.568
Then I am proposed to add the "popularity-contest" package to my Additional Software 7.462
When I create a persistent storage and activate the Additional Software feature 29.296
Then Additional Software is correctly configured for package "popularity-contest" 3.285
When I shutdown Tails and wait for the computer to power off 15.943
And I start Tails from USB drive "__internal" with network unplugged 1:22.669
And I enable persistence 26.582
And I log in to a new session 55.960
And the Additional Software installation service has started 43.932
Then I am notified that the installation succeeded 1.981
And Additional Software is correctly configured for package "popularity-contest" 1.038
And the package "popularity-contest" is installed after Additional Software has been started 0.276
After features/support/hooks.rb:515 27.157
After features/support/hooks.rb:330 2.630
After features/support/hooks.rb:100 0.014
4:39.050
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:507 0.008
Steps
Given a computer 0.219
And I start Tails from USB drive "__internal" and I login with an administration password 4:38.830
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.048
After features/support/hooks.rb:330 5.386
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:26:47)

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/21/artifact/build-artifacts/01:26:47_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/21/artifact/build-artifacts/01:26:47_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/21/artifact/build-artifacts/01:26:47_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/21/artifact/build-artifacts/01:26:47_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/21/artifact/build-artifacts/01:26:47_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/21/artifact/build-artifacts/01:26: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_21014-htpdateerror/21/artifact/build-artifacts/01:26:47_The_Additional_Software_dpkg_hook_notices_when_persistence_is_locked_down_while_installing_a_package.mkv

After features/support/hooks.rb:100 0.008
6:24.437
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.223
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 4:2.829
When I uninstall "popularity-contest" using apt 23.240
And I accept removing "popularity-contest" from Additional Software 1.921
Then "popularity-contest" is not in the list of Additional Software 2.411
When I start Synaptic 35.729
And I update APT using Synaptic 24.551
And I install "cowsay" using Synaptic 14.676
And I accept adding "cowsay" to Additional Software 6.595
Then Additional Software is correctly configured for package "cowsay" 2.074
When I uninstall "cowsay" using apt 3.340
And I refuse removing "cowsay" from Additional Software 2.357
Then Additional Software is correctly configured for package "cowsay" 0.909
When I start "Additional Software" via GNOME Activities Overview 11.433
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 6.023
Then "cowsay" is not in the list of Additional Software 0.919
When I install "cowsay" using apt 3.246
And I refuse adding "cowsay" to Additional Software 0.888
Then "cowsay" is not in the list of Additional Software 1.065
After features/support/hooks.rb:515 0.836
After features/support/hooks.rb:330 0.881
After features/support/hooks.rb:100 0.051
14:40.472
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.035
Before features/support/hooks.rb:507 0.034
Given a computer 1.199
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:12.623
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 39.214
And I accept adding "cowsay" to Additional Software 4.618
And Additional Software is correctly configured for package "cowsay" 1.248
And I shutdown Tails and wait for the computer to power off 9.812
And I start Tails from USB drive "__internal" with network unplugged 1:20.282
And I enable persistence 17.704
# 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.054
# 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.134
And I log in to a new session 50.591
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 47.075
And I revert the APT tweaks that made it prefer an old version of cowsay 0.164
# 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.122
And the network is plugged 0.562
And Tor is ready 30.568
And available upgrades have been checked 0.120
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 3.286
And I can open the Additional Software configuration window from the notification 6.004
And I shutdown Tails and wait for the computer to power off 2:8.134
And I start Tails from USB drive "__internal" with network unplugged 1:22.096
And I enable persistence 19.367
# 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 58.662
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 43.553
And I revert the APT tweaks that made it prefer an old version of cowsay 0.080
And the network is plugged 0.082
And Tor is ready 1:2.086
Then the Additional Software upgrade service has started 0.632
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.331
After features/support/hooks.rb:515 5.342
After features/support/hooks.rb:330 1.654
After features/support/hooks.rb:100 0.125
3:0.264
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.016
Before features/support/hooks.rb:507 0.009
Given a computer 0.356
And I start Tails from USB drive "__internal" with network unplugged 1:24.431
And I enable persistence 16.165
And I remove the "cowsay" deb files from the APT cache 0.086
# 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.101
And I log in to a new session 46.592
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 20.893
And I can open the Additional Software log file from the notification 10.512
And the package "cowsay" is not installed 1.125
After features/support/hooks.rb:515 0.239
After features/support/hooks.rb:330 2.129
After features/support/hooks.rb:100 0.007