Project Number Date
test_Tails_ISO_20522-ocr-more 8 18 Dec 2024, 05:18

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 25:31.370 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:45.085
Before features/support/hooks.rb:269 0.004
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 59.363
And I update APT using apt 12.495
And I install "popularity-contest" using apt 22.616
Then I am proposed to add the "popularity-contest" package to my Additional Software 7.650
When I create a persistent storage and activate the Additional Software feature 16.738
Then Additional Software is correctly configured for package "popularity-contest" 2.356
When I shutdown Tails and wait for the computer to power off 10.696
And I start Tails from USB drive "__internal" with network unplugged 1:4.460
And I enable persistence 23.227
And I log in to a new session 30.893
And the Additional Software installation service has started 32.329
Then I am notified that the installation succeeded 1.221
And Additional Software is correctly configured for package "popularity-contest" 0.794
And the package "popularity-contest" is installed after Additional Software has been started 0.239
After features/support/hooks.rb:515 13.843
After features/support/hooks.rb:326 2.043
After features/support/hooks.rb:100 0.011
2:30.139
Scenario The Additional Software dpkg hook notices when persistence is locked down while installing a package
Before features/support/hooks.rb:269 0.004
Before features/support/hooks.rb:507 0.004
Steps
Given a computer 0.180
And I start Tails from USB drive "__internal" and I login with an administration password 2:29.958
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:645:in `/^I successfully configure Tor$/'
./features/step_definitions/common_steps.rb:600: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:515 0.048
After features/support/hooks.rb:326 14.156

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

Chutney logs: https://jenkins.tails.boum.org/job/test_Tails_ISO_20522-ocr-more/8/artifact/build-artifacts/01:11:42_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_20522-ocr-more/8/artifact/build-artifacts/01:11:42_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_20522-ocr-more/8/artifact/build-artifacts/01:11:42_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_20522-ocr-more/8/artifact/build-artifacts/01:11:42_The_Additional_Software_dpkg_hook_notices_when_persistence_is_locked_down_while_installing_a_package.journal

After features/support/hooks.rb:100 0.008
5:21.206
Before features/support/hooks.rb:269 0.004
Before features/support/hooks.rb:507 0.004
Given a computer 0.193
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:30.537
When I uninstall "popularity-contest" using apt 21.809
And I accept removing "popularity-contest" from Additional Software 0.583
Then "popularity-contest" is not in the list of Additional Software 0.690
When I start Synaptic 24.411
And I update APT using Synaptic 21.818
And I install "cowsay" using Synaptic 9.201
And I accept adding "cowsay" to Additional Software 1.672
Then Additional Software is correctly configured for package "cowsay" 0.875
When I uninstall "cowsay" using apt 6.318
And I refuse removing "cowsay" from Additional Software 0.582
Then Additional Software is correctly configured for package "cowsay" 0.832
When I start "Additional Software" via GNOME Activities Overview 10.497
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 5.870
Then "cowsay" is not in the list of Additional Software 0.878
When I install "cowsay" using apt 3.198
And I refuse adding "cowsay" to Additional Software 0.536
Then "cowsay" is not in the list of Additional Software 0.693
After features/support/hooks.rb:515 0.581
After features/support/hooks.rb:326 0.658
After features/support/hooks.rb:100 0.008
10:53.009
Before features/support/hooks.rb:269 0.004
Before features/support/hooks.rb:507 0.005
Given a computer 0.200
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:10.217
And I configure APT to prefer an old version of cowsay 0.030
When I install an old version "3.03+dfsg2-1" of the cowsay package using apt 25.986
And I accept adding "cowsay" to Additional Software 6.571
And Additional Software is correctly configured for package "cowsay" 0.845
And I shutdown Tails and wait for the computer to power off 6.452
And I start Tails from USB drive "__internal" with network unplugged 1:3.106
And I enable persistence 15.882
# 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
# 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.098
And I log in to a new session 27.457
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 32.897
And I revert the APT tweaks that made it prefer an old version of cowsay 0.057
# 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.080
And the network is plugged 0.065
And Tor is ready 22.857
And available upgrades have been checked 0.068
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 4.018
And I can open the Additional Software configuration window from the notification 2.177
And I shutdown Tails and wait for the computer to power off 2:2.242
And I start Tails from USB drive "__internal" with network unplugged 1:2.991
And I enable persistence 12.540
# 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.029
And I log in to a new session 28.282
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 31.412
And I revert the APT tweaks that made it prefer an old version of cowsay 0.051
And the network is plugged 0.079
And Tor is ready 56.001
Then the Additional Software upgrade service has started 0.185
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.086
After features/support/hooks.rb:515 1.318
After features/support/hooks.rb:326 0.864
After features/support/hooks.rb:100 0.026
2:1.930
Before features/support/hooks.rb:269 0.005
Before features/support/hooks.rb:507 0.005
Given a computer 0.200
And I start Tails from USB drive "__internal" with network unplugged 1:3.776
And I enable persistence 14.106
And I remove the "cowsay" deb files from the APT cache 0.055
# 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 24.409
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 13.786
And I can open the Additional Software log file from the notification 5.047
And the package "cowsay" is not installed 0.458
After features/support/hooks.rb:515 0.114
After features/support/hooks.rb:326 1.471
After features/support/hooks.rb:100 0.039