Project Number Date
test_Tails_ISO_20448-tor-browser-14-force-all-tests 50 22 Sep 2024, 07:17

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Additional software 81 1 2 0 0 84 5 1 6 30:22.797 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:20.743
Before features/support/hooks.rb:269 0.003
Before features/support/hooks.rb:507 0.006
Given I have started Tails from DVD and logged in with an administration password and the network is connected 2:5.882
And I update APT using apt 14.107
When I install "popularity-contest" using apt 25.601
Then I am notified I can not use Additional Software for "popularity-contest" 6.235
And I can open the Additional Software documentation from the notification 28.915
After features/support/hooks.rb:515 25.318
After features/support/hooks.rb:326 2.626
After features/support/hooks.rb:100 0.003
5:40.048
Before features/support/hooks.rb:269 0.004
Before features/support/hooks.rb:507 0.006
Given I start Tails from a freshly installed USB drive with an administration password and the network is plugged and I login 1:36.507
And I update APT using apt 13.061
And I install "popularity-contest" using apt 23.256
Then I am proposed to add the "popularity-contest" package to my Additional Software 7.741
When I create a persistent storage and activate the Additional Software feature 18.578
Then Additional Software is correctly configured for package "popularity-contest" 1.335
When I shutdown Tails and wait for the computer to power off 14.646
And I start Tails from USB drive "__internal" with network unplugged 1:0.412
And I enable persistence 19.617
And I log in to a new session 39.667
And the Additional Software installation service has started 41.377
Then I am notified that the installation succeeded 2.762
And Additional Software is correctly configured for package "popularity-contest" 0.820
And the package "popularity-contest" is installed after Additional Software has been started 0.262
After features/support/hooks.rb:515 25.283
After features/support/hooks.rb:326 1.135
After features/support/hooks.rb:100 0.011
2:48.414
Before features/support/hooks.rb:269 0.005
Before features/support/hooks.rb:507 0.005
Given a computer 0.208
And I start Tails from USB drive "__internal" and I login with an administration password 2:7.294
And I update APT using apt 12.047
When I install "makepp" using apt 22.388
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 6.400
And the package "makepp" is installed 0.074
After features/support/hooks.rb:515 29.489
After features/support/hooks.rb:326 1.235
After features/support/hooks.rb:100 0.013
4:51.084
Before features/support/hooks.rb:269 0.005
Before features/support/hooks.rb:507 0.005
Given a computer 0.981
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:14.185
When I uninstall "popularity-contest" using apt 9.433
And I accept removing "popularity-contest" from Additional Software 1.978
Then "popularity-contest" is not in the list of Additional Software 0.695
When I start Synaptic 23.815
And I update APT using Synaptic 22.145
And I install "cowsay" using Synaptic 9.694
And I accept adding "cowsay" to Additional Software 1.570
Then Additional Software is correctly configured for package "cowsay" 0.843
When I uninstall "cowsay" using apt 3.238
And I refuse removing "cowsay" from Additional Software 0.587
Then Additional Software is correctly configured for package "cowsay" 0.838
When I start "Additional Software" via GNOME Activities Overview 10.515
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 5.063
Then "cowsay" is not in the list of Additional Software 0.905
When I install "cowsay" using apt 3.250
And I refuse adding "cowsay" to Additional Software 0.630
Then "cowsay" is not in the list of Additional Software 0.712
After features/support/hooks.rb:515 1.281
After features/support/hooks.rb:326 0.705
After features/support/hooks.rb:100 0.009
11:30.048
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:507 0.005
Steps
Given a computer 0.203
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:21.927
And I configure APT to prefer an old version of cowsay 0.026
When I install an old version "3.03+dfsg2-1" of the cowsay package using apt 28.862
And I accept adding "cowsay" to Additional Software 4.685
And Additional Software is correctly configured for package "cowsay" 0.966
And I shutdown Tails and wait for the computer to power off 6.322
And I start Tails from USB drive "__internal" with network unplugged 58.733
And I enable persistence 9.594
# 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.043
And I log in to a new session 40.263
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 41.050
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.071
And the network is plugged 0.072
And Tor is ready 19.892
# 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 6.025
And available upgrades have been checked 0.104
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 1.029
And I can open the Additional Software configuration window from the notification 2.626
And I shutdown Tails and wait for the computer to power off 13.251
And I start Tails from USB drive "__internal" with network unplugged 59.270
And I enable persistence 10.288
# 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.026
And I log in to a new session 38.785
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 2:24.328
And I revert the APT tweaks that made it prefer an old version of cowsay 0.057
And the network is plugged 0.084
And Tor is ready 1:1.395
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:648:in `/^I successfully configure Tor$/'
./features/step_definitions/common_steps.rb:603:in `/^Tor is ready$/'
features/additional_software_packages.feature:117:in `And Tor is ready'
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:515 0.056
After features/support/hooks.rb:326 14.343

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

Chutney logs: https://jenkins.tails.boum.org/job/test_Tails_ISO_20448-tor-browser-14-force-all-tests/50/artifact/build-artifacts/01:32:43_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_20448-tor-browser-14-force-all-tests/50/artifact/build-artifacts/01:32:43_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_20448-tor-browser-14-force-all-tests/50/artifact/build-artifacts/01:32:43_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_20448-tor-browser-14-force-all-tests/50/artifact/build-artifacts/01:32:43_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.027
2:12.459
Before features/support/hooks.rb:269 0.006
Before features/support/hooks.rb:507 0.006
Given a computer 0.190
And I start Tails from USB drive "__internal" with network unplugged 1:0.096
And I enable persistence 11.405
And I remove the "cowsay" deb files from the APT cache 1.012
# 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.110
And I log in to a new session 40.391
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 13.516
And I can open the Additional Software log file from the notification 5.005
And the package "cowsay" is not installed 0.729
After features/support/hooks.rb:515 0.106
After features/support/hooks.rb:326 0.957
After features/support/hooks.rb:100 0.009