Project Number Date
test_Tails_ISO_stable 5629 06 May 2025, 23:50

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Additional software 74 1 4 0 0 79 4 1 5 24:24.491 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
4:44.402
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Before features/support/hooks.rb:511 0.006
Given I start Tails from a freshly installed USB drive with an administration password and the network is plugged and I login 56.928
And I update APT using apt 12.479
And I install "popularity-contest" using apt 23.036
Then I am proposed to add the "popularity-contest" package to my Additional Software 5.734
When I create a persistent storage and activate the Additional Software feature 17.929
Then Additional Software is correctly configured for package "popularity-contest" 2.886
When I shutdown Tails and wait for the computer to power off 10.542
And I start Tails from USB drive "__internal" with network unplugged 1:0.559
And I enable persistence 24.497
And I log in to a new session 35.218
And the Additional Software installation service has started 31.404
Then I am notified that the installation succeeded 2.074
And Additional Software is correctly configured for package "popularity-contest" 0.829
And the package "popularity-contest" is installed after Additional Software has been started 0.281
After features/support/hooks.rb:519 15.259
After features/support/hooks.rb:330 2.625
After features/support/hooks.rb:100 0.012
2:27.094
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.005
Before features/support/hooks.rb:511 0.005
Steps
Given a computer 0.204
And I start Tails from USB drive "__internal" and I login with an administration password 2:26.889
TCA
TCA did not start (TorBootstrapFailure)
./features/step_definitions/tor.rb:375:in `rescue in block in <top (required)>'
./features/step_definitions/tor.rb:371:in `/^the Tor Connection Assistant (?:autostarts|is running)$/'
./features/step_definitions/common_steps.rb:652:in `/^I successfully configure Tor$/'
./features/step_definitions/common_steps.rb:607:in `/^Tor is ready$/'
./features/step_definitions/common_steps.rb:300: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:46:in `And I start Tails from USB drive "__internal" and I login with an administration password'
And I update APT using apt 0.000
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.037
After features/support/hooks.rb:330 14.167

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

Chutney logs: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5629/artifact/build-artifacts/01:06:59_The_Additional_Software_dpkg_hook_notices_when_persistence_is_locked_down_while_installing_a_package_chutney-data

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5629/artifact/build-artifacts/01:06:59_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_stable/5629/artifact/build-artifacts/01:06:59_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_stable/5629/artifact/build-artifacts/01:06:59_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:5.137
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Before features/support/hooks.rb:511 0.006
Given a computer 0.181
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:15.963
When I uninstall "popularity-contest" using apt 21.803
And I accept removing "popularity-contest" from Additional Software 0.587
Then "popularity-contest" is not in the list of Additional Software 0.680
When I start Synaptic 24.198
And I update APT using Synaptic 22.999
And I install "cowsay" using Synaptic 11.532
And I accept adding "cowsay" to Additional Software 1.147
Then Additional Software is correctly configured for package "cowsay" 0.832
When I uninstall "cowsay" using apt 3.227
And I refuse removing "cowsay" from Additional Software 0.582
Then Additional Software is correctly configured for package "cowsay" 0.748
When I start "Additional Software" via GNOME Activities Overview 10.596
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 4.635
Then "cowsay" is not in the list of Additional Software 0.866
When I install "cowsay" using apt 3.215
And I refuse adding "cowsay" to Additional Software 0.600
Then "cowsay" is not in the list of Additional Software 0.738
After features/support/hooks.rb:519 0.681
After features/support/hooks.rb:330 0.728
After features/support/hooks.rb:100 0.011
9:50.743
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Before features/support/hooks.rb:511 0.007
Given a computer 0.183
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:23.368
And I configure APT to prefer an old version of cowsay 0.027
When I install an old version "3.03+dfsg2-1" of the cowsay package using apt 25.943
And I accept adding "cowsay" to Additional Software 6.697
And Additional Software is correctly configured for package "cowsay" 1.047
And I shutdown Tails and wait for the computer to power off 6.309
And I start Tails from USB drive "__internal" with network unplugged 1:1.207
And I enable persistence 10.850
# 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.025
# 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.084
And I log in to a new session 42.832
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 42.064
And I revert the APT tweaks that made it prefer an old version of cowsay 0.056
# 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.070
And Tor is ready 20.297
And available upgrades have been checked 1.143
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 3.753
And I can open the Additional Software configuration window from the notification 2.484
And I shutdown Tails and wait for the computer to power off 14.742
And I start Tails from USB drive "__internal" with network unplugged 1:2.485
And I enable persistence 12.447
# 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.039
And I log in to a new session 39.045
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 42.138
And I revert the APT tweaks that made it prefer an old version of cowsay 0.068
And the network is plugged 0.068
And Tor is ready 50.872
Then the Additional Software upgrade service has started 0.187
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.121
After features/support/hooks.rb:519 1.378
After features/support/hooks.rb:330 0.597
After features/support/hooks.rb:100 0.031
2:17.113
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.187
And I start Tails from USB drive "__internal" with network unplugged 1:3.178
And I enable persistence 12.656
And I remove the "cowsay" deb files from the APT cache 0.057
# 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.094
And I log in to a new session 41.533
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 13.628
And I can open the Additional Software log file from the notification 4.943
And the package "cowsay" is not installed 0.834
After features/support/hooks.rb:519 0.122
After features/support/hooks.rb:330 1.630
After features/support/hooks.rb:100 0.007