Project Number Date
test_Tails_ISO_stable 5301 28 Nov 2024, 12:57

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 24:46.747 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:44.684
Before features/support/hooks.rb:269 0.003
Before features/support/hooks.rb:507 0.004
Given I start Tails from a freshly installed USB drive with an administration password and the network is plugged and I login 1:30.978
And I update APT using apt 13.950
And I install "popularity-contest" using apt 25.811
Then I am proposed to add the "popularity-contest" package to my Additional Software 7.894
When I create a persistent storage and activate the Additional Software feature 22.620
Then Additional Software is correctly configured for package "popularity-contest" 2.128
When I shutdown Tails and wait for the computer to power off 12.800
And I start Tails from USB drive "__internal" with network unplugged 1:4.037
And I enable persistence 24.457
And I log in to a new session 44.550
And the Additional Software installation service has started 32.435
Then I am notified that the installation succeeded 1.904
And Additional Software is correctly configured for package "popularity-contest" 0.845
And the package "popularity-contest" is installed after Additional Software has been started 0.267
After features/support/hooks.rb:515 14.494
After features/support/hooks.rb:326 1.486
After features/support/hooks.rb:100 0.018
2:34.081
Before features/support/hooks.rb:269 0.011
Before features/support/hooks.rb:507 0.014
Given a computer 0.362
And I start Tails from USB drive "__internal" and I login with an administration password 1:51.224
And I update APT using apt 12.183
When I install "makepp" using apt 25.655
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 4.570
And the package "makepp" is installed 0.084
After features/support/hooks.rb:515 16.078
After features/support/hooks.rb:326 1.279
After features/support/hooks.rb:100 0.019
4:59.437
Before features/support/hooks.rb:269 0.007
Before features/support/hooks.rb:507 0.009
Given a computer 0.277
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:18.890
When I uninstall "popularity-contest" using apt 12.581
And I accept removing "popularity-contest" from Additional Software 1.986
Then "popularity-contest" is not in the list of Additional Software 0.814
When I start Synaptic 23.415
And I update APT using Synaptic 21.922
And I install "cowsay" using Synaptic 9.955
And I accept adding "cowsay" to Additional Software 1.891
Then Additional Software is correctly configured for package "cowsay" 0.849
When I uninstall "cowsay" using apt 3.252
And I refuse removing "cowsay" from Additional Software 0.610
Then Additional Software is correctly configured for package "cowsay" 0.818
When I start "Additional Software" via GNOME Activities Overview 10.615
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 5.670
Then "cowsay" is not in the list of Additional Software 1.221
When I install "cowsay" using apt 3.218
And I refuse adding "cowsay" to Additional Software 0.646
Then "cowsay" is not in the list of Additional Software 0.797
After features/support/hooks.rb:515 0.706
After features/support/hooks.rb:326 0.767
After features/support/hooks.rb:100 0.009
10:15.011
Before features/support/hooks.rb:269 0.006
Before features/support/hooks.rb:507 0.005
Given a computer 0.216
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:39.237
And I configure APT to prefer an old version of cowsay 0.033
When I install an old version "3.03+dfsg2-1" of the cowsay package using apt 30.127
And I accept adding "cowsay" to Additional Software 4.247
And Additional Software is correctly configured for package "cowsay" 1.001
And I shutdown Tails and wait for the computer to power off 4.656
And I start Tails from USB drive "__internal" with network unplugged 1:9.498
And I enable persistence 10.958
# 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.031
# 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.082
And I log in to a new session 39.993
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 41.337
And I revert the APT tweaks that made it prefer an old version of cowsay 0.059
# 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.093
And the network is plugged 0.069
And Tor is ready 24.144
And available upgrades have been checked 1.191
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 4.645
And I can open the Additional Software configuration window from the notification 3.596
And I shutdown Tails and wait for the computer to power off 15.302
And I start Tails from USB drive "__internal" with network unplugged 1:8.574
And I enable persistence 13.654
# 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.025
And I log in to a new session 37.756
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 31.771
And I revert the APT tweaks that made it prefer an old version of cowsay 0.059
And the network is plugged 0.075
And Tor is ready 52.285
Then the Additional Software upgrade service has started 0.189
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.093
After features/support/hooks.rb:515 1.425
After features/support/hooks.rb:326 0.772
After features/support/hooks.rb:100 0.033
1:13.533
Scenario I am notified when Additional Software fails to install a package
Before features/support/hooks.rb:269 0.006
Before features/support/hooks.rb:507 0.007
Steps
Given a computer 0.235
And I start Tails from USB drive "__internal" with network unplugged 1:3.201
And I enable persistence 10.096
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/support/helpers/dogtail.rb:357:in `grabFocus'
./features/step_definitions/usb.rb:669:in `/^I try to enable persistence( with the changed passphrase)?$/'
./features/step_definitions/usb.rb:700:in `/^I enable persistence( with the changed passphrase)?$/'
features/additional_software_packages.feature:123:in `And I enable persistence'
And I remove the "cowsay" deb files from the APT cache 0.000
# 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.000
And I log in to a new session 0.000
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 0.000
And I can open the Additional Software log file from the notification 0.000
And the package "cowsay" is not installed 0.000
After features/support/hooks.rb:515 0.036
After features/support/hooks.rb:326 5.213

SCENARIO FAILED: 'I am notified when Additional Software fails to install a package' (at time 01:35:15)

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_stable/5301/artifact/build-artifacts/01:35:15_I_am_notified_when_Additional_Software_fails_to_install_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_stable/5301/artifact/build-artifacts/01:35:15_I_am_notified_when_Additional_Software_fails_to_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_stable/5301/artifact/build-artifacts/01:35:15_I_am_notified_when_Additional_Software_fails_to_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_stable/5301/artifact/build-artifacts/01:35:15_I_am_notified_when_Additional_Software_fails_to_install_a_package.cmd_output_var_lib_apt

Output of mount: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5301/artifact/build-artifacts/01:35:15_I_am_notified_when_Additional_Software_fails_to_install_a_package.cmd_output_mount

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5301/artifact/build-artifacts/01:35:15_I_am_notified_when_Additional_Software_fails_to_install_a_package.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5301/artifact/build-artifacts/01:35:15_I_am_notified_when_Additional_Software_fails_to_install_a_package.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5301/artifact/build-artifacts/01:35:15_I_am_notified_when_Additional_Software_fails_to_install_a_package.journal

After features/support/hooks.rb:100 0.011