Project Number Date
test_Tails_ISO_devel 3890 28 Jun 2025, 14:03

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Additional software 81 1 2 0 0 84 5 1 6 35:52.055 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
3:45.333
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Before features/support/hooks.rb:507 0.004
Given I have started Tails from DVD and logged in with an administration password and the network is connected 2:10.338
And I update APT using apt 18.011
When I install "popularity-contest" using apt 31.216
Then I am notified I can not use Additional Software for "popularity-contest" 6.593
And I can open the Additional Software documentation from the notification 39.172
After features/support/hooks.rb:515 22.231
After features/support/hooks.rb:330 3.444
After features/support/hooks.rb:100 0.003
6:55.333
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Before features/support/hooks.rb:507 0.005
Given I start Tails from a freshly installed USB drive with an administration password and the network is plugged and I login 1:29.738
And I update APT using apt 14.139
And I install "popularity-contest" using apt 31.957
Then I am proposed to add the "popularity-contest" package to my Additional Software 6.556
When I create a persistent storage and activate the Additional Software feature 30.433
Then Additional Software is correctly configured for package "popularity-contest" 2.784
When I shutdown Tails and wait for the computer to power off 16.982
And I start Tails from USB drive "__internal" with network unplugged 1:33.516
And I enable persistence 34.001
And I log in to a new session 39.148
And the Additional Software installation service has started 52.819
Then I am notified that the installation succeeded 1.901
And Additional Software is correctly configured for package "popularity-contest" 1.080
And the package "popularity-contest" is installed after Additional Software has been started 0.273
After features/support/hooks.rb:515 23.482
After features/support/hooks.rb:330 4.941
After features/support/hooks.rb:100 0.257
3:44.174
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.029
Before features/support/hooks.rb:507 0.016
Given a computer 0.534
And I start Tails from USB drive "__internal" and I login with an administration password 2:48.641
And I update APT using apt 17.029
When I install "makepp" using apt 31.777
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 6.036
And the package "makepp" is installed 0.154
After features/support/hooks.rb:515 26.860
After features/support/hooks.rb:330 1.472
After features/support/hooks.rb:100 0.014
6:36.638
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.008
Before features/support/hooks.rb:507 0.008
Given a computer 0.299
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 4:15.123
When I uninstall "popularity-contest" using apt 25.754
And I accept removing "popularity-contest" from Additional Software 0.633
Then "popularity-contest" is not in the list of Additional Software 0.801
When I start Synaptic 29.915
And I update APT using Synaptic 25.245
And I install "cowsay" using Synaptic 18.489
And I accept adding "cowsay" to Additional Software 0.653
Then Additional Software is correctly configured for package "cowsay" 0.881
When I uninstall "cowsay" using apt 3.299
And I refuse removing "cowsay" from Additional Software 0.575
Then Additional Software is correctly configured for package "cowsay" 1.062
When I start "Additional Software" via GNOME Activities Overview 16.070
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 6.594
Then "cowsay" is not in the list of Additional Software 4.848
When I install "cowsay" using apt 3.615
And I refuse adding "cowsay" to Additional Software 2.089
Then "cowsay" is not in the list of Additional Software 0.683
After features/support/hooks.rb:515 0.700
After features/support/hooks.rb:330 1.019
After features/support/hooks.rb:100 0.011
11:50.027
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.007
Before features/support/hooks.rb:507 0.006
Steps
Given a computer 0.244
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:15.098
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 30.182
And I accept adding "cowsay" to Additional Software 9.502
And Additional Software is correctly configured for package "cowsay" 1.438
And I shutdown Tails and wait for the computer to power off 7.144
And I start Tails from USB drive "__internal" with network unplugged 1:34.331
And I enable persistence 15.439
# 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.107
# 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.143
And I log in to a new session 50.406
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 45.216
And I revert the APT tweaks that made it prefer an old version of cowsay 0.150
# 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.337
And the network is plugged 0.737
And Tor is ready 25.324
And available upgrades have been checked 0.080
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 4.877
And I can open the Additional Software configuration window from the notification 3.108
And I shutdown Tails and wait for the computer to power off 12.115
And I start Tails from USB drive "__internal" with network unplugged 1:19.870
And I enable persistence 18.408
# 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.056
And I log in to a new session 57.542
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 44.422
And I revert the APT tweaks that made it prefer an old version of cowsay 0.068
And the network is plugged 0.067
And Tor is ready 13.577
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:515 0.046
After features/support/hooks.rb:330 5.728

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

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3890/artifact/build-artifacts/02:05:32_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_devel/3890/artifact/build-artifacts/02:05:32_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_devel/3890/artifact/build-artifacts/02:05:32_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_devel/3890/artifact/build-artifacts/02:05:32_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_devel/3890/artifact/build-artifacts/02:05:32_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_devel/3890/artifact/build-artifacts/02:05:32_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_devel/3890/artifact/build-artifacts/02:05:32_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_devel/3890/artifact/build-artifacts/02:05:32_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_devel/3890/artifact/build-artifacts/02:05:32_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.156
3:0.547
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.010
Before features/support/hooks.rb:507 0.005
Given a computer 0.257
And I start Tails from USB drive "__internal" with network unplugged 1:22.959
And I enable persistence 18.259
And I remove the "cowsay" deb files from the APT cache 0.053
# 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.100
And I log in to a new session 1:0.842
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 7.270
And I can open the Additional Software log file from the notification 9.805
And the package "cowsay" is not installed 0.999
After features/support/hooks.rb:515 0.127
After features/support/hooks.rb:330 1.927
After features/support/hooks.rb:100 0.012