Project Number Date
test_Tails_ISO_devel 3352 16 Apr 2024, 21:46

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Additional software 81 1 2 0 0 84 5 1 6 30:47.570 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
3:22.215
Before features/support/hooks.rb:259 0.002
Before features/support/hooks.rb:456 0.002
Given I have started Tails from DVD and logged in with an administration password and the network is connected 2:3.729
And I update APT using apt 18.949
When I install "popularity-contest" using apt 19.407
Then I am notified I can not use Additional Software for "popularity-contest" 9.710
And I can open the Additional Software documentation from the notification 30.417
After features/support/hooks.rb:464 39.541
After features/support/hooks.rb:305 2.683
After features/support/hooks.rb:89 0.004
4:51.421
Before features/support/hooks.rb:259 0.007
Before features/support/hooks.rb:456 0.007
Given I start Tails from a freshly installed USB drive with an administration password and the network is plugged and I login 55.703
And I update APT using apt 17.128
And I install "popularity-contest" using apt 19.376
Then I am proposed to add the "popularity-contest" package to my Additional Software 9.761
When I create a persistent storage and activate the Additional Software feature 22.850
Then Additional Software is correctly configured for package "popularity-contest" 2.516
When I shutdown Tails and wait for the computer to power off 12.430
And I start Tails from USB drive "__internal" with network unplugged 59.515
And I enable persistence 23.419
And I log in to a new session 33.950
And the Additional Software installation service has started 31.270
Then I am notified that the installation succeeded 2.391
And Additional Software is correctly configured for package "popularity-contest" 0.817
And the package "popularity-contest" is installed after Additional Software has been started 0.288
After features/support/hooks.rb:464 42.600
After features/support/hooks.rb:305 1.055
After features/support/hooks.rb:89 0.027
2:24.145
Before features/support/hooks.rb:259 0.008
Before features/support/hooks.rb:456 0.008
Given a computer 0.374
And I start Tails from USB drive "__internal" and I login with an administration password 1:40.282
And I update APT using apt 17.751
When I install "makepp" using apt 19.228
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 6.427
And the package "makepp" is installed 0.080
After features/support/hooks.rb:464 42.400
After features/support/hooks.rb:305 1.297
After features/support/hooks.rb:89 0.022
4:49.861
Before features/support/hooks.rb:259 0.007
Before features/support/hooks.rb:456 0.008
Given a computer 0.736
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:2.476
When I uninstall "popularity-contest" using apt 18.789
And I accept removing "popularity-contest" from Additional Software 2.082
Then "popularity-contest" is not in the list of Additional Software 0.687
When I start Synaptic 23.519
And I update APT using Synaptic 22.676
And I install "cowsay" using Synaptic 10.394
And I accept adding "cowsay" to Additional Software 2.700
Then Additional Software is correctly configured for package "cowsay" 0.766
When I uninstall "cowsay" using apt 3.194
And I refuse removing "cowsay" from Additional Software 0.464
Then Additional Software is correctly configured for package "cowsay" 0.773
When I start "Additional Software" via GNOME Activities Overview 10.570
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 4.481
Then "cowsay" is not in the list of Additional Software 1.053
When I install "cowsay" using apt 3.205
And I refuse adding "cowsay" to Additional Software 0.570
Then "cowsay" is not in the list of Additional Software 0.716
After features/support/hooks.rb:464 1.065
After features/support/hooks.rb:305 0.754
After features/support/hooks.rb:89 0.009
13:3.575
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.006
Before features/support/hooks.rb:456 0.009
Steps
Given a computer 0.201
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:17.322
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 27.266
And I accept adding "cowsay" to Additional Software 4.881
And Additional Software is correctly configured for package "cowsay" 0.858
And I shutdown Tails and wait for the computer to power off 6.466
And I start Tails from USB drive "__internal" with network unplugged 1:0.206
And I enable persistence 13.269
# 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 36.855
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 41.855
And I revert the APT tweaks that made it prefer an old version of cowsay 0.061
# 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.072
And the network is plugged 0.044
And Tor is ready 19.117
# 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 8.260
And available upgrades have been checked 0.098
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 1.137
And I can open the Additional Software configuration window from the notification 3.910
And I shutdown Tails and wait for the computer to power off 2:2.755
And I start Tails from USB drive "__internal" with network unplugged 57.528
And I enable persistence 18.536
# 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.022
And I log in to a new session 27.591
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 2:13.523
And I revert the APT tweaks that made it prefer an old version of cowsay 0.046
And the network is plugged 0.052
And Tor is ready 1:1.575
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.034
After features/support/hooks.rb:305 20:3.570
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:33:30)

After features/support/hooks.rb:89 0.036
2:16.352
Before features/support/hooks.rb:259 0.008
Before features/support/hooks.rb:456 0.009
Given a computer 1.692
And I start Tails from USB drive "__internal" with network unplugged 1:2.085
And I enable persistence 14.108
And I remove the "cowsay" deb files from the APT cache 0.675
# 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.087
And I log in to a new session 34.251
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 15.208
And I can open the Additional Software log file from the notification 7.509
And the package "cowsay" is not installed 0.733
After features/support/hooks.rb:464 0.118
After features/support/hooks.rb:305 1.490
After features/support/hooks.rb:89 0.012