Check versions 6 and 5 #5124
Annotations
2 errors and 1 warning
Annotate errors
********************************************************************************
Running "elasticsearch" using CHAIN for Envfile entry 0
Starting tests in child PID 6681 at 2023-12-05 19:21:54 +0000
Bundling in /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/multiverse/suites/elasticsearch...
Fetching gem metadata from https://rubygems.org/........
Resolving dependencies...
Using rake 13.1.0
Using base64 0.2.0
Using bundler 2.4.10
Using ruby2_keywords 0.0.5
Fetching faraday-net_http 3.0.2
Fetching multi_json 1.15.0
Using minitest 5.16.3
Using minitest-stub-const 0.6
Using warning 1.3.0
Using webrick 1.8.1
Using newrelic_rpm 9.6.0 from source at `../../../..` and installing its executables
Using metaclass 0.0.4
Using mocha 1.9.0
Installing multi_json 1.15.0
Installing faraday-net_http 3.0.2
Fetching faraday 2.7.12
Fetching elasticsearch-api 8.11.0
Installing faraday 2.7.12
Installing elasticsearch-api 8.11.0
Fetching elastic-transport 8.3.0
Installing elastic-transport 8.3.0
Fetching elasticsearch 8.11.0
Installing elasticsearch 8.11.0
Bundle complete! 8 Gemfile dependencies, 17 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
base64 (0.2.0), elastic-transport (8.3.0), elasticsearch (8.11.0), elasticsearch-api (8.11.0), faraday (2.7.12), faraday-net_http (3.0.2), metaclass (0.0.4), minitest (5.16.3), minitest-stub-const (0.6), mocha (1.9.0), multi_json (1.15.0), newrelic_rpm (9.6.0), rake (13.1.0), ruby2_keywords (0.0.5), warning (1.3.0), webrick (1.8.1)
Run options: --seed 33596
# Running:
EEEEEEEEEEEEEEE
Finished in 0.185615s, 80.8125 runs/s, 0.0000 assertions/s.
1) Error:
ElasticsearchInstrumentationTest#test_segment_host:
Elastic::Transport::Transport::Errors::BadRequest: [400] {"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"request [/my-index/_doc/1] contains unrecognized parameter: [type] -> did you mean [op_type]?"}],"type":"illegal_argument_exception","reason":"request [/my-index/_doc/1] contains unrecognized parameter: [type] -> did you mean [op_type]?"},"status":400}
/opt/hostedtoolcache/Ruby/3.2.2/x64/lib/ruby/gems/3.2.0/gems/elastic-transport-8.3.0/lib/elastic/transport/transport/base.rb:228:in `__raise_transport_error'
/opt/hostedtoolcache/Ruby/3.2.2/x64/lib/ruby/gems/3.2.0/gems/elastic-transport-8.3.0/lib/elastic/transport/transport/base.rb:346:in `perform_request'
/opt/hostedtoolcache/Ruby/3.2.2/x64/lib/ruby/gems/3.2.0/gems/elastic-transport-8.3.0/lib/elastic/transport/transport/http/faraday.rb:36:in `perform_request'
/opt/hostedtoolcache/Ruby/3.2.2/x64/lib/ruby/gems/3.2.0/gems/elastic-transport-8.3.0/lib/elastic/transport/client.rb:198:in `perform_request'
/home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/lib/new_relic/agent/instrumentation/elasticsearch/chain.rb:23:in `block in perform_request'
/home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/lib/new_relic/agent/instrumentation/elasticsearch/instrumentation.rb:26:in `block in perform_request_with_tracing'
/home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/lib/new_relic/agent/tracer.rb:357:in `capture_segment_error'
/home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/lib/new_relic/agent/instrumentation/elasticsearch/instrumentation.rb:26:in `perform_request_with_tracing'
/home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/lib/new_relic/agent/instrumentation/elasticsearch/chain.rb:22:in `perform_request'
/opt/hostedtoolcache/Ruby/3.2.2/x64/lib/ruby/gems/3.2.0/gems/elasticsearch-8.11.0/lib/elasticsearch.rb:75:in `method_missing'
/opt/hostedtoolcache/Ruby/3.2.2/x64/lib/ruby/gems/3.2.0/gems/elasticsearch-api-8.11.0/lib/elasticsearch/api/actions/index.rb:74:in `index'
/home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/multiverse/suites/elasticsearch/elasticsearch_instrumentation_test.rb:17:in `setup'
2) Error:
ElasticsearchInstrumentationTest#test_segment_database_name:
Elastic::Transport::Transport::Errors::BadRequest: [400] {"error":{"root_cause":[{"type":"illegal_argument_except
|
Run Multiverse Tests
Final attempt failed. Child_process exited with error code 1
|
Run Multiverse Tests
Attempt 1 failed. Reason: Child_process exited with error code 1
|
The logs for this run have expired and are no longer available.
Loading