instrumentation for aws-sdk-lambda #6154
Annotations
2 errors and 2 warnings
Run Multiverse Tests
Final attempt failed. Child_process exited with error code 1
|
Annotate errors
********************************************************************************
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'
|
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/
|
Run Multiverse Tests
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Loading