Project Number Date
test_Tails_ISO_20634-greeter-tps-upgrade-failure-fix 1 25 Oct 2024, 14:38

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 23:59.380 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
4:56.447
Before features/support/hooks.rb:269 0.003
Before features/support/hooks.rb:507 0.007
Given I start Tails from a freshly installed USB drive with an administration password and the network is plugged and I login 1:1.608
And I update APT using apt 12.506
And I install "popularity-contest" using apt 22.235
Then I am proposed to add the "popularity-contest" package to my Additional Software 8.439
When I create a persistent storage and activate the Additional Software feature 18.573
Then Additional Software is correctly configured for package "popularity-contest" 1.139
When I shutdown Tails and wait for the computer to power off 10.268
And I start Tails from USB drive "__internal" with network unplugged 59.631
And I enable persistence 19.340
And I log in to a new session 47.988
And the Additional Software installation service has started 31.594
Then I am notified that the installation succeeded 1.966
And Additional Software is correctly configured for package "popularity-contest" 0.832
And the package "popularity-contest" is installed after Additional Software has been started 0.322
After features/support/hooks.rb:515 14.041
After features/support/hooks.rb:326 1.476
After features/support/hooks.rb:100 0.011
2:25.940
Before features/support/hooks.rb:269 0.004
Before features/support/hooks.rb:507 0.005
Given a computer 0.236
And I start Tails from USB drive "__internal" and I login with an administration password 1:45.121
And I update APT using apt 11.646
When I install "makepp" using apt 22.386
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 6.451
And the package "makepp" is installed 0.098
After features/support/hooks.rb:515 14.291
After features/support/hooks.rb:326 0.945
After features/support/hooks.rb:100 0.012
4:55.037
Before features/support/hooks.rb:269 0.005
Before features/support/hooks.rb:507 0.006
Given a computer 0.187
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:11.077
When I uninstall "popularity-contest" using apt 18.732
And I accept removing "popularity-contest" from Additional Software 0.605
Then "popularity-contest" is not in the list of Additional Software 0.668
When I start Synaptic 22.923
And I update APT using Synaptic 22.094
And I install "cowsay" using Synaptic 9.812
And I accept adding "cowsay" to Additional Software 2.114
Then Additional Software is correctly configured for package "cowsay" 0.911
When I uninstall "cowsay" using apt 3.270
And I refuse removing "cowsay" from Additional Software 0.652
Then Additional Software is correctly configured for package "cowsay" 0.840
When I start "Additional Software" via GNOME Activities Overview 10.674
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 4.954
Then "cowsay" is not in the list of Additional Software 0.974
When I install "cowsay" using apt 3.213
And I refuse adding "cowsay" to Additional Software 0.612
Then "cowsay" is not in the list of Additional Software 0.715
After features/support/hooks.rb:515 0.568
After features/support/hooks.rb:326 0.659
After features/support/hooks.rb:100 0.007
9:32.503
Before features/support/hooks.rb:269 0.005
Before features/support/hooks.rb:507 0.004
Given a computer 0.232
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:27.126
And I configure APT to prefer an old version of cowsay 0.029
When I install an old version "3.03+dfsg2-1" of the cowsay package using apt 26.182
And I accept adding "cowsay" to Additional Software 7.027
And Additional Software is correctly configured for package "cowsay" 0.933
And I shutdown Tails and wait for the computer to power off 6.527
And I start Tails from USB drive "__internal" with network unplugged 58.555
And I enable persistence 11.136
# 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.027
# 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 38.051
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 32.451
And I revert the APT tweaks that made it prefer an old version of cowsay 0.051
# 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.074
And the network is plugged 0.060
And Tor is ready 17.080
And available upgrades have been checked 3.614
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 1.875
And I can open the Additional Software configuration window from the notification 3.053
And I shutdown Tails and wait for the computer to power off 14.671
And I start Tails from USB drive "__internal" with network unplugged 59.461
And I enable persistence 13.007
# 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
And I log in to a new session 38.602
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 41.642
And I revert the APT tweaks that made it prefer an old version of cowsay 0.063
And the network is plugged 0.078
And Tor is ready 50.435
Then the Additional Software upgrade service has started 0.215
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.107
After features/support/hooks.rb:515 1.308
After features/support/hooks.rb:326 0.722
After features/support/hooks.rb:100 0.025
2:9.451
Before features/support/hooks.rb:269 0.005
Before features/support/hooks.rb:507 0.006
Given a computer 0.187
And I start Tails from USB drive "__internal" with network unplugged 59.351
And I enable persistence 12.243
And I remove the "cowsay" deb files from the APT cache 0.068
# 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.084
And I log in to a new session 36.879
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 14.805
And I can open the Additional Software log file from the notification 5.194
And the package "cowsay" is not installed 0.637
After features/support/hooks.rb:515 0.127
After features/support/hooks.rb:326 1.054
After features/support/hooks.rb:100 0.022