Project Number Date
test_Tails_ISO_stable 5011 08 Aug 2024, 14:32

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Additional software 79 0 0 0 0 79 4 1 5 28:57.486 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
6:5.874
Before features/support/hooks.rb:269 0.003
Before features/support/hooks.rb:507 0.004
Given I start Tails from a freshly installed USB drive with an administration password and the network is plugged and I login 1:27.478
And I update APT using apt 20.695
And I install "popularity-contest" using apt 25.996
Then I am proposed to add the "popularity-contest" package to my Additional Software 8.026
When I create a persistent storage and activate the Additional Software feature 26.549
Then Additional Software is correctly configured for package "popularity-contest" 1.839
When I shutdown Tails and wait for the computer to power off 12.635
And I start Tails from USB drive "__internal" with network unplugged 1:2.743
And I enable persistence 25.649
And I log in to a new session 50.176
And the Additional Software installation service has started 41.053
Then I am notified that the installation succeeded 1.852
And Additional Software is correctly configured for package "popularity-contest" 0.869
And the package "popularity-contest" is installed after Additional Software has been started 0.307
After features/support/hooks.rb:515 38.073
After features/support/hooks.rb:326 1.328
After features/support/hooks.rb:100 0.016
2:39.873
Before features/support/hooks.rb:269 0.007
Before features/support/hooks.rb:507 0.007
Given a computer 0.229
And I start Tails from USB drive "__internal" and I login with an administration password 1:50.295
And I update APT using apt 20.177
When I install "makepp" using apt 22.514
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 6.562
And the package "makepp" is installed 0.093
After features/support/hooks.rb:515 39.067
After features/support/hooks.rb:326 1.076
After features/support/hooks.rb:100 0.012
5:21.184
Before features/support/hooks.rb:269 0.004
Before features/support/hooks.rb:507 0.005
Given a computer 0.301
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:24.147
When I uninstall "popularity-contest" using apt 21.960
And I accept removing "popularity-contest" from Additional Software 0.573
Then "popularity-contest" is not in the list of Additional Software 0.711
When I start Synaptic 26.471
And I update APT using Synaptic 23.743
And I install "cowsay" using Synaptic 12.290
And I accept adding "cowsay" to Additional Software 1.316
Then Additional Software is correctly configured for package "cowsay" 0.964
When I uninstall "cowsay" using apt 3.247
And I refuse removing "cowsay" from Additional Software 0.742
Then Additional Software is correctly configured for package "cowsay" 0.919
When I start "Additional Software" via GNOME Activities Overview 10.703
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 7.356
Then "cowsay" is not in the list of Additional Software 1.212
When I install "cowsay" using apt 3.218
And I refuse adding "cowsay" to Additional Software 0.605
Then "cowsay" is not in the list of Additional Software 0.696
After features/support/hooks.rb:515 1.041
After features/support/hooks.rb:326 0.847
After features/support/hooks.rb:100 0.010
12:10.535
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.007
Before features/support/hooks.rb:507 0.006
Steps
Given a computer 0.231
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:27.778
And I configure APT to prefer an old version of cowsay 0.039
When I install an old version "3.03+dfsg2-1" of the cowsay package using apt 26.881
And I accept adding "cowsay" to Additional Software 8.227
And Additional Software is correctly configured for package "cowsay" 0.906
And I shutdown Tails and wait for the computer to power off 6.480
And I start Tails from USB drive "__internal" with network unplugged 1:0.230
And I enable persistence 14.007
# 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.035
And I log in to a new session 42.322
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 42.025
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.089
And the network is plugged 0.081
And Tor is ready 18.422
# 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.320
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 4.777
And I can open the Additional Software configuration window from the notification 4.152
And I shutdown Tails and wait for the computer to power off 2:7.735
And I start Tails from USB drive "__internal" with network unplugged 1:9.129
And I enable persistence 11.469
# 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 39.748
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 42.810
And I revert the APT tweaks that made it prefer an old version of cowsay 0.064
And the network is plugged 0.079
And Tor is ready 54.954
Then the Additional Software upgrade service has started 0.204
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.105
Hooks
After features/support/hooks.rb:515 1.540
Unexpected connections were made
  #<OpenStruct mac_saddr="50:54:00:b6:37:e6", mac_daddr="33:33:00:00:00:02", protocol="ipv6", sport=nil, dport=nil, dns_question=[], saddr="fe80::c3d3:e55:7f20:5589", daddr="ff02::2">
  #<OpenStruct mac_saddr="50:54:00:b6:37:e6", mac_daddr="52:54:00:aa:36:69", protocol="ipv6", sport=nil, dport=nil, dns_question=[], saddr="fe80::c3d3:e55:7f20:5589", daddr="fe80::5054:ff:feaa:3669">
  #<OpenStruct mac_saddr="50:54:00:b6:37:e6", mac_daddr="33:33:00:00:00:16", protocol="ipv6", sport=nil, dport=nil, dns_question=[], saddr="fe80::c3d3:e55:7f20:5589", daddr="ff02::16">
  #<OpenStruct mac_saddr="50:54:00:b6:37:e6", mac_daddr="33:33:ff:1c:73:b6", protocol="ipv6", sport=nil, dport=nil, dns_question=[], saddr="::", daddr="ff02::1:ff1c:73b6"> (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.499

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

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5011/artifact/build-artifacts/01:37:01_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_stable/5011/artifact/build-artifacts/01:37:01_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_stable/5011/artifact/build-artifacts/01:37:01_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_stable/5011/artifact/build-artifacts/01:37:01_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_stable/5011/artifact/build-artifacts/01:37:01_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_stable/5011/artifact/build-artifacts/01:37:01_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_stable/5011/artifact/build-artifacts/01:37:01_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_stable/5011/artifact/build-artifacts/01:37:01_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_stable/5011/artifact/build-artifacts/01:37:01_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_stable/5011/artifact/build-artifacts/01:37:01_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.035
2:40.018
Before features/support/hooks.rb:269 0.007
Before features/support/hooks.rb:507 0.006
Given a computer 0.228
And I start Tails from USB drive "__internal" with network unplugged 1:10.585
And I enable persistence 21.664
And I remove the "cowsay" deb files from the APT cache 0.834
# 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.139
And I log in to a new session 42.249
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 17.126
And I can open the Additional Software log file from the notification 6.522
And the package "cowsay" is not installed 0.666
After features/support/hooks.rb:515 0.136
After features/support/hooks.rb:326 1.353
After features/support/hooks.rb:100 0.012