Project Number Date
test_Tails_ISO_20634-greeter-tps-upgrade-failure-fix 7 28 Oct 2024, 21:14

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 26:18.824 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:10.293
Before features/support/hooks.rb:269 0.002
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.639
And I update APT using apt 12.113
And I install "popularity-contest" using apt 26.698
Then I am proposed to add the "popularity-contest" package to my Additional Software 5.136
When I create a persistent storage and activate the Additional Software feature 24.081
Then Additional Software is correctly configured for package "popularity-contest" 1.309
When I shutdown Tails and wait for the computer to power off 12.882
And I start Tails from USB drive "__internal" with network unplugged 59.948
And I enable persistence 21.732
And I log in to a new session 39.395
And the Additional Software installation service has started 42.289
Then I am notified that the installation succeeded 1.892
And Additional Software is correctly configured for package "popularity-contest" 0.831
And the package "popularity-contest" is installed after Additional Software has been started 0.340
After features/support/hooks.rb:515 14.634
After features/support/hooks.rb:326 1.060
After features/support/hooks.rb:100 0.012
2:22.965
Before features/support/hooks.rb:269 0.005
Before features/support/hooks.rb:507 0.006
Given a computer 0.226
And I start Tails from USB drive "__internal" and I login with an administration password 1:37.457
And I update APT using apt 14.107
When I install "makepp" using apt 26.807
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 4.283
And the package "makepp" is installed 0.083
After features/support/hooks.rb:515 16.146
After features/support/hooks.rb:326 0.846
After features/support/hooks.rb:100 0.013
5:2.491
Before features/support/hooks.rb:269 0.004
Before features/support/hooks.rb:507 0.005
Given a computer 0.213
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:24.948
When I uninstall "popularity-contest" using apt 12.511
And I accept removing "popularity-contest" from Additional Software 1.750
Then "popularity-contest" is not in the list of Additional Software 0.657
When I start Synaptic 24.228
And I update APT using Synaptic 21.917
And I install "cowsay" using Synaptic 9.261
And I accept adding "cowsay" to Additional Software 0.965
Then Additional Software is correctly configured for package "cowsay" 0.894
When I uninstall "cowsay" using apt 3.267
And I refuse removing "cowsay" from Additional Software 0.514
Then Additional Software is correctly configured for package "cowsay" 0.822
When I start "Additional Software" via GNOME Activities Overview 10.608
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 4.591
Then "cowsay" is not in the list of Additional Software 0.906
When I install "cowsay" using apt 3.213
And I refuse adding "cowsay" to Additional Software 0.560
Then "cowsay" is not in the list of Additional Software 0.658
After features/support/hooks.rb:515 0.629
After features/support/hooks.rb:326 0.742
After features/support/hooks.rb:100 0.009
11:32.232
Before features/support/hooks.rb:269 0.007
Before features/support/hooks.rb:507 0.005
Given a computer 0.254
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:26.357
And I configure APT to prefer an old version of cowsay 0.026
When I install an old version "3.03+dfsg2-1" of the cowsay package using apt 29.825
And I accept adding "cowsay" to Additional Software 3.013
And Additional Software is correctly configured for package "cowsay" 0.940
And I shutdown Tails and wait for the computer to power off 4.378
And I start Tails from USB drive "__internal" with network unplugged 58.891
And I enable persistence 11.543
# 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 39.682
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 41.561
And I revert the APT tweaks that made it prefer an old version of cowsay 0.052
# 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.064
And the network is plugged 0.086
And Tor is ready 18.276
And available upgrades have been checked 2.226
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 2.751
And I can open the Additional Software configuration window from the notification 3.127
And I shutdown Tails and wait for the computer to power off 2:7.474
And I start Tails from USB drive "__internal" with network unplugged 59.421
And I enable persistence 14.128
# 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
And I log in to a new session 44.568
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 32.282
And I revert the APT tweaks that made it prefer an old version of cowsay 0.071
And the network is plugged 0.091
And Tor is ready 50.720
Then the Additional Software upgrade service has started 0.154
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.109
After features/support/hooks.rb:515 1.319
After features/support/hooks.rb:326 0.667
After features/support/hooks.rb:100 0.024
2:10.841
Before features/support/hooks.rb:269 0.004
Before features/support/hooks.rb:507 0.006
Given a computer 0.193
And I start Tails from USB drive "__internal" with network unplugged 1:0.689
And I enable persistence 12.931
And I remove the "cowsay" deb files from the APT cache 0.059
# 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.097
And I log in to a new session 36.967
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 13.540
And I can open the Additional Software log file from the notification 5.770
And the package "cowsay" is not installed 0.590
After features/support/hooks.rb:515 0.117
After features/support/hooks.rb:326 1.265
After features/support/hooks.rb:100 0.008