Skip to content

OpenSearch instrumentation #5876

OpenSearch instrumentation

OpenSearch instrumentation #5876

Triggered via pull request August 8, 2024 15:18
Status Failure
Total duration 7m 47s
Artifacts 11

ci.yml

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

Annotations

6 errors and 35 warnings
multiverse (database, 3.3.4)
******************************************************************************** Running "elasticsearch" using CHAIN for Envfile entry 0 Starting tests in child PID 15891 at 2024-08-08 15:21:42 +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.2.1 Using bundler 2.4.1 Using uri 0.13.0 Using logger 1.6.0 Using metaclass 0.0.4 Fetching multi_json 1.15.0 Using minitest 5.16.3 Using minitest-stub-const 0.6 Using newrelic_rpm 9.12.0 from source at `../../../..` and installing its executables Using warning 1.4.0 Using webrick 1.8.1 Using net-http 0.4.1 Using mocha 1.9.0 Fetching faraday-net_http 3.1.1 Installing faraday-net_http 3.1.1 Installing multi_json 1.15.0 Fetching faraday 2.10.1 Fetching elasticsearch-api 8.14.0 Installing faraday 2.10.1 Installing elasticsearch-api 8.14.0 Fetching elastic-transport 8.3.5 Installing elastic-transport 8.3.5 Fetching elasticsearch 8.14.0 Installing elasticsearch 8.14.0 Bundle complete! 8 Gemfile dependencies, 18 gems now installed. Use `bundle info [gemname]` to see where a bundled gem is installed. The client is unable to verify that the server is Elasticsearch. Some functionality may not be compatible if the server is running an unsupported product. elastic-transport (8.3.5), elasticsearch (8.14.0), elasticsearch-api (8.14.0), faraday (2.10.1), faraday-net_http (3.1.1), logger (1.6.0), metaclass (0.0.4), minitest (5.16.3), minitest-stub-const (0.6), mocha (1.9.0), multi_json (1.15.0), net-http (0.4.1), newrelic_rpm (9.12.0), rake (13.2.1), uri (0.13.0), warning (1.4.0), webrick (1.8.1) Run options: --seed 60060 # Running: EThe client is unable to verify that the server is Elasticsearch. Some functionality may not be compatible if the server is running an unsupported product. EThe client is unable to verify that the server is Elasticsearch. Some functionality may not be compatible if the server is running an unsupported product. EThe client is unable to verify that the server is Elasticsearch. Some functionality may not be compatible if the server is running an unsupported product. EThe client is unable to verify that the server is Elasticsearch. Some functionality may not be compatible if the server is running an unsupported product. EThe client is unable to verify that the server is Elasticsearch. Some functionality may not be compatible if the server is running an unsupported product. EThe client is unable to verify that the server is Elasticsearch. Some functionality may not be compatible if the server is running an unsupported product. EThe client is unable to verify that the server is Elasticsearch. Some functionality may not be compatible if the server is running an unsupported product. EThe client is unable to verify that the server is Elasticsearch. Some functionality may not be compatible if the server is running an unsupported product. EThe client is unable to verify that the server is Elasticsearch. Some functionality may not be compatible if the server is running an unsupported product. EThe client is unable to verify that the server is Elasticsearch. Some functionality may not be compatible if the server is running an unsupported product. EThe client is unable to verify that the server is Elasticsearch. Some functionality may not be compatible if the server is running an unsupported product. EThe client is unable to verify that the server is Elasticsearch. Some functionality may not be compatible if the server is running an unsupported product. EThe client is unable to verify that the server is Elasticsearch. Some functionality may not be compatible if the server is running an unsupported product. EThe client is unable to verify that the server is Elasticsearch. Some functionality may not be compatible if the server is running an unsupported product. EThe client is unable to verify that the server is Elasticsearch. Some functionality may not be compatible if the server is running an unsupported product. E Finis
multiverse (database, 3.3.4)
Final attempt failed. Child_process exited with error code 1
multiverse (database, 2.4.10)
Final attempt failed. Child_process exited with error code 1
multiverse (database, 2.4.10)
******************************************************************************** Running "elasticsearch" using CHAIN for Envfile entry 0 Starting tests in child PID 9632 at 2024-08-08 15:23:24 +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.2.1 Fetching base64 0.2.0 Installing base64 0.2.0 Using bundler 1.17.3 Fetching multi_json 1.15.0 Installing multi_json 1.15.0 Fetching elasticsearch-api 7.17.11 Installing elasticsearch-api 7.17.11 Fetching faraday-em_http 1.0.0 Installing faraday-em_http 1.0.0 Fetching faraday-em_synchrony 1.0.0 Installing faraday-em_synchrony 1.0.0 Fetching faraday-excon 1.1.0 Installing faraday-excon 1.1.0 Fetching faraday-httpclient 1.0.1 Installing faraday-httpclient 1.0.1 Fetching multipart-post 2.3.0 Installing multipart-post 2.3.0 Fetching faraday-multipart 1.0.4 Installing faraday-multipart 1.0.4 Fetching faraday-net_http 1.0.2 Installing faraday-net_http 1.0.2 Fetching faraday-net_http_persistent 1.2.0 Installing faraday-net_http_persistent 1.2.0 Fetching faraday-patron 1.0.0 Installing faraday-patron 1.0.0 Fetching faraday-rack 1.0.0 Installing faraday-rack 1.0.0 Fetching faraday-retry 1.0.3 Installing faraday-retry 1.0.3 Fetching ruby2_keywords 0.0.5 Installing ruby2_keywords 0.0.5 Fetching faraday 1.10.3 Installing faraday 1.10.3 Fetching elasticsearch-transport 7.17.11 Installing elasticsearch-transport 7.17.11 Fetching elasticsearch 7.17.11 Installing elasticsearch 7.17.11 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.12.0 from source at `../../../..` Using warning 1.4.0 Using webrick 1.8.1 Bundle complete! 8 Gemfile dependencies, 27 gems now installed. Use `bundle info [gemname]` to see where a bundled gem is installed. base64 (0.2.0), elasticsearch (7.17.11), elasticsearch-api (7.17.11), elasticsearch-transport (7.17.11), faraday (1.10.3), faraday-em_http (1.0.0), faraday-em_synchrony (1.0.0), faraday-excon (1.1.0), faraday-httpclient (1.0.1), faraday-multipart (1.0.4), faraday-net_http (1.0.2), faraday-net_http_persistent (1.2.0), faraday-patron (1.0.0), faraday-rack (1.0.0), faraday-retry (1.0.3), metaclass (0.0.4), minitest (5.10.3), minitest-stub-const (0.6), mocha (1.9.0), multi_json (1.15.0), multipart-post (2.3.0), newrelic_rpm (9.12.0), rake (13.2.1), ruby2_keywords (0.0.5), warning (1.4.0), webrick (1.8.1) Run options: --seed 39453 # Running: EEEEEEEEEEEEEEEE Finished in 0.022413s, 713.8769 runs/s, 0.0000 assertions/s. 1) Error: ElasticsearchInstrumentationTest#test_segment_elasticsearch_product: Faraday::ConnectionFailed: Failed to open TCP connection to localhost:9000 (Connection refused - connect(2) for "localhost" port 9000) /opt/hostedtoolcache/Ruby/2.4.10/x64/lib/ruby/2.4.0/net/http.rb:906:in `rescue in block in connect' /opt/hostedtoolcache/Ruby/2.4.10/x64/lib/ruby/2.4.0/net/http.rb:903:in `block in connect' /opt/hostedtoolcache/Ruby/2.4.10/x64/lib/ruby/2.4.0/timeout.rb:93:in `block in timeout' /opt/hostedtoolcache/Ruby/2.4.10/x64/lib/ruby/2.4.0/timeout.rb:103:in `timeout' /opt/hostedtoolcache/Ruby/2.4.10/x64/lib/ruby/2.4.0/net/http.rb:902:in `connect' /opt/hostedtoolcache/Ruby/2.4.10/x64/lib/ruby/2.4.0/net/http.rb:887:in `do_start' /opt/hostedtoolcache/Ruby/2.4.10/x64/lib/ruby/2.4.0/net/http.rb:876:in `start' /opt/hostedtoolcache/Ruby/2.4.10/x64/lib/ruby/gems/2.4.0/gems/faraday-net_http-1.0.2/lib/faraday/adapter/net_http.rb:137:in `request_via_get_method' /opt/hostedtoolcache/Ruby/2.4.10/x64/lib/ruby/gems/2.4.0/gems/faraday-net_http-1.0.2/lib/faraday/adapter/net_http.rb:128:in `request_with_wrapped_block' /opt/hostedtoolcache/Ruby/2.4.10/x64/lib/ruby/gems/2.4.0/gems/faraday-net_http-1.0.2/lib/faraday/adapter/net_http.rb:121:in `perform_request' /opt/hostedtoolcache/Ruby/2.4.10/x64/lib/ruby/gems/2.4.0/gems/faraday-net_http-1.0.2/lib/faraday/adapter/net_http.rb:65:in `block in call' /opt/
multiverse (rest, 3.3.4)
******************************************************************************** Running "opensearch" using CHAIN for Envfile entry 0 Starting tests in child PID 5768 at 2024-08-08 15:21:00 +0000 Bundling in /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/multiverse/suites/opensearch... Fetching gem metadata from https://rubygems.org/........ Resolving dependencies... Using rake 13.2.1 Using bundler 2.4.1 Using uri 0.13.0 Using logger 1.6.0 Using metaclass 0.0.4 Using minitest 5.16.3 Using minitest-stub-const 0.6 Using newrelic_rpm 9.12.0 from source at `../../../..` and installing its executables Fetching multi_json 1.15.0 Using warning 1.4.0 Using webrick 1.8.1 Using mocha 1.9.0 Using net-http 0.4.1 Fetching faraday-net_http 3.1.1 Installing faraday-net_http 3.1.1 Installing multi_json 1.15.0 Fetching faraday 2.10.1 Installing faraday 2.10.1 Fetching opensearch-ruby 3.4.0 Installing opensearch-ruby 3.4.0 Bundle complete! 8 Gemfile dependencies, 16 gems now installed. Use `bundle info [gemname]` to see where a bundled gem is installed. faraday (2.10.1), faraday-net_http (3.1.1), logger (1.6.0), metaclass (0.0.4), minitest (5.16.3), minitest-stub-const (0.6), mocha (1.9.0), multi_json (1.15.0), net-http (0.4.1), newrelic_rpm (9.12.0), opensearch-ruby (3.4.0), rake (13.2.1), uri (0.13.0), warning (1.4.0), webrick (1.8.1) Run options: --seed 38946 # Running: EEEEEEEEEEEEEEEE Finished in 0.098190s, 162.9490 runs/s, 0.0000 assertions/s. 1) Error: OpenSearchInstrumentationTest#test_segment_host: Faraday::SSLError: SSL_connect returned=1 errno=0 peeraddr=[::1]:9200 state=error: wrong version number /opt/hostedtoolcache/Ruby/3.3.4/x64/lib/ruby/3.3.0/net/protocol.rb:46:in `connect_nonblock' /opt/hostedtoolcache/Ruby/3.3.4/x64/lib/ruby/3.3.0/net/protocol.rb:46:in `ssl_socket_connect' /opt/hostedtoolcache/Ruby/3.3.4/x64/lib/ruby/3.3.0/net/http.rb:1674:in `connect' /opt/hostedtoolcache/Ruby/3.3.4/x64/lib/ruby/3.3.0/net/http.rb:1580:in `do_start' /opt/hostedtoolcache/Ruby/3.3.4/x64/lib/ruby/3.3.0/net/http.rb:1569:in `start' /opt/hostedtoolcache/Ruby/3.3.4/x64/lib/ruby/gems/3.3.0/gems/faraday-net_http-3.1.1/lib/faraday/adapter/net_http.rb:111:in `request_with_wrapped_block' /opt/hostedtoolcache/Ruby/3.3.4/x64/lib/ruby/gems/3.3.0/gems/faraday-net_http-3.1.1/lib/faraday/adapter/net_http.rb:101:in `perform_request' /opt/hostedtoolcache/Ruby/3.3.4/x64/lib/ruby/gems/3.3.0/gems/faraday-net_http-3.1.1/lib/faraday/adapter/net_http.rb:65:in `block in call' /opt/hostedtoolcache/Ruby/3.3.4/x64/lib/ruby/gems/3.3.0/gems/faraday-2.10.1/lib/faraday/adapter.rb:45:in `connection' /opt/hostedtoolcache/Ruby/3.3.4/x64/lib/ruby/gems/3.3.0/gems/faraday-net_http-3.1.1/lib/faraday/adapter/net_http.rb:64:in `call' /opt/hostedtoolcache/Ruby/3.3.4/x64/lib/ruby/gems/3.3.0/gems/faraday-2.10.1/lib/faraday/rack_builder.rb:152:in `build_response' /opt/hostedtoolcache/Ruby/3.3.4/x64/lib/ruby/gems/3.3.0/gems/faraday-2.10.1/lib/faraday/connection.rb:444:in `run_request' /opt/hostedtoolcache/Ruby/3.3.4/x64/lib/ruby/gems/3.3.0/gems/opensearch-ruby-3.4.0/lib/opensearch/transport/transport/http/faraday.rb:56:in `block in perform_request' /opt/hostedtoolcache/Ruby/3.3.4/x64/lib/ruby/gems/3.3.0/gems/opensearch-ruby-3.4.0/lib/opensearch/transport/transport/base.rb:297:in `perform_request' /opt/hostedtoolcache/Ruby/3.3.4/x64/lib/ruby/gems/3.3.0/gems/opensearch-ruby-3.4.0/lib/opensearch/transport/transport/http/faraday.rb:45:in `perform_request' /opt/hostedtoolcache/Ruby/3.3.4/x64/lib/ruby/gems/3.3.0/gems/opensearch-ruby-3.4.0/lib/opensearch/transport/client.rb:191:in `perform_request' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/lib/new_relic/agent/instrumentation/opensearch/chain.rb:15:in `block in perform_request' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/lib/new_relic/agent/instrumentation/opensearch/instrumentation.rb:24:in `block in perform_request_with_tracing' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/lib/new_relic/agent/tracer.r
multiverse (rest, 3.3.4)
Final attempt failed. Child_process exited with error code 1
multiverse (ai, 3.3.4)
No files were found with the provided path: gem_manifest_3.3.4_ai.json. No artifacts will be uploaded.
multiverse (background, 3.3.4)
No files were found with the provided path: gem_manifest_3.3.4_background.json. No artifacts will be uploaded.
multiverse (httpclients_2, 3.3.4)
No files were found with the provided path: gem_manifest_3.3.4_httpclients_2.json. No artifacts will be uploaded.
unit_tests (3.3.4)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: kanga333/variable-mapper@3681b75f5c6c00162721168fb91ab74925eaebcb. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
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.
unit_tests (2.4.10)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: kanga333/variable-mapper@3681b75f5c6c00162721168fb91ab74925eaebcb. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
unit_tests (2.4.10)
No files were found with the provided path: lib/coverage_*/.resultset.json. No artifacts will be uploaded.
multiverse (frameworks, 3.3.4)
No files were found with the provided path: gem_manifest_3.3.4_frameworks.json. No artifacts will be uploaded.
multiverse (agent, 3.3.4)
No files were found with the provided path: gem_manifest_3.3.4_agent.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 (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 (background_2, 3.3.4)
No files were found with the provided path: gem_manifest_3.3.4_background_2.json. No artifacts will be uploaded.
multiverse (database, 3.3.4)
The following actions uses Node.js version which is deprecated 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 (database, 3.3.4)
Attempt 1 failed. Reason: Child_process exited with error code 1
multiverse (httpclients, 3.3.4)
No files were found with the provided path: gem_manifest_3.3.4_httpclients.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 (rails, 3.3.4)
No files were found with the provided path: gem_manifest_3.3.4_rails.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 (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 (database, 2.4.10)
The following actions uses Node.js version which is deprecated 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 (database, 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 (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 (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 (rest, 3.3.4)
The following actions uses Node.js version which is deprecated 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.4)
Attempt 1 failed. Reason: Child_process exited with error code 1

Artifacts

Produced during runtime
Name Size
coverage-report-infinite-tracing-2.7.8-infinite_tracing
70.6 KB
coverage-report-infinite-tracing-3.3.4-infinite_tracing
70 KB
coverage-report-multiverse-3.3.4-agent Expired
1.36 MB
coverage-report-multiverse-3.3.4-ai Expired
556 KB
coverage-report-multiverse-3.3.4-background Expired
768 KB
coverage-report-multiverse-3.3.4-background_2 Expired
420 KB
coverage-report-multiverse-3.3.4-frameworks Expired
1.41 MB
coverage-report-multiverse-3.3.4-httpclients Expired
869 KB
coverage-report-multiverse-3.3.4-httpclients_2 Expired
1.27 MB
coverage-report-multiverse-3.3.4-rails Expired
1.52 MB
coverage-report-unit-tests-3.3.4-norails,rails61,rails72
264 KB