Skip to content

instrumentation for aws-sdk-lambda #6154

instrumentation for aws-sdk-lambda

instrumentation for aws-sdk-lambda #6154

Triggered via pull request October 30, 2024 23:49
@fallwithfallwith
synchronize #2926
severless
Status Failure
Total duration 11m 8s
Artifacts 13

ci.yml

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

Annotations

4 errors and 35 warnings
multiverse (rest, 2.4.10)
Final attempt failed. Child_process exited with error code 1
multiverse (rest, 2.4.10)
******************************************************************************** Running "aws_sdk_lambda" using CHAIN for Envfile entry 0 Starting tests in child PID 41153 at 2024-10-30 23:57:19 +0000 Bundling in /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/multiverse/suites/aws_sdk_lambda... Fetching gem metadata from https://rubygems.org/........ Resolving dependencies... Using rake 13.2.1 Using aws-eventstream 1.2.0 Using aws-partitions 1.855.0 Using aws-sigv4 1.6.1 Using jmespath 1.6.2 Using aws-sdk-core 3.187.1 Fetching aws-sdk-lambda 1.111.0 Installing aws-sdk-lambda 1.111.0 Using bundler 1.17.3 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.15.0 from source at `../../../..` Using warning 1.4.0 Using webrick 1.8.2 Bundle complete! 8 Gemfile dependencies, 15 gems now installed. Use `bundle info [gemname]` to see where a bundled gem is installed. aws-eventstream (1.2.0), aws-partitions (1.855.0), aws-sdk-core (3.187.1), aws-sdk-lambda (1.111.0), aws-sigv4 (1.6.1), jmespath (1.6.2), metaclass (0.0.4), minitest (5.10.3), minitest-stub-const (0.6), mocha (1.9.0), newrelic_rpm (9.15.0), rake (13.2.1), warning (1.4.0), webrick (1.8.2) Run options: --seed 9004 # Running: EEEEE Finished in 0.063881s, 78.2703 runs/s, 0.0000 assertions/s. 1) Error: AwsSdkLambdaInstrumentationTest#test_client_call_raises_an_exception: NoMethodError: undefined method `account_id=' for #<#<Class:0x0000556afa05d2b8>:0x0000556afa035bf0> /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/multiverse/suites/aws_sdk_lambda/aws_sdk_lambda_instrumentation_test.rb:31:in `block in test_client_call_raises_an_exception' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/agent_helper.rb:396:in `block in in_transaction' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/lib/new_relic/agent/tracer.rb:106:in `in_transaction' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/agent_helper.rb:394:in `in_transaction' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/multiverse/suites/aws_sdk_lambda/aws_sdk_lambda_instrumentation_test.rb:29:in `test_client_call_raises_an_exception' 2) Error: AwsSdkLambdaInstrumentationTest#test_client_response_indicates_an_unhandled_function_error: NoMethodError: undefined method `account_id=' for #<#<Class:0x0000556afad867a0>:0x0000556afad92820> /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/multiverse/suites/aws_sdk_lambda/aws_sdk_lambda_instrumentation_test.rb:60:in `block in test_client_response_indicates_an_unhandled_function_error' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/agent_helper.rb:396:in `block in in_transaction' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/lib/new_relic/agent/tracer.rb:106:in `in_transaction' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/agent_helper.rb:394:in `in_transaction' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/multiverse/suites/aws_sdk_lambda/aws_sdk_lambda_instrumentation_test.rb:57:in `test_client_response_indicates_an_unhandled_function_error' 3) Error: AwsSdkLambdaInstrumentationTest#test_invoke_with_response_stream: NoMethodError: undefined method `account_id=' for #<#<Class:0x0000556afadcf1d0>:0x0000556afade3ae0> /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/multiverse/suites/aws_sdk_lambda/aws_sdk_lambda_instrumentation_test.rb:76:in `block in perform_invocation' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/agent_helper.rb:396:in `block in in_transaction' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/lib/new_relic/agent/tracer.rb:106:in `in_transaction' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/agent_helper.rb:394:in `in_transaction' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/multiverse/suites/aws_sdk_lambda/aws_sdk_lambda_instrumentation_test.rb:74:in `perform_invocation' /home/runner/work/newrelic-r
multiverse (rest, 3.3.5)
Final attempt failed. Child_process exited with error code 1
multiverse (rest, 3.3.5)
******************************************************************************** Running "aws_sdk_lambda" using CHAIN for Envfile entry 0 Starting tests in child PID 35198 at 2024-10-30 23:56:40 +0000 Bundling in /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/multiverse/suites/aws_sdk_lambda... Fetching gem metadata from https://rubygems.org/........ Resolving dependencies... Using rake 13.2.1 Using bundler 2.4.1 Using aws-eventstream 1.3.0 Using aws-partitions 1.999.0 Using jmespath 1.6.2 Using metaclass 0.0.4 Using minitest 5.16.3 Using minitest-stub-const 0.6 Using newrelic_rpm 9.15.0 from source at `../../../..` and installing its executables Using warning 1.4.0 Using webrick 1.8.2 Using aws-sigv4 1.10.1 Using mocha 1.9.0 Using aws-sdk-core 3.211.0 Fetching aws-sdk-lambda 1.138.0 Installing aws-sdk-lambda 1.138.0 Bundle complete! 8 Gemfile dependencies, 15 gems now installed. Use `bundle info [gemname]` to see where a bundled gem is installed. aws-eventstream (1.3.0), aws-partitions (1.999.0), aws-sdk-core (3.211.0), aws-sdk-lambda (1.138.0), aws-sigv4 (1.10.1), jmespath (1.6.2), metaclass (0.0.4), minitest (5.16.3), minitest-stub-const (0.6), mocha (1.9.0), newrelic_rpm (9.15.0), rake (13.2.1), warning (1.4.0), webrick (1.8.2) Run options: --seed 61114 # Running: EEEEF Finished in 0.024849s, 201.2114 runs/s, 40.2423 assertions/s. 1) Error: AwsSdkLambdaInstrumentationTest#test_invoke: ArgumentError: wrong number of arguments (given 4, expected 3) /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/lib/new_relic/agent/aws.rb:8:in `create_arn' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/lib/new_relic/agent/instrumentation/aws_sdk_lambda/instrumentation.rb:112:in `aws_arn' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/lib/new_relic/agent/instrumentation/aws_sdk_lambda/instrumentation.rb:78:in `generate_segment' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/lib/new_relic/agent/instrumentation/aws_sdk_lambda/instrumentation.rb:29:in `with_tracing' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/lib/new_relic/agent/instrumentation/aws_sdk_lambda/instrumentation.rb:15:in `invoke_with_new_relic' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/lib/new_relic/agent/instrumentation/aws_sdk_lambda/chain.rb:14:in `invoke' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/multiverse/suites/aws_sdk_lambda/aws_sdk_lambda_instrumentation_test.rb:78:in `block in perform_invocation' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/agent_helper.rb:396:in `block in in_transaction' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/lib/new_relic/agent/tracer.rb:106:in `in_transaction' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/agent_helper.rb:394:in `in_transaction' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/multiverse/suites/aws_sdk_lambda/aws_sdk_lambda_instrumentation_test.rb:74:in `perform_invocation' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/multiverse/suites/aws_sdk_lambda/aws_sdk_lambda_instrumentation_test.rb:17:in `test_invoke' 2) Error: AwsSdkLambdaInstrumentationTest#test_invoke_with_response_stream: ArgumentError: wrong number of arguments (given 4, expected 3) /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/lib/new_relic/agent/aws.rb:8:in `create_arn' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/lib/new_relic/agent/instrumentation/aws_sdk_lambda/instrumentation.rb:112:in `aws_arn' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/lib/new_relic/agent/instrumentation/aws_sdk_lambda/instrumentation.rb:78:in `generate_segment' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/lib/new_relic/agent/instrumentation/aws_sdk_lambda/instrumentation.rb:29:in `with_tracing' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/lib/new_relic/agent/instrumentation/aws_sdk_lambda/instrumentation.rb:23:in `invoke_with_response_stream_with_new_relic'
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 (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 (kafka, 2.4.10)
No files were found with the provided path: gem_manifest_2.4.10_kafka.json. No artifacts will be uploaded.
multiverse (kafka, 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)
No files were found with the provided path: lib/coverage_*/.resultset.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 (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 (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 (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 (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 (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.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 (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 (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, 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 (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_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 (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 (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 (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 (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 (kafka, 3.3.5)
No files were found with the provided path: gem_manifest_3.3.5_kafka.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

Artifacts

Produced during runtime
Name Size
coverage-report-infinite-tracing-2.7.8-infinite_tracing
73.5 KB
coverage-report-infinite-tracing-3.3.5-infinite_tracing
72.7 KB
coverage-report-multiverse-3.3.5-agent Expired
1.42 MB
coverage-report-multiverse-3.3.5-ai Expired
578 KB
coverage-report-multiverse-3.3.5-background Expired
798 KB
coverage-report-multiverse-3.3.5-background_2 Expired
436 KB
coverage-report-multiverse-3.3.5-database Expired
1.57 MB
coverage-report-multiverse-3.3.5-frameworks Expired
1.46 MB
coverage-report-multiverse-3.3.5-httpclients Expired
902 KB
coverage-report-multiverse-3.3.5-httpclients_2 Expired
1.32 MB
coverage-report-multiverse-3.3.5-kafka Expired
288 KB
coverage-report-multiverse-3.3.5-rails Expired
1.87 MB
coverage-report-unit-tests-3.3.5-norails,rails61,rails72
271 KB