Project Number Date
test_Tails_ISO_21027-fix-interactive-debugging-context 4 19 Jun 2025, 00:59

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Additional software 76 1 2 0 0 79 4 1 5 35:0.037 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:30.361
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Before features/support/hooks.rb:509 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:25.558
And I update APT using apt 14.246
And I install "popularity-contest" using apt 29.046
Then I am proposed to add the "popularity-contest" package to my Additional Software 8.194
When I create a persistent storage and activate the Additional Software feature 29.315
Then Additional Software is correctly configured for package "popularity-contest" 3.840
When I shutdown Tails and wait for the computer to power off 16.195
And I start Tails from USB drive "__internal" with network unplugged 1:17.185
And I enable persistence 34.802
And I log in to a new session 42.413
And the Additional Software installation service has started 44.128
Then I am notified that the installation succeeded 2.981
And Additional Software is correctly configured for package "popularity-contest" 2.037
And the package "popularity-contest" is installed after Additional Software has been started 0.414
After features/support/hooks.rb:517 22.852
After features/support/hooks.rb:330 2.242
After features/support/hooks.rb:100 0.012
3:14.543
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Before features/support/hooks.rb:509 0.005
Given a computer 0.212
And I start Tails from USB drive "__internal" and I login with an administration password 2:20.414
And I update APT using apt 15.285
When I install "makepp" using apt 26.831
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 11.680
And the package "makepp" is installed 0.119
After features/support/hooks.rb:517 23.395
After features/support/hooks.rb:330 1.274
After features/support/hooks.rb:100 0.016
6:22.921
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Before features/support/hooks.rb:509 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:4.302
When I uninstall "popularity-contest" using apt 26.356
And I accept removing "popularity-contest" from Additional Software 3.959
Then "popularity-contest" is not in the list of Additional Software 1.165
When I start Synaptic 27.540
And I update APT using Synaptic 23.434
And I install "cowsay" using Synaptic 18.554
And I accept adding "cowsay" to Additional Software 2.306
Then Additional Software is correctly configured for package "cowsay" 2.463
When I uninstall "cowsay" using apt 6.624
And I refuse removing "cowsay" from Additional Software 0.516
Then Additional Software is correctly configured for package "cowsay" 0.914
When I start "Additional Software" via GNOME Activities Overview 10.918
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 7.665
Then "cowsay" is not in the list of Additional Software 0.939
When I install "cowsay" using apt 3.318
And I refuse adding "cowsay" to Additional Software 0.899
Then "cowsay" is not in the list of Additional Software 0.817
After features/support/hooks.rb:517 0.762
After features/support/hooks.rb:330 0.701
After features/support/hooks.rb:100 0.040
14:26.247
Scenario Recovering in offline mode after Additional Software previously failed to upgrade and then succeed to upgrade when online
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Before features/support/hooks.rb:509 0.005
Steps
Given a computer 0.185
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:30.668
And I configure APT to prefer an old version of cowsay 0.058
When I install an old version "3.03+dfsg2-1" of the cowsay package using apt 35.875
And I accept adding "cowsay" to Additional Software 9.296
And Additional Software is correctly configured for package "cowsay" 1.085
And I shutdown Tails and wait for the computer to power off 12.358
And I start Tails from USB drive "__internal" with network unplugged 1:31.153
And I enable persistence 25.024
# 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.081
# 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.177
And I log in to a new session 54.148
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 56.745
And I revert the APT tweaks that made it prefer an old version of cowsay 0.085
# 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.107
And the network is plugged 0.102
And Tor is ready 36.665
And available upgrades have been checked 1.234
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 4.112
And I can open the Additional Software configuration window from the notification 8.954
And I shutdown Tails and wait for the computer to power off 22.382
And I start Tails from USB drive "__internal" with network unplugged 1:44.050
And I enable persistence 26.188
# 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
And I log in to a new session 1:20.580
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 1:2.223
And I revert the APT tweaks that made it prefer an old version of cowsay 1.624
And the network is plugged 3.218
And Tor is ready 17.825
try_for() timeout expired (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/tor.rb:828:in `click_connect_to_tor'
./features/step_definitions/tor.rb:502:in `tca_configure'
./features/step_definitions/tor.rb:512:in `/^I configure a direct connection in the Tor Connection Assistant$/'
./features/step_definitions/common_steps.rb:653:in `/^I successfully configure Tor$/'
./features/step_definitions/common_steps.rb:607:in `/^Tor is ready$/'
features/additional_software_packages.feature:114:in `And Tor is ready'
Then the Additional Software upgrade service has started 0.000
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.000
After features/support/hooks.rb:517 0.117
After features/support/hooks.rb:330 9.039

SCENARIO FAILED: 'Recovering in offline mode after Additional Software previously failed to upgrade and then succeed to upgrade when online' (at time 01:44:53)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_21027-fix-interactive-debugging-context/4/artifact/build-artifacts/01:44:53_Recovering_in_offline_mode_after_Additional_Software_previously_failed_to_upgrade_and_then_succeed_to_upgrade_when_online.file_content_var_log_boot.log

Content of /run/live-additional-software/log: https://jenkins.tails.boum.org/job/test_Tails_ISO_21027-fix-interactive-debugging-context/4/artifact/build-artifacts/01:44:53_Recovering_in_offline_mode_after_Additional_Software_previously_failed_to_upgrade_and_then_succeed_to_upgrade_when_online.file_content_run_live-additional-software_log

Output of ls -la --full-time /live/persistence/tailsdata_unlocked: https://jenkins.tails.boum.org/job/test_Tails_ISO_21027-fix-interactive-debugging-context/4/artifact/build-artifacts/01:44:53_Recovering_in_offline_mode_after_Additional_Software_previously_failed_to_upgrade_and_then_succeed_to_upgrade_when_online.cmd_output_persistent_volume

Output of ls -lar --full-time /var/cache/apt: https://jenkins.tails.boum.org/job/test_Tails_ISO_21027-fix-interactive-debugging-context/4/artifact/build-artifacts/01:44:53_Recovering_in_offline_mode_after_Additional_Software_previously_failed_to_upgrade_and_then_succeed_to_upgrade_when_online.cmd_output_var_cache_apt

Output of ls -lar --full-time /var/lib/apt: https://jenkins.tails.boum.org/job/test_Tails_ISO_21027-fix-interactive-debugging-context/4/artifact/build-artifacts/01:44:53_Recovering_in_offline_mode_after_Additional_Software_previously_failed_to_upgrade_and_then_succeed_to_upgrade_when_online.cmd_output_var_lib_apt

Output of mount: https://jenkins.tails.boum.org/job/test_Tails_ISO_21027-fix-interactive-debugging-context/4/artifact/build-artifacts/01:44:53_Recovering_in_offline_mode_after_Additional_Software_previously_failed_to_upgrade_and_then_succeed_to_upgrade_when_online.cmd_output_mount

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_21027-fix-interactive-debugging-context/4/artifact/build-artifacts/01:44:53_Recovering_in_offline_mode_after_Additional_Software_previously_failed_to_upgrade_and_then_succeed_to_upgrade_when_online.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_21027-fix-interactive-debugging-context/4/artifact/build-artifacts/01:44:53_Recovering_in_offline_mode_after_Additional_Software_previously_failed_to_upgrade_and_then_succeed_to_upgrade_when_online.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_21027-fix-interactive-debugging-context/4/artifact/build-artifacts/01:44:53_Recovering_in_offline_mode_after_Additional_Software_previously_failed_to_upgrade_and_then_succeed_to_upgrade_when_online.journal

After features/support/hooks.rb:100 0.033
4:25.963
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Before features/support/hooks.rb:509 0.006
Given a computer 0.269
And I start Tails from USB drive "__internal" with network unplugged 1:59.942
And I enable persistence 37.699
And I remove the "cowsay" deb files from the APT cache 0.149
# 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.162
And I log in to a new session 1:26.125
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 8.461
And I can open the Additional Software log file from the notification 10.068
And the package "cowsay" is not installed 3.084
After features/support/hooks.rb:517 4.838
After features/support/hooks.rb:330 5.806
After features/support/hooks.rb:100 0.117