Skip to content

Add instrumentation for AWS S3#977

Closed
estolfo wants to merge 10 commits intoelastic:masterfrom
estolfo:aws-spec-s3
Closed

Add instrumentation for AWS S3#977
estolfo wants to merge 10 commits intoelastic:masterfrom
estolfo:aws-spec-s3

Conversation

@estolfo
Copy link
Copy Markdown
Contributor

@estolfo estolfo commented Mar 2, 2021

See the spec here

Closes #944

@ghost
Copy link
Copy Markdown

ghost commented Mar 2, 2021

💔 Build Failed

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: Pull request #977 updated

  • Start Time: 2021-03-04T15:20:52.456+0000

  • Duration: 12 min 7 sec

  • Commit: 3185a72

Trends 🧪

Image of Build Times

Test errors 0

Expand to view the tests failures

Tests / Tests / Ruby:docker.elastic.co/observability-ci/jruby:9.2-11-jdk#rails-6.1 / [empty] – ruby-agent-junit.xml
  • no error details
  • Expand to view the stacktrace

     Test report file /var/lib/jenkins/workspace/t-ruby_apm-agent-ruby-mbp_PR-977/src/github.com/elastic/apm-agent-ruby/spec/junit-reports/ruby-agent-junit.xml was length 0 
    

Tests / Tests / Ruby:docker.elastic.co/observability-ci/jruby:9.2-11-jdk#rails-5.2 / [empty] – ruby-agent-junit.xml
  • no error details
  • Expand to view the stacktrace

     Test report file /var/lib/jenkins/workspace/t-ruby_apm-agent-ruby-mbp_PR-977/src/github.com/elastic/apm-agent-ruby/spec/junit-reports/ruby-agent-junit.xml was length 0 
    

Tests / Tests / Ruby:docker.elastic.co/observability-ci/jruby:9.2-11-jdk#rails-6.0 / [empty] – ruby-agent-junit.xml
  • no error details
  • Expand to view the stacktrace

     Test report file /var/lib/jenkins/workspace/t-ruby_apm-agent-ruby-mbp_PR-977/src/github.com/elastic/apm-agent-ruby/spec/junit-reports/ruby-agent-junit.xml was length 0 
    

Tests / Tests / Ruby:jruby:9.2#sinatra-2.0 / [empty] – ruby-agent-junit.xml
  • no error details
  • Expand to view the stacktrace

     Test report file /var/lib/jenkins/workspace/t-ruby_apm-agent-ruby-mbp_PR-977/src/github.com/elastic/apm-agent-ruby/spec/junit-reports/ruby-agent-junit.xml was length 0 
    

Tests / Tests / Ruby:ruby:2.3#rails-5.2 / [empty] – ruby-agent-junit.xml
  • no error details
  • Expand to view the stacktrace

     Test report file /var/lib/jenkins/workspace/t-ruby_apm-agent-ruby-mbp_PR-977/src/github.com/elastic/apm-agent-ruby/spec/junit-reports/ruby-agent-junit.xml was length 0 
    

Steps errors 126

Expand to view the steps failures

Show only the first 10 steps failures

Shell Script
  • Took 1 min 35 sec . View more details on here
  • Description: ./spec/scripts/spec.sh ruby:3.0 sinatra-master
Shell Script
  • Took 1 min 46 sec . View more details on here
  • Description: ./spec/scripts/spec.sh ruby:3.0 grape-master
Shell Script
  • Took 1 min 36 sec . View more details on here
  • Description: ./spec/scripts/spec.sh ruby:3.0 grape-master
Shell Script
  • Took 2 min 42 sec . View more details on here
  • Description: ./spec/scripts/spec.sh ruby:2.7 rails-main
Shell Script
  • Took 2 min 30 sec . View more details on here
  • Description: ./spec/scripts/spec.sh ruby:2.7 rails-main
Shell Script
  • Took 1 min 2 sec . View more details on here
  • Description: ./spec/scripts/spec.sh ruby:2.7 sinatra-master
Shell Script
  • Took 1 min 51 sec . View more details on here
  • Description: ./spec/scripts/spec.sh ruby:2.7 sinatra-master
Shell Script
  • Took 1 min 7 sec . View more details on here
  • Description: ./spec/scripts/spec.sh ruby:2.7 grape-master
Shell Script
  • Took 1 min 52 sec . View more details on here
  • Description: ./spec/scripts/spec.sh ruby:2.7 grape-master
Error signal
  • Took 0 min 0 sec . View more details on here
  • Description: Ruby:ruby:3.0#rails-6.1 tests failed : hudson.AbortException: script returned exit code 1

Log output

Expand to view the last 100 lines of log output

[2021-03-04T15:32:07.785Z] /usr/local/bundle/jruby/2.5.0/gems/simplecov-0.21.2/lib/simplecov.rb:345: warning: tracing (e.g. set_trace_func) will not capture all events without --debug flag
[2021-03-04T15:32:11.638Z] [INFO] Skipping Sinatra.start spec
[2021-03-04T15:32:15.842Z] 
[2021-03-04T15:32:15.843Z] An error occurred while loading ./spec/elastic_apm/spies/s3_spec.rb. - Did you mean?
[2021-03-04T15:32:15.843Z]                     rspec ./spec/elastic_apm/spies/http_spec.rb
[2021-03-04T15:32:15.843Z]                     rspec ./spec/elastic_apm/spies/tilt_spec.rb
[2021-03-04T15:32:15.843Z]                     rspec ./spec/elastic_apm/spies/sequel_spec.rb
[2021-03-04T15:32:15.843Z] 
[2021-03-04T15:32:15.843Z] Failure/Error: res = require_without_apm(path)
[2021-03-04T15:32:15.843Z] 
[2021-03-04T15:32:15.843Z] LoadError:
[2021-03-04T15:32:15.843Z]   no such file to load -- aws-sdk-s3
[2021-03-04T15:32:15.843Z] # ./lib/elastic_apm/spies.rb:91:in `require'
[2021-03-04T15:32:15.843Z] # /usr/local/bundle/jruby/2.5.0/gems/activesupport-6.1.3/lib/active_support/dependencies.rb:332:in `block in require'
[2021-03-04T15:32:15.843Z] # /usr/local/bundle/jruby/2.5.0/gems/activesupport-6.1.3/lib/active_support/dependencies.rb:299:in `load_dependency'
[2021-03-04T15:32:15.843Z] # /usr/local/bundle/jruby/2.5.0/gems/activesupport-6.1.3/lib/active_support/dependencies.rb:332:in `require'
[2021-03-04T15:32:15.843Z] # ./spec/elastic_apm/spies/s3_spec.rb:21:in `<main>'
[2021-03-04T15:32:15.843Z] # /usr/local/bundle/jruby/2.5.0/gems/activesupport-6.1.3/lib/active_support/dependencies.rb:326:in `block in load'
[2021-03-04T15:32:15.843Z] # /usr/local/bundle/jruby/2.5.0/gems/activesupport-6.1.3/lib/active_support/dependencies.rb:299:in `load_dependency'
[2021-03-04T15:32:15.843Z] # /usr/local/bundle/jruby/2.5.0/gems/activesupport-6.1.3/lib/active_support/dependencies.rb:326:in `load'
[2021-03-04T15:32:15.940Z] [INFO] Skipping Sinatra.start spec
[2021-03-04T15:32:19.144Z] 
[2021-03-04T15:32:19.144Z] 
[2021-03-04T15:32:19.145Z] Finished in 0.00227 seconds (files took 16.55 seconds to load)
[2021-03-04T15:32:19.145Z] 0 examples, 0 failures, 1 error occurred outside of examples
[2021-03-04T15:32:19.145Z] 
[2021-03-04T15:32:19.245Z] 
[2021-03-04T15:32:19.245Z] An error occurred while loading ./spec/elastic_apm/spies/s3_spec.rb. - Did you mean?
[2021-03-04T15:32:19.245Z]                     rspec ./spec/elastic_apm/spies/http_spec.rb
[2021-03-04T15:32:19.245Z]                     rspec ./spec/elastic_apm/spies/tilt_spec.rb
[2021-03-04T15:32:19.245Z]                     rspec ./spec/elastic_apm/spies/sequel_spec.rb
[2021-03-04T15:32:19.245Z] 
[2021-03-04T15:32:19.245Z] Failure/Error: res = require_without_apm(path)
[2021-03-04T15:32:19.245Z] 
[2021-03-04T15:32:19.245Z] LoadError:
[2021-03-04T15:32:19.245Z]   no such file to load -- aws-sdk-s3
[2021-03-04T15:32:19.245Z] # ./lib/elastic_apm/spies.rb:91:in `require'
[2021-03-04T15:32:19.245Z] # /usr/local/bundle/jruby/2.5.0/gems/activesupport-5.2.4.5/lib/active_support/dependencies.rb:291:in `block in require'
[2021-03-04T15:32:19.245Z] # /usr/local/bundle/jruby/2.5.0/gems/activesupport-5.2.4.5/lib/active_support/dependencies.rb:257:in `load_dependency'
[2021-03-04T15:32:19.245Z] # /usr/local/bundle/jruby/2.5.0/gems/activesupport-5.2.4.5/lib/active_support/dependencies.rb:291:in `require'
[2021-03-04T15:32:19.245Z] # ./spec/elastic_apm/spies/s3_spec.rb:21:in `<main>'
[2021-03-04T15:32:19.245Z] # /usr/local/bundle/jruby/2.5.0/gems/activesupport-5.2.4.5/lib/active_support/dependencies.rb:285:in `block in load'
[2021-03-04T15:32:19.245Z] # /usr/local/bundle/jruby/2.5.0/gems/activesupport-5.2.4.5/lib/active_support/dependencies.rb:257:in `load_dependency'
[2021-03-04T15:32:19.245Z] # /usr/local/bundle/jruby/2.5.0/gems/activesupport-5.2.4.5/lib/active_support/dependencies.rb:285:in `load'
[2021-03-04T15:32:20.530Z] Coverage report generated for RSpec to /app/coverage/matrix_results/rails-6.1-docker.elastic.co/observability-ci/jruby-9.2-8-jdk. 0 / 3438 LOC (0.0%) covered.
[2021-03-04T15:32:20.530Z] Stopped processing SimpleCov as a previous error not related to SimpleCov has been detected
[2021-03-04T15:32:21.179Z] Recording test results
[2021-03-04T15:32:21.582Z] None of the test reports contained any result
[2021-03-04T15:32:21.582Z] [Checks API] No suitable checks publisher found.
[2021-03-04T15:32:21.591Z] Running in /var/lib/jenkins/workspace/t-ruby_apm-agent-ruby-mbp_PR-977/src/github.com/elastic/apm-agent-ruby
[2021-03-04T15:32:21.614Z] Archiving artifacts
[2021-03-04T15:32:21.797Z] 
[2021-03-04T15:32:21.797Z] 
[2021-03-04T15:32:21.797Z] Finished in 0.00147 seconds (files took 15.62 seconds to load)
[2021-03-04T15:32:21.797Z] 0 examples, 0 failures, 1 error occurred outside of examples
[2021-03-04T15:32:21.797Z] 
[2021-03-04T15:32:22.075Z] Stashed 32 file(s)
[2021-03-04T15:32:22.118Z] Failed in branch Ruby:docker.elastic.co/observability-ci/jruby:9.2-8-jdk#rails-6.1
[2021-03-04T15:32:23.717Z] Coverage report generated for RSpec to /app/coverage/matrix_results/rails-5.2-docker.elastic.co/observability-ci/jruby-9.2-8-jdk. 0 / 3438 LOC (0.0%) covered.
[2021-03-04T15:32:23.717Z] Stopped processing SimpleCov as a previous error not related to SimpleCov has been detected
[2021-03-04T15:32:24.742Z] Recording test results
[2021-03-04T15:32:25.496Z] None of the test reports contained any result
[2021-03-04T15:32:25.496Z] [Checks API] No suitable checks publisher found.
[2021-03-04T15:32:25.504Z] Running in /var/lib/jenkins/workspace/t-ruby_apm-agent-ruby-mbp_PR-977/src/github.com/elastic/apm-agent-ruby
[2021-03-04T15:32:25.528Z] Archiving artifacts
[2021-03-04T15:32:26.064Z] Stashed 32 file(s)
[2021-03-04T15:32:26.116Z] Failed in branch Ruby:docker.elastic.co/observability-ci/jruby:9.2-8-jdk#rails-5.2
[2021-03-04T15:32:27.186Z] Post stage
[2021-03-04T15:32:27.715Z] Running in /var/lib/jenkins/workspace/t-ruby_apm-agent-ruby-mbp_PR-977/src/github.com/elastic/apm-agent-ruby
[2021-03-04T15:32:29.480Z] Error when executing always post condition:
[2021-03-04T15:32:29.481Z] hudson.AbortException: No such saved stash ‘jruby-9.2-13-jdk-rails-6.1’
[2021-03-04T15:32:29.481Z] 	at org.jenkinsci.plugins.workflow.flow.StashManager.unstash(StashManager.java:159)
[2021-03-04T15:32:29.481Z] 	at org.jenkinsci.plugins.workflow.support.steps.stash.UnstashStep$Execution.run(UnstashStep.java:76)
[2021-03-04T15:32:29.481Z] 	at org.jenkinsci.plugins.workflow.support.steps.stash.UnstashStep$Execution.run(UnstashStep.java:63)
[2021-03-04T15:32:29.481Z] 	at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
[2021-03-04T15:32:29.481Z] 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[2021-03-04T15:32:29.481Z] 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[2021-03-04T15:32:29.481Z] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[2021-03-04T15:32:29.481Z] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[2021-03-04T15:32:29.481Z] 	at java.lang.Thread.run(Thread.java:748)
[2021-03-04T15:32:29.481Z] 
[2021-03-04T15:32:29.642Z] Failed in branch Tests
[2021-03-04T15:32:58.068Z] [INFO] For detailed information see: https://apm-ci.elastic.co/job/apm-integration-tests-selector-mbp/job/master/14809/display/redirect
[2021-03-04T15:32:58.190Z] Stage "Benchmarks" skipped due to earlier failure(s)
[2021-03-04T15:32:58.207Z] Stage "Benchmarks" skipped due to earlier failure(s)
[2021-03-04T15:32:58.265Z] Stage "Benchmarks" skipped due to earlier failure(s)
[2021-03-04T15:32:58.370Z] Stage "Release" skipped due to earlier failure(s)
[2021-03-04T15:32:58.386Z] Stage "Release" skipped due to earlier failure(s)
[2021-03-04T15:32:58.441Z] Stage "Release" skipped due to earlier failure(s)
[2021-03-04T15:32:58.496Z] Stage "Release" skipped due to earlier failure(s)
[2021-03-04T15:32:58.552Z] Stage "Release" skipped due to earlier failure(s)
[2021-03-04T15:32:58.859Z] Running on Jenkins in /var/lib/jenkins/workspace/t-ruby_apm-agent-ruby-mbp_PR-977
[2021-03-04T15:32:58.902Z] [INFO] getVaultSecret: Getting secrets
[2021-03-04T15:32:59.137Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-03-04T15:32:59.782Z] + chmod 755 generate-build-data.sh
[2021-03-04T15:32:59.782Z] + ./generate-build-data.sh https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-ruby/apm-agent-ruby-mbp/PR-977/ https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-ruby/apm-agent-ruby-mbp/PR-977/runs/11 FAILURE 727066
[2021-03-04T15:33:00.032Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-ruby/apm-agent-ruby-mbp/PR-977/runs/11/steps/?limit=10000 -o steps-info.json
[2021-03-04T15:33:04.155Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-ruby/apm-agent-ruby-mbp/PR-977/runs/11/tests/?status=FAILED -o tests-errors.json
[2021-03-04T15:33:04.406Z] Retry 1/3 exited 22, retrying in 1 seconds...
[2021-03-04T15:33:05.317Z] Retry 2/3 exited 22, retrying in 2 seconds...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[META 408] Instrumentation for AWS S3

3 participants