Project Number Date
test_Tails_ISO_feature-arti 68 24 May 2025, 16:47

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 45:41.567 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
26:59.785
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.002
Before features/support/hooks.rb:509 0.002
Steps
Given I start Tails from a freshly installed USB drive with an administration password and the network is plugged and I login 58.324
And I update APT using apt 36.616
And I install "popularity-contest" using apt 23.060
Then I am proposed to add the "popularity-contest" package to my Additional Software 7.758
When I create a persistent storage and activate the Additional Software feature 18.821
Then Additional Software is correctly configured for package "popularity-contest" 3.044
When I shutdown Tails and wait for the computer to power off 13.271
And I start Tails from USB drive "__internal" with network unplugged 1:2.172
And I enable persistence 20.068
And I log in to a new session 40.383
And the Additional Software installation service has started 2:16.152
Then I am notified that the installation succeeded 20:0.110
execution expired (RemoteShell::Timeout)
./features/support/helpers/remote_shell.rb:56:in `read'
./features/support/helpers/remote_shell.rb:56:in `block (3 levels) in communicate'
./features/support/helpers/remote_shell.rb:55: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/common_steps.rb:606:in `new'
./features/step_definitions/common_steps.rb:606:in `/^I see the "(.+)" notification(?: after at most (\d+) seconds)?$/'
./features/step_definitions/additional_software_packages.rb:28:in `/^I am notified that the installation succeeded$/'
features/additional_software_packages.feature:39:in `Then I am notified that the installation succeeded'
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
After features/support/hooks.rb:517 0.047
After features/support/hooks.rb:330 10.834

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 02:19:08)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/68/artifact/build-artifacts/02:19:08_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_feature-arti/68/artifact/build-artifacts/02:19:08_I_set_up_Additional_Software_when_installing_a_package_without_persistent_partition_and_the_package_is_installed_next_time_I_start_Tails.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/68/artifact/build-artifacts/02:19:08_I_set_up_Additional_Software_when_installing_a_package_without_persistent_partition_and_the_package_is_installed_next_time_I_start_Tails.journal

After features/support/hooks.rb:100 0.010
2:48.894
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Before features/support/hooks.rb:509 0.003
Given a computer 0.200
And I start Tails from USB drive "__internal" and I login with an administration password 1:44.201
And I update APT using apt 34.574
When I install "makepp" using apt 23.258
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 6.583
And the package "makepp" is installed 0.075
After features/support/hooks.rb:517 14.365
After features/support/hooks.rb:330 1.358
After features/support/hooks.rb:100 0.012
4:55.098
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Before features/support/hooks.rb:509 0.006
Given a computer 0.215
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:8.569
When I uninstall "popularity-contest" using apt 21.854
And I accept removing "popularity-contest" from Additional Software 0.605
Then "popularity-contest" is not in the list of Additional Software 0.694
When I start Synaptic 21.795
And I update APT using Synaptic 22.754
And I install "cowsay" using Synaptic 8.671
And I accept adding "cowsay" to Additional Software 2.398
Then Additional Software is correctly configured for package "cowsay" 0.796
When I uninstall "cowsay" using apt 3.255
And I refuse removing "cowsay" from Additional Software 0.552
Then Additional Software is correctly configured for package "cowsay" 0.786
When I start "Additional Software" via GNOME Activities Overview 10.594
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 5.699
Then "cowsay" is not in the list of Additional Software 1.405
When I install "cowsay" using apt 3.229
And I refuse adding "cowsay" to Additional Software 0.539
Then "cowsay" is not in the list of Additional Software 0.680
After features/support/hooks.rb:517 0.979
After features/support/hooks.rb:330 0.767
After features/support/hooks.rb:100 0.010
8:57.794
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.203
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:19.570
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 25.899
And I accept adding "cowsay" to Additional Software 6.623
And Additional Software is correctly configured for package "cowsay" 0.957
And I shutdown Tails and wait for the computer to power off 6.458
And I start Tails from USB drive "__internal" with network unplugged 1:0.331
And I enable persistence 11.941
# 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.033
# 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.085
And I log in to a new session 39.147
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 31.382
And I revert the APT tweaks that made it prefer an old version of cowsay 0.057
# 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.067
And the network is plugged 0.091
And Tor is ready 20.955
And available upgrades have been checked 0.059
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 4.458
And I can open the Additional Software configuration window from the notification 2.514
And I shutdown Tails and wait for the computer to power off 6.538
And I start Tails from USB drive "__internal" with network unplugged 1:0.754
And I enable persistence 12.220
# 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.023
And I log in to a new session 30.665
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 31.893
And I revert the APT tweaks that made it prefer an old version of cowsay 0.062
And the network is plugged 0.092
And Tor is ready 44.443
Then the Additional Software upgrade service has started 0.154
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.078
After features/support/hooks.rb:517 1.858
After features/support/hooks.rb:330 0.857
After features/support/hooks.rb:100 0.026
1:59.994
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.200
And I start Tails from USB drive "__internal" with network unplugged 59.160
And I enable persistence 10.595
And I remove the "cowsay" deb files from the APT cache 0.113
# 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.085
And I log in to a new session 38.796
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 5.773
And I can open the Additional Software log file from the notification 4.525
And the package "cowsay" is not installed 0.743
After features/support/hooks.rb:517 0.196
After features/support/hooks.rb:330 1.527
After features/support/hooks.rb:100 0.008