Project Number Date
test_Tails_ISO_20634-greeter-tps-upgrade-failure-fix 8 29 Oct 2024, 02:43

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 23:1.676 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:0.540
Before features/support/hooks.rb:269 0.003
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:3.629
And I update APT using apt 11.832
And I install "popularity-contest" using apt 25.868
Then I am proposed to add the "popularity-contest" package to my Additional Software 5.145
When I create a persistent storage and activate the Additional Software feature 20.579
Then Additional Software is correctly configured for package "popularity-contest" 1.524
When I shutdown Tails and wait for the computer to power off 14.951
And I start Tails from USB drive "__internal" with network unplugged 59.751
And I enable persistence 20.537
And I log in to a new session 42.600
And the Additional Software installation service has started 31.205
Then I am notified that the installation succeeded 1.620
And Additional Software is correctly configured for package "popularity-contest" 1.015
And the package "popularity-contest" is installed after Additional Software has been started 0.278
After features/support/hooks.rb:515 14.199
After features/support/hooks.rb:326 1.252
After features/support/hooks.rb:100 0.011
2:52.980
Before features/support/hooks.rb:269 0.005
Before features/support/hooks.rb:507 0.005
Given a computer 0.214
And I start Tails from USB drive "__internal" and I login with an administration password 2:10.707
And I update APT using apt 11.777
When I install "makepp" using apt 25.639
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 4.565
And the package "makepp" is installed 0.076
After features/support/hooks.rb:515 16.026
After features/support/hooks.rb:326 1.430
After features/support/hooks.rb:100 0.014
4:48.840
Before features/support/hooks.rb:269 0.006
Before features/support/hooks.rb:507 0.006
Given a computer 0.204
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:11.518
When I uninstall "popularity-contest" using apt 12.548
And I accept removing "popularity-contest" from Additional Software 0.568
Then "popularity-contest" is not in the list of Additional Software 0.711
When I start Synaptic 24.189
And I update APT using Synaptic 22.282
And I install "cowsay" using Synaptic 10.148
And I accept adding "cowsay" to Additional Software 0.924
Then Additional Software is correctly configured for package "cowsay" 0.831
When I uninstall "cowsay" using apt 3.232
And I refuse removing "cowsay" from Additional Software 0.532
Then Additional Software is correctly configured for package "cowsay" 0.772
When I start "Additional Software" via GNOME Activities Overview 10.475
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 4.333
Then "cowsay" is not in the list of Additional Software 1.069
When I install "cowsay" using apt 3.217
And I refuse adding "cowsay" to Additional Software 0.575
Then "cowsay" is not in the list of Additional Software 0.704
After features/support/hooks.rb:515 0.617
After features/support/hooks.rb:326 0.703
After features/support/hooks.rb:100 0.007
8:8.893
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.003
Before features/support/hooks.rb:507 0.003
Steps
Given a computer 0.222
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:21.561
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 28.785
And I accept adding "cowsay" to Additional Software 5.330
And Additional Software is correctly configured for package "cowsay" 1.122
And I shutdown Tails and wait for the computer to power off 6.945
And I start Tails from USB drive "__internal" with network unplugged 58.980
And I enable persistence 11.855
# 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
# 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.106
And I log in to a new session 38.327
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 2:13.871
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.068
And the network is plugged 0.069
And Tor is ready 1:1.538
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: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:515 0.037
After features/support/hooks.rb:326 14.200

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

Chutney logs: https://jenkins.tails.boum.org/job/test_Tails_ISO_20634-greeter-tps-upgrade-failure-fix/8/artifact/build-artifacts/01:27:28_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_20634-greeter-tps-upgrade-failure-fix/8/artifact/build-artifacts/01:27:28_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_20634-greeter-tps-upgrade-failure-fix/8/artifact/build-artifacts/01:27:28_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_20634-greeter-tps-upgrade-failure-fix/8/artifact/build-artifacts/01:27:28_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.016
2:10.421
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" with network unplugged 1:0.728
And I enable persistence 11.483
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.092
And I log in to a new session 37.904
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 14.055
And I can open the Additional Software log file from the notification 5.329
And the package "cowsay" is not installed 0.558
After features/support/hooks.rb:515 0.137
After features/support/hooks.rb:326 0.672
After features/support/hooks.rb:100 0.011