Project Number Date
test_Tails_ISO_devel 3488 21 Aug 2024, 12:26

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Additional software 84 0 0 0 0 84 5 1 6 29:25.230 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:58.888
Before features/support/hooks.rb:269 0.002
Before features/support/hooks.rb:507 0.002
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:37.040
And I update APT using apt 18.203
When I install "popularity-contest" using apt 22.544
Then I am notified I can not use Additional Software for "popularity-contest" 7.947
And I can open the Additional Software documentation from the notification 33.151
After features/support/hooks.rb:515 37.991
After features/support/hooks.rb:326 3.947
After features/support/hooks.rb:100 0.006
5:9.495
Before features/support/hooks.rb:269 0.008
Before features/support/hooks.rb:507 0.008
Given I start Tails from a freshly installed USB drive with an administration password and the network is plugged and I login 1:0.606
And I update APT using apt 18.736
And I install "popularity-contest" using apt 22.448
Then I am proposed to add the "popularity-contest" package to my Additional Software 9.802
When I create a persistent storage and activate the Additional Software feature 21.238
Then Additional Software is correctly configured for package "popularity-contest" 1.423
When I shutdown Tails and wait for the computer to power off 12.822
And I start Tails from USB drive "__internal" with network unplugged 58.482
And I enable persistence 19.836
And I log in to a new session 39.211
And the Additional Software installation service has started 41.454
Then I am notified that the installation succeeded 2.363
And Additional Software is correctly configured for package "popularity-contest" 0.768
And the package "popularity-contest" is installed after Additional Software has been started 0.300
After features/support/hooks.rb:515 35.068
After features/support/hooks.rb:326 1.059
After features/support/hooks.rb:100 0.017
2:28.529
Before features/support/hooks.rb:269 0.006
Before features/support/hooks.rb:507 0.007
Given a computer 0.233
And I start Tails from USB drive "__internal" and I login with an administration password 1:42.470
And I update APT using apt 16.526
When I install "makepp" using apt 22.552
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 6.623
And the package "makepp" is installed 0.122
After features/support/hooks.rb:515 38.188
After features/support/hooks.rb:326 1.080
After features/support/hooks.rb:100 0.015
5:6.509
Before features/support/hooks.rb:269 0.006
Before features/support/hooks.rb:507 0.007
Given a computer 0.211
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:13.667
When I uninstall "popularity-contest" using apt 21.827
And I accept removing "popularity-contest" from Additional Software 0.556
Then "popularity-contest" is not in the list of Additional Software 0.710
When I start Synaptic 28.646
And I update APT using Synaptic 21.934
And I install "cowsay" using Synaptic 9.026
And I accept adding "cowsay" to Additional Software 2.575
Then Additional Software is correctly configured for package "cowsay" 0.798
When I uninstall "cowsay" using apt 3.226
And I refuse removing "cowsay" from Additional Software 0.537
Then Additional Software is correctly configured for package "cowsay" 0.803
When I start "Additional Software" via GNOME Activities Overview 10.603
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 5.905
Then "cowsay" is not in the list of Additional Software 0.970
When I install "cowsay" using apt 3.250
And I refuse adding "cowsay" to Additional Software 0.565
Then "cowsay" is not in the list of Additional Software 0.692
After features/support/hooks.rb:515 1.654
After features/support/hooks.rb:326 0.920
After features/support/hooks.rb:100 0.043
11:26.753
Scenario Recovering in offline mode after Additional Software previously failed to upgrade and then succeed to upgrade when online
Before features/support/hooks.rb:269 0.005
Before features/support/hooks.rb:507 0.006
Steps
Given a computer 0.217
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:19.388
And I configure APT to prefer an old version of cowsay 0.024
When I install an old version "3.03+dfsg2-1" of the cowsay package using apt 26.422
And I accept adding "cowsay" to Additional Software 5.568
And Additional Software is correctly configured for package "cowsay" 0.921
And I shutdown Tails and wait for the computer to power off 6.700
And I start Tails from USB drive "__internal" with network unplugged 1:5.467
And I enable persistence 10.698
# 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 38.504
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 41.631
And I revert the APT tweaks that made it prefer an old version of cowsay 0.064
# 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.090
And the network is plugged 0.061
And Tor is ready 20.183
# 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 9.789
And available upgrades have been checked 0.088
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 1.218
And I can open the Additional Software configuration window from the notification 3.389
And I shutdown Tails and wait for the computer to power off 2:4.142
And I start Tails from USB drive "__internal" with network unplugged 58.696
And I enable persistence 10.043
# 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 38.377
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 41.069
And I revert the APT tweaks that made it prefer an old version of cowsay 0.057
And the network is plugged 0.063
And Tor is ready 43.576
Then the Additional Software upgrade service has started 0.167
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.081
Hooks
After features/support/hooks.rb:515 1.267
Unexpected connections were made
  #<OpenStruct mac_saddr="50:54:00:5d:ba:5c", mac_daddr="33:33:00:00:00:02", protocol="ipv6", sport=nil, dport=nil, dns_question=[], saddr="fe80::ee13:2e88:591a:4429", daddr="ff02::2">
  #<OpenStruct mac_saddr="50:54:00:5d:ba:5c", mac_daddr="52:54:00:16:6f:22", protocol="ipv6", sport=nil, dport=nil, dns_question=[], saddr="fe80::ee13:2e88:591a:4429", daddr="fe80::5054:ff:fe16:6f22">
  #<OpenStruct mac_saddr="50:54:00:5d:ba:5c", mac_daddr="33:33:00:00:00:16", protocol="ipv6", sport=nil, dport=nil, dns_question=[], saddr="fe80::ee13:2e88:591a:4429", daddr="ff02::16">
  #<OpenStruct mac_saddr="50:54:00:5d:ba:5c", mac_daddr="33:33:ff:1e:0f:45", protocol="ipv6", sport=nil, dport=nil, dns_question=[], saddr="::", daddr="ff02::1:ff1e:f45"> (FirewallAssertionFailedError)
./features/support/helpers/firewall_helper.rb:133:in `assert_all_connections'
./features/support/helpers/firewall_helper.rb:143:in `assert_no_leaks'
./features/support/hooks.rb:524:in `After'
After features/support/hooks.rb:326 5.281

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

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3488/artifact/build-artifacts/01:32:21_Recovering_in_offline_mode_after_Additional_Software_previously_failed_to_upgrade_and_then_succeed_to_upgrade_when_online.file_content_var_log_boot.log

Content of /run/live-additional-software/log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3488/artifact/build-artifacts/01:32:21_Recovering_in_offline_mode_after_Additional_Software_previously_failed_to_upgrade_and_then_succeed_to_upgrade_when_online.file_content_run_live-additional-software_log

Network capture: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3488/artifact/build-artifacts/01:32:21_Recovering_in_offline_mode_after_Additional_Software_previously_failed_to_upgrade_and_then_succeed_to_upgrade_when_online.pcap

Output of ls -la --full-time /live/persistence/tailsdata_unlocked: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3488/artifact/build-artifacts/01:32:21_Recovering_in_offline_mode_after_Additional_Software_previously_failed_to_upgrade_and_then_succeed_to_upgrade_when_online.cmd_output_persistent_volume

Output of ls -lar --full-time /var/cache/apt: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3488/artifact/build-artifacts/01:32:21_Recovering_in_offline_mode_after_Additional_Software_previously_failed_to_upgrade_and_then_succeed_to_upgrade_when_online.cmd_output_var_cache_apt

Output of ls -lar --full-time /var/lib/apt: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3488/artifact/build-artifacts/01:32:21_Recovering_in_offline_mode_after_Additional_Software_previously_failed_to_upgrade_and_then_succeed_to_upgrade_when_online.cmd_output_var_lib_apt

Output of mount: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3488/artifact/build-artifacts/01:32:21_Recovering_in_offline_mode_after_Additional_Software_previously_failed_to_upgrade_and_then_succeed_to_upgrade_when_online.cmd_output_mount

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3488/artifact/build-artifacts/01:32:21_Recovering_in_offline_mode_after_Additional_Software_previously_failed_to_upgrade_and_then_succeed_to_upgrade_when_online.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3488/artifact/build-artifacts/01:32:21_Recovering_in_offline_mode_after_Additional_Software_previously_failed_to_upgrade_and_then_succeed_to_upgrade_when_online.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3488/artifact/build-artifacts/01:32:21_Recovering_in_offline_mode_after_Additional_Software_previously_failed_to_upgrade_and_then_succeed_to_upgrade_when_online.journal

After features/support/hooks.rb:100 0.030
2:15.053
Before features/support/hooks.rb:269 0.007
Before features/support/hooks.rb:507 0.007
Given a computer 0.186
And I start Tails from USB drive "__internal" with network unplugged 58.779
And I enable persistence 12.763
And I remove the "cowsay" deb files from the APT cache 1.239
# 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.088
And I log in to a new session 42.693
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 11.890
And I can open the Additional Software log file from the notification 6.257
And the package "cowsay" is not installed 1.154
After features/support/hooks.rb:515 0.117
After features/support/hooks.rb:326 1.330
After features/support/hooks.rb:100 0.008