Project Number Date
test_Tails_ISO_20263-remote-shell-debug-logging 19 19 Mar 2025, 22:03

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Additional software 64 1 14 0 0 79 4 1 5 26:14.688 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:12.270
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 55.659
And I update APT using apt 41.281
And I install "popularity-contest" using apt 22.784
Then I am proposed to add the "popularity-contest" package to my Additional Software 6.467
When I create a persistent storage and activate the Additional Software feature 19.614
Then Additional Software is correctly configured for package "popularity-contest" 2.361
When I shutdown Tails and wait for the computer to power off 10.950
And I start Tails from USB drive "__internal" with network unplugged 1:6.101
And I enable persistence 20.698
And I log in to a new session 31.403
And the Additional Software installation service has started 32.269
Then I am notified that the installation succeeded 1.661
And Additional Software is correctly configured for package "popularity-contest" 0.748
And the package "popularity-contest" is installed after Additional Software has been started 0.269
After features/support/hooks.rb:519 13.742
After features/support/hooks.rb:330 2.070
After features/support/hooks.rb:100 0.011
5:56.751
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.190
And I start Tails from USB drive "__internal" and I login with an administration password 1:43.229
And I update APT using apt 3:43.909
When I install "makepp" using apt 22.817
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 6.541
And the package "makepp" is installed 0.062
After features/support/hooks.rb:519 14.302
After features/support/hooks.rb:330 1.507
After features/support/hooks.rb:100 0.010
4:57.166
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.196
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:14.011
When I uninstall "popularity-contest" using apt 21.773
And I accept removing "popularity-contest" from Additional Software 0.694
Then "popularity-contest" is not in the list of Additional Software 0.677
When I start Synaptic 21.734
And I update APT using Synaptic 22.727
And I install "cowsay" using Synaptic 7.954
And I accept adding "cowsay" to Additional Software 2.486
Then Additional Software is correctly configured for package "cowsay" 0.769
When I uninstall "cowsay" using apt 3.230
And I refuse removing "cowsay" from Additional Software 0.677
Then Additional Software is correctly configured for package "cowsay" 0.729
When I start "Additional Software" via GNOME Activities Overview 9.769
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 4.323
Then "cowsay" is not in the list of Additional Software 0.946
When I install "cowsay" using apt 3.206
And I refuse adding "cowsay" to Additional Software 0.630
Then "cowsay" is not in the list of Additional Software 0.625
After features/support/hooks.rb:519 0.586
After features/support/hooks.rb:330 0.811
After features/support/hooks.rb:100 0.008
8:2.489
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.005
Before features/support/hooks.rb:511 0.005
Steps
Given a computer 0.193
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:17.860
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 26.094
And I accept adding "cowsay" to Additional Software 6.793
And Additional Software is correctly configured for package "cowsay" 0.897
And I shutdown Tails and wait for the computer to power off 4.688
And I start Tails from USB drive "__internal" with network unplugged 58.480
And I enable persistence 11.696
# 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.023
# 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 41.215
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 2:12.945
And I revert the APT tweaks that made it prefer an old version of cowsay 0.057
# 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.085
And the network is plugged 0.076
And Tor is ready 1:1.259
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:100:in `And Tor is ready'
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:519 0.028
After features/support/hooks.rb:330 14.176

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

Chutney logs: https://jenkins.tails.boum.org/job/test_Tails_ISO_20263-remote-shell-debug-logging/19/artifact/build-artifacts/01:22:03_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_20263-remote-shell-debug-logging/19/artifact/build-artifacts/01:22:03_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_20263-remote-shell-debug-logging/19/artifact/build-artifacts/01:22:03_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_20263-remote-shell-debug-logging/19/artifact/build-artifacts/01:22:03_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:6.010
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Before features/support/hooks.rb:511 0.006
Given a computer 0.182
And I start Tails from USB drive "__internal" with network unplugged 58.052
And I enable persistence 11.510
And I remove the "cowsay" deb files from the APT cache 0.060
# 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.085
And I log in to a new session 39.547
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 11.151
And I can open the Additional Software log file from the notification 4.833
And the package "cowsay" is not installed 0.585
After features/support/hooks.rb:519 0.135
After features/support/hooks.rb:330 1.646
After features/support/hooks.rb:100 0.007