Project Number Date
test_Tails_ISO_devel 3547 13 Oct 2024, 13:13

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 51:35.499 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:0.500
Before features/support/hooks.rb:269 0.003
Before features/support/hooks.rb:507 0.004
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:44.897
And I update APT using apt 13.324
When I install "popularity-contest" using apt 25.646
Then I am notified I can not use Additional Software for "popularity-contest" 5.933
And I can open the Additional Software documentation from the notification 30.698
After features/support/hooks.rb:515 14.182
After features/support/hooks.rb:326 2.826
After features/support/hooks.rb:100 0.002
26:47.345
Scenario I set up Additional Software when installing a package without persistent partition and the package is installed next time I start Tails
Before features/support/hooks.rb:269 0.004
Before features/support/hooks.rb:507 0.006
Steps
Given I start Tails from a freshly installed USB drive with an administration password and the network is plugged and I login 1:6.007
And I update APT using apt 12.835
And I install "popularity-contest" using apt 26.056
Then I am proposed to add the "popularity-contest" package to my Additional Software 5.351
When I create a persistent storage and activate the Additional Software feature 21.051
Then Additional Software is correctly configured for package "popularity-contest" 1.536
When I shutdown Tails and wait for the computer to power off 14.545
And I start Tails from USB drive "__internal" with network unplugged 1:1.538
And I enable persistence 21.985
And I log in to a new session 42.934
And the Additional Software installation service has started 2:13.388
Then I am notified that the installation succeeded 20:0.113
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:174:in `execute'
./features/support/helpers/remote_shell.rb:185:in `initialize'
./features/support/helpers/dogtail.rb:80:in `new'
./features/support/helpers/dogtail.rb:80:in `run'
./features/support/helpers/dogtail.rb:70:in `initialize'
./features/step_definitions/common_steps.rb:588:in `new'
./features/step_definitions/common_steps.rb:588:in `/^I see the "(.+)" notification(?: after at most (\d+) seconds)?$/'
./features/step_definitions/additional_software_packages.rb:28:in `/^I am notified that the installation succeeded$/'
features/additional_software_packages.feature:39:in `Then I am notified that the installation succeeded'
And Additional Software is correctly configured for package "popularity-contest" 0.000
And the package "popularity-contest" is installed after Additional Software has been started 0.000
After features/support/hooks.rb:515 0.057
After features/support/hooks.rb:326 10.829

SCENARIO FAILED: 'I set up Additional Software when installing a package without persistent partition and the package is installed next time I start Tails' (at time 01:38:06)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3547/artifact/build-artifacts/01:38:06_I_set_up_Additional_Software_when_installing_a_package_without_persistent_partition_and_the_package_is_installed_next_time_I_start_Tails.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3547/artifact/build-artifacts/01:38:06_I_set_up_Additional_Software_when_installing_a_package_without_persistent_partition_and_the_package_is_installed_next_time_I_start_Tails.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3547/artifact/build-artifacts/01:38:06_I_set_up_Additional_Software_when_installing_a_package_without_persistent_partition_and_the_package_is_installed_next_time_I_start_Tails.journal

After features/support/hooks.rb:100 0.011
3:2.716
Before features/support/hooks.rb:269 0.004
Before features/support/hooks.rb:507 0.007
Given a computer 0.217
And I start Tails from USB drive "__internal" and I login with an administration password 2:20.302
And I update APT using apt 11.641
When I install "makepp" using apt 26.106
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 4.373
And the package "makepp" is installed 0.074
After features/support/hooks.rb:515 15.038
After features/support/hooks.rb:326 0.956
After features/support/hooks.rb:100 0.012
4:58.307
Before features/support/hooks.rb:269 0.005
Before features/support/hooks.rb:507 0.006
Given a computer 0.311
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:13.732
When I uninstall "popularity-contest" using apt 15.674
And I accept removing "popularity-contest" from Additional Software 0.651
Then "popularity-contest" is not in the list of Additional Software 0.805
When I start Synaptic 23.073
And I update APT using Synaptic 22.029
And I install "cowsay" using Synaptic 11.993
And I accept adding "cowsay" to Additional Software 1.650
Then Additional Software is correctly configured for package "cowsay" 0.875
When I uninstall "cowsay" using apt 3.223
And I refuse removing "cowsay" from Additional Software 0.585
Then Additional Software is correctly configured for package "cowsay" 0.888
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 6.679
Then "cowsay" is not in the list of Additional Software 0.933
When I install "cowsay" using apt 3.217
And I refuse adding "cowsay" to Additional Software 0.537
Then "cowsay" is not in the list of Additional Software 0.844
After features/support/hooks.rb:515 0.595
After features/support/hooks.rb:326 0.704
After features/support/hooks.rb:100 0.011
11:30.545
Before features/support/hooks.rb:269 0.006
Before features/support/hooks.rb:507 0.006
Given a computer 0.222
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:22.805
And I configure APT to prefer an old version of cowsay 0.030
When I install an old version "3.03+dfsg2-1" of the cowsay package using apt 25.623
And I accept adding "cowsay" to Additional Software 6.629
And Additional Software is correctly configured for package "cowsay" 0.911
And I shutdown Tails and wait for the computer to power off 4.446
And I start Tails from USB drive "__internal" with network unplugged 1:2.422
And I enable persistence 13.609
# 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.090
# 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.121
And I log in to a new session 42.497
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 31.443
And I revert the APT tweaks that made it prefer an old version of cowsay 0.052
# 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.061
And the network is plugged 0.068
And Tor is ready 21.399
And available upgrades have been checked 0.063
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 5.605
And I can open the Additional Software configuration window from the notification 3.337
And I shutdown Tails and wait for the computer to power off 2:2.576
And I start Tails from USB drive "__internal" with network unplugged 1:0.027
And I enable persistence 13.644
# 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.110
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 41.785
And I revert the APT tweaks that made it prefer an old version of cowsay 0.054
And the network is plugged 0.085
And Tor is ready 49.533
Then the Additional Software upgrade service has started 0.157
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.100
After features/support/hooks.rb:515 1.313
After features/support/hooks.rb:326 0.714
After features/support/hooks.rb:100 0.027
2:16.084
Before features/support/hooks.rb:269 0.004
Before features/support/hooks.rb:507 0.007
Given a computer 0.211
And I start Tails from USB drive "__internal" with network unplugged 1:1.260
And I enable persistence 13.989
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.091
And I log in to a new session 41.117
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 13.347
And I can open the Additional Software log file from the notification 5.420
And the package "cowsay" is not installed 0.588
After features/support/hooks.rb:515 0.110
After features/support/hooks.rb:326 1.351
After features/support/hooks.rb:100 0.011