Project Number Date
test_Tails_ISO_devel 3323 16 Mar 2024, 12:48

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Additional software 77 1 2 0 0 80 5 1 6 29:14.145 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
2:47.523
Before features/support/hooks.rb:245 0.002
Before features/support/hooks.rb:442 0.002
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:30.904
And I update APT using apt 19.252
When I install "popularity-contest" using apt 22.290
Then I am notified I can not use Additional Software for "popularity-contest" 5.166
And I can open the Additional Software documentation from the notification 29.910
After features/support/hooks.rb:450 39.154
After features/support/hooks.rb:291 2.121
After features/support/hooks.rb:75 0.004
4:47.676
Before features/support/hooks.rb:245 0.008
Before features/support/hooks.rb:442 0.011
Given I start Tails from a freshly installed USB drive with an administration password and the network is plugged and I login 56.210
And I update APT using apt 16.377
And I install "popularity-contest" using apt 19.221
Then I am proposed to add the "popularity-contest" package to my Additional Software 7.583
When I create a persistent storage and activate the Additional Software feature 22.968
Then Additional Software is correctly configured for package "popularity-contest" 1.411
When I shutdown Tails and wait for the computer to power off 11.043
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:31.798
Then Additional Software is correctly configured for package "popularity-contest" 0.807
And the package "popularity-contest" is installed after Additional Software has been started 0.253
After features/support/hooks.rb:450 40.521
After features/support/hooks.rb:291 1.206
After features/support/hooks.rb:75 0.019
2:18.398
Before features/support/hooks.rb:245 0.008
Before features/support/hooks.rb:442 0.010
Given a computer 0.223
And I start Tails from USB drive "__internal" and I login with an administration password 1:36.231
And I update APT using apt 16.111
When I install "makepp" using apt 19.203
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 6.565
And the package "makepp" is installed 0.063
After features/support/hooks.rb:450 43.587
After features/support/hooks.rb:291 1.362
After features/support/hooks.rb:75 0.017
4:38.407
Before features/support/hooks.rb:245 0.007
Before features/support/hooks.rb:442 0.036
Given a computer 0.238
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:55.214
When I uninstall "popularity-contest" using apt 18.781
And I accept removing "popularity-contest" from Additional Software 0.585
Then "popularity-contest" is not in the list of Additional Software 0.659
When I start Synaptic 23.692
And I update APT using Synaptic 22.610
And I install "cowsay" using Synaptic 8.917
And I accept adding "cowsay" to Additional Software 0.719
Then Additional Software is correctly configured for package "cowsay" 0.750
When I uninstall "cowsay" using apt 3.202
And I refuse removing "cowsay" from Additional Software 0.539
Then Additional Software is correctly configured for package "cowsay" 0.688
When I start "Additional Software" via GNOME Activities Overview 10.552
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 5.776
Then "cowsay" is not in the list of Additional Software 1.042
When I install "cowsay" using apt 3.227
And I refuse adding "cowsay" to Additional Software 0.549
Then "cowsay" is not in the list of Additional Software 0.658
After features/support/hooks.rb:450 1.279
After features/support/hooks.rb:291 0.750
After features/support/hooks.rb:75 0.032
12:30.431
Scenario Recovering in offline mode after Additional Software previously failed to upgrade and then succeed to upgrade when online
Before features/support/hooks.rb:245 0.008
Before features/support/hooks.rb:442 0.009
Steps
Given a computer 0.207
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:10.109
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 23.085
And I accept adding "cowsay" to Additional Software 5.668
And Additional Software is correctly configured for package "cowsay" 0.954
And I shutdown Tails and wait for the computer to power off 5.018
And I start Tails from USB drive "__internal" with network unplugged 56.010
And I enable persistence 11.123
# 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.029
And I log in to a new session 34.727
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 30.923
And I revert the APT tweaks that made it prefer an old version of cowsay 0.076
# 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.083
And the network is plugged 0.041
And Tor is ready 18.475
# 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 7.562
And available upgrades have been checked 0.096
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 1.040
And I can open the Additional Software configuration window from the notification 3.357
And I shutdown Tails and wait for the computer to power off 2:7.458
And I start Tails from USB drive "__internal" with network unplugged 53.932
And I enable persistence 10.866
# 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.023
And I log in to a new session 34.989
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 2:12.982
And I revert the APT tweaks that made it prefer an old version of cowsay 0.050
And the network is plugged 0.042
And Tor is ready 1:1.464
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:646:in `/^I successfully configure Tor$/'
./features/step_definitions/common_steps.rb:601:in `/^Tor is ready$/'
features/additional_software_packages.feature:113: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:450 0.033
After features/support/hooks.rb:291 20:3.534
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:245:in `block in save_tor_journal'
./features/support/helpers/misc_helpers.rb:244:in `open'
./features/support/helpers/misc_helpers.rb:244:in `save_tor_journal'
./features/support/hooks.rb:328: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:35:38)

After features/support/hooks.rb:75 0.034
2:11.707
Before features/support/hooks.rb:245 0.007
Before features/support/hooks.rb:442 0.009
Given a computer 0.554
And I start Tails from USB drive "__internal" with network unplugged 1:5.121
And I enable persistence 10.511
And I remove the "cowsay" deb files from the APT cache 0.664
# 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 34.897
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 13.905
And I can open the Additional Software log file from the notification 5.384
And the package "cowsay" is not installed 0.583
After features/support/hooks.rb:450 0.117
After features/support/hooks.rb:291 0.922
After features/support/hooks.rb:75 0.011