Project Number Date
test_Tails_ISO_20268-more-early-patch-functionality 95 05 Jun 2024, 06:54

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Additional software 63 1 15 0 0 79 4 1 5 22:55.196 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:51.174
Before features/support/hooks.rb:269 0.003
Before features/support/hooks.rb:496 0.004
Given I start Tails from a freshly installed USB drive with an administration password and the network is plugged and I login 56.862
And I update APT using apt 16.733
And I install "popularity-contest" using apt 22.237
Then I am proposed to add the "popularity-contest" package to my Additional Software 8.618
When I create a persistent storage and activate the Additional Software feature 16.946
Then Additional Software is correctly configured for package "popularity-contest" 2.500
When I shutdown Tails and wait for the computer to power off 13.018
And I start Tails from USB drive "__internal" with network unplugged 57.581
And I enable persistence 20.896
And I log in to a new session 41.422
And the Additional Software installation service has started 31.328
Then I am notified that the installation succeeded 1.957
And Additional Software is correctly configured for package "popularity-contest" 0.831
And the package "popularity-contest" is installed after Additional Software has been started 0.239
After features/support/hooks.rb:504 37.918
After features/support/hooks.rb:315 1.706
After features/support/hooks.rb:100 0.013
2:33.842
Before features/support/hooks.rb:269 0.005
Before features/support/hooks.rb:496 0.007
Given a computer 0.231
And I start Tails from USB drive "__internal" and I login with an administration password 1:46.989
And I update APT using apt 17.595
When I install "makepp" using apt 22.489
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 6.448
And the package "makepp" is installed 0.086
After features/support/hooks.rb:504 37.210
After features/support/hooks.rb:315 0.905
After features/support/hooks.rb:100 0.013
5:11.758
Before features/support/hooks.rb:269 0.005
Before features/support/hooks.rb:496 0.006
Given a computer 0.244
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:16.972
When I uninstall "popularity-contest" using apt 21.840
And I accept removing "popularity-contest" from Additional Software 0.581
Then "popularity-contest" is not in the list of Additional Software 0.759
When I start Synaptic 29.888
And I update APT using Synaptic 22.175
And I install "cowsay" using Synaptic 9.272
And I accept adding "cowsay" to Additional Software 1.557
Then Additional Software is correctly configured for package "cowsay" 0.836
When I uninstall "cowsay" using apt 3.246
And I refuse removing "cowsay" from Additional Software 0.644
Then Additional Software is correctly configured for package "cowsay" 0.892
When I start "Additional Software" via GNOME Activities Overview 10.890
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 6.439
Then "cowsay" is not in the list of Additional Software 0.993
When I install "cowsay" using apt 3.197
And I refuse adding "cowsay" to Additional Software 0.629
Then "cowsay" is not in the list of Additional Software 0.694
After features/support/hooks.rb:504 1.015
After features/support/hooks.rb:315 0.692
After features/support/hooks.rb:100 0.009
8:6.615
Scenario Recovering in offline mode after Additional Software previously failed to upgrade and then succeed to upgrade when online
Before features/support/hooks.rb:269 0.005
Before features/support/hooks.rb:496 0.009
Steps
Given a computer 0.240
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:18.140
And I configure APT to prefer an old version of cowsay 0.025
When I install an old version "3.03+dfsg2-1" of the cowsay package using apt 26.327
And I accept adding "cowsay" to Additional Software 7.080
And Additional Software is correctly configured for package "cowsay" 0.870
And I shutdown Tails and wait for the computer to power off 6.404
And I start Tails from USB drive "__internal" with network unplugged 59.680
And I enable persistence 15.209
# 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
And I log in to a new session 27.901
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 2:22.715
And I revert the APT tweaks that made it prefer an old version of cowsay 0.051
# 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.073
And the network is plugged 0.042
And Tor is ready 1:1.802
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:646:in `/^I successfully configure Tor$/'
./features/step_definitions/common_steps.rb:601:in `/^Tor is ready$/'
features/additional_software_packages.feature:97:in `And Tor is ready'
# 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 0.000
And available upgrades have been checked 0.000
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 0.000
And I can open the Additional Software configuration window from the notification 0.000
And I shutdown Tails and wait for the computer to power off 0.000
And I start Tails from USB drive "__internal" with network unplugged 0.000
And I enable persistence 0.000
# 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.000
And I log in to a new session 0.000
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 0.000
And I revert the APT tweaks that made it prefer an old version of cowsay 0.000
And the network is plugged 0.000
And Tor is ready 0.000
Then the Additional Software upgrade service has started 0.000
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.000
After features/support/hooks.rb:504 0.031
After features/support/hooks.rb:315 14.207

SCENARIO FAILED: 'Recovering in offline mode after Additional Software previously failed to upgrade and then succeed to upgrade when online' (at time 01:28:02)

Chutney logs: https://jenkins.tails.boum.org/job/test_Tails_ISO_20268-more-early-patch-functionality/95/artifact/build-artifacts/01:28:02_Recovering_in_offline_mode_after_Additional_Software_previously_failed_to_upgrade_and_then_succeed_to_upgrade_when_online_chutney-data

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20268-more-early-patch-functionality/95/artifact/build-artifacts/01:28:02_Recovering_in_offline_mode_after_Additional_Software_previously_failed_to_upgrade_and_then_succeed_to_upgrade_when_online.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20268-more-early-patch-functionality/95/artifact/build-artifacts/01:28:02_Recovering_in_offline_mode_after_Additional_Software_previously_failed_to_upgrade_and_then_succeed_to_upgrade_when_online.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20268-more-early-patch-functionality/95/artifact/build-artifacts/01:28:02_Recovering_in_offline_mode_after_Additional_Software_previously_failed_to_upgrade_and_then_succeed_to_upgrade_when_online.journal

After features/support/hooks.rb:100 0.024
2:11.806
Before features/support/hooks.rb:269 0.011
Before features/support/hooks.rb:496 0.008
Given a computer 0.234
And I start Tails from USB drive "__internal" with network unplugged 1:0.792
And I enable persistence 17.687
And I remove the "cowsay" deb files from the APT cache 0.769
# 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.095
And I log in to a new session 31.246
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 13.677
And I can open the Additional Software log file from the notification 6.604
And the package "cowsay" is not installed 0.698
After features/support/hooks.rb:504 0.112
After features/support/hooks.rb:315 1.156
After features/support/hooks.rb:100 0.013