Project Number Date
test_Tails_ISO_devel 3511 10 Sep 2024, 16:11

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:29.429 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:3.569
Before features/support/hooks.rb:269 0.003
Before features/support/hooks.rb:507 0.004
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:40.616
And I update APT using apt 15.717
When I install "popularity-contest" using apt 22.679
Then I am notified I can not use Additional Software for "popularity-contest" 14.539
And I can open the Additional Software documentation from the notification 30.017
After features/support/hooks.rb:515 27.039
After features/support/hooks.rb:326 2.358
After features/support/hooks.rb:100 0.004
5:28.568
Before features/support/hooks.rb:269 0.006
Before features/support/hooks.rb:507 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:9.036
And I update APT using apt 12.355
And I install "popularity-contest" using apt 22.416
Then I am proposed to add the "popularity-contest" package to my Additional Software 8.308
When I create a persistent storage and activate the Additional Software feature 20.804
Then Additional Software is correctly configured for package "popularity-contest" 2.514
When I shutdown Tails and wait for the computer to power off 15.435
And I start Tails from USB drive "__internal" with network unplugged 1:4.461
And I enable persistence 20.699
And I log in to a new session 48.497
And the Additional Software installation service has started 40.831
Then I am notified that the installation succeeded 1.881
And Additional Software is correctly configured for package "popularity-contest" 0.967
And the package "popularity-contest" is installed after Additional Software has been started 0.357
After features/support/hooks.rb:515 29.459
After features/support/hooks.rb:326 1.455
After features/support/hooks.rb:100 0.012
2:55.056
Before features/support/hooks.rb:269 0.005
Before features/support/hooks.rb:507 0.006
Given a computer 0.243
And I start Tails from USB drive "__internal" and I login with an administration password 2:12.108
And I update APT using apt 11.682
When I install "makepp" using apt 26.368
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 4.568
And the package "makepp" is installed 0.085
After features/support/hooks.rb:515 29.096
After features/support/hooks.rb:326 2.434
After features/support/hooks.rb:100 0.014
5:8.448
Before features/support/hooks.rb:269 0.005
Before features/support/hooks.rb:507 0.006
Given a computer 0.238
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:23.281
When I uninstall "popularity-contest" using apt 15.661
And I accept removing "popularity-contest" from Additional Software 0.600
Then "popularity-contest" is not in the list of Additional Software 0.766
When I start Synaptic 24.943
And I update APT using Synaptic 22.347
And I install "cowsay" using Synaptic 11.849
And I accept adding "cowsay" to Additional Software 1.332
Then Additional Software is correctly configured for package "cowsay" 0.952
When I uninstall "cowsay" using apt 3.296
And I refuse removing "cowsay" from Additional Software 0.682
Then Additional Software is correctly configured for package "cowsay" 0.867
When I start "Additional Software" via GNOME Activities Overview 10.660
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 5.386
Then "cowsay" is not in the list of Additional Software 0.972
When I install "cowsay" using apt 3.243
And I refuse adding "cowsay" to Additional Software 0.582
Then "cowsay" is not in the list of Additional Software 0.782
After features/support/hooks.rb:515 1.143
After features/support/hooks.rb:326 0.716
After features/support/hooks.rb:100 0.011
11:38.874
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.007
Before features/support/hooks.rb:507 0.009
Steps
Given a computer 0.220
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:20.895
And I configure APT to prefer an old version of cowsay 0.028
When I install an old version "3.03+dfsg2-1" of the cowsay package using apt 29.073
And I accept adding "cowsay" to Additional Software 5.639
And Additional Software is correctly configured for package "cowsay" 1.013
And I shutdown Tails and wait for the computer to power off 6.647
And I start Tails from USB drive "__internal" with network unplugged 1:3.250
And I enable persistence 12.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.032
And I log in to a new session 44.372
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 31.315
And I revert the APT tweaks that made it prefer an old version of cowsay 0.053
# 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.102
And the network is plugged 0.089
And Tor is ready 20.276
# 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 7.316
And available upgrades have been checked 0.070
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 1.190
And I can open the Additional Software configuration window from the notification 2.531
And I shutdown Tails and wait for the computer to power off 13.025
And I start Tails from USB drive "__internal" with network unplugged 1:0.722
And I enable persistence 11.311
# 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.032
And I log in to a new session 41.098
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 2:24.373
And I revert the APT tweaks that made it prefer an old version of cowsay 0.056
And the network is plugged 0.075
And Tor is ready 1:1.767
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.038
After features/support/hooks.rb:326 14.312

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

Chutney logs: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3511/artifact/build-artifacts/01:36:36_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_devel/3511/artifact/build-artifacts/01:36:36_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_devel/3511/artifact/build-artifacts/01:36:36_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_devel/3511/artifact/build-artifacts/01:36:36_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:14.911
Before features/support/hooks.rb:269 0.006
Before features/support/hooks.rb:507 0.009
Given a computer 0.264
And I start Tails from USB drive "__internal" with network unplugged 1:1.960
And I enable persistence 11.607
And I remove the "cowsay" deb files from the APT cache 0.885
# 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.108
And I log in to a new session 39.597
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 14.497
And I can open the Additional Software log file from the notification 5.302
And the package "cowsay" is not installed 0.689
After features/support/hooks.rb:515 0.120
After features/support/hooks.rb:326 0.984
After features/support/hooks.rb:100 0.011