Project Number Date
test_Tails_ISO_15451-support-manual-fsck-on-error 5 25 Jul 2024, 23:07

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Additional software 73 1 5 0 0 79 4 1 5 22:33.213 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:18.885
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.002
Before features/support/hooks.rb:507 0.010
Steps
Given I start Tails from a freshly installed USB drive with an administration password and the network is plugged and I login 56.132
And I update APT using apt 20.086
And I install "popularity-contest" using apt 22.363
Then I am proposed to add the "popularity-contest" package to my Additional Software 8.339
When I create a persistent storage and activate the Additional Software feature 17.194
Then Additional Software is correctly configured for package "popularity-contest" 2.400
When I shutdown Tails and wait for the computer to power off 12.966
And I start Tails from USB drive "__internal" with network unplugged 57.903
And I enable persistence 1.498
<false> is not true. (Test::Unit::AssertionFailedError)
./features/step_definitions/usb.rb:691:in `/^persistence is successfully enabled$/'
./features/step_definitions/usb.rb:708:in `/^I enable persistence( with the changed passphrase)?$/'
features/additional_software_packages.feature:36:in `And I enable persistence'
And I log in to a new session 0.000
And the Additional Software installation service has started 0.000
Then I am notified that the installation succeeded 0.000
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.037
After features/support/hooks.rb:326 9.823

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 00:52:18)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/5/artifact/build-artifacts/00:52:18_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_15451-support-manual-fsck-on-error/5/artifact/build-artifacts/00:52:18_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_15451-support-manual-fsck-on-error/5/artifact/build-artifacts/00:52:18_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
2:27.187
Before features/support/hooks.rb:269 0.002
Before features/support/hooks.rb:507 0.002
Given a computer 0.162
And I start Tails from USB drive "__internal" and I login with an administration password 1:40.382
And I update APT using apt 17.100
When I install "makepp" using apt 23.067
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 6.401
And the package "makepp" is installed 0.073
After features/support/hooks.rb:515 35.784
After features/support/hooks.rb:326 0.951
After features/support/hooks.rb:100 0.013
5:4.346
Before features/support/hooks.rb:269 0.005
Before features/support/hooks.rb:507 0.006
Given a computer 0.232
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:14.295
When I uninstall "popularity-contest" using apt 21.749
And I accept removing "popularity-contest" from Additional Software 0.572
Then "popularity-contest" is not in the list of Additional Software 0.699
When I start Synaptic 24.830
And I update APT using Synaptic 21.915
And I install "cowsay" using Synaptic 9.936
And I accept adding "cowsay" to Additional Software 3.057
Then Additional Software is correctly configured for package "cowsay" 0.819
When I uninstall "cowsay" using apt 3.179
And I refuse removing "cowsay" from Additional Software 0.538
Then Additional Software is correctly configured for package "cowsay" 0.675
When I start "Additional Software" via GNOME Activities Overview 10.480
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 5.719
Then "cowsay" is not in the list of Additional Software 1.141
When I install "cowsay" using apt 3.220
And I refuse adding "cowsay" to Additional Software 0.564
Then "cowsay" is not in the list of Additional Software 0.716
After features/support/hooks.rb:515 1.014
After features/support/hooks.rb:326 0.800
After features/support/hooks.rb:100 0.010
9:34.807
Before features/support/hooks.rb:269 0.008
Before features/support/hooks.rb:507 0.006
Given a computer 0.235
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:14.963
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 26.918
And I accept adding "cowsay" to Additional Software 8.116
And Additional Software is correctly configured for package "cowsay" 0.849
And I shutdown Tails and wait for the computer to power off 6.365
And I start Tails from USB drive "__internal" with network unplugged 58.357
And I enable persistence 13.703
# 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 37.662
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 41.146
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.059
And the network is plugged 0.046
And Tor is ready 18.668
# 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.619
And available upgrades have been checked 0.131
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 1.080
And I can open the Additional Software configuration window from the notification 3.957
And I shutdown Tails and wait for the computer to power off 13.222
And I start Tails from USB drive "__internal" with network unplugged 58.151
And I enable persistence 13.402
# 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.027
And I log in to a new session 44.813
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.058
And the network is plugged 0.046
And Tor is ready 53.406
Then the Additional Software upgrade service has started 0.147
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.086
After features/support/hooks.rb:515 2.483
After features/support/hooks.rb:326 1.572
After features/support/hooks.rb:100 0.023
2:7.986
Before features/support/hooks.rb:269 0.004
Before features/support/hooks.rb:507 0.005
Given a computer 0.193
And I start Tails from USB drive "__internal" with network unplugged 56.951
And I enable persistence 12.679
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.079
And I log in to a new session 38.198
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 13.730
And I can open the Additional Software log file from the notification 5.390
And the package "cowsay" is not installed 0.702
After features/support/hooks.rb:515 0.098
After features/support/hooks.rb:326 0.980
After features/support/hooks.rb:100 0.055