Project Number Date
test_Tails_ISO_21014-htpdateerror 17 29 Jun 2025, 22:59

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Additional software 72 1 6 0 0 79 4 1 5 30:46.000 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
4:56.146
Scenario I set up Additional Software when installing a package without persistent partition and the package is installed next time I start Tails
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.014
Before features/support/hooks.rb:507 0.018
Steps
Given I start Tails from a freshly installed USB drive with an administration password and the network is plugged and I login 1:22.311
And I update APT using apt 19.069
And I install "popularity-contest" using apt 28.349
Then I am proposed to add the "popularity-contest" package to my Additional Software 8.581
When I create a persistent storage and activate the Additional Software feature 34.447
Then Additional Software is correctly configured for package "popularity-contest" 3.247
When I shutdown Tails and wait for the computer to power off 14.288
And I start Tails from USB drive "__internal" with network unplugged 1:45.850
try_for() timeout expired
Last ignored exception was: RemoteShell::ServerFailure: FileNotFoundError: [Errno 2] No such file or directory: '/tmp/gdm-env'
./features/support/helpers/remote_shell.rb:71:in `block (2 levels) in communicate'
./features/support/helpers/remote_shell.rb:42:in `loop'
./features/support/helpers/remote_shell.rb:42:in `block in communicate'
./features/support/helpers/remote_shell.rb:37:in `communicate'
./features/support/helpers/remote_shell.rb:174:in `execute'
./features/support/helpers/remote_shell.rb:185:in `initialize'
./features/support/helpers/dogtail.rb:80:in `new'
./features/support/helpers/dogtail.rb:80:in `run'
./features/support/helpers/dogtail.rb:70:in `initialize'
./features/step_definitions/usb.rb:108:in `new'
./features/step_definitions/usb.rb:108:in `greeter'
./features/step_definitions/common_steps.rb:460:in `block (2 levels) in <top (required)>'
./features/support/helpers/misc_helpers.rb:78:in `block (2 levels) in try_for'
./features/support/helpers/misc_helpers.rb:66:in `loop'
./features/support/helpers/misc_helpers.rb:66:in `block in try_for'
./features/support/helpers/misc_helpers.rb:65:in `try_for'
./features/step_definitions/common_steps.rb:459:in `block in <top (required)>'
./features/step_definitions/common_steps.rb:284:in `block in <top (required)>' (Timeout::Error)
./features/support/helpers/misc_helpers.rb:145:in `rescue in try_for'
./features/support/helpers/misc_helpers.rb:51:in `try_for'
./features/step_definitions/common_steps.rb:459:in `/^the computer (?:re)?boots Tails$/'
./features/step_definitions/common_steps.rb:284: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:35:in `And I start Tails from USB drive "__internal" with network unplugged'
And I enable persistence 0.000
And I log in to a new session 0.000
And the Additional Software installation service has started 0.000
Then I am notified that the installation succeeded 0.000
And Additional Software is correctly configured for package "popularity-contest" 0.000
And the package "popularity-contest" is installed after Additional Software has been started 0.000
Hooks
After features/support/hooks.rb:515 0.048
After features/support/hooks.rb:330 7.847
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: 'I set up Additional Software when installing a package without persistent partition and the package is installed next time I start Tails' (at time 01:25:24)

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/17/artifact/build-artifacts/01:25:24_I_set_up_Additional_Software_when_installing_a_package_without_persistent_partition_and_the_package_is_installed_next_time_I_start_Tails.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/17/artifact/build-artifacts/01:25:24_I_set_up_Additional_Software_when_installing_a_package_without_persistent_partition_and_the_package_is_installed_next_time_I_start_Tails.cmd_output_persistent_volume

Output of ls -lar --full-time /var/cache/apt: https://jenkins.tails.boum.org/job/test_Tails_ISO_21014-htpdateerror/17/artifact/build-artifacts/01:25:24_I_set_up_Additional_Software_when_installing_a_package_without_persistent_partition_and_the_package_is_installed_next_time_I_start_Tails.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/17/artifact/build-artifacts/01:25:24_I_set_up_Additional_Software_when_installing_a_package_without_persistent_partition_and_the_package_is_installed_next_time_I_start_Tails.cmd_output_var_lib_apt

Output of mount: https://jenkins.tails.boum.org/job/test_Tails_ISO_21014-htpdateerror/17/artifact/build-artifacts/01:25:24_I_set_up_Additional_Software_when_installing_a_package_without_persistent_partition_and_the_package_is_installed_next_time_I_start_Tails.cmd_output_mount

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_21014-htpdateerror/17/artifact/build-artifacts/01:25:24_I_set_up_Additional_Software_when_installing_a_package_without_persistent_partition_and_the_package_is_installed_next_time_I_start_Tails.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_21014-htpdateerror/17/artifact/build-artifacts/01:25:24_I_set_up_Additional_Software_when_installing_a_package_without_persistent_partition_and_the_package_is_installed_next_time_I_start_Tails.mkv

After features/support/hooks.rb:100 0.027
3:15.403
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Before features/support/hooks.rb:507 0.008
Given a computer 0.337
And I start Tails from USB drive "__internal" and I login with an administration password 2:23.022
And I update APT using apt 16.227
When I install "makepp" using apt 27.759
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 7.665
And the package "makepp" is installed 0.391
After features/support/hooks.rb:515 26.353
After features/support/hooks.rb:330 1.977
After features/support/hooks.rb:100 0.019
6:43.767
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.015
Before features/support/hooks.rb:507 0.008
Given a computer 0.278
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 4:23.371
When I uninstall "popularity-contest" using apt 26.094
And I accept removing "popularity-contest" from Additional Software 1.510
Then "popularity-contest" is not in the list of Additional Software 2.427
When I start Synaptic 29.827
And I update APT using Synaptic 23.531
And I install "cowsay" using Synaptic 16.845
And I accept adding "cowsay" to Additional Software 1.324
Then Additional Software is correctly configured for package "cowsay" 1.104
When I uninstall "cowsay" using apt 3.649
And I refuse removing "cowsay" from Additional Software 3.429
Then Additional Software is correctly configured for package "cowsay" 2.181
When I start "Additional Software" via GNOME Activities Overview 12.251
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 10.200
Then "cowsay" is not in the list of Additional Software 1.164
When I install "cowsay" using apt 3.333
And I refuse adding "cowsay" to Additional Software 0.491
Then "cowsay" is not in the list of Additional Software 0.749
After features/support/hooks.rb:515 1.091
After features/support/hooks.rb:330 0.778
After features/support/hooks.rb:100 0.008
12:48.127
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Before features/support/hooks.rb:507 0.006
Given a computer 0.346
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:18.214
And I configure APT to prefer an old version of cowsay 0.030
When I install an old version "3.03+dfsg2-1" of the cowsay package using apt 35.889
And I accept adding "cowsay" to Additional Software 7.972
And Additional Software is correctly configured for package "cowsay" 1.241
And I shutdown Tails and wait for the computer to power off 7.691
And I start Tails from USB drive "__internal" with network unplugged 1:22.205
And I enable persistence 17.659
# 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.061
# 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.117
And I log in to a new session 1:4.422
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 33.778
And I revert the APT tweaks that made it prefer an old version of cowsay 0.083
# 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.121
And the network is plugged 0.470
And Tor is ready 24.749
And available upgrades have been checked 1.215
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 4.258
And I can open the Additional Software configuration window from the notification 5.453
And I shutdown Tails and wait for the computer to power off 15.806
And I start Tails from USB drive "__internal" with network unplugged 1:26.533
And I enable persistence 21.378
# 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.090
And I log in to a new session 47.256
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 44.743
And I revert the APT tweaks that made it prefer an old version of cowsay 0.136
And the network is plugged 0.102
And Tor is ready 1:4.453
Then the Additional Software upgrade service has started 0.726
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.916
After features/support/hooks.rb:515 3.343
After features/support/hooks.rb:330 0.955
After features/support/hooks.rb:100 0.042
3:2.555
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Before features/support/hooks.rb:507 0.007
Given a computer 0.257
And I start Tails from USB drive "__internal" with network unplugged 1:21.685
And I enable persistence 17.533
And I remove the "cowsay" deb files from the APT cache 0.079
# 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.102
And I log in to a new session 1:3.849
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 8.692
And I can open the Additional Software log file from the notification 9.559
And the package "cowsay" is not installed 0.795
After features/support/hooks.rb:515 0.120
After features/support/hooks.rb:330 1.938
After features/support/hooks.rb:100 0.008