Project Number Date
test_Tails_ISO_20634-greeter-tps-upgrade-failure-fix 6 18 Dec 2024, 18:32

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Additional software 79 0 0 0 0 79 5 0 5 25:33.561 Passed
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:14.625
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:1.303
And I update APT using apt 13.801
And I install "popularity-contest" using apt 25.902
Then I am proposed to add the "popularity-contest" package to my Additional Software 5.184
When I create a persistent storage and activate the Additional Software feature 18.541
Then Additional Software is correctly configured for package "popularity-contest" 1.235
When I shutdown Tails and wait for the computer to power off 10.433
And I start Tails from USB drive "__internal" with network unplugged 1:3.705
And I enable persistence 26.089
And I log in to a new session 43.961
And the Additional Software installation service has started 41.321
Then I am notified that the installation succeeded 1.983
And Additional Software is correctly configured for package "popularity-contest" 0.872
And the package "popularity-contest" is installed after Additional Software has been started 0.289
After features/support/hooks.rb:515 15.789
After features/support/hooks.rb:326 1.274
After features/support/hooks.rb:100 0.015
2:32.077
Before features/support/hooks.rb:269 0.004
Before features/support/hooks.rb:507 0.004
Given a computer 0.430
And I start Tails from USB drive "__internal" and I login with an administration password 1:47.558
And I update APT using apt 13.508
When I install "makepp" using apt 26.117
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 4.370
And the package "makepp" is installed 0.091
After features/support/hooks.rb:515 15.908
After features/support/hooks.rb:326 0.903
After features/support/hooks.rb:100 0.017
5:19.914
Before features/support/hooks.rb:269 0.006
Before features/support/hooks.rb:507 0.007
Given a computer 0.442
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:29.425
When I uninstall "popularity-contest" using apt 21.975
And I accept removing "popularity-contest" from Additional Software 1.249
Then "popularity-contest" is not in the list of Additional Software 0.705
When I start Synaptic 26.138
And I update APT using Synaptic 22.554
And I install "cowsay" using Synaptic 9.325
And I accept adding "cowsay" to Additional Software 1.111
Then Additional Software is correctly configured for package "cowsay" 0.826
When I uninstall "cowsay" using apt 3.259
And I refuse removing "cowsay" from Additional Software 0.672
Then Additional Software is correctly configured for package "cowsay" 0.842
When I start "Additional Software" via GNOME Activities Overview 10.698
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 4.971
Then "cowsay" is not in the list of Additional Software 1.169
When I install "cowsay" using apt 3.199
And I refuse adding "cowsay" to Additional Software 0.637
Then "cowsay" is not in the list of Additional Software 0.708
After features/support/hooks.rb:515 0.827
After features/support/hooks.rb:326 0.678
After features/support/hooks.rb:100 0.009
10:8.997
Before features/support/hooks.rb:269 0.007
Before features/support/hooks.rb:507 0.006
Given a computer 0.202
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:28.307
And I configure APT to prefer an old version of cowsay 0.037
When I install an old version "3.03+dfsg2-1" of the cowsay package using apt 30.060
And I accept adding "cowsay" to Additional Software 5.776
And Additional Software is correctly configured for package "cowsay" 1.109
And I shutdown Tails and wait for the computer to power off 6.906
And I start Tails from USB drive "__internal" with network unplugged 1:10.344
And I enable persistence 16.281
# 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.030
# 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 47.256
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 30.937
And I revert the APT tweaks that made it prefer an old version of cowsay 0.055
# 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.067
And the network is plugged 0.104
And Tor is ready 20.670
And available upgrades have been checked 0.047
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 3.979
And I can open the Additional Software configuration window from the notification 2.485
And I shutdown Tails and wait for the computer to power off 12.596
And I start Tails from USB drive "__internal" with network unplugged 1:3.990
And I enable persistence 14.075
# 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.033
And I log in to a new session 39.950
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 42.465
And I revert the APT tweaks that made it prefer an old version of cowsay 0.064
And the network is plugged 0.091
And Tor is ready 50.693
Then the Additional Software upgrade service has started 0.184
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.098
After features/support/hooks.rb:515 1.255
After features/support/hooks.rb:326 0.879
After features/support/hooks.rb:100 0.027
2:17.946
Before features/support/hooks.rb:269 0.005
Before features/support/hooks.rb:507 0.005
Given a computer 1.866
And I start Tails from USB drive "__internal" with network unplugged 1:1.716
And I enable persistence 13.901
And I remove the "cowsay" deb files from the APT cache 0.052
# 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.082
And I log in to a new session 40.397
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 14.069
And I can open the Additional Software log file from the notification 5.298
And the package "cowsay" is not installed 0.560
After features/support/hooks.rb:515 0.137
After features/support/hooks.rb:326 0.931
After features/support/hooks.rb:100 0.011