Skip to content

Ruby kafka gem instrumentation #5997

Ruby kafka gem instrumentation

Ruby kafka gem instrumentation #5997

Re-run triggered September 9, 2024 18:02
Status Failure
Total duration 16m 47s
Artifacts 12

ci.yml

on: pull_request
run_rubocop
26s
run_rubocop
Matrix: infinite_tracing
Matrix: multiverse
Matrix: unit_tests
simplecov
0s
simplecov
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 32 warnings
multiverse (rest, 2.4.10)
Final attempt failed. Child_process exited with error code 1
multiverse (rest, 2.4.10)
******************************************************************************** Running "ruby_kafka" using CHAIN for Envfile entry 0 Starting tests in child PID 34325 at 2024-09-09 18:08:43 +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... Using rake 13.2.1 Using bundler 1.17.3 Fetching digest-crc 0.6.5 Installing digest-crc 0.6.5 with native extensions Using metaclass 0.0.4 Using minitest 5.10.3 Using minitest-stub-const 0.6 Using mocha 1.9.0 Using newrelic_rpm 9.13.0 from source at `../../../..` Fetching ruby-kafka 1.5.0 Installing ruby-kafka 1.5.0 Using warning 1.4.0 Using webrick 1.8.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.6.5), metaclass (0.0.4), minitest (5.10.3), minitest-stub-const (0.6), mocha (1.9.0), newrelic_rpm (9.13.0), rake (13.2.1), ruby-kafka (1.5.0), warning (1.4.0), webrick (1.8.1) Run options: --seed 40495 # Running: EE. Finished in 14.239201s, 0.2107 runs/s, 0.2107 assertions/s. 1) Error: RubyKafkaInstrumentationTest#test_rdkafka_distributed_tracing: Kafka::ProcessingError: Kafka::ProcessingError /opt/hostedtoolcache/Ruby/2.4.10/x64/lib/ruby/gems/2.4.0/gems/ruby-kafka-1.5.0/lib/kafka/consumer.rb:252:in `rescue in block (4 levels) in each_message' /opt/hostedtoolcache/Ruby/2.4.10/x64/lib/ruby/gems/2.4.0/gems/ruby-kafka-1.5.0/lib/kafka/consumer.rb:244:in `block (4 levels) in each_message' /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/instrumenter.rb:35:in `instrument' /opt/hostedtoolcache/Ruby/2.4.10/x64/lib/ruby/gems/2.4.0/gems/ruby-kafka-1.5.0/lib/kafka/consumer.rb:243:in `block (3 levels) in each_message' /opt/hostedtoolcache/Ruby/2.4.10/x64/lib/ruby/gems/2.4.0/gems/ruby-kafka-1.5.0/lib/kafka/consumer.rb:227:in `each' /opt/hostedtoolcache/Ruby/2.4.10/x64/lib/ruby/gems/2.4.0/gems/ruby-kafka-1.5.0/lib/kafka/consumer.rb:227:in `block (2 levels) in each_message' /opt/hostedtoolcache/Ruby/2.4.10/x64/lib/ruby/gems/2.4.0/gems/ruby-kafka-1.5.0/lib/kafka/consumer.rb:225:in `each' /opt/hostedtoolcache/Ruby/2.4.10/x64/lib/ruby/gems/2.4.0/gems/ruby-kafka-1.5.0/lib/kafka/consumer.rb:225:in `block in each_message' /opt/hostedtoolcache/Ruby/2.4.10/x64/lib/ruby/gems/2.4.0/gems/ruby-kafka-1.5.0/lib/kafka/consumer.rb:419:in `block in consumer_loop' /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/instrumenter.rb:35:in `instrument' /opt/hostedtoolcache/Ruby/2.4.10/x64/lib/ruby/gems/2.4.0/gems/ruby-kafka-1.5.0/lib/kafka/consumer.rb:417:in `consumer_loop' /opt/hostedtoolcache/Ruby/2.4.10/x64/lib/ruby/gems/2.4.0/gems/ruby-kafka-1.5.0/lib/kafka/consumer.rb:222:in `each_message' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/lib/new_relic/agent/instrumentation/ruby_kafka/chain.rb:27:in `each_message' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/multiverse/suites/ruby_kafka/ruby_kafka_instrumentation_test.rb:61:in `block in test_rdkafka_distributed_tracing' 2) Error: RubyKafkaInstrumentationTest#test_consume_creates_span_metrics: Kafka::ProcessingError: Kafka::ProcessingError /opt/hostedtoolcache/Ruby/2.4.10/x64/lib/ruby/gems/2.4.0/gems/ruby-kafka-1.5.0/lib/kafka/consumer.rb:252:in `rescue in block (4 levels) in each_message' /opt/hostedtoolcache/Ruby/2.4.10/x64/lib/ruby/gems/2.4.0/gems/ruby-kafka-1.5.0/lib/kafka/consumer.rb:244:in `block (4 levels) in each_message' /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
multiverse (rest, 3.3.5)
Final attempt failed. Child_process exited with error code 1
multiverse (rest, 3.3.5)
******************************************************************************** Running "ruby_kafka" using CHAIN for Envfile entry 0 Starting tests in child PID 39775 at 2024-09-09 18:11:15 +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... Using rake 13.2.1 Using bundler 2.4.1 Using metaclass 0.0.4 Using minitest-stub-const 0.6 Fetching digest-crc 0.6.5 Using minitest 5.16.3 Using newrelic_rpm 9.13.0 from source at `../../../..` and installing its executables Using warning 1.4.0 Using webrick 1.8.1 Using mocha 1.9.0 Installing digest-crc 0.6.5 with native extensions Fetching ruby-kafka 1.5.0 Installing ruby-kafka 1.5.0 Bundle complete! 8 Gemfile dependencies, 11 gems now installed. Use `bundle info [gemname]` to see where a bundled gem is installed. digest-crc (0.6.5), metaclass (0.0.4), minitest (5.16.3), minitest-stub-const (0.6), mocha (1.9.0), newrelic_rpm (9.13.0), rake (13.2.1), ruby-kafka (1.5.0), warning (1.4.0), webrick (1.8.1) Run options: --seed 27090 # Running: EE. Finished in 13.104963s, 0.2289 runs/s, 0.2289 assertions/s. 1) Error: RubyKafkaInstrumentationTest#test_consume_creates_span_metrics: Kafka::ProcessingError: Kafka::ProcessingError /opt/hostedtoolcache/Ruby/3.3.5/x64/lib/ruby/gems/3.3.0/gems/ruby-kafka-1.5.0/lib/kafka/consumer.rb:252:in `rescue in block (4 levels) in each_message' /opt/hostedtoolcache/Ruby/3.3.5/x64/lib/ruby/gems/3.3.0/gems/ruby-kafka-1.5.0/lib/kafka/consumer.rb:244:in `block (4 levels) in each_message' /opt/hostedtoolcache/Ruby/3.3.5/x64/lib/ruby/gems/3.3.0/gems/ruby-kafka-1.5.0/lib/kafka/instrumenter.rb:23:in `instrument' /opt/hostedtoolcache/Ruby/3.3.5/x64/lib/ruby/gems/3.3.0/gems/ruby-kafka-1.5.0/lib/kafka/instrumenter.rb:35:in `instrument' /opt/hostedtoolcache/Ruby/3.3.5/x64/lib/ruby/gems/3.3.0/gems/ruby-kafka-1.5.0/lib/kafka/consumer.rb:243:in `block (3 levels) in each_message' /opt/hostedtoolcache/Ruby/3.3.5/x64/lib/ruby/gems/3.3.0/gems/ruby-kafka-1.5.0/lib/kafka/consumer.rb:227:in `each' /opt/hostedtoolcache/Ruby/3.3.5/x64/lib/ruby/gems/3.3.0/gems/ruby-kafka-1.5.0/lib/kafka/consumer.rb:227:in `block (2 levels) in each_message' /opt/hostedtoolcache/Ruby/3.3.5/x64/lib/ruby/gems/3.3.0/gems/ruby-kafka-1.5.0/lib/kafka/consumer.rb:225:in `each' /opt/hostedtoolcache/Ruby/3.3.5/x64/lib/ruby/gems/3.3.0/gems/ruby-kafka-1.5.0/lib/kafka/consumer.rb:225:in `block in each_message' /opt/hostedtoolcache/Ruby/3.3.5/x64/lib/ruby/gems/3.3.0/gems/ruby-kafka-1.5.0/lib/kafka/consumer.rb:419:in `block in consumer_loop' /opt/hostedtoolcache/Ruby/3.3.5/x64/lib/ruby/gems/3.3.0/gems/ruby-kafka-1.5.0/lib/kafka/instrumenter.rb:23:in `instrument' /opt/hostedtoolcache/Ruby/3.3.5/x64/lib/ruby/gems/3.3.0/gems/ruby-kafka-1.5.0/lib/kafka/instrumenter.rb:35:in `instrument' /opt/hostedtoolcache/Ruby/3.3.5/x64/lib/ruby/gems/3.3.0/gems/ruby-kafka-1.5.0/lib/kafka/consumer.rb:417:in `consumer_loop' /opt/hostedtoolcache/Ruby/3.3.5/x64/lib/ruby/gems/3.3.0/gems/ruby-kafka-1.5.0/lib/kafka/consumer.rb:222:in `each_message' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/lib/new_relic/agent/instrumentation/ruby_kafka/chain.rb:27:in `each_message' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/multiverse/suites/ruby_kafka/ruby_kafka_instrumentation_test.rb:37:in `test_consume_creates_span_metrics' 2) Error: RubyKafkaInstrumentationTest#test_rdkafka_distributed_tracing: Kafka::ProcessingError: Kafka::ProcessingError /opt/hostedtoolcache/Ruby/3.3.5/x64/lib/ruby/gems/3.3.0/gems/ruby-kafka-1.5.0/lib/kafka/consumer.rb:252:in `rescue in block (4 levels) in each_message' /opt/hostedtoolcache/Ruby/3.3.5/x64/lib/ruby/gems/3.3.0/gems/ruby-kafka-1.5.0/lib/kafka/consumer.rb:244:in `block (4 levels) in each_message' /opt/hostedtoolcache/Ruby/3.3.5/x64/lib/ruby/gems/3.3.0/gems/ruby-kafka-1.5.0/lib/kafka/instrumenter.rb:23:in `instrument' /opt/hostedtoolcache/Ruby/3.3.5/x64/lib/
unit_tests (2.4.10)
No files were found with the provided path: lib/coverage_*/.resultset.json. No artifacts will be uploaded.
multiverse (ai, 3.3.5)
No files were found with the provided path: gem_manifest_3.3.5_ai.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 (agent, 3.3.5)
No files were found with the provided path: gem_manifest_3.3.5_agent.json. No artifacts will be uploaded.
multiverse (background, 3.3.5)
No files were found with the provided path: gem_manifest_3.3.5_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 (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 (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 (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 (background_2, 3.3.5)
No files were found with the provided path: gem_manifest_3.3.5_background_2.json. No artifacts will be uploaded.
multiverse (database, 3.3.5)
No files were found with the provided path: gem_manifest_3.3.5_database.json. No artifacts will be uploaded.
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 (database, 2.4.10)
No files were found with the provided path: lib/coverage_*/.resultset.json. No artifacts will be uploaded.
multiverse (database, 2.4.10)
No files were found with the provided path: gem_manifest_2.4.10_database.json. No artifacts will be uploaded.
multiverse (frameworks, 3.3.5)
No files were found with the provided path: gem_manifest_3.3.5_frameworks.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 (httpclients, 3.3.5)
No files were found with the provided path: gem_manifest_3.3.5_httpclients.json. No artifacts will be uploaded.
multiverse (httpclients_2, 3.3.5)
No files were found with the provided path: gem_manifest_3.3.5_httpclients_2.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 (rails, 3.3.5)
No files were found with the provided path: gem_manifest_3.3.5_rails.json. No artifacts will be uploaded.
multiverse (rest, 2.4.10)
The following actions use a deprecated Node.js version and will be forced to run on node20: ./.github/actions/annotate. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
multiverse (rest, 2.4.10)
Attempt 1 failed. Reason: Child_process exited with error code 1
multiverse (rest, 3.3.5)
The following actions use a deprecated Node.js version and will be forced to run on node20: ./.github/actions/annotate. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
multiverse (rest, 3.3.5)
Attempt 1 failed. Reason: Child_process exited with error code 1