Skip to content

ci: use the releaseNotification step#963

Merged
v1v merged 2 commits intoelastic:masterfrom
v1v:feature/reuse-step-notification
Feb 16, 2021
Merged

ci: use the releaseNotification step#963
v1v merged 2 commits intoelastic:masterfrom
v1v:feature/reuse-step-notification

Conversation

@v1v
Copy link
Copy Markdown
Member

@v1v v1v commented Feb 11, 2021

What

Enable email/slack communications when a tag release has been created

Issues

Requires elastic/apm-pipeline-library#976

@ghost
Copy link
Copy Markdown

ghost commented Feb 11, 2021

💔 Tests 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 #963 updated

  • Start Time: 2021-02-16T09:19:59.116+0000

  • Duration: 21 min 22 sec

  • Commit: 62b2ff5

Test stats 🧪

Test Results
Failed 8
Passed 51242
Skipped 93
Total 51343

Trends 🧪

Image of Build Times

Image of Tests

Test errors 8

Expand to view the tests failures

Tests / Tests / Ruby:docker.elastic.co/observability-ci/jruby:9.2-13-jdk#rails-6.1 / Rails integration metrics when metrics are collected sends them – when metrics are collected
    Expand to view the error details

     failed Rails integration metrics when metrics are collected sends them 
    

    Expand to view the stacktrace

     
            execution expired
    ["./spec/support/mock_intake.rb:158:in `block in wait_for'", "./spec/support/mock_intake.rb:157:in `block in wait_for'", "./spec/support/mock_intake.rb:156:in `wait_for'", "./spec/integration/rails_spec.rb:375:in `block in <main>'", "/usr/local/bundle/jruby/2.5.0/gems/webmock-3.11.2/lib/webmock/rspec.rb:37:in `block in <main>'"]
           
    

Tests / Tests / Ruby:docker.elastic.co/observability-ci/jruby:9.2-8-jdk#rails-6.0 / Rails integration transactions when there is user information includes the info in transactions – when there is user information
    Expand to view the error details

     failed Rails integration transactions when there is user information includes the info in transactions 
    

    Expand to view the stacktrace

     
            execution expired
    ["./spec/support/mock_intake.rb:158:in `block in wait_for'", "./spec/support/mock_intake.rb:157:in `block in wait_for'", "./spec/support/mock_intake.rb:156:in `wait_for'", "./spec/integration/rails_spec.rb:239:in `block in <main>'", "/usr/local/bundle/jruby/2.5.0/gems/webmock-3.11.2/lib/webmock/rspec.rb:37:in `block in <main>'"]
           
    

Tests / Tests / Ruby:jruby:9.2#rails-6.1 / GraphQL with multiple queries renames and concattenates – with multiple queries
    Expand to view the error details

     failed GraphQL with multiple queries renames and concattenates 
    

    Expand to view the stacktrace

     
            
    expected #<Integer:401> => 200
         got #<Integer:1001> => 500
    
    Compared using equal?, which compares object identity,
    but expected and actual are not the same object. Use
    `expect(actual).to eq(expected)` if you don't care about
    object identity in this example.
    
    
    ["./spec/integration/graphql_spec.rb:222:in `block in <main>'", "/usr/local/bundle/gems/webmock-3.11.2/lib/webmock/rspec.rb:37:in `block in <main>'"]
           
    

Tests / Tests / Ruby:docker.elastic.co/observability-ci/jruby:9.2-11-jdk#rails-6.1 / GraphQL with multiple queries renames and concattenates – with multiple queries
    Expand to view the error details

     failed GraphQL with multiple queries renames and concattenates 
    

    Expand to view the stacktrace

     
            
    expected #<Integer:401> => 200
         got #<Integer:1001> => 500
    
    Compared using equal?, which compares object identity,
    but expected and actual are not the same object. Use
    `expect(actual).to eq(expected)` if you don't care about
    object identity in this example.
    
    
    ["./spec/integration/graphql_spec.rb:222:in `block in <main>'", "/usr/local/bundle/jruby/2.5.0/gems/webmock-3.11.2/lib/webmock/rspec.rb:37:in `block in <main>'"]
           
    

Tests / Tests / Ruby:docker.elastic.co/observability-ci/jruby:9.2-8-jdk#rails-6.1 / GraphQL with multiple queries renames and concattenates – with multiple queries
    Expand to view the error details

     failed GraphQL with multiple queries renames and concattenates 
    

    Expand to view the stacktrace

     
            
    expected #<Integer:401> => 200
         got #<Integer:1001> => 500
    
    Compared using equal?, which compares object identity,
    but expected and actual are not the same object. Use
    `expect(actual).to eq(expected)` if you don't care about
    object identity in this example.
    
    
    ["./spec/integration/graphql_spec.rb:222:in `block in <main>'", "/usr/local/bundle/jruby/2.5.0/gems/webmock-3.11.2/lib/webmock/rspec.rb:37:in `block in <main>'"]
           
    

Tests / Tests / Ruby:jruby:9.2#rails-6.1 / GraphQL with too many queries to list renames and concattenates – with too many queries to list
    Expand to view the error details

     failed GraphQL with too many queries to list renames and concattenates 
    

    Expand to view the stacktrace

     
            
    expected #<Integer:401> => 200
         got #<Integer:1001> => 500
    
    Compared using equal?, which compares object identity,
    but expected and actual are not the same object. Use
    `expect(actual).to eq(expected)` if you don't care about
    object identity in this example.
    
    
    ["./spec/integration/graphql_spec.rb:242:in `block in <main>'", "/usr/local/bundle/gems/webmock-3.11.2/lib/webmock/rspec.rb:37:in `block in <main>'"]
           
    

Tests / Tests / Ruby:docker.elastic.co/observability-ci/jruby:9.2-11-jdk#rails-6.1 / GraphQL with too many queries to list renames and concattenates – with too many queries to list
    Expand to view the error details

     failed GraphQL with too many queries to list renames and concattenates 
    

    Expand to view the stacktrace

     
            
    expected #<Integer:401> => 200
         got #<Integer:1001> => 500
    
    Compared using equal?, which compares object identity,
    but expected and actual are not the same object. Use
    `expect(actual).to eq(expected)` if you don't care about
    object identity in this example.
    
    
    ["./spec/integration/graphql_spec.rb:242:in `block in <main>'", "/usr/local/bundle/jruby/2.5.0/gems/webmock-3.11.2/lib/webmock/rspec.rb:37:in `block in <main>'"]
           
    

Tests / Tests / Ruby:docker.elastic.co/observability-ci/jruby:9.2-8-jdk#rails-6.1 / GraphQL with too many queries to list renames and concattenates – with too many queries to list
    Expand to view the error details

     failed GraphQL with too many queries to list renames and concattenates 
    

    Expand to view the stacktrace

     
            
    expected #<Integer:401> => 200
         got #<Integer:1001> => 500
    
    Compared using equal?, which compares object identity,
    but expected and actual are not the same object. Use
    `expect(actual).to eq(expected)` if you don't care about
    object identity in this example.
    
    
    ["./spec/integration/graphql_spec.rb:242:in `block in <main>'", "/usr/local/bundle/jruby/2.5.0/gems/webmock-3.11.2/lib/webmock/rspec.rb:37:in `block in <main>'"]
           
    

Steps errors 14

Expand to view the steps failures

Show only the first 10 steps failures

Shell Script
  • Took 7 min 37 sec . View more details on here
  • Description: ./spec/scripts/spec.sh docker.elastic.co/observability-ci/jruby:9.2-11-jdk rails-6.1
Shell Script
  • Took 6 min 18 sec . View more details on here
  • Description: ./spec/scripts/spec.sh docker.elastic.co/observability-ci/jruby:9.2-11-jdk rails-6.1
Shell Script
  • Took 6 min 46 sec . View more details on here
  • Description: ./spec/scripts/spec.sh docker.elastic.co/observability-ci/jruby:9.2-11-jdk rails-6.0
Shell Script
  • Took 6 min 44 sec . View more details on here
  • Description: ./spec/scripts/spec.sh docker.elastic.co/observability-ci/jruby:9.2-11-jdk rails-5.2
Shell Script
  • Took 2 min 28 sec . View more details on here
  • Description: ./spec/scripts/spec.sh docker.elastic.co/observability-ci/jruby:9.2-11-jdk sinatra-1.4
Shell Script
  • Took 7 min 47 sec . View more details on here
  • Description: ./spec/scripts/spec.sh docker.elastic.co/observability-ci/jruby:9.2-8-jdk rails-6.1
Shell Script
  • Took 7 min 36 sec . View more details on here
  • Description: ./spec/scripts/spec.sh docker.elastic.co/observability-ci/jruby:9.2-8-jdk rails-6.1
Shell Script
  • Took 3 min 43 sec . View more details on here
  • Description: ./spec/scripts/spec.sh docker.elastic.co/observability-ci/jruby:9.2-8-jdk rails-6.0
Shell Script
  • Took 5 min 10 sec . View more details on here
  • Description: ./spec/scripts/spec.sh docker.elastic.co/observability-ci/jruby:9.2-8-jdk rails-6.0
Error signal
  • Took 0 min 0 sec . View more details on here
  • Description: Ruby:jruby:9.2#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-02-16T09:41:09.678Z] Fetching activesupport 6.1.2.1
[2021-02-16T09:41:09.678Z] Installing activesupport 6.1.2.1
[2021-02-16T09:41:09.940Z] Fetching webmock 3.11.2
[2021-02-16T09:41:09.940Z] Installing webmock 3.11.2
[2021-02-16T09:41:10.513Z] Fetching domain_name 0.5.20190701
[2021-02-16T09:41:10.513Z] Installing domain_name 0.5.20190701
[2021-02-16T09:41:10.775Z] Fetching http-parser 1.2.3
[2021-02-16T09:41:10.775Z] Fetching elasticsearch-transport 7.11.1
[2021-02-16T09:41:10.775Z] Installing http-parser 1.2.3 with native extensions
[2021-02-16T09:41:10.775Z] Installing elasticsearch-transport 7.11.1
[2021-02-16T09:41:11.720Z] Fetching grpc 1.35.0 (x86_64-linux)
[2021-02-16T09:41:11.720Z] Fetching sinatra 2.1.0
[2021-02-16T09:41:11.720Z] Fetching rspec-its 1.3.0
[2021-02-16T09:41:11.720Z] Installing rspec-its 1.3.0
[2021-02-16T09:41:11.720Z] Fetching rspec 3.10.0
[2021-02-16T09:41:11.982Z] Installing sinatra 2.1.0
[2021-02-16T09:41:11.982Z] Installing rspec 3.10.0
[2021-02-16T09:41:11.982Z] Fetching sneakers 2.12.0
[2021-02-16T09:41:12.244Z] Fetching simplecov-cobertura 1.4.2
[2021-02-16T09:41:12.244Z] Installing sneakers 2.12.0
[2021-02-16T09:41:12.244Z] Installing simplecov-cobertura 1.4.2
[2021-02-16T09:41:12.244Z] Fetching aws-sdk-dynamodb 1.59.0
[2021-02-16T09:41:12.244Z] Fetching aws-sdk-sqs 1.36.0
[2021-02-16T09:41:12.244Z] Installing aws-sdk-dynamodb 1.59.0
[2021-02-16T09:41:12.244Z] Installing aws-sdk-sqs 1.36.0
[2021-02-16T09:41:12.244Z] Fetching shoryuken 5.1.1
[2021-02-16T09:41:12.506Z] Fetching protobuf-cucumber 3.10.8
[2021-02-16T09:41:12.506Z] Installing shoryuken 5.1.1
[2021-02-16T09:41:12.506Z] Installing protobuf-cucumber 3.10.8
[2021-02-16T09:41:12.767Z] Fetching http-cookie 1.0.3
[2021-02-16T09:41:12.767Z] Installing http-cookie 1.0.3
[2021-02-16T09:41:13.028Z] Fetching elasticsearch 7.11.1
[2021-02-16T09:41:13.028Z] Installing elasticsearch 7.11.1
[2021-02-16T09:41:13.028Z] Fetching yarjuf 2.0.0
[2021-02-16T09:41:13.028Z] Fetching resque 2.0.0
[2021-02-16T09:41:13.028Z] Installing yarjuf 2.0.0
[2021-02-16T09:41:13.028Z] Installing resque 2.0.0
[2021-02-16T09:41:13.028Z] Fetching http 4.4.1
[2021-02-16T09:41:13.290Z] Installing http 4.4.1
[2021-02-16T09:41:13.290Z] Fetching cucumber-messages 13.2.1
[2021-02-16T09:41:13.290Z] Installing cucumber-messages 13.2.1
[2021-02-16T09:41:13.290Z] Fetching cucumber-gherkin 15.0.2
[2021-02-16T09:41:13.290Z] Installing cucumber-gherkin 15.0.2
[2021-02-16T09:41:13.290Z] Fetching cucumber-create-meta 2.0.4
[2021-02-16T09:41:13.290Z] Fetching cucumber-html-formatter 9.0.0
[2021-02-16T09:41:13.290Z] Installing cucumber-create-meta 2.0.4
[2021-02-16T09:41:13.553Z] Using elastic-apm 3.13.0 from source at `.`
[2021-02-16T09:41:13.553Z] Fetching cucumber-core 8.0.1
[2021-02-16T09:41:13.553Z] Installing cucumber-core 8.0.1
[2021-02-16T09:41:13.553Z] Installing cucumber-html-formatter 9.0.0
[2021-02-16T09:41:13.553Z] Fetching cucumber-wire 4.0.1
[2021-02-16T09:41:13.814Z] Installing cucumber-wire 4.0.1
[2021-02-16T09:41:13.814Z] Fetching cucumber 5.3.0
[2021-02-16T09:41:13.814Z] Installing grpc 1.35.0 (x86_64-linux)
[2021-02-16T09:41:14.076Z] Installing cucumber 5.3.0
[2021-02-16T09:41:15.019Z] Bundle complete! 33 Gemfile dependencies, 104 gems now installed.
[2021-02-16T09:41:15.019Z] Bundled gems are installed into `./vendor/2.7`
[2021-02-16T09:41:15.019Z] Post-install message from i18n:
[2021-02-16T09:41:15.019Z] 
[2021-02-16T09:41:15.019Z] HEADS UP! i18n 1.1 changed fallbacks to exclude default locale.
[2021-02-16T09:41:15.019Z] But that may break your application.
[2021-02-16T09:41:15.019Z] 
[2021-02-16T09:41:15.019Z] If you are upgrading your Rails application from an older version of Rails:
[2021-02-16T09:41:15.019Z] 
[2021-02-16T09:41:15.019Z] Please check your Rails app for 'config.i18n.fallbacks = true'.
[2021-02-16T09:41:15.019Z] If you're using I18n (>= 1.1.0) and Rails (< 5.2.2), this should be
[2021-02-16T09:41:15.019Z] 'config.i18n.fallbacks = [I18n.default_locale]'.
[2021-02-16T09:41:15.019Z] If not, fallbacks will be broken in your app by I18n 1.1.x.
[2021-02-16T09:41:15.019Z] 
[2021-02-16T09:41:15.019Z] If you are starting a NEW Rails application, you can ignore this notice.
[2021-02-16T09:41:15.019Z] 
[2021-02-16T09:41:15.019Z] For more info see:
[2021-02-16T09:41:15.019Z] https://github.com/svenfuchs/i18n/releases/tag/v1.1.0
[2021-02-16T09:41:15.019Z] 
[2021-02-16T09:41:15.019Z] Post-install message from sucker_punch:
[2021-02-16T09:41:15.019Z] Sucker Punch v2.0 introduces backwards-incompatible changes.
[2021-02-16T09:41:15.019Z] Please see https://github.com/brandonhilkert/sucker_punch/blob/master/CHANGES.md#200 for details.
[2021-02-16T09:41:16.935Z] 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 to /app/coverage/coverage.xml. 2699 / 3864 LOC (69.85%) covered.
[2021-02-16T09:41:17.529Z] [Cobertura] Publishing Cobertura coverage report...
[2021-02-16T09:41:17.529Z] 
[2021-02-16T09:41:17.795Z] [Cobertura] Publishing Cobertura coverage results...
[2021-02-16T09:41:17.795Z] 
[2021-02-16T09:41:17.802Z] [Cobertura] Cobertura coverage report found.
[2021-02-16T09:41:17.802Z] 
[2021-02-16T09:41:19.842Z] Failed in branch Tests
[2021-02-16T09:41:19.892Z] Stage "Benchmarks" skipped due to earlier failure(s)
[2021-02-16T09:41:19.907Z] Stage "Benchmarks" skipped due to earlier failure(s)
[2021-02-16T09:41:19.939Z] Stage "Benchmarks" skipped due to earlier failure(s)
[2021-02-16T09:41:19.987Z] Stage "Release" skipped due to earlier failure(s)
[2021-02-16T09:41:20.002Z] Stage "Release" skipped due to earlier failure(s)
[2021-02-16T09:41:20.034Z] Stage "Release" skipped due to earlier failure(s)
[2021-02-16T09:41:20.065Z] Stage "Release" skipped due to earlier failure(s)
[2021-02-16T09:41:20.097Z] Stage "Release" skipped due to earlier failure(s)
[2021-02-16T09:41:20.415Z] Running on Jenkins in /var/lib/jenkins/workspace/t-ruby_apm-agent-ruby-mbp_PR-963
[2021-02-16T09:41:20.455Z] [INFO] getVaultSecret: Getting secrets
[2021-02-16T09:41:20.609Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-02-16T09:41:21.261Z] + chmod 755 generate-build-data.sh
[2021-02-16T09:41:21.261Z] + ./generate-build-data.sh https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-ruby/apm-agent-ruby-mbp/PR-963/ https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-ruby/apm-agent-ruby-mbp/PR-963/runs/2 FAILURE 1281885
[2021-02-16T09:41:21.812Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-ruby/apm-agent-ruby-mbp/PR-963/runs/2/steps/?limit=10000 -o steps-info.json
[2021-02-16T09:41:22.723Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-ruby/apm-agent-ruby-mbp/PR-963/runs/2/tests/?status=FAILED -o tests-errors.json

@v1v v1v self-assigned this Feb 15, 2021
@v1v v1v requested review from a team February 15, 2021 16:09
@v1v v1v marked this pull request as ready for review February 15, 2021 16:09
Copy link
Copy Markdown
Contributor

@mikker mikker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Taking into account that I know nothing about Jenkins, this LGTM 👍

Comment thread .ci/Jenkinsfile Outdated
Co-authored-by: cachedout <mike.place@elastic.co>
@v1v v1v merged commit 7e82834 into elastic:master Feb 16, 2021
@v1v v1v deleted the feature/reuse-step-notification branch February 16, 2021 12:37
mikker pushed a commit that referenced this pull request Feb 18, 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.

4 participants