Project Number Date
test_Tails_ISO_stable 4952 17 Jul 2024, 13:02

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:53.685 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:46.290
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.002
Before features/support/hooks.rb:507 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 1:7.871
And I update APT using apt 19.413
And I install "popularity-contest" using apt 22.291
Then I am proposed to add the "popularity-contest" package to my Additional Software 8.317
When I create a persistent storage and activate the Additional Software feature 18.032
Then Additional Software is correctly configured for package "popularity-contest" 2.363
When I shutdown Tails and wait for the computer to power off 12.871
And I start Tails from USB drive "__internal" with network unplugged 57.977
And I enable persistence 20.345
And I log in to a new session 43.450
And the Additional Software installation service has started 2:13.224
Then I am notified that the installation succeeded 20:0.129
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:582:in `new'
./features/step_definitions/common_steps.rb:582: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:515 0.033
After features/support/hooks.rb:326 10.811

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:26:04)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4952/artifact/build-artifacts/01:26:04_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/4952/artifact/build-artifacts/01:26:04_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/4952/artifact/build-artifacts/01:26:04_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:25.419
Before features/support/hooks.rb:269 0.002
Before features/support/hooks.rb:507 0.002
Given a computer 0.179
And I start Tails from USB drive "__internal" and I login with an administration password 1:38.800
And I update APT using apt 17.018
When I install "makepp" using apt 22.884
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 6.456
And the package "makepp" is installed 0.079
After features/support/hooks.rb:515 36.946
After features/support/hooks.rb:326 1.012
After features/support/hooks.rb:100 0.051
5:3.059
Before features/support/hooks.rb:269 0.004
Before features/support/hooks.rb:507 0.006
Given a computer 0.201
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:13.387
When I uninstall "popularity-contest" using apt 21.791
And I accept removing "popularity-contest" from Additional Software 0.567
Then "popularity-contest" is not in the list of Additional Software 0.638
When I start Synaptic 25.196
And I update APT using Synaptic 22.752
And I install "cowsay" using Synaptic 10.088
And I accept adding "cowsay" to Additional Software 1.495
Then Additional Software is correctly configured for package "cowsay" 0.802
When I uninstall "cowsay" using apt 3.227
And I refuse removing "cowsay" from Additional Software 0.555
Then Additional Software is correctly configured for package "cowsay" 0.792
When I start "Additional Software" via GNOME Activities Overview 10.473
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 5.617
Then "cowsay" is not in the list of Additional Software 1.067
When I install "cowsay" using apt 3.201
And I refuse adding "cowsay" to Additional Software 0.557
Then "cowsay" is not in the list of Additional Software 0.644
After features/support/hooks.rb:515 0.999
After features/support/hooks.rb:326 0.779
After features/support/hooks.rb:100 0.007
10:25.243
Before features/support/hooks.rb:269 0.004
Before features/support/hooks.rb:507 0.004
Given a computer 0.184
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:16.313
And I configure APT to prefer an old version of cowsay 0.032
When I install an old version "3.03+dfsg2-1" of the cowsay package using apt 26.443
And I accept adding "cowsay" to Additional Software 7.820
And Additional Software is correctly configured for package "cowsay" 0.953
And I shutdown Tails and wait for the computer to power off 6.482
And I start Tails from USB drive "__internal" with network unplugged 1:7.548
And I enable persistence 12.690
# 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.024
And I log in to a new session 36.658
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 41.865
And I revert the APT tweaks that made it prefer an old version of cowsay 0.076
# 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.082
And the network is plugged 0.039
And Tor is ready 21.965
# 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 6.876
And available upgrades have been checked 0.132
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 1.296
And I can open the Additional Software configuration window from the notification 3.813
And I shutdown Tails and wait for the computer to power off 19.509
And I start Tails from USB drive "__internal" with network unplugged 1:0.408
And I enable persistence 12.418
# 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 39.363
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 41.426
And I revert the APT tweaks that made it prefer an old version of cowsay 0.057
And the network is plugged 0.046
And Tor is ready 1:20.413
Then the Additional Software upgrade service has started 0.161
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.110
After features/support/hooks.rb:515 2.315
After features/support/hooks.rb:326 0.895
After features/support/hooks.rb:100 0.080
2:13.672
Before features/support/hooks.rb:269 0.004
Before features/support/hooks.rb:507 0.005
Given a computer 0.225
And I start Tails from USB drive "__internal" with network unplugged 59.407
And I enable persistence 12.473
And I remove the "cowsay" deb files from the APT cache 0.706
# 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.081
And I log in to a new session 40.058
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 14.721
And I can open the Additional Software log file from the notification 5.321
And the package "cowsay" is not installed 0.676
After features/support/hooks.rb:515 0.135
After features/support/hooks.rb:326 1.149
After features/support/hooks.rb:100 0.008