Project Number Date
test_Tails_ISO_devel 3697 17 Feb 2025, 16:11

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Additional software 83 1 0 0 0 84 5 1 6 33:15.299 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
6:18.043
Scenario I am warned I can not use Additional Software when I start Tails from a DVD and install a package
Before features/support/hooks.rb:269 0.002
Before features/support/hooks.rb:507 0.002
Steps
Given I have started Tails from DVD and logged in with an administration password and the network is connected 2:7.916
And I update APT using apt 15.270
When I install "popularity-contest" using apt 25.597
Then I am notified I can not use Additional Software for "popularity-contest" 6.153
And I can open the Additional Software documentation from the notification 3:23.104
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/step_definitions/browser.rb:200:in `page_has_loaded_in_the_tor_browser'
./features/step_definitions/browser.rb:215:in `/^"([^"]+)" has loaded in the Tor Browser$/'
./features/step_definitions/additional_software_packages.rb:145:in `/^I can open the Additional Software documentation from the notification$/'
features/additional_software_packages.feature:19:in `And I can open the Additional Software documentation from the notification'
After features/support/hooks.rb:515 0.042
After features/support/hooks.rb:326 9.110

SCENARIO FAILED: 'I am warned I can not use Additional Software when I start Tails from a DVD and install a package' (at time 01:07:30)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3697/artifact/build-artifacts/01:07:30_I_am_warned_I_can_not_use_Additional_Software_when_I_start_Tails_from_a_DVD_and_install_a_package.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3697/artifact/build-artifacts/01:07:30_I_am_warned_I_can_not_use_Additional_Software_when_I_start_Tails_from_a_DVD_and_install_a_package.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3697/artifact/build-artifacts/01:07:30_I_am_warned_I_can_not_use_Additional_Software_when_I_start_Tails_from_a_DVD_and_install_a_package.journal

After features/support/hooks.rb:100 0.002
5:54.053
Before features/support/hooks.rb:269 0.002
Before features/support/hooks.rb:507 0.003
Given I start Tails from a freshly installed USB drive with an administration password and the network is plugged and I login 1:22.507
And I update APT using apt 13.063
And I install "popularity-contest" using apt 26.304
Then I am proposed to add the "popularity-contest" package to my Additional Software 5.964
When I create a persistent storage and activate the Additional Software feature 20.984
Then Additional Software is correctly configured for package "popularity-contest" 1.482
When I shutdown Tails and wait for the computer to power off 15.254
And I start Tails from USB drive "__internal" with network unplugged 1:8.268
And I enable persistence 28.415
And I log in to a new session 46.569
And the Additional Software installation service has started 42.082
Then I am notified that the installation succeeded 1.759
And Additional Software is correctly configured for package "popularity-contest" 1.039
And the package "popularity-contest" is installed after Additional Software has been started 0.356
After features/support/hooks.rb:515 15.713
After features/support/hooks.rb:326 1.286
After features/support/hooks.rb:100 0.012
2:41.128
Before features/support/hooks.rb:269 0.005
Before features/support/hooks.rb:507 0.006
Given a computer 0.329
And I start Tails from USB drive "__internal" and I login with an administration password 1:58.571
And I update APT using apt 12.135
When I install "makepp" using apt 25.587
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 4.424
And the package "makepp" is installed 0.080
After features/support/hooks.rb:515 16.284
After features/support/hooks.rb:326 1.239
After features/support/hooks.rb:100 0.016
5:23.153
Before features/support/hooks.rb:269 0.005
Before features/support/hooks.rb:507 0.006
Given a computer 0.284
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:32.675
When I uninstall "popularity-contest" using apt 21.895
And I accept removing "popularity-contest" from Additional Software 2.081
Then "popularity-contest" is not in the list of Additional Software 0.903
When I start Synaptic 24.139
And I update APT using Synaptic 22.289
And I install "cowsay" using Synaptic 8.998
And I accept adding "cowsay" to Additional Software 2.026
Then Additional Software is correctly configured for package "cowsay" 0.977
When I uninstall "cowsay" using apt 3.260
And I refuse removing "cowsay" from Additional Software 0.622
Then Additional Software is correctly configured for package "cowsay" 0.944
When I start "Additional Software" via GNOME Activities Overview 10.633
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 5.641
Then "cowsay" is not in the list of Additional Software 1.001
When I install "cowsay" using apt 3.218
And I refuse adding "cowsay" to Additional Software 0.685
Then "cowsay" is not in the list of Additional Software 0.875
After features/support/hooks.rb:515 0.590
After features/support/hooks.rb:326 1.015
After features/support/hooks.rb:100 0.010
10:28.744
Before features/support/hooks.rb:269 0.004
Before features/support/hooks.rb:507 0.006
Given a computer 0.889
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:29.120
And I configure APT to prefer an old version of cowsay 0.029
When I install an old version "3.03+dfsg2-1" of the cowsay package using apt 29.556
And I accept adding "cowsay" to Additional Software 4.886
And Additional Software is correctly configured for package "cowsay" 0.993
And I shutdown Tails and wait for the computer to power off 6.334
And I start Tails from USB drive "__internal" with network unplugged 1:5.650
And I enable persistence 19.369
# 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.049
# 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.152
And I log in to a new session 55.444
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 31.795
And I revert the APT tweaks that made it prefer an old version of cowsay 0.068
# 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.077
And the network is plugged 0.095
And Tor is ready 22.071
And available upgrades have been checked 1.170
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 3.343
And I can open the Additional Software configuration window from the notification 3.063
And I shutdown Tails and wait for the computer to power off 12.845
And I start Tails from USB drive "__internal" with network unplugged 1:7.942
And I enable persistence 17.565
# 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
And I log in to a new session 40.555
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 41.600
And I revert the APT tweaks that made it prefer an old version of cowsay 0.049
And the network is plugged 0.557
And Tor is ready 53.097
Then the Additional Software upgrade service has started 0.238
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.094
After features/support/hooks.rb:515 1.382
After features/support/hooks.rb:326 1.224
After features/support/hooks.rb:100 0.025
2:30.175
Before features/support/hooks.rb:269 0.004
Before features/support/hooks.rb:507 0.005
Given a computer 1.426
And I start Tails from USB drive "__internal" with network unplugged 1:5.242
And I enable persistence 18.333
And I remove the "cowsay" deb files from the APT cache 0.119
# 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.107
And I log in to a new session 46.322
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 12.011
And I can open the Additional Software log file from the notification 5.897
And the package "cowsay" is not installed 0.715
After features/support/hooks.rb:515 0.121
After features/support/hooks.rb:326 1.066
After features/support/hooks.rb:100 0.009