Project Number Date
test_Tails_ISO_20634-greeter-tps-upgrade-failure-fix 29 17 Nov 2024, 18:11

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:0.613 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:17.400
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:2.613
And I update APT using apt 12.722
And I install "popularity-contest" using apt 25.691
Then I am proposed to add the "popularity-contest" package to my Additional Software 5.885
When I create a persistent storage and activate the Additional Software feature 18.588
Then Additional Software is correctly configured for package "popularity-contest" 1.305
When I shutdown Tails and wait for the computer to power off 12.729
And I start Tails from USB drive "__internal" with network unplugged 1:5.898
And I enable persistence 23.050
And I log in to a new session 45.033
And the Additional Software installation service has started 41.074
Then I am notified that the installation succeeded 1.661
And Additional Software is correctly configured for package "popularity-contest" 0.848
And the package "popularity-contest" is installed after Additional Software has been started 0.298
After features/support/hooks.rb:515 14.616
After features/support/hooks.rb:326 1.339
After features/support/hooks.rb:100 0.011
2:26.581
Before features/support/hooks.rb:269 0.004
Before features/support/hooks.rb:507 0.005
Given a computer 0.201
And I start Tails from USB drive "__internal" and I login with an administration password 1:44.916
And I update APT using apt 12.478
When I install "makepp" using apt 22.347
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 6.550
And the package "makepp" is installed 0.086
After features/support/hooks.rb:515 14.830
After features/support/hooks.rb:326 0.883
After features/support/hooks.rb:100 0.012
5:24.795
Before features/support/hooks.rb:269 0.005
Before features/support/hooks.rb:507 0.008
Given a computer 0.215
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:42.506
When I uninstall "popularity-contest" using apt 15.672
And I accept removing "popularity-contest" from Additional Software 0.604
Then "popularity-contest" is not in the list of Additional Software 0.746
When I start Synaptic 23.583
And I update APT using Synaptic 22.206
And I install "cowsay" using Synaptic 11.686
And I accept adding "cowsay" to Additional Software 1.177
Then Additional Software is correctly configured for package "cowsay" 0.924
When I uninstall "cowsay" using apt 3.273
And I refuse removing "cowsay" from Additional Software 0.550
Then Additional Software is correctly configured for package "cowsay" 0.827
When I start "Additional Software" via GNOME Activities Overview 10.557
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 4.944
Then "cowsay" is not in the list of Additional Software 0.806
When I install "cowsay" using apt 3.221
And I refuse adding "cowsay" to Additional Software 0.579
Then "cowsay" is not in the list of Additional Software 0.710
After features/support/hooks.rb:515 0.644
After features/support/hooks.rb:326 0.747
After features/support/hooks.rb:100 0.009
9:38.373
Before features/support/hooks.rb:269 0.004
Before features/support/hooks.rb:507 0.004
Given a computer 0.183
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:18.382
And I configure APT to prefer an old version of cowsay 0.033
When I install an old version "3.03+dfsg2-1" of the cowsay package using apt 29.328
And I accept adding "cowsay" to Additional Software 3.812
And Additional Software is correctly configured for package "cowsay" 0.986
And I shutdown Tails and wait for the computer to power off 4.456
And I start Tails from USB drive "__internal" with network unplugged 1:0.227
And I enable persistence 13.643
# 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.089
And I log in to a new session 42.414
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 32.322
And I revert the APT tweaks that made it prefer an old version of cowsay 0.060
# 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.077
And the network is plugged 0.064
And Tor is ready 20.182
And available upgrades have been checked 0.049
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 5.358
And I can open the Additional Software configuration window from the notification 3.138
And I shutdown Tails and wait for the computer to power off 12.877
And I start Tails from USB drive "__internal" with network unplugged 1:1.246
And I enable persistence 12.079
# 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 41.726
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 41.120
And I revert the APT tweaks that made it prefer an old version of cowsay 0.058
And the network is plugged 0.068
And Tor is ready 54.072
Then the Additional Software upgrade service has started 0.165
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.093
After features/support/hooks.rb:515 1.290
After features/support/hooks.rb:326 0.833
After features/support/hooks.rb:100 0.035
2:13.461
Before features/support/hooks.rb:269 0.007
Before features/support/hooks.rb:507 0.008
Given a computer 0.230
And I start Tails from USB drive "__internal" with network unplugged 1:0.866
And I enable persistence 14.595
And I remove the "cowsay" deb files from the APT cache 0.057
# 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.098
And I log in to a new session 38.996
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 13.331
And I can open the Additional Software log file from the notification 4.607
And the package "cowsay" is not installed 0.676
After features/support/hooks.rb:515 0.127
After features/support/hooks.rb:326 1.206
After features/support/hooks.rb:100 0.009