Project Number Date
test_Tails_ISO_20268-more-early-patch-functionality 41 13 Apr 2024, 06:44

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Additional software 76 1 2 0 0 79 4 1 5 25:0.285 Failed
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:12.205
Before features/support/hooks.rb:259 0.002
Before features/support/hooks.rb:456 0.012
Given I start Tails from a freshly installed USB drive with an administration password and the network is plugged and I login 1:20.959
And I update APT using apt 16.706
And I install "popularity-contest" using apt 22.425
Then I am proposed to add the "popularity-contest" package to my Additional Software 5.745
When I create a persistent storage and activate the Additional Software feature 20.813
Then Additional Software is correctly configured for package "popularity-contest" 1.626
When I shutdown Tails and wait for the computer to power off 12.376
And I start Tails from USB drive "__internal" with network unplugged 57.539
And I enable persistence 27.610
And I log in to a new session 32.626
And the Additional Software installation service has started 30.783
Then I am notified that the installation succeeded 1.973
And Additional Software is correctly configured for package "popularity-contest" 0.777
And the package "popularity-contest" is installed after Additional Software has been started 0.241
After features/support/hooks.rb:464 39.781
After features/support/hooks.rb:305 1.346
After features/support/hooks.rb:89 0.013
2:18.441
Before features/support/hooks.rb:259 0.005
Before features/support/hooks.rb:456 0.006
Given a computer 0.242
And I start Tails from USB drive "__internal" and I login with an administration password 1:34.844
And I update APT using apt 16.604
When I install "makepp" using apt 22.384
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 4.279
And the package "makepp" is installed 0.085
After features/support/hooks.rb:464 40.002
After features/support/hooks.rb:305 0.974
After features/support/hooks.rb:89 0.018
4:47.569
Before features/support/hooks.rb:259 0.006
Before features/support/hooks.rb:456 0.005
Given a computer 0.235
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:2.795
When I uninstall "popularity-contest" using apt 18.674
And I accept removing "popularity-contest" from Additional Software 0.556
Then "popularity-contest" is not in the list of Additional Software 0.655
When I start Synaptic 24.779
And I update APT using Synaptic 22.467
And I install "cowsay" using Synaptic 8.262
And I accept adding "cowsay" to Additional Software 2.572
Then Additional Software is correctly configured for package "cowsay" 0.801
When I uninstall "cowsay" using apt 3.224
And I refuse removing "cowsay" from Additional Software 0.695
Then Additional Software is correctly configured for package "cowsay" 0.749
When I start "Additional Software" via GNOME Activities Overview 10.785
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 4.571
Then "cowsay" is not in the list of Additional Software 1.156
When I install "cowsay" using apt 3.248
And I refuse adding "cowsay" to Additional Software 0.575
Then "cowsay" is not in the list of Additional Software 0.761
After features/support/hooks.rb:464 1.122
After features/support/hooks.rb:305 0.706
After features/support/hooks.rb:89 0.009
10:37.670
Scenario Recovering in offline mode after Additional Software previously failed to upgrade and then succeed to upgrade when online
Before features/support/hooks.rb:259 0.005
Before features/support/hooks.rb:456 0.006
Steps
Given a computer 0.186
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:9.390
And I configure APT to prefer an old version of cowsay 0.022
When I install an old version "3.03+dfsg2-1" of the cowsay package using apt 23.277
And I accept adding "cowsay" to Additional Software 5.959
And Additional Software is correctly configured for package "cowsay" 0.907
And I shutdown Tails and wait for the computer to power off 6.350
And I start Tails from USB drive "__internal" with network unplugged 54.721
And I enable persistence 10.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.049
And I log in to a new session 34.479
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 31.410
And I revert the APT tweaks that made it prefer an old version of cowsay 0.065
# 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.050
And Tor is ready 17.364
# Note: the next step races against the appearance of the "The
# upgrade of your additional software failed" notification.
# It should win most of the time, which is good, but there's no
# guarantee it does. If it loses, then it'll remove the notification
# we'll be trying to interact with below ("I can open…")
And all notifications have disappeared 6.680
And available upgrades have been checked 0.219
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 2.466
And I can open the Additional Software configuration window from the notification 3.509
And I shutdown Tails and wait for the computer to power off 17.831
And I start Tails from USB drive "__internal" with network unplugged 54.511
And I enable persistence 10.075
# 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.024
And I log in to a new session 33.701
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 2:12.644
And I revert the APT tweaks that made it prefer an old version of cowsay 0.059
And the network is plugged 0.052
And Tor is ready 1:1.513
TCA
TCA did not start (TorBootstrapFailure)
./features/step_definitions/tor.rb:375:in `rescue in block in <top (required)>'
./features/step_definitions/tor.rb:371:in `/^the Tor Connection Assistant (?:autostarts|is running)$/'
./features/step_definitions/common_steps.rb:644:in `/^I successfully configure Tor$/'
./features/step_definitions/common_steps.rb:599:in `/^Tor is ready$/'
features/additional_software_packages.feature:117:in `And Tor is ready'
Then the Additional Software upgrade service has started 0.000
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.000
Hooks
After features/support/hooks.rb:464 0.031
After features/support/hooks.rb:305 20:3.473
execution expired (RemoteShell::Timeout)
./features/support/helpers/remote_shell.rb:56:in `read'
./features/support/helpers/remote_shell.rb:56:in `block (3 levels) in communicate'
./features/support/helpers/remote_shell.rb:55:in `block (2 levels) in communicate'
./features/support/helpers/remote_shell.rb:42:in `loop'
./features/support/helpers/remote_shell.rb:42:in `block in communicate'
./features/support/helpers/remote_shell.rb:37:in `communicate'
./features/support/helpers/remote_shell.rb:124:in `execute'
./features/support/helpers/remote_shell.rb:135:in `initialize'
./features/support/helpers/vm_helper.rb:445:in `new'
./features/support/helpers/vm_helper.rb:445:in `execute'
./features/support/helpers/misc_helpers.rb:246:in `block in save_tor_journal'
./features/support/helpers/misc_helpers.rb:245:in `open'
./features/support/helpers/misc_helpers.rb:245:in `save_tor_journal'
./features/support/hooks.rb:342:in `After'
Output 1

SCENARIO FAILED: 'Recovering in offline mode after Additional Software previously failed to upgrade and then succeed to upgrade when online' (at time 01:27:19)

After features/support/hooks.rb:89 0.030
2:4.398
Before features/support/hooks.rb:259 0.006
Before features/support/hooks.rb:456 0.007
Given a computer 0.776
And I start Tails from USB drive "__internal" with network unplugged 55.693
And I enable persistence 11.368
And I remove the "cowsay" deb files from the APT cache 0.591
# 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.076
And I log in to a new session 36.056
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 13.478
And I can open the Additional Software log file from the notification 5.731
And the package "cowsay" is not installed 0.625
After features/support/hooks.rb:464 0.121
After features/support/hooks.rb:305 0.927
After features/support/hooks.rb:89 0.011