Skip to content

Add safe navigation in case segment is nil in net http instrumentation #6448

Add safe navigation in case segment is nil in net http instrumentation

Add safe navigation in case segment is nil in net http instrumentation #6448

Triggered via pull request January 31, 2025 16:23
Status Failure
Total duration 11m 14s
Artifacts 17

ci.yml

on: pull_request
run_rubocop
24s
run_rubocop
Matrix: infinite_tracing
Matrix: multiverse
Matrix: unit_tests
Matrix: multiverse_services_1
Matrix: multiverse_services_2
Matrix: multiverse_services_kafka
Matrix: multiverse_services_mysql_pg
simplecov
27s
simplecov
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 54 warnings
multiverse_services_kafka (2.4.10)
Final attempt failed. Child_process exited with error code 1
multiverse_services_kafka (2.4.10)
******************************************************************************** Running "ruby_kafka" using CHAIN for Envfile entry 0 Starting tests in child PID 4638 at 2025-01-31 16:25:28 +0000 Bundling in /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/multiverse/suites/ruby_kafka... Fetching gem metadata from https://rubygems.org/........ Resolving dependencies... Fetching rake 13.2.1 Installing rake 13.2.1 Using bundler 1.17.3 Fetching digest-crc 0.7.0 Installing digest-crc 0.7.0 with native extensions Fetching metaclass 0.0.4 Installing metaclass 0.0.4 Fetching minitest 5.10.3 Installing minitest 5.10.3 Using minitest-stub-const 0.6 Fetching mocha 1.9.0 Installing mocha 1.9.0 Using newrelic_rpm 9.17.0 from source at `../../../..` Fetching ruby-kafka 1.5.0 Installing ruby-kafka 1.5.0 Using warning 1.5.0 Fetching webrick 1.9.1 Installing webrick 1.9.1 Bundle complete! 8 Gemfile dependencies, 11 gems now installed. Use `bundle info [gemname]` to see where a bundled gem is installed. digest-crc (0.7.0), metaclass (0.0.4), minitest (5.10.3), minitest-stub-const (0.6), mocha (1.9.0), newrelic_rpm (9.17.0), rake (13.2.1), ruby-kafka (1.5.0), warning (1.5.0), webrick (1.9.1) Run options: --seed 50138 # Running: EEE Finished in 0.006712s, 446.9937 runs/s, 0.0000 assertions/s. 1) Error: RubyKafkaInstrumentationTest#test_consume_creates_span_metrics: Kafka::ConnectionError: Could not connect to any of the seed brokers: - kafka://127.0.0.1:9092: Connection refused - connect(2) for 127.0.0.1:9092 /opt/hostedtoolcache/Ruby/2.4.10/x64/lib/ruby/gems/2.4.0/gems/ruby-kafka-1.5.0/lib/kafka/cluster.rb:454:in `fetch_cluster_info' /opt/hostedtoolcache/Ruby/2.4.10/x64/lib/ruby/gems/2.4.0/gems/ruby-kafka-1.5.0/lib/kafka/cluster.rb:405:in `cluster_info' /opt/hostedtoolcache/Ruby/2.4.10/x64/lib/ruby/gems/2.4.0/gems/ruby-kafka-1.5.0/lib/kafka/cluster.rb:105:in `refresh_metadata!' /opt/hostedtoolcache/Ruby/2.4.10/x64/lib/ruby/gems/2.4.0/gems/ruby-kafka-1.5.0/lib/kafka/cluster.rb:59:in `add_target_topics' /opt/hostedtoolcache/Ruby/2.4.10/x64/lib/ruby/gems/2.4.0/gems/ruby-kafka-1.5.0/lib/kafka/producer.rb:385:in `deliver_messages_with_retries' /opt/hostedtoolcache/Ruby/2.4.10/x64/lib/ruby/gems/2.4.0/gems/ruby-kafka-1.5.0/lib/kafka/producer.rb:261:in `block in deliver_messages' /opt/hostedtoolcache/Ruby/2.4.10/x64/lib/ruby/gems/2.4.0/gems/ruby-kafka-1.5.0/lib/kafka/instrumenter.rb:23:in `instrument' /opt/hostedtoolcache/Ruby/2.4.10/x64/lib/ruby/gems/2.4.0/gems/ruby-kafka-1.5.0/lib/kafka/producer.rb:254:in `deliver_messages' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/multiverse/suites/ruby_kafka/ruby_kafka_instrumentation_test.rb:87:in `produce_message' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/multiverse/suites/ruby_kafka/ruby_kafka_instrumentation_test.rb:32:in `test_consume_creates_span_metrics' 2) Error: RubyKafkaInstrumentationTest#test_produce_creates_span_metrics: Kafka::ConnectionError: Could not connect to any of the seed brokers: - kafka://127.0.0.1:9092: Connection refused - connect(2) for 127.0.0.1:9092 /opt/hostedtoolcache/Ruby/2.4.10/x64/lib/ruby/gems/2.4.0/gems/ruby-kafka-1.5.0/lib/kafka/cluster.rb:454:in `fetch_cluster_info' /opt/hostedtoolcache/Ruby/2.4.10/x64/lib/ruby/gems/2.4.0/gems/ruby-kafka-1.5.0/lib/kafka/cluster.rb:405:in `cluster_info' /opt/hostedtoolcache/Ruby/2.4.10/x64/lib/ruby/gems/2.4.0/gems/ruby-kafka-1.5.0/lib/kafka/cluster.rb:105:in `refresh_metadata!' /opt/hostedtoolcache/Ruby/2.4.10/x64/lib/ruby/gems/2.4.0/gems/ruby-kafka-1.5.0/lib/kafka/cluster.rb:59:in `add_target_topics' /opt/hostedtoolcache/Ruby/2.4.10/x64/lib/ruby/gems/2.4.0/gems/ruby-kafka-1.5.0/lib/kafka/producer.rb:385:in `deliver_messages_with_retries' /opt/hostedtoolcache/Ruby/2.4.10/x64/lib/ruby/gems/2.4.0/gems/ruby-kafka-1.5.0/lib/kafka/producer.rb:261:in `block in deliver_messages' /opt/hostedtoolcache/Ruby/2.4.10/x64/lib/ruby/gems/2.4.0/gems/ruby-kafka-1.5.0/lib/kafka/instrumenter.rb:23:in `instrument' /opt/hosted
unit_tests (3.4.1)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
multiverse_services_mysql_pg (3.4.1)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
unit_tests (2.4.10)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
multiverse_services_mysql_pg (2.4.10)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
multiverse (ai, 2.4.10)
No files were found with the provided path: gem_manifest_2.4.10_ai.json. No artifacts will be uploaded.
multiverse (ai, 2.4.10)
No files were found with the provided path: lib/coverage_*/.resultset.json. No artifacts will be uploaded.
multiverse (ai, 3.4.1)
No files were found with the provided path: gem_manifest_3.4.1_ai.json. No artifacts will be uploaded.
multiverse (ai, 3.4.1)
Attempt 1 failed. Reason: Child_process exited with error code 1
multiverse (frameworks, 2.4.10)
No files were found with the provided path: lib/coverage_*/.resultset.json. No artifacts will be uploaded.
multiverse (frameworks, 2.4.10)
No files were found with the provided path: gem_manifest_2.4.10_frameworks.json. No artifacts will be uploaded.
multiverse (background, 3.4.1)
Attempt 1 failed. Reason: Child_process exited with error code 1
multiverse (background, 3.4.1)
No files were found with the provided path: gem_manifest_3.4.1_background.json. No artifacts will be uploaded.
multiverse (background, 2.4.10)
No files were found with the provided path: gem_manifest_2.4.10_background.json. No artifacts will be uploaded.
multiverse (background, 2.4.10)
No files were found with the provided path: lib/coverage_*/.resultset.json. No artifacts will be uploaded.
multiverse (httpclients_2, 3.4.1)
No files were found with the provided path: gem_manifest_3.4.1_httpclients_2.json. No artifacts will be uploaded.
multiverse_services_kafka (2.4.10)
Attempt 1 failed. Reason: Child_process exited with error code 1
multiverse (httpclients, 2.4.10)
No files were found with the provided path: lib/coverage_*/.resultset.json. No artifacts will be uploaded.
multiverse (httpclients, 2.4.10)
No files were found with the provided path: gem_manifest_2.4.10_httpclients.json. No artifacts will be uploaded.
multiverse_services_2 (2.4.10)
No files were found with the provided path: gem_manifest_2.4.10_services_2.json. No artifacts will be uploaded.
multiverse_services_2 (2.4.10)
No files were found with the provided path: lib/coverage_*/.resultset.json. No artifacts will be uploaded.
multiverse (agent, 2.4.10)
No files were found with the provided path: lib/coverage_*/.resultset.json. No artifacts will be uploaded.
multiverse (agent, 2.4.10)
No files were found with the provided path: gem_manifest_2.4.10_agent.json. No artifacts will be uploaded.
multiverse (httpclients, 3.4.1)
No files were found with the provided path: gem_manifest_3.4.1_httpclients.json. No artifacts will be uploaded.
multiverse (httpclients_2, 2.4.10)
No files were found with the provided path: gem_manifest_2.4.10_httpclients_2.json. No artifacts will be uploaded.
multiverse (httpclients_2, 2.4.10)
No files were found with the provided path: lib/coverage_*/.resultset.json. No artifacts will be uploaded.
multiverse_services_mysql_pg (3.4.1)
Attempt 1 failed. Reason: Child_process exited with error code 1
multiverse_services_mysql_pg (3.4.1)
No files were found with the provided path: gem_manifest_3.4.1_service_mysql_pg.json. No artifacts will be uploaded.
multiverse_services_1 (2.4.10)
No files were found with the provided path: gem_manifest_2.4.10_services_1.json. No artifacts will be uploaded.
multiverse_services_1 (2.4.10)
No files were found with the provided path: lib/coverage_*/.resultset.json. No artifacts will be uploaded.
multiverse (rails, 2.4.10)
No files were found with the provided path: lib/coverage_*/.resultset.json. No artifacts will be uploaded.
multiverse (rails, 2.4.10)
No files were found with the provided path: gem_manifest_2.4.10_rails.json. No artifacts will be uploaded.
multiverse (agent, 3.4.1)
Attempt 1 failed. Reason: Child_process exited with error code 1
multiverse (agent, 3.4.1)
No files were found with the provided path: gem_manifest_3.4.1_agent.json. No artifacts will be uploaded.
multiverse_services_mysql_pg (2.4.10)
No files were found with the provided path: lib/coverage_*/.resultset.json. No artifacts will be uploaded.
multiverse_services_mysql_pg (2.4.10)
No files were found with the provided path: gem_manifest_2.4.10_service_mysql_pg.json. No artifacts will be uploaded.
multiverse_services_1 (3.4.1)
Attempt 1 failed. Reason: Child_process exited with error code 1
multiverse_services_1 (3.4.1)
No files were found with the provided path: gem_manifest_3.4.1_services_1.json. No artifacts will be uploaded.
multiverse (rest, 2.4.10)
No files were found with the provided path: lib/coverage_*/.resultset.json. No artifacts will be uploaded.
multiverse (rest, 2.4.10)
No files were found with the provided path: gem_manifest_2.4.10_rest.json. No artifacts will be uploaded.
multiverse_services_2 (3.4.1)
Attempt 1 failed. Reason: Child_process exited with error code 1
multiverse_services_2 (3.4.1)
No files were found with the provided path: gem_manifest_3.4.1_services_2.json. No artifacts will be uploaded.
multiverse (frameworks, 3.4.1)
No files were found with the provided path: gem_manifest_3.4.1_frameworks.json. No artifacts will be uploaded.
multiverse (frameworks, 3.4.1)
Attempt 1 failed. Reason: Child_process exited with error code 1
multiverse (background_2, 2.4.10)
No files were found with the provided path: lib/coverage_*/.resultset.json. No artifacts will be uploaded.
multiverse (background_2, 2.4.10)
No files were found with the provided path: gem_manifest_2.4.10_background_2.json. No artifacts will be uploaded.
multiverse_services_kafka (3.4.1)
No files were found with the provided path: gem_manifest_3.4.1_services_kafka.json. No artifacts will be uploaded.
multiverse (rails, 3.4.1)
Attempt 1 failed. Reason: Child_process exited with error code 1
multiverse (rails, 3.4.1)
No files were found with the provided path: gem_manifest_3.4.1_rails.json. No artifacts will be uploaded.
multiverse (background_2, 3.4.1)
Attempt 1 failed. Reason: Child_process exited with error code 1
multiverse (background_2, 3.4.1)
No files were found with the provided path: gem_manifest_3.4.1_background_2.json. No artifacts will be uploaded.
multiverse (rest, 3.4.1)
Attempt 1 failed. Reason: Child_process exited with error code 1
multiverse (rest, 3.4.1)
No files were found with the provided path: gem_manifest_3.4.1_rest.json. No artifacts will be uploaded.
unit_tests (2.4.10)
No files were found with the provided path: lib/coverage_*/.resultset.json. No artifacts will be uploaded.
unit_tests (3.4.1)
Attempt 1 failed. Reason: Child_process exited with error code 2

Artifacts

Produced during runtime
Name Size
coverage-report-combined- Expired
912 KB
coverage-report-infinite-tracing-2.7.8-infinite_tracing
19.3 KB
coverage-report-infinite-tracing-3.4.1-infinite_tracing
19.1 KB
coverage-report-multiverse-3.4.1-agent Expired
673 KB
coverage-report-multiverse-3.4.1-ai Expired
281 KB
coverage-report-multiverse-3.4.1-background Expired
321 KB
coverage-report-multiverse-3.4.1-background_2 Expired
210 KB
coverage-report-multiverse-3.4.1-frameworks Expired
785 KB
coverage-report-multiverse-3.4.1-httpclients Expired
248 KB
coverage-report-multiverse-3.4.1-httpclients_2 Expired
370 KB
coverage-report-multiverse-3.4.1-rails Expired
935 KB
coverage-report-multiverse-3.4.1-rest Expired
1.55 MB
coverage-report-multiverse-3.4.1-service_mysql_pg Expired
226 KB
coverage-report-multiverse-3.4.1-services_1 Expired
551 KB
coverage-report-multiverse-3.4.1-services_2 Expired
638 KB
coverage-report-multiverse-3.4.1-services_kafka Expired
73.6 KB
coverage-report-unit-tests-3.4.1-norails,rails61,rails72,rails80
235 KB