Project Number Date
test_Tails_ISO_stable 4877 07 Jun 2024, 12:41

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 46:49.391 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:35.340
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:269 0.003
Before features/support/hooks.rb:496 0.006
Steps
Given I start Tails from a freshly installed USB drive with an administration password and the network is plugged and I login 55.791
And I update APT using apt 18.692
And I install "popularity-contest" using apt 22.226
Then I am proposed to add the "popularity-contest" package to my Additional Software 8.645
When I create a persistent storage and activate the Additional Software feature 18.986
Then Additional Software is correctly configured for package "popularity-contest" 1.217
When I shutdown Tails and wait for the computer to power off 10.598
And I start Tails from USB drive "__internal" with network unplugged 58.172
And I enable persistence 19.707
And I log in to a new session 38.472
And the Additional Software installation service has started 2:22.722
Then I am notified that the installation succeeded 20:0.108
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:589:in `new'
./features/step_definitions/common_steps.rb:589: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:504 0.042
After features/support/hooks.rb:315 10.816

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 01:31:43)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4877/artifact/build-artifacts/01:31:43_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_stable/4877/artifact/build-artifacts/01:31:43_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_stable/4877/artifact/build-artifacts/01:31:43_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.011
2:25.321
Before features/support/hooks.rb:269 0.002
Before features/support/hooks.rb:496 0.002
Given a computer 0.162
And I start Tails from USB drive "__internal" and I login with an administration password 1:40.002
And I update APT using apt 16.321
When I install "makepp" using apt 22.335
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 6.402
And the package "makepp" is installed 0.096
After features/support/hooks.rb:504 37.467
After features/support/hooks.rb:315 1.060
After features/support/hooks.rb:100 0.012
5:33.996
Before features/support/hooks.rb:269 0.004
Before features/support/hooks.rb:496 0.006
Given a computer 0.217
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:39.901
When I uninstall "popularity-contest" using apt 21.795
And I accept removing "popularity-contest" from Additional Software 0.583
Then "popularity-contest" is not in the list of Additional Software 0.845
When I start Synaptic 27.667
And I update APT using Synaptic 22.822
And I install "cowsay" using Synaptic 9.695
And I accept adding "cowsay" to Additional Software 2.967
Then Additional Software is correctly configured for package "cowsay" 0.813
When I uninstall "cowsay" using apt 3.233
And I refuse removing "cowsay" from Additional Software 0.619
Then Additional Software is correctly configured for package "cowsay" 0.752
When I start "Additional Software" via GNOME Activities Overview 10.529
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 6.143
Then "cowsay" is not in the list of Additional Software 0.935
When I install "cowsay" using apt 3.210
And I refuse adding "cowsay" to Additional Software 0.582
Then "cowsay" is not in the list of Additional Software 0.680
After features/support/hooks.rb:504 1.045
After features/support/hooks.rb:315 0.716
After features/support/hooks.rb:100 0.009
10:6.288
Before features/support/hooks.rb:269 0.005
Before features/support/hooks.rb:496 0.007
Given a computer 0.204
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:17.591
And I configure APT to prefer an old version of cowsay 0.025
When I install an old version "3.03+dfsg2-1" of the cowsay package using apt 26.639
And I accept adding "cowsay" to Additional Software 7.961
And Additional Software is correctly configured for package "cowsay" 1.061
And I shutdown Tails and wait for the computer to power off 6.386
And I start Tails from USB drive "__internal" with network unplugged 58.515
And I enable persistence 11.831
# 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.026
And I log in to a new session 37.751
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 41.978
And I revert the APT tweaks that made it prefer an old version of cowsay 0.053
# 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.073
And the network is plugged 0.030
And Tor is ready 19.507
# Note: the next step races against the appearance of the "The
# upgrade of your additional software failed" notification.
# It should win most of the time, which is good, but there's no
# guarantee it does. If it loses, then it'll remove the notification
# we'll be trying to interact with below ("I can open…")
And all notifications have disappeared 7.356
And available upgrades have been checked 0.181
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 2.090
And I can open the Additional Software configuration window from the notification 3.599
And I shutdown Tails and wait for the computer to power off 8.577
And I start Tails from USB drive "__internal" with network unplugged 1:6.020
And I enable persistence 11.519
# 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.021
And I log in to a new session 36.815
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 42.024
And I revert the APT tweaks that made it prefer an old version of cowsay 0.051
And the network is plugged 0.051
And Tor is ready 1:18.083
Then the Additional Software upgrade service has started 0.168
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.087
After features/support/hooks.rb:504 2.295
After features/support/hooks.rb:315 0.759
After features/support/hooks.rb:100 0.026
2:8.444
Before features/support/hooks.rb:269 0.005
Before features/support/hooks.rb:496 0.007
Given a computer 0.220
And I start Tails from USB drive "__internal" with network unplugged 58.249
And I enable persistence 10.821
And I remove the "cowsay" deb files from the APT cache 0.622
# 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.090
And I log in to a new session 37.615
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 14.756
And I can open the Additional Software log file from the notification 5.485
And the package "cowsay" is not installed 0.582
After features/support/hooks.rb:504 0.110
After features/support/hooks.rb:315 0.897
After features/support/hooks.rb:100 0.009