Project Number Date
test_Tails_ISO_20634-greeter-tps-upgrade-failure-fix 26 14 Nov 2024, 18:09

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:19.465 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:26.287
Before features/support/hooks.rb:269 0.003
Before features/support/hooks.rb:507 0.005
Given I start Tails from a freshly installed USB drive with an administration password and the network is plugged and I login 1:24.769
And I update APT using apt 12.257
And I install "popularity-contest" using apt 22.785
Then I am proposed to add the "popularity-contest" package to my Additional Software 8.371
When I create a persistent storage and activate the Additional Software feature 20.442
Then Additional Software is correctly configured for package "popularity-contest" 1.480
When I shutdown Tails and wait for the computer to power off 13.307
And I start Tails from USB drive "__internal" with network unplugged 1:1.446
And I enable persistence 20.019
And I log in to a new session 37.792
And the Additional Software installation service has started 40.963
Then I am notified that the installation succeeded 1.560
And Additional Software is correctly configured for package "popularity-contest" 0.828
And the package "popularity-contest" is installed after Additional Software has been started 0.262
After features/support/hooks.rb:515 13.783
After features/support/hooks.rb:326 1.257
After features/support/hooks.rb:100 0.011
2:48.219
Before features/support/hooks.rb:269 0.005
Before features/support/hooks.rb:507 0.005
Given a computer 0.207
And I start Tails from USB drive "__internal" and I login with an administration password 2:6.563
And I update APT using apt 11.513
When I install "makepp" using apt 25.496
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 4.369
And the package "makepp" is installed 0.069
After features/support/hooks.rb:515 14.268
After features/support/hooks.rb:326 0.846
After features/support/hooks.rb:100 0.014
4:51.759
Before features/support/hooks.rb:269 0.003
Before features/support/hooks.rb:507 0.004
Given a computer 0.192
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:13.927
When I uninstall "popularity-contest" using apt 12.509
And I accept removing "popularity-contest" from Additional Software 0.588
Then "popularity-contest" is not in the list of Additional Software 0.635
When I start Synaptic 23.499
And I update APT using Synaptic 22.053
And I install "cowsay" using Synaptic 8.787
And I accept adding "cowsay" to Additional Software 2.106
Then Additional Software is correctly configured for package "cowsay" 0.914
When I uninstall "cowsay" using apt 3.252
And I refuse removing "cowsay" from Additional Software 0.643
Then Additional Software is correctly configured for package "cowsay" 0.834
When I start "Additional Software" via GNOME Activities Overview 10.599
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 5.805
Then "cowsay" is not in the list of Additional Software 0.953
When I install "cowsay" using apt 3.213
And I refuse adding "cowsay" to Additional Software 0.578
Then "cowsay" is not in the list of Additional Software 0.662
After features/support/hooks.rb:515 0.586
After features/support/hooks.rb:326 0.731
After features/support/hooks.rb:100 0.010
11:13.051
Before features/support/hooks.rb:269 0.007
Before features/support/hooks.rb:507 0.006
Given a computer 0.214
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:18.512
And I configure APT to prefer an old version of cowsay 0.025
When I install an old version "3.03+dfsg2-1" of the cowsay package using apt 25.556
And I accept adding "cowsay" to Additional Software 6.581
And Additional Software is correctly configured for package "cowsay" 0.892
And I shutdown Tails and wait for the computer to power off 4.374
And I start Tails from USB drive "__internal" with network unplugged 58.409
And I enable persistence 14.475
# 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.025
# 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.085
And I log in to a new session 41.045
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 30.863
And I revert the APT tweaks that made it prefer an old version of cowsay 0.063
# 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.057
And the network is plugged 0.086
And Tor is ready 19.173
And available upgrades have been checked 0.044
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 5.007
And I can open the Additional Software configuration window from the notification 3.512
And I shutdown Tails and wait for the computer to power off 2:3.222
And I start Tails from USB drive "__internal" with network unplugged 57.576
And I enable persistence 12.575
# 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.025
And I log in to a new session 37.744
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 41.771
And I revert the APT tweaks that made it prefer an old version of cowsay 0.057
And the network is plugged 0.077
And Tor is ready 50.748
Then the Additional Software upgrade service has started 0.168
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.078
After features/support/hooks.rb:515 1.541
After features/support/hooks.rb:326 0.621
After features/support/hooks.rb:100 0.025
2:0.147
Before features/support/hooks.rb:269 0.005
Before features/support/hooks.rb:507 0.005
Given a computer 0.201
And I start Tails from USB drive "__internal" with network unplugged 59.208
And I enable persistence 12.572
And I remove the "cowsay" deb files from the APT cache 0.060
# 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.083
And I log in to a new session 37.162
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 5.239
And I can open the Additional Software log file from the notification 5.098
And the package "cowsay" is not installed 0.520
After features/support/hooks.rb:515 0.137
After features/support/hooks.rb:326 0.804
After features/support/hooks.rb:100 0.007