Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test ruby 3.0 on Jenkins #923

Closed
wants to merge 13 commits into from
Closed

Test ruby 3.0 on Jenkins #923

wants to merge 13 commits into from

Conversation

estolfo
Copy link
Contributor

@estolfo estolfo commented Jan 5, 2021

Issues with running test suite on ruby 3.0:

  • google-protobuf cannot be install on ruby >= 2.8. The message is google-protobuf-3.14.0-universal-darwin requires ruby version < 2.8.dev, >= 2.3, which is incompatible with the current version, ruby 3.0.0p0

  • The json validation spec is failing because the json-schema gem needs to update their use of Kernel#open to be URI.open instead here. Reference here. I've opened an issue with their repo here.

General changes:

  • Test ruby 3.0
  • Test rails 5.2
  • Don't test rails 5.0 (only 5.1 and 5.2)
  • Test rails 6.1 in addition to 6.0
  • Test latest grape (1.5)
  • Test master of frameworks on ruby 2.7 and 3.0
  • Don't pass a url to JSON::Validator.validate!, pass the schema directly

After this is merged, open an issue as a reminder to:

  • When a grape version supporting ruby 3.0 is released, update the jenkins matrices to include that version
  • When a json-schema version is released supporting ruby 3.0, possibly change the json_schema_matcher to pass a url to JSON::Valdiator.validate! again

@apmmachine
Copy link
Collaborator

apmmachine commented Jan 5, 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 #923 updated

  • Start Time: 2021-01-07T14:38:15.247+0000

  • Duration: 33 min 50 sec

Test stats 🧪

Test Results
Failed 0
Passed 70224
Skipped 129
Total 70353

Steps errors 9

Expand to view the steps failures

Shell Script
  • Took 2 min 22 sec . View more details on here
  • Description: [2021-01-07T14:54:40.679Z] + ./spec/scripts/spec.sh docker.elastic.co/observability-ci/jruby:9.2-13-
Shell Script
  • Took 2 min 30 sec . View more details on here
  • Description: [2021-01-07T14:57:15.546Z] + ./spec/scripts/spec.sh docker.elastic.co/observability-ci/jruby:9.2-13-
Shell Script
  • Took 2 min 16 sec . View more details on here
  • Description: [2021-01-07T14:54:36.342Z] + ./spec/scripts/spec.sh docker.elastic.co/observability-ci/jruby:9.2-13-
Shell Script
  • Took 2 min 22 sec . View more details on here
  • Description: [2021-01-07T14:57:21.527Z] + ./spec/scripts/spec.sh docker.elastic.co/observability-ci/jruby:9.2-13-
Shell Script
  • Took 4 min 36 sec . View more details on here
  • Description: [2021-01-07T14:54:43.595Z] + ./spec/scripts/spec.sh docker.elastic.co/observability-ci/jruby:9.2-13-
Shell Script
  • Took 3 min 0 sec . View more details on here
  • Description: [2021-01-07T14:58:52.899Z] + ./spec/scripts/spec.sh docker.elastic.co/observability-ci/jruby:9.2-13-
Shell Script
  • Took 4 min 29 sec . View more details on here
  • Description: [2021-01-07T14:53:01.707Z] + ./spec/scripts/spec.sh docker.elastic.co/observability-ci/jruby:9.2-11-
Shell Script
  • Took 3 min 29 sec . View more details on here
  • Description: [2021-01-07T14:55:18.742Z] + ./spec/scripts/spec.sh docker.elastic.co/observability-ci/jruby:9.2-8-j
Error signal
  • Took 0 min 0 sec . View more details on here

Log output

Expand to view the last 100 lines of log output

[2021-01-07T15:10:53.413Z] Installing aws-sdk-core 3.110.0
[2021-01-07T15:10:53.413Z] Fetching activesupport 6.1.0
[2021-01-07T15:10:53.676Z] Installing activesupport 6.1.0
[2021-01-07T15:10:54.253Z] Fetching webmock 3.11.0
[2021-01-07T15:10:54.254Z] Installing webmock 3.11.0
[2021-01-07T15:10:54.518Z] Fetching domain_name 0.5.20190701
[2021-01-07T15:10:54.518Z] Fetching http-parser 1.2.2
[2021-01-07T15:10:54.518Z] Installing http-parser 1.2.2 with native extensions
[2021-01-07T15:10:54.518Z] Installing domain_name 0.5.20190701
[2021-01-07T15:10:54.518Z] Fetching elasticsearch-transport 7.10.0
[2021-01-07T15:10:54.518Z] Installing elasticsearch-transport 7.10.0
[2021-01-07T15:10:55.915Z] Fetching grpc 1.34.0 (x86_64-linux)
[2021-01-07T15:10:55.915Z] Fetching rspec-its 1.3.0
[2021-01-07T15:10:55.915Z] Fetching rspec 3.10.0
[2021-01-07T15:10:55.915Z] Installing rspec 3.10.0
[2021-01-07T15:10:55.915Z] Installing rspec-its 1.3.0
[2021-01-07T15:10:55.915Z] Fetching sinatra 2.1.0
[2021-01-07T15:10:55.915Z] Fetching sneakers 2.12.0
[2021-01-07T15:10:56.177Z] Installing sneakers 2.12.0
[2021-01-07T15:10:56.177Z] Installing sinatra 2.1.0
[2021-01-07T15:10:56.439Z] Fetching simplecov-cobertura 1.4.2
[2021-01-07T15:10:56.439Z] Fetching aws-sdk-dynamodb 1.58.0
[2021-01-07T15:10:56.439Z] Installing simplecov-cobertura 1.4.2
[2021-01-07T15:10:56.701Z] Fetching aws-sdk-sqs 1.35.0
[2021-01-07T15:10:56.701Z] Installing aws-sdk-dynamodb 1.58.0
[2021-01-07T15:10:56.701Z] Installing aws-sdk-sqs 1.35.0
[2021-01-07T15:10:56.701Z] Fetching shoryuken 5.0.6
[2021-01-07T15:10:56.701Z] Fetching protobuf-cucumber 3.10.8
[2021-01-07T15:10:56.701Z] Installing shoryuken 5.0.6
[2021-01-07T15:10:56.963Z] Installing protobuf-cucumber 3.10.8
[2021-01-07T15:10:56.963Z] Fetching http-cookie 1.0.3
[2021-01-07T15:10:56.963Z] Installing http-cookie 1.0.3
[2021-01-07T15:10:57.224Z] Fetching elasticsearch 7.10.0
[2021-01-07T15:10:57.224Z] Installing elasticsearch 7.10.0
[2021-01-07T15:10:57.224Z] Fetching yarjuf 2.0.0
[2021-01-07T15:10:57.225Z] Installing yarjuf 2.0.0
[2021-01-07T15:10:57.225Z] Fetching resque 2.0.0
[2021-01-07T15:10:57.225Z] Fetching http 4.4.1
[2021-01-07T15:10:57.486Z] Installing resque 2.0.0
[2021-01-07T15:10:57.486Z] Installing grpc 1.34.0 (x86_64-linux)
[2021-01-07T15:10:57.486Z] Installing http 4.4.1
[2021-01-07T15:10:57.747Z] Fetching cucumber-messages 13.2.1
[2021-01-07T15:10:57.747Z] Using elastic-apm 3.13.0 from source at `.`
[2021-01-07T15:10:57.747Z] Installing cucumber-messages 13.2.1
[2021-01-07T15:10:57.747Z] Fetching cucumber-create-meta 2.0.4
[2021-01-07T15:10:57.747Z] Fetching cucumber-gherkin 15.0.2
[2021-01-07T15:10:57.747Z] Installing cucumber-create-meta 2.0.4
[2021-01-07T15:10:57.747Z] Installing cucumber-gherkin 15.0.2
[2021-01-07T15:10:57.747Z] Fetching cucumber-html-formatter 9.0.0
[2021-01-07T15:10:58.008Z] Fetching cucumber-core 8.0.1
[2021-01-07T15:10:58.008Z] Installing cucumber-core 8.0.1
[2021-01-07T15:10:58.008Z] Installing cucumber-html-formatter 9.0.0
[2021-01-07T15:10:58.008Z] Fetching cucumber-wire 4.0.1
[2021-01-07T15:10:58.008Z] Installing cucumber-wire 4.0.1
[2021-01-07T15:10:58.270Z] Fetching cucumber 5.2.0
[2021-01-07T15:10:58.270Z] Installing cucumber 5.2.0
[2021-01-07T15:10:59.217Z] Bundle complete! 33 Gemfile dependencies, 107 gems now installed.
[2021-01-07T15:10:59.217Z] Bundled gems are installed into `./vendor/2.7`
[2021-01-07T15:10:59.217Z] Post-install message from i18n:
[2021-01-07T15:10:59.217Z] 
[2021-01-07T15:10:59.217Z] HEADS UP! i18n 1.1 changed fallbacks to exclude default locale.
[2021-01-07T15:10:59.217Z] But that may break your application.
[2021-01-07T15:10:59.217Z] 
[2021-01-07T15:10:59.217Z] If you are upgrading your Rails application from an older version of Rails:
[2021-01-07T15:10:59.217Z] 
[2021-01-07T15:10:59.217Z] Please check your Rails app for 'config.i18n.fallbacks = true'.
[2021-01-07T15:10:59.217Z] If you're using I18n (>= 1.1.0) and Rails (< 5.2.2), this should be
[2021-01-07T15:10:59.217Z] 'config.i18n.fallbacks = [I18n.default_locale]'.
[2021-01-07T15:10:59.217Z] If not, fallbacks will be broken in your app by I18n 1.1.x.
[2021-01-07T15:10:59.217Z] 
[2021-01-07T15:10:59.217Z] If you are starting a NEW Rails application, you can ignore this notice.
[2021-01-07T15:10:59.217Z] 
[2021-01-07T15:10:59.217Z] For more info see:
[2021-01-07T15:10:59.217Z] https://github.com/svenfuchs/i18n/releases/tag/v1.1.0
[2021-01-07T15:10:59.217Z] 
[2021-01-07T15:10:59.217Z] Post-install message from sucker_punch:
[2021-01-07T15:10:59.217Z] Sucker Punch v2.0 introduces backwards-incompatible changes.
[2021-01-07T15:10:59.217Z] Please see https://github.com/brandonhilkert/sucker_punch/blob/master/CHANGES.md#200 for details.
[2021-01-07T15:11:01.136Z] Coverage report generated for RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec to /app/coverage/coverage.xml. 2734 / 3853 LOC (70.96%) covered.
[2021-01-07T15:11:01.749Z] [Cobertura] Publishing Cobertura coverage report...
[2021-01-07T15:11:01.749Z] 
[2021-01-07T15:11:02.071Z] [Cobertura] Publishing Cobertura coverage results...
[2021-01-07T15:11:02.071Z] 
[2021-01-07T15:11:02.079Z] [Cobertura] Cobertura coverage report found.
[2021-01-07T15:11:02.079Z] 
[2021-01-07T15:11:03.666Z] Failed in branch Tests
[2021-01-07T15:11:03.724Z] Stage "Benchmarks" skipped due to earlier failure(s)
[2021-01-07T15:11:03.742Z] Stage "Benchmarks" skipped due to earlier failure(s)
[2021-01-07T15:11:03.777Z] Stage "Benchmarks" skipped due to earlier failure(s)
[2021-01-07T15:11:03.831Z] Stage "Release" skipped due to earlier failure(s)
[2021-01-07T15:11:03.849Z] Stage "Release" skipped due to earlier failure(s)
[2021-01-07T15:11:03.885Z] Stage "Release" skipped due to earlier failure(s)
[2021-01-07T15:11:03.920Z] Stage "Release" skipped due to earlier failure(s)
[2021-01-07T15:11:04.410Z] Running on Jenkins in /var/lib/jenkins/workspace/t-ruby_apm-agent-ruby-mbp_PR-923
[2021-01-07T15:11:04.455Z] [INFO] getVaultSecret: Getting secrets
[2021-01-07T15:11:04.748Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-01-07T15:11:05.393Z] + chmod 755 generate-build-data.sh
[2021-01-07T15:11:05.393Z] + ./generate-build-data.sh https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-ruby/apm-agent-ruby-mbp/PR-923/ https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-ruby/apm-agent-ruby-mbp/PR-923/runs/11 FAILURE 1969886
[2021-01-07T15:11:05.944Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-ruby/apm-agent-ruby-mbp/PR-923/runs/11/steps/?limit=10000 -o steps-info.json
[2021-01-07T15:11:13.969Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-ruby/apm-agent-ruby-mbp/PR-923/runs/11/tests/?status=FAILED -o tests-errors.json

@estolfo
Copy link
Contributor Author

estolfo commented Jan 13, 2021

Replaced by #925

@estolfo estolfo closed this Jan 13, 2021
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.

None yet

2 participants