Check if backtrace is shows in GithuHub actions acceptance test and in Jenkins acceptance test. If the backtrace is printed only partially, print it all.
Check if backtrace is shows shown in GithuHub failed GitHub actions acceptance test and in Jenkins acceptance test tests. If the backtrace is printed only partially, print it all. Example from a failed Jenkins test: 08:37:53 system_uptime => { 08:37:53 days => 0, 08:37:53 hours => 2, 08:37:53 seconds => 9676, 08:37:53 uptime => "2:41 hours" 08:37:53 } 08:37:53 timezone => UTC 08:37:53 virtual => vmware 08:37:53 08:37:53 akin-complement.delivery.puppetlabs.net (akin-complement.delivery.puppetlabs.net) executed in 0.60 seconds 08:37:53 Minitest::Assertion: Expected no errors from facter when run as user nonroot. 08:37:53 Expected "[2020-09-18 05:37:53.249985 ] ERROR Facter::InternalFactManager - \e[31mPermission denied @ dir_initialize - /var/lib/NetworkManager\e[0m\n " to be empty. 08:37:53 /tmp/jenkins/workspace/platform_puppet-agent_puppet-agent-integration-suite_daily-main/RMM_COMPONENT_TO_TEST_NAME/facter/SLAVE_LABEL/beaker/TEST_TARGET/fedora32-64a/acceptance/.bundle/gems/ruby/2.5.0/gems/minitest-5.14.2/lib/minitest/assertions.rb:183 08:37:53 /tmp/jenkins/workspace/platform_puppet-agent_puppet-agent-integration-suite_daily-main/RMM_COMPONENT_TO_TEST_NAME/facter/SLAVE_LABEL/beaker/TEST_TARGET/fedora32-64a/acceptance/.bundle/gems/ruby/2.5.0/gems/minitest-5.14.2/lib/minitest/assertions.rb:198 08:37:53 /tmp/jenkins/workspace/platform_puppet-agent_puppet-agent-integration-suite_daily-main/RMM_COMPONENT_TO_TEST_NAME/facter/SLAVE_LABEL/beaker/TEST_TARGET/fedora32-64a/acceptance/tests/facts/non_root_users_without_errors.rb:28 08:37:53 /tmp/jenkins/workspace/platform_puppet-agent_puppet-agent-integration-suite_daily-main/RMM_COMPONENT_TO_TEST_NAME/facter/SLAVE_LABEL/beaker/TEST_TARGET/fedora32-64a/acceptance/.bundle/gems/ruby/2.5.0/gems/beaker-4.27.0/lib/beaker/dsl/helpers/host_helpers.rb:93 08:37:53 /tmp/jenkins/workspace/platform_puppet-agent_puppet-agent-integration-suite_daily-main/RMM_COMPONENT_TO_TEST_NAME/facter/SLAVE_LABEL/beaker/TEST_TARGET/fedora32-64a/acceptance/.bundle/gems/ruby/2.5.0/gems/beaker-4.27.0/lib/beaker/shared/host_manager.rb:130 08:37:53 /tmp/jenkins/workspace/platform_puppet-agent_puppet-agent-integration-suite_daily-main/RMM_COMPONENT_TO_TEST_NAME/facter/SLAVE_LABEL/beaker/TEST_TARGET/fedora32-64a/acceptance/.bundle/gems/ruby/2.5.0/gems/beaker-4.27.0/lib/beaker/dsl/patterns.rb:37 08:37:53 /tmp/jenkins/workspace/platform_puppet-agent_puppet-agent-integration-suite_daily-main/RMM_COMPONENT_TO_TEST_NAME/facter/SLAVE_LABEL/beaker/TEST_TARGET/fedora32-64a/acceptance/.bundle/gems/ruby/2.5.0/gems/beaker-4.27.0/lib/beaker/dsl/helpers/host_helpers.rb:63 08:37:53 /tmp/jenkins/workspace/platform_puppet-agent_puppet-agent-integration-suite_daily-main/RMM_COMPONENT_TO_TEST_NAME/facter/SLAVE_LABEL/beaker/TEST_TARGET/fedora32-64a/acceptance/tests/facts/non_root_users_without_errors.rb:27 08:37:53 /tmp/jenkins/workspace/platform_puppet-agent_puppet-agent-integration-suite_daily-main/RMM_COMPONENT_TO_TEST_NAME/facter/SLAVE_LABEL/beaker/TEST_TARGET/fedora32-64a/acceptance/.bundle/gems/ruby/2.5.0/gems/beaker-4.27.0/lib/beaker/dsl/structure.rb:44 08:37:53 /tmp/jenkins/workspace/platform_puppet-agent_puppet-agent-integration-suite_daily-main/RMM_COMPONENT_TO_TEST_NAME/facter/SLAVE_LABEL/beaker/TEST_TARGET/fedora32-64a/acceptance/.bundle/gems/ruby/2.5.0/gems/beaker-4.27.0/lib/beaker/logger.rb:239 08:37:53 /tmp/jenkins/workspace/platform_puppet-agent_puppet-agent-integration-suite_daily-main/RMM_COMPONENT_TO_TEST_NAME/facter/SLAVE_LABEL/beaker/TEST_TARGET/fedora32-64a/acceptance/.bundle/gems/ruby/2.5.0/gems/beaker-4.27.0/lib/beaker/dsl/structure.rb:43 08:37:53 /tmp/jenkins/workspace/platform_puppet-agent_puppet-agent-integration-suite_daily-main/RMM_COMPONENT_TO_TEST_NAME/facter/SLAVE_LABEL/beaker/TEST_TARGET/fedora32-64a/acceptance/tests/facts/non_root_users_without_errors.rb:26 08:37:53 /tmp/jenkins/workspace/platform_puppet-agent_puppet-agent-integration-suite_daily-main/RMM_COMPONENT_TO_TEST_NAME/facter/SLAVE_LABEL/beaker/TEST_TARGET/fedora32-64a/acceptance/tests/facts/non_root_users_without_errors.rb:14 08:37:53 /tmp/jenkins/workspace/platform_puppet-agent_puppet-agent-integration-suite_daily-main/RMM_COMPONENT_TO_TEST_NAME/facter/SLAVE_LABEL/beaker/TEST_TARGET/fedora32-64a/acceptance/tests/facts/non_root_users_without_errors.rb:14 08:37:53 /tmp/jenkins/workspace/platform_puppet-agent_puppet-agent-integration-suite_daily-main/RMM_COMPONENT_TO_TEST_NAME/facter/SLAVE_LABEL/beaker/TEST_TARGET/fedora32-64a/acceptance/.bundle/gems/ruby/2.5.0/gems/beaker-4.27.0/lib/beaker/dsl/structure.rb:124 08:37:53 /tmp/jenkins/workspace/platform_puppet-agent_puppet-agent-integration-suite_daily-main/RMM_COMPONENT_TO_TEST_NAME/facter/SLAVE_LABEL/beaker/TEST_TARGET/fedora32-64a/acceptance/.bundle/gems/ruby/2.5.0/gems/beaker-4.27.0/lib/beaker/logger.rb:239 08:37:53 /tmp/jenkins/workspace/platform_puppet-agent_puppet-agent-integration-suite_daily-main/RMM_COMPONENT_TO_TEST_NAME/facter/SLAVE_LABEL/beaker/TEST_TARGET/fedora32-64a/acceptance/.bundle/gems/ruby/2.5.0/gems/beaker-4.27.0/lib/beaker/dsl/structure.rb:123 08:37:53 /tmp/jenkins/workspace/platform_puppet-agent_puppet-agent-integration-suite_daily-main/RMM_COMPONENT_TO_TEST_NAME/facter/SLAVE_LABEL/beaker/TEST_TARGET/fedora32-64a/acceptance/tests/facts/non_root_users_without_errors.rb:1 08:37:53 /tmp/jenkins/workspace/platform_puppet-agent_puppet-agent-integration-suite_daily-main/RMM_COMPONENT_TO_TEST_NAME/facter/SLAVE_LABEL/beaker/TEST_TARGET/fedora32-64a/acceptance/.bundle/gems/ruby/2.5.0/gems/beaker-4.27.0/lib/beaker/test_case.rb:133 08:37:53 /tmp/jenkins/workspace/platform_puppet-agent_puppet-agent-integration-suite_daily-main/RMM_COMPONENT_TO_TEST_NAME/facter/SLAVE_LABEL/beaker/TEST_TARGET/fedora32-64a/acceptance/.bundle/gems/ruby/2.5.0/gems/beaker-4.27.0/lib/beaker/test_case.rb:133 08:37:53 /usr/local/rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/benchmark.rb:308 08:37:53 /tmp/jenkins/workspace/platform_puppet-agent_puppet-agent-integration-suite_daily-main/RMM_COMPONENT_TO_TEST_NAME/facter/SLAVE_LABEL/beaker/TEST_TARGET/fedora32-64a/acceptance/.bundle/gems/ruby/2.5.0/gems/beaker-4.27.0/lib/beaker/test_case.rb:130 08:37:53 /tmp/jenkins/workspace/platform_puppet-agent_puppet-agent-integration-suite_daily-main/RMM_COMPONENT_TO_TEST_NAME/facter/SLAVE_LABEL/beaker/TEST_TARGET/fedora32-64a/acceptance/.bundle/gems/ruby/2.5.0/gems/beaker-4.27.0/lib/beaker/test_suite.rb:66 08:37:53 /tmp/jenkins/workspace/platform_puppet-agent_puppet-agent-integration-suite_daily-main/RMM_COMPONENT_TO_TEST_NAME/facter/SLAVE_LABEL/beaker/TEST_TARGET/fedora32-64a/acceptance/.bundle/gems/ruby/2.5.0/gems/beaker-4.27.0/lib/beaker/test_suite.rb:63 08:37:53 /tmp/jenkins/workspace/platform_puppet-agent_puppet-agent-integration-suite_daily-main/RMM_COMPONENT_TO_TEST_NAME/facter/SLAVE_LABEL/beaker/TEST_TARGET/fedora32-64a/acceptance/.bundle/gems/ruby/2.5.0/gems/beaker-4.27.0/lib/beaker/test_suite.rb:63 08:37:53 /tmp/jenkins/workspace/platform_puppet-agent_puppet-agent-integration-suite_daily-main/RMM_COMPONENT_TO_TEST_NAME/facter/SLAVE_LABEL/beaker/TEST_TARGET/fedora32-64a/acceptance/.bundle/gems/ruby/2.5.0/gems/beaker-4.27.0/lib/beaker/test_suite.rb:115 08:37:53 /tmp/jenkins/workspace/platform_puppet-agent_puppet-agent-integration-suite_daily-main/RMM_COMPONENT_TO_TEST_NAME/facter/SLAVE_LABEL/beaker/TEST_TARGET/fedora32-64a/acceptance/.bundle/gems/ruby/2.5.0/gems/beaker-4.27.0/lib/beaker/cli.rb:192 08:37:53 /tmp/jenkins/workspace/platform_puppet-agent_puppet-agent-integration-suite_daily-main/RMM_COMPONENT_TO_TEST_NAME/facter/SLAVE_LABEL/beaker/TEST_TARGET/fedora32-64a/acceptance/.bundle/gems/ruby/2.5.0/gems/beaker-4.27.0/lib/beaker/cli.rb:118 08:37:53 /tmp/jenkins/workspace/platform_puppet-agent_puppet-agent-integration-suite_daily-main/RMM_COMPONENT_TO_TEST_NAME/facter/SLAVE_LABEL/beaker/TEST_TARGET/fedora32-64a/acceptance/.bundle/gems/ruby/2.5.0/gems/beaker-4.27.0/lib/beaker/subcommand.rb:199 08:37:53 /tmp/jenkins/workspace/platform_puppet-agent_puppet-agent-integration-suite_daily-main/RMM_COMPONENT_TO_TEST_NAME/facter/SLAVE_LABEL/beaker/TEST_TARGET/fedora32-64a/acceptance/.bundle/gems/ruby/2.5.0/gems/thor-1.0.1/lib/thor/command.rb:27 08:37:53 /tmp/jenkins/workspace/platform_puppet-agent_puppet-agent-integration-suite_daily-main/RMM_COMPONENT_TO_TEST_NAME/facter/SLAVE_LABEL/beaker/TEST_TARGET/fedora32-64a/acceptance/.bundle/gems/ruby/2.5.0/gems/thor-1.0.1/lib/thor/invocation.rb:127 08:37:53 /tmp/jenkins/workspace/platform_puppet-agent_puppet-agent-integration-suite_daily-main/RMM_COMPONENT_TO_TEST_NAME/facter/SLAVE_LABEL/beaker/TEST_TARGET/fedora32-64a/acceptance/.bundle/gems/ruby/2.5.0/gems/thor-1.0.1/lib/thor.rb:392 08:37:53 /tmp/jenkins/workspace/platform_puppet-agent_puppet-agent-integration-suite_daily-main/RMM_COMPONENT_TO_TEST_NAME/facter/SLAVE_LABEL/beaker/TEST_TARGET/fedora32-64a/acceptance/.bundle/gems/ruby/2.5.0/gems/thor-1.0.1/lib/thor/base.rb:485 08:37:53 /tmp/jenkins/workspace/platform_puppet-agent_puppet-agent-integration-suite_daily-main/RMM_COMPONENT_TO_TEST_NAME/facter/SLAVE_LABEL/beaker/TEST_TARGET/fedora32-64a/acceptance/.bundle/gems/ruby/2.5.0/gems/beaker-4.27.0/bin/beaker:7 08:37:53 /tmp/jenkins/workspace/platform_puppet-agent_puppet-agent-integration-suite_daily-main/RMM_COMPONENT_TO_TEST_NAME/facter/SLAVE_LABEL/beaker/TEST_TARGET/fedora32-64a/acceptance/.bundle/gems/ruby/2.5.0/bin/beaker:23 08:37:53 /tmp/jenkins/workspace/platform_puppet-agent_puppet-agent-integration-suite_daily-main/RMM_COMPONENT_TO_TEST_NAME/facter/SLAVE_LABEL/beaker/TEST_TARGET/fedora32-64a/acceptance/.bundle/gems/ruby/2.5.0/bin/beaker:23 08:37:53 /tmp/jenkins/workspace/platform_puppet-agent_puppet-agent-integration-suite_daily-main/RMM_COMPONENT_TO_TEST_NAME/facter/SLAVE_LABEL/beaker/TEST_TARGET/fedora32-64a/acceptance/.bundle/gems/ruby/2.5.0/bin/ruby_executable_hooks:24 08:37:53 /tmp/jenkins/workspace/platform_puppet-agent_puppet-agent-integration-suite_daily-main/RMM_COMPONENT_TO_TEST_NAME/facter/SLAVE_LABEL/beaker/TEST_TARGET/fedora32-64a/acceptance/.bundle/gems/ruby/2.5.0/bin/ruby_executable_hooks:24 08:37:53 Begin teardown 08:37:53
Facter.to_hash is called and an exception is raised, but we don't have the entire backtrace to know from where the error was raised and what it was exactly.
Acceptance criteria: - full backtrace is printed in all acceptance CI jobs.