Project Number Date
test_Tails_ISO_tca-remove-cruft 5 12 May 2025, 09:54

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 28:38.997 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
5:28.559
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Before features/support/hooks.rb:511 0.011
Given I start Tails from a freshly installed USB drive with an administration password and the network is plugged and I login 1:25.176
And I update APT using apt 12.412
And I install "popularity-contest" using apt 22.878
Then I am proposed to add the "popularity-contest" package to my Additional Software 7.638
When I create a persistent storage and activate the Additional Software feature 18.395
Then Additional Software is correctly configured for package "popularity-contest" 2.369
When I shutdown Tails and wait for the computer to power off 13.344
And I start Tails from USB drive "__internal" with network unplugged 1:6.683
And I enable persistence 22.314
And I log in to a new session 42.915
And the Additional Software installation service has started 31.694
Then I am notified that the installation succeeded 1.656
And Additional Software is correctly configured for package "popularity-contest" 0.801
And the package "popularity-contest" is installed after Additional Software has been started 0.276
After features/support/hooks.rb:519 13.550
After features/support/hooks.rb:330 2.765
After features/support/hooks.rb:100 0.011
2:30.559
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Before features/support/hooks.rb:511 0.004
Given a computer 0.187
And I start Tails from USB drive "__internal" and I login with an administration password 1:48.245
And I update APT using apt 12.131
When I install "makepp" using apt 23.434
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 6.474
And the package "makepp" is installed 0.086
After features/support/hooks.rb:519 14.149
After features/support/hooks.rb:330 1.740
After features/support/hooks.rb:100 0.011
5:21.727
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Before features/support/hooks.rb:511 0.005
Given a computer 0.221
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:33.818
When I uninstall "popularity-contest" using apt 21.858
And I accept removing "popularity-contest" from Additional Software 0.609
Then "popularity-contest" is not in the list of Additional Software 0.634
When I start Synaptic 22.962
And I update APT using Synaptic 22.879
And I install "cowsay" using Synaptic 9.204
And I accept adding "cowsay" to Additional Software 2.870
Then Additional Software is correctly configured for package "cowsay" 0.825
When I uninstall "cowsay" using apt 3.256
And I refuse removing "cowsay" from Additional Software 0.586
Then Additional Software is correctly configured for package "cowsay" 0.737
When I start "Additional Software" via GNOME Activities Overview 10.478
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 4.733
Then "cowsay" is not in the list of Additional Software 1.496
When I install "cowsay" using apt 3.230
And I refuse adding "cowsay" to Additional Software 0.611
Then "cowsay" is not in the list of Additional Software 0.711
After features/support/hooks.rb:519 0.642
After features/support/hooks.rb:330 0.741
After features/support/hooks.rb:100 0.008
13:5.610
Scenario Recovering in offline mode after Additional Software previously failed to upgrade and then succeed to upgrade when online
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Before features/support/hooks.rb:511 0.005
Steps
Given a computer 0.187
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:29.811
And I configure APT to prefer an old version of cowsay 0.024
When I install an old version "3.03+dfsg2-1" of the cowsay package using apt 25.763
And I accept adding "cowsay" to Additional Software 5.356
And Additional Software is correctly configured for package "cowsay" 0.890
And I shutdown Tails and wait for the computer to power off 4.511
And I start Tails from USB drive "__internal" with network unplugged 59.682
And I enable persistence 10.575
# 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.090
And I log in to a new session 40.534
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 30.928
And I revert the APT tweaks that made it prefer an old version of cowsay 0.067
# 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.065
And the network is plugged 0.077
And Tor is ready 21.466
And available upgrades have been checked 1.118
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 3.186
And I can open the Additional Software configuration window from the notification 2.376
And I shutdown Tails and wait for the computer to power off 2:2.287
And I start Tails from USB drive "__internal" with network unplugged 59.769
And I enable persistence 13.031
# 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.027
And I log in to a new session 36.994
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 2:14.540
And I revert the APT tweaks that made it prefer an old version of cowsay 0.073
And the network is plugged 0.082
And Tor is ready 1:2.063
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:652:in `/^I successfully configure Tor$/'
./features/step_definitions/common_steps.rb:607: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:519 0.042
After features/support/hooks.rb:330 14.163

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

Chutney logs: https://jenkins.tails.boum.org/job/test_Tails_ISO_tca-remove-cruft/5/artifact/build-artifacts/01:25:16_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_tca-remove-cruft/5/artifact/build-artifacts/01:25:16_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_tca-remove-cruft/5/artifact/build-artifacts/01:25:16_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_tca-remove-cruft/5/artifact/build-artifacts/01:25:16_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.018
2:12.540
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Before features/support/hooks.rb:511 0.004
Given a computer 0.202
And I start Tails from USB drive "__internal" with network unplugged 1:0.260
And I enable persistence 12.682
And I remove the "cowsay" deb files from the APT cache 0.068
# 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.076
And I log in to a new session 41.638
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 11.522
And I can open the Additional Software log file from the notification 5.164
And the package "cowsay" is not installed 0.923
After features/support/hooks.rb:519 0.132
After features/support/hooks.rb:330 1.675
After features/support/hooks.rb:100 0.006