Project Number Date
test_Tails_ISO_stable 4703 08 Mar 2024, 14:51

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Additional software 72 1 2 0 0 75 4 1 5 47:4.916 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:28.914
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:245 0.003
Before features/support/hooks.rb:442 0.003
Steps
Given I start Tails from a freshly installed USB drive with an administration password and the network is plugged and I login 52.631
And I update APT using apt 18.571
And I install "popularity-contest" using apt 19.220
Then I am proposed to add the "popularity-contest" package to my Additional Software 6.829
When I create a persistent storage and activate the Additional Software feature 19.914
Then Additional Software is correctly configured for package "popularity-contest" 1.398
When I shutdown Tails and wait for the computer to power off 13.220
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 24:17.127
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:714:in `new'
./features/step_definitions/common_steps.rb:714:in `/^all notifications have disappeared$/'
./features/step_definitions/common_steps.rb:297:in `/^I start Tails from (.+?) drive "(.+?)"( with network unplugged)?( and I login( with persistence enabled)?( with the changed persistence passphrase)?( (?:and|with) an administration password)?)?$/'
features/additional_software_packages.feature:35:in `And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled'
Then 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:450 0.033
After features/support/hooks.rb:291 9.919

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:27:38)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4703/artifact/build-artifacts/01:27:38_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/4703/artifact/build-artifacts/01:27:38_I_set_up_Additional_Software_when_installing_a_package_without_persistent_partition_and_the_package_is_installed_next_time_I_start_Tails.mkv

After features/support/hooks.rb:75 0.013
2:13.132
Before features/support/hooks.rb:245 0.003
Before features/support/hooks.rb:442 0.003
Given a computer 0.169
And I start Tails from USB drive "__internal" and I login with an administration password 1:30.794
And I update APT using apt 17.422
When I install "makepp" using apt 19.171
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 5.481
And the package "makepp" is installed 0.093
After features/support/hooks.rb:450 39.647
After features/support/hooks.rb:291 0.997
After features/support/hooks.rb:75 0.019
4:50.422
Before features/support/hooks.rb:245 0.009
Before features/support/hooks.rb:442 0.012
Given a computer 0.476
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:7.724
When I uninstall "popularity-contest" using apt 18.701
And I accept removing "popularity-contest" from Additional Software 0.477
Then "popularity-contest" is not in the list of Additional Software 0.667
When I start Synaptic 24.015
And I update APT using Synaptic 21.966
And I install "cowsay" using Synaptic 8.993
And I accept adding "cowsay" to Additional Software 1.545
Then Additional Software is correctly configured for package "cowsay" 0.788
When I uninstall "cowsay" using apt 3.228
And I refuse removing "cowsay" from Additional Software 0.459
Then Additional Software is correctly configured for package "cowsay" 0.748
When I start "Additional Software" via GNOME Activities Overview 9.868
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 5.457
Then "cowsay" is not in the list of Additional Software 0.886
When I install "cowsay" using apt 3.178
And I refuse adding "cowsay" to Additional Software 0.548
Then "cowsay" is not in the list of Additional Software 0.688
After features/support/hooks.rb:450 0.983
After features/support/hooks.rb:291 0.691
After features/support/hooks.rb:75 0.011
11:22.925
Before features/support/hooks.rb:245 0.005
Before features/support/hooks.rb:442 0.006
Given a computer 0.157
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:25.236
And I configure APT to prefer an old version of cowsay 0.023
When I install an old version "3.03+dfsg2-1" of the cowsay package using apt 23.338
And I accept adding "cowsay" to Additional Software 5.714
And Additional Software is correctly configured for package "cowsay" 0.871
And I shutdown Tails and wait for the computer to power off 5.092
And I start Tails from USB drive "__internal" with network unplugged 1:0.532
And I enable persistence 29.899
# 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 33.789
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 30.730
And I revert the APT tweaks that made it prefer an old version of cowsay 0.055
# 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.068
And the network is plugged 0.034
And Tor is ready 16.757
# 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.803
And available upgrades have been checked 0.125
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 1.361
And I can open the Additional Software configuration window from the notification 2.979
And I shutdown Tails and wait for the computer to power off 2:6.497
And I start Tails from USB drive "__internal" with network unplugged 53.302
And I enable persistence 31.176
# 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 34.438
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 31.394
And I revert the APT tweaks that made it prefer an old version of cowsay 0.047
And the network is plugged 0.022
And Tor is ready 41.218
Then the Additional Software upgrade service has started 0.136
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.071
After features/support/hooks.rb:450 2.289
After features/support/hooks.rb:291 1.062
After features/support/hooks.rb:75 0.023
2:9.521
Before features/support/hooks.rb:245 0.004
Before features/support/hooks.rb:442 0.004
Given a computer 0.169
And I start Tails from USB drive "__internal" with network unplugged 52.849
And I enable persistence 31.325
And I remove the "cowsay" deb files from the APT cache 0.613
# 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.112
And I log in to a new session 34.323
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 5.245
And I can open the Additional Software log file from the notification 4.447
And the package "cowsay" is not installed 0.433
After features/support/hooks.rb:450 0.104
After features/support/hooks.rb:291 0.895
After features/support/hooks.rb:75 0.010