newrelic / newrelic-ruby-agent

New Relic RPM Ruby Agent
https://docs.newrelic.com/docs/apm/agents/ruby-agent/getting-started/introduction-new-relic-ruby/
Apache License 2.0
1.2k stars 598 forks source link

Ruby 3.0+ can't find run_id for thread profiling tests on GitHub Actions #2947

Open kaylareopelle opened 1 week ago

kaylareopelle commented 1 week ago

Ruby 3.0, 3.1, 3.2, and 3.3 all fail the following test in the agent_only multiverse suite:

ThreadProfilingTest#test_thread_profiling_can_stop:
NoMethodError: undefined method `run_id' for nil
    /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/multiverse/suites/agent_only/thread_profiling_test.rb:88:in `test_thread_profiling_can_stop'

Update: Test is also flakey in on ThreadProfilingTest#test_thread_profiling and has been updated to skip as well until this issue is fixed.

Figure out where run_id went and how we can get it back.

The test does not fail locally.

workato-integration[bot] commented 1 week ago

https://new-relic.atlassian.net/browse/NR-339882