Project Number Date
test_Tails_ISO_devel 3699 18 Feb 2025, 13:03

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Additional software 83 1 0 0 0 84 5 1 6 32:23.589 Failed
Feature Additional software
As a Tails user I may want to install softwares not shipped in Tails And have them installed automatically when I enable persistence in the Greeter
5:53.597
Scenario I am warned I can not use Additional Software when I start Tails from a DVD and install a package
Before features/support/hooks.rb:269 0.003
Before features/support/hooks.rb:507 0.003
Steps
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:39.575
And I update APT using apt 16.864
When I install "popularity-contest" using apt 23.101
Then I am notified I can not use Additional Software for "popularity-contest" 9.158
And I can open the Additional Software documentation from the notification 3:24.898
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/browser.rb:200:in `page_has_loaded_in_the_tor_browser'
./features/step_definitions/browser.rb:215:in `/^"([^"]+)" has loaded in the Tor Browser$/'
./features/step_definitions/additional_software_packages.rb:145:in `/^I can open the Additional Software documentation from the notification$/'
features/additional_software_packages.feature:19:in `And I can open the Additional Software documentation from the notification'
After features/support/hooks.rb:515 0.058
After features/support/hooks.rb:326 6.212

SCENARIO FAILED: 'I am warned I can not use Additional Software when I start Tails from a DVD and install a package' (at time 01:09:14)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3699/artifact/build-artifacts/01:09:14_I_am_warned_I_can_not_use_Additional_Software_when_I_start_Tails_from_a_DVD_and_install_a_package.file_content_var_log_boot.log

Content of /run/live-additional-software/log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3699/artifact/build-artifacts/01:09:14_I_am_warned_I_can_not_use_Additional_Software_when_I_start_Tails_from_a_DVD_and_install_a_package.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/3699/artifact/build-artifacts/01:09:14_I_am_warned_I_can_not_use_Additional_Software_when_I_start_Tails_from_a_DVD_and_install_a_package.cmd_output_persistent_volume

Output of ls -lar --full-time /var/cache/apt: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3699/artifact/build-artifacts/01:09:14_I_am_warned_I_can_not_use_Additional_Software_when_I_start_Tails_from_a_DVD_and_install_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_devel/3699/artifact/build-artifacts/01:09:14_I_am_warned_I_can_not_use_Additional_Software_when_I_start_Tails_from_a_DVD_and_install_a_package.cmd_output_var_lib_apt

Output of mount: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3699/artifact/build-artifacts/01:09:14_I_am_warned_I_can_not_use_Additional_Software_when_I_start_Tails_from_a_DVD_and_install_a_package.cmd_output_mount

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3699/artifact/build-artifacts/01:09:14_I_am_warned_I_can_not_use_Additional_Software_when_I_start_Tails_from_a_DVD_and_install_a_package.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3699/artifact/build-artifacts/01:09:14_I_am_warned_I_can_not_use_Additional_Software_when_I_start_Tails_from_a_DVD_and_install_a_package.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3699/artifact/build-artifacts/01:09:14_I_am_warned_I_can_not_use_Additional_Software_when_I_start_Tails_from_a_DVD_and_install_a_package.journal

After features/support/hooks.rb:100 0.003
5:49.348
Before features/support/hooks.rb:269 0.002
Before features/support/hooks.rb:507 0.002
Given I start Tails from a freshly installed USB drive with an administration password and the network is plugged and I login 1:15.329
And I update APT using apt 13.033
And I install "popularity-contest" using apt 26.089
Then I am proposed to add the "popularity-contest" package to my Additional Software 6.879
When I create a persistent storage and activate the Additional Software feature 22.372
Then Additional Software is correctly configured for package "popularity-contest" 2.542
When I shutdown Tails and wait for the computer to power off 13.497
And I start Tails from USB drive "__internal" with network unplugged 1:8.397
And I enable persistence 44.906
And I log in to a new session 41.246
And the Additional Software installation service has started 31.850
Then I am notified that the installation succeeded 1.952
And Additional Software is correctly configured for package "popularity-contest" 0.977
And the package "popularity-contest" is installed after Additional Software has been started 0.272
After features/support/hooks.rb:515 17.647
After features/support/hooks.rb:326 1.618
After features/support/hooks.rb:100 0.027
2:43.217
Before features/support/hooks.rb:269 0.011
Before features/support/hooks.rb:507 0.014
Given a computer 0.328
And I start Tails from USB drive "__internal" and I login with an administration password 1:56.450
And I update APT using apt 14.022
When I install "makepp" using apt 27.921
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 4.416
And the package "makepp" is installed 0.078
After features/support/hooks.rb:515 15.573
After features/support/hooks.rb:326 1.173
After features/support/hooks.rb:100 0.029
5:20.732
Before features/support/hooks.rb:269 0.022
Before features/support/hooks.rb:507 0.019
Given a computer 0.540
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:27.315
When I uninstall "popularity-contest" using apt 21.901
And I accept removing "popularity-contest" from Additional Software 2.490
Then "popularity-contest" is not in the list of Additional Software 0.920
When I start Synaptic 24.691
And I update APT using Synaptic 22.542
And I install "cowsay" using Synaptic 12.674
And I accept adding "cowsay" to Additional Software 0.744
Then Additional Software is correctly configured for package "cowsay" 0.905
When I uninstall "cowsay" using apt 3.296
And I refuse removing "cowsay" from Additional Software 0.513
Then Additional Software is correctly configured for package "cowsay" 0.888
When I start "Additional Software" via GNOME Activities Overview 10.729
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 4.816
Then "cowsay" is not in the list of Additional Software 1.035
When I install "cowsay" using apt 3.233
And I refuse adding "cowsay" to Additional Software 0.663
Then "cowsay" is not in the list of Additional Software 0.829
After features/support/hooks.rb:515 0.732
After features/support/hooks.rb:326 0.678
After features/support/hooks.rb:100 0.012
10:16.812
Before features/support/hooks.rb:269 0.009
Before features/support/hooks.rb:507 0.009
Given a computer 0.227
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:34.071
And I configure APT to prefer an old version of cowsay 0.029
When I install an old version "3.03+dfsg2-1" of the cowsay package using apt 31.673
And I accept adding "cowsay" to Additional Software 4.594
And Additional Software is correctly configured for package "cowsay" 1.438
And I shutdown Tails and wait for the computer to power off 6.373
And I start Tails from USB drive "__internal" with network unplugged 1:6.571
And I enable persistence 14.334
# 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.037
# 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.114
And I log in to a new session 42.659
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 41.385
And I revert the APT tweaks that made it prefer an old version of cowsay 0.067
# 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.078
And the network is plugged 0.109
And Tor is ready 19.754
And available upgrades have been checked 0.064
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 5.067
And I can open the Additional Software configuration window from the notification 3.200
And I shutdown Tails and wait for the computer to power off 7.564
And I start Tails from USB drive "__internal" with network unplugged 1:2.951
And I enable persistence 14.698
# 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 41.422
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 41.283
And I revert the APT tweaks that made it prefer an old version of cowsay 0.067
And the network is plugged 0.099
And Tor is ready 56.493
Then the Additional Software upgrade service has started 0.236
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.111
After features/support/hooks.rb:515 1.521
After features/support/hooks.rb:326 0.651
After features/support/hooks.rb:100 0.033
2:19.882
Before features/support/hooks.rb:269 0.007
Before features/support/hooks.rb:507 0.008
Given a computer 0.240
And I start Tails from USB drive "__internal" with network unplugged 1:1.951
And I enable persistence 13.211
And I remove the "cowsay" deb files from the APT cache 0.058
# 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.096
And I log in to a new session 44.627
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 12.971
And I can open the Additional Software log file from the notification 6.033
And the package "cowsay" is not installed 0.692
After features/support/hooks.rb:515 0.128
After features/support/hooks.rb:326 0.945
After features/support/hooks.rb:100 0.011