Project Number Date
test_Tails_ISO_20634-greeter-tps-upgrade-failure-fix 10 29 Oct 2024, 18:48

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 27:11.282 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:21.574
Before features/support/hooks.rb:269 0.003
Before features/support/hooks.rb:507 0.004
Given I start Tails from a freshly installed USB drive with an administration password and the network is plugged and I login 1:8.811
And I update APT using apt 14.318
And I install "popularity-contest" using apt 22.371
Then I am proposed to add the "popularity-contest" package to my Additional Software 9.646
When I create a persistent storage and activate the Additional Software feature 21.434
Then Additional Software is correctly configured for package "popularity-contest" 1.399
When I shutdown Tails and wait for the computer to power off 12.318
And I start Tails from USB drive "__internal" with network unplugged 1:0.781
And I enable persistence 21.946
And I log in to a new session 43.642
And the Additional Software installation service has started 41.488
Then I am notified that the installation succeeded 2.105
And Additional Software is correctly configured for package "popularity-contest" 0.954
And the package "popularity-contest" is installed after Additional Software has been started 0.354
After features/support/hooks.rb:515 14.136
After features/support/hooks.rb:326 1.326
After features/support/hooks.rb:100 0.015
2:26.026
Before features/support/hooks.rb:269 0.006
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 an administration password 1:43.345
And I update APT using apt 12.287
When I install "makepp" using apt 25.745
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 4.332
And the package "makepp" is installed 0.096
After features/support/hooks.rb:515 15.379
After features/support/hooks.rb:326 1.269
After features/support/hooks.rb:100 0.015
4:52.344
Before features/support/hooks.rb:269 0.007
Before features/support/hooks.rb:507 0.005
Given a computer 0.220
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:14.575
When I uninstall "popularity-contest" using apt 12.564
And I accept removing "popularity-contest" from Additional Software 1.835
Then "popularity-contest" is not in the list of Additional Software 0.647
When I start Synaptic 22.268
And I update APT using Synaptic 22.548
And I install "cowsay" using Synaptic 10.002
And I accept adding "cowsay" to Additional Software 0.623
Then Additional Software is correctly configured for package "cowsay" 0.859
When I uninstall "cowsay" using apt 3.282
And I refuse removing "cowsay" from Additional Software 0.741
Then Additional Software is correctly configured for package "cowsay" 0.977
When I start "Additional Software" via GNOME Activities Overview 10.787
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 4.601
Then "cowsay" is not in the list of Additional Software 1.147
When I install "cowsay" using apt 3.289
And I refuse adding "cowsay" to Additional Software 0.550
Then "cowsay" is not in the list of Additional Software 0.820
After features/support/hooks.rb:515 0.810
After features/support/hooks.rb:326 0.771
After features/support/hooks.rb:100 0.010
12:18.888
Before features/support/hooks.rb:269 0.006
Before features/support/hooks.rb:507 0.007
Given a computer 0.239
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:55.303
And I configure APT to prefer an old version of cowsay 0.027
When I install an old version "3.03+dfsg2-1" of the cowsay package using apt 29.045
And I accept adding "cowsay" to Additional Software 4.589
And Additional Software is correctly configured for package "cowsay" 1.064
And I shutdown Tails and wait for the computer to power off 6.457
And I start Tails from USB drive "__internal" with network unplugged 1:1.368
And I enable persistence 14.693
# 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.038
# 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.101
And I log in to a new session 39.797
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 41.925
And I revert the APT tweaks that made it prefer an old version of cowsay 0.080
# 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.076
And the network is plugged 0.084
And Tor is ready 19.252
And available upgrades have been checked 0.224
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 7.410
And I can open the Additional Software configuration window from the notification 2.858
And I shutdown Tails and wait for the computer to power off 2:3.999
And I start Tails from USB drive "__internal" with network unplugged 1:0.678
And I enable persistence 13.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.034
And I log in to a new session 39.735
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 41.416
And I revert the APT tweaks that made it prefer an old version of cowsay 0.065
And the network is plugged 0.093
And Tor is ready 54.028
Then the Additional Software upgrade service has started 0.265
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.123
After features/support/hooks.rb:515 1.450
After features/support/hooks.rb:326 0.701
After features/support/hooks.rb:100 0.032
2:12.448
Before features/support/hooks.rb:269 0.007
Before features/support/hooks.rb:507 0.006
Given a computer 0.204
And I start Tails from USB drive "__internal" with network unplugged 1:1.290
And I enable persistence 12.026
And I remove the "cowsay" deb files from the APT cache 0.062
# 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.093
And I log in to a new session 38.096
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 14.325
And I can open the Additional Software log file from the notification 5.872
And the package "cowsay" is not installed 0.477
After features/support/hooks.rb:515 0.146
After features/support/hooks.rb:326 0.922
After features/support/hooks.rb:100 0.011