Project Number Date
test_Tails_ISO_devel 3767 05 Apr 2025, 14:00

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Additional software 80 1 3 0 0 84 5 1 6 1:4:18.040 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
3:1.698
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Before features/support/hooks.rb:511 0.003
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:39.796
And I update APT using apt 16.808
When I install "popularity-contest" using apt 22.892
Then I am notified I can not use Additional Software for "popularity-contest" 8.300
And I can open the Additional Software documentation from the notification 33.900
After features/support/hooks.rb:519 15.003
After features/support/hooks.rb:330 3.456
After features/support/hooks.rb:100 0.003
7:9.876
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Before features/support/hooks.rb:511 0.005
Given I start Tails from a freshly installed USB drive with an administration password and the network is plugged and I login 1:1.125
And I update APT using apt 2:12.692
And I install "popularity-contest" using apt 26.345
Then I am proposed to add the "popularity-contest" package to my Additional Software 4.716
When I create a persistent storage and activate the Additional Software feature 18.107
Then Additional Software is correctly configured for package "popularity-contest" 2.811
When I shutdown Tails and wait for the computer to power off 8.649
And I start Tails from USB drive "__internal" with network unplugged 1:12.369
And I enable persistence 23.884
And I log in to a new session 33.432
And the Additional Software installation service has started 42.685
Then I am notified that the installation succeeded 1.877
And Additional Software is correctly configured for package "popularity-contest" 0.893
And the package "popularity-contest" is installed after Additional Software has been started 0.284
After features/support/hooks.rb:519 15.851
After features/support/hooks.rb:330 2.198
After features/support/hooks.rb:100 0.012
36:46.977
Scenario The Additional Software dpkg hook notices when persistence is locked down while installing a package
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Before features/support/hooks.rb:511 0.006
Steps
Given a computer 0.244
And I start Tails from USB drive "__internal" and I login with an administration password 1:46.719
And I update APT using apt 35:0.013
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/misc_helpers.rb:180:in `new'
./features/support/helpers/misc_helpers.rb:180:in `force_new_tor_circuit'
./features/support/helpers/misc_helpers.rb:192:in `block in retry_tor'
./features/support/helpers/misc_helpers.rb:222:in `rescue in block in retry_action'
./features/support/helpers/misc_helpers.rb:209:in `block in retry_action'
./features/support/helpers/misc_helpers.rb:208:in `loop'
./features/support/helpers/misc_helpers.rb:208:in `retry_action'
./features/support/helpers/misc_helpers.rb:196:in `retry_tor'
./features/step_definitions/apt.rb:59:in `/^I update APT using apt$/'
features/additional_software_packages.feature:47:in `And I update APT using apt'
When I install "makepp" using apt 0.000
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 0.000
And the package "makepp" is installed 0.000
After features/support/hooks.rb:519 0.048
After features/support/hooks.rb:330 10.805

SCENARIO FAILED: 'The Additional Software dpkg hook notices when persistence is locked down while installing a package' (at time 01:47:40)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3767/artifact/build-artifacts/01:47:40_The_Additional_Software_dpkg_hook_notices_when_persistence_is_locked_down_while_installing_a_package.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3767/artifact/build-artifacts/01:47:40_The_Additional_Software_dpkg_hook_notices_when_persistence_is_locked_down_while_installing_a_package.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3767/artifact/build-artifacts/01:47:40_The_Additional_Software_dpkg_hook_notices_when_persistence_is_locked_down_while_installing_a_package.journal

After features/support/hooks.rb:100 0.009
5:12.192
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Before features/support/hooks.rb:511 0.006
Given a computer 0.253
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:25.643
When I uninstall "popularity-contest" using apt 21.828
And I accept removing "popularity-contest" from Additional Software 0.551
Then "popularity-contest" is not in the list of Additional Software 0.633
When I start Synaptic 23.333
And I update APT using Synaptic 22.732
And I install "cowsay" using Synaptic 9.673
And I accept adding "cowsay" to Additional Software 0.731
Then Additional Software is correctly configured for package "cowsay" 0.790
When I uninstall "cowsay" using apt 3.200
And I refuse removing "cowsay" from Additional Software 0.595
Then Additional Software is correctly configured for package "cowsay" 0.757
When I start "Additional Software" via GNOME Activities Overview 10.597
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 4.790
Then "cowsay" is not in the list of Additional Software 1.668
When I install "cowsay" using apt 3.206
And I refuse adding "cowsay" to Additional Software 0.554
Then "cowsay" is not in the list of Additional Software 0.650
After features/support/hooks.rb:519 0.713
After features/support/hooks.rb:330 0.747
After features/support/hooks.rb:100 0.009
9:58.987
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Before features/support/hooks.rb:511 0.006
Given a computer 0.206
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:26.335
And I configure APT to prefer an old version of cowsay 0.031
When I install an old version "3.03+dfsg2-1" of the cowsay package using apt 36.687
And I accept adding "cowsay" to Additional Software 6.859
And Additional Software is correctly configured for package "cowsay" 0.985
And I shutdown Tails and wait for the computer to power off 6.808
And I start Tails from USB drive "__internal" with network unplugged 1:0.247
And I enable persistence 13.436
# 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
# 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.089
And I log in to a new session 44.737
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 31.232
And I revert the APT tweaks that made it prefer an old version of cowsay 0.050
# 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.069
And the network is plugged 0.076
And Tor is ready 21.861
And available upgrades have been checked 0.051
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 3.782
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 13.323
And I start Tails from USB drive "__internal" with network unplugged 1:10.763
And I enable persistence 12.663
# 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.028
And I log in to a new session 39.975
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 43.386
And I revert the APT tweaks that made it prefer an old version of cowsay 0.060
And the network is plugged 0.070
And Tor is ready 42.402
Then the Additional Software upgrade service has started 0.142
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.085
After features/support/hooks.rb:519 1.445
After features/support/hooks.rb:330 0.689
After features/support/hooks.rb:100 0.026
2:8.308
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Before features/support/hooks.rb:511 0.004
Given a computer 0.199
And I start Tails from USB drive "__internal" with network unplugged 1:2.079
And I enable persistence 12.786
And I remove the "cowsay" deb files from the APT cache 0.059
# 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.067
And I log in to a new session 41.229
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 5.987
And I can open the Additional Software log file from the notification 5.186
And the package "cowsay" is not installed 0.712
After features/support/hooks.rb:519 0.114
After features/support/hooks.rb:330 1.743
After features/support/hooks.rb:100 0.018