Project Number Date
test_Tails_ISO_20522-ocr-more 22 31 Dec 2024, 05:10

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Additional software 76 1 2 0 0 79 4 1 5 27:5.140 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:39.837
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 1:1.892
And I update APT using apt 12.798
And I install "popularity-contest" using apt 22.565
Then I am proposed to add the "popularity-contest" package to my Additional Software 8.061
When I create a persistent storage and activate the Additional Software feature 16.035
Then Additional Software is correctly configured for package "popularity-contest" 1.425
When I shutdown Tails and wait for the computer to power off 10.657
And I start Tails from USB drive "__internal" with network unplugged 1:4.049
And I enable persistence 21.311
And I log in to a new session 27.300
And the Additional Software installation service has started 31.264
Then I am notified that the installation succeeded 1.356
And Additional Software is correctly configured for package "popularity-contest" 0.852
And the package "popularity-contest" is installed after Additional Software has been started 0.266
After features/support/hooks.rb:515 14.084
After features/support/hooks.rb:326 1.822
After features/support/hooks.rb:100 0.010
2:26.662
Before features/support/hooks.rb:269 0.005
Before features/support/hooks.rb:507 0.004
Given a computer 0.207
And I start Tails from USB drive "__internal" and I login with an administration password 1:44.684
And I update APT using apt 12.760
When I install "makepp" using apt 22.442
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 6.447
And the package "makepp" is installed 0.119
After features/support/hooks.rb:515 14.440
After features/support/hooks.rb:326 0.884
After features/support/hooks.rb:100 0.012
4:56.333
Before features/support/hooks.rb:269 0.005
Before features/support/hooks.rb:507 0.006
Given a computer 0.219
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:5.953
When I uninstall "popularity-contest" using apt 21.783
And I accept removing "popularity-contest" from Additional Software 0.590
Then "popularity-contest" is not in the list of Additional Software 0.691
When I start Synaptic 24.506
And I update APT using Synaptic 21.972
And I install "cowsay" using Synaptic 9.433
And I accept adding "cowsay" to Additional Software 1.977
Then Additional Software is correctly configured for package "cowsay" 0.837
When I uninstall "cowsay" using apt 6.314
And I refuse removing "cowsay" from Additional Software 0.584
Then Additional Software is correctly configured for package "cowsay" 0.764
When I start "Additional Software" via GNOME Activities Overview 10.485
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 4.785
Then "cowsay" is not in the list of Additional Software 0.937
When I install "cowsay" using apt 3.253
And I refuse adding "cowsay" to Additional Software 0.554
Then "cowsay" is not in the list of Additional Software 0.688
After features/support/hooks.rb:515 0.598
After features/support/hooks.rb:326 0.688
After features/support/hooks.rb:100 0.010
12:56.649
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.006
Before features/support/hooks.rb:507 0.007
Steps
Given a computer 0.190
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:11.804
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 25.237
And I accept adding "cowsay" to Additional Software 5.333
And Additional Software is correctly configured for package "cowsay" 0.868
And I shutdown Tails and wait for the computer to power off 6.344
And I start Tails from USB drive "__internal" with network unplugged 1:9.692
And I enable persistence 15.477
# 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.088
And I log in to a new session 28.887
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 30.934
And I revert the APT tweaks that made it prefer an old version of cowsay 0.069
# 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.068
And the network is plugged 0.072
And Tor is ready 26.798
And available upgrades have been checked 1.132
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 3.703
And I can open the Additional Software configuration window from the notification 3.513
And I shutdown Tails and wait for the computer to power off 2:6.775
And I start Tails from USB drive "__internal" with network unplugged 1:2.458
And I enable persistence 14.808
# 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.031
And I log in to a new session 27.853
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 2:12.698
And I revert the APT tweaks that made it prefer an old version of cowsay 0.062
And the network is plugged 0.071
And Tor is ready 1:1.621
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/additional_software_packages.feature:114: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.052
After features/support/hooks.rb:326 14.269

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

Chutney logs: https://jenkins.tails.boum.org/job/test_Tails_ISO_20522-ocr-more/22/artifact/build-artifacts/01:31:06_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_20522-ocr-more/22/artifact/build-artifacts/01:31:06_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_20522-ocr-more/22/artifact/build-artifacts/01:31:06_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_20522-ocr-more/22/artifact/build-artifacts/01:31:06_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.034
2:5.657
Before features/support/hooks.rb:269 0.006
Before features/support/hooks.rb:507 0.006
Given a computer 0.200
And I start Tails from USB drive "__internal" with network unplugged 1:3.521
And I enable persistence 12.536
And I remove the "cowsay" deb files from the APT cache 0.061
# 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.080
And I log in to a new session 29.102
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 14.259
And I can open the Additional Software log file from the notification 5.312
And the package "cowsay" is not installed 0.581
After features/support/hooks.rb:515 0.126
After features/support/hooks.rb:326 1.717
After features/support/hooks.rb:100 0.011