elastic / beats-tester

E2E tests for the Beats
18 stars 22 forks source link

[notification] standardise slack message and channel #182

Closed v1v closed 4 years ago

v1v commented 4 years ago

What

Let's notify to the beats team using the same slack message template we also use for the beats project

Why

Provide more visibility what's going on to the right team

elasticmachine commented 4 years ago

:broken_heart: 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 #182 opened]` * Start Time: 2020-10-16T11:52:36.765+0000 * Duration: 59 min 38 sec #### Test stats :test_tube: | Test | Results | | ------------ | :-----------------------------: | | Failed | 7 | | Passed | 9090 | | Skipped | 5339 | | Total | 14436 |

Test errors 7

Expand to view the tests failures

* **Name**: `Test Hosts / Matrix - GROUPS = 'centos' / Test / [tester-awslinux2] Packaging tests Filebeat: common : Download package with checksum (linux/darwin) url={{beat_url}}, dest={{workdir}}, validate_certs=False, timeout=60, checksum=sha512:{{beat_url}}.sha512 – /var/lib/jenkins/workspace/Beats_beats-tester-mbp_PR-182/src/roles/common/tasks/download.yml:2` * Age: 1 * Duration: 20.894814 * Error Details: Request failed * **Name**: `Test Hosts / Matrix - GROUPS = 'centos' / Test / [tester-centos6-64] Packaging tests Filebeat: common : Download package with checksum (linux/darwin) url={{beat_url}}, dest={{workdir}}, validate_certs=False, timeout=60, checksum=sha512:{{beat_url}}.sha512 – /var/lib/jenkins/workspace/Beats_beats-tester-mbp_PR-182/src/roles/common/tasks/download.yml:2` * Age: 1 * Duration: 20.895716 * Error Details: Request failed * **Name**: `Test Hosts / Matrix - GROUPS = 'centos' / Test / [tester-centos7-64] Packaging tests Filebeat: common : Download package with checksum (linux/darwin) url={{beat_url}}, dest={{workdir}}, validate_certs=False, timeout=60, checksum=sha512:{{beat_url}}.sha512 – /var/lib/jenkins/workspace/Beats_beats-tester-mbp_PR-182/src/roles/common/tasks/download.yml:2` * Age: 1 * Duration: 20.94854 * Error Details: Request failed * **Name**: `Test Hosts / Matrix - GROUPS = 'centos' / Test / [tester-centos6-32] Packaging tests Filebeat: common : Download package with checksum (linux/darwin) url={{beat_url}}, dest={{workdir}}, validate_certs=False, timeout=60, checksum=sha512:{{beat_url}}.sha512 – /var/lib/jenkins/workspace/Beats_beats-tester-mbp_PR-182/src/roles/common/tasks/download.yml:2` * Age: 1 * Duration: 20.995634 * Error Details: Request failed * **Name**: `Test Hosts / Matrix - GROUPS = 'centos' / Test / [tester-centos8-64] Packaging tests Heartbeat: common : Download package with checksum (linux/darwin) url={{beat_url}}, dest={{workdir}}, validate_certs=False, timeout=60, checksum=sha512:{{beat_url}}.sha512 – /var/lib/jenkins/workspace/Beats_beats-tester-mbp_PR-182/src/roles/common/tasks/download.yml:2` * Age: 1 * Duration: 1.556554 * Error Details: The checksum for /root/heartbeat-8.0.0-SNAPSHOT-x86_64.rpm did not match 0c3fc20e1ca977b7257a80be56f8985f80c5fdfc9723e23bbe52a6f183b5badf74a299771ea53051b7b2ac0eae81fb66b31431fdc00a4844a8a32ed830a3ab54; it was 136bb9ce6d1dc3dff309bb1d39804f8586f404c5d75e27f55bf08c42eb9c44a2dedb1673720be5228c1c847dc9f9d92c3d87158df41007c5341da8d3bc219af9. * **Name**: `Test Hosts / Matrix - GROUPS = 'centos' / Test / [tester-awslinux] Packaging tests Heartbeat: common : Download package with checksum (linux/darwin) url={{beat_url}}, dest={{workdir}}, validate_certs=False, timeout=60, checksum=sha512:{{beat_url}}.sha512 – /var/lib/jenkins/workspace/Beats_beats-tester-mbp_PR-182/src/roles/common/tasks/download.yml:2` * Age: 1 * Duration: 2.489144 * Error Details: The checksum for /root/heartbeat-8.0.0-SNAPSHOT-x86_64.rpm did not match 0c3fc20e1ca977b7257a80be56f8985f80c5fdfc9723e23bbe52a6f183b5badf74a299771ea53051b7b2ac0eae81fb66b31431fdc00a4844a8a32ed830a3ab54; it was 136bb9ce6d1dc3dff309bb1d39804f8586f404c5d75e27f55bf08c42eb9c44a2dedb1673720be5228c1c847dc9f9d92c3d87158df41007c5341da8d3bc219af9. * **Name**: `Test Hosts / Matrix - GROUPS = 'sles' / Test / [tester-sles12-64] Packaging tests Packetbeat: common : Download package with checksum (linux/darwin) url={{beat_url}}, dest={{workdir}}, validate_certs=False, timeout=60, checksum=sha512:{{beat_url}}.sha512 – /var/lib/jenkins/workspace/Beats_beats-tester-mbp_PR-182/src/roles/common/tasks/download.yml:2` * Age: 1 * Duration: 2.619489 * Error Details: The checksum for /tmp/packetbeat-oss-8.0.0-SNAPSHOT-linux-x86_64.tar.gz did not match cb642b132d7d2019676bdfc4b655b67dd95b49718986012a39d79f9eca314e98259296b122bca0be224313968a56e9c522eeba3f1bde9edce4ae9112bbf8c81d; it was 0d4dd5aee3810dc3b193342c1036112c20a2c4cba9d7941131ab3e2cc6c866a20af9e8f12b22242c0d0c1a8b9b4a27e106167386a1fefe0358adce10d92a91cf.

Steps errors 6

Expand to view the steps failures

* **Name**: `Check out from version control` * Description: java.nio.channels.ClosedChannelException * Duration: 5 min 55 sec * Start Time: 2020-10-16T11:54:22.024+0000 * [log](https://beats-ci.elastic.co//blue/rest/organizations/jenkins/pipelines/Beats/pipelines/beats-tester-mbp/pipelines/PR-182/runs/1/steps/11/log) * **Name**: `make batch` * Description: * Duration: 9 min 7 sec * Start Time: 2020-10-16T12:00:24.318+0000 * [log](https://beats-ci.elastic.co//blue/rest/organizations/jenkins/pipelines/Beats/pipelines/beats-tester-mbp/pipelines/PR-182/runs/1/steps/143/log) * **Name**: `Recursively delete the current directory from the workspace` * Description: script returned exit code 2 * Duration: 0 min 0 sec * Start Time: 2020-10-16T12:09:57.976+0000 * [log](https://beats-ci.elastic.co//blue/rest/organizations/jenkins/pipelines/Beats/pipelines/beats-tester-mbp/pipelines/PR-182/runs/1/steps/156/log) * **Name**: `make batch` * Description: * Duration: 9 min 20 sec * Start Time: 2020-10-16T12:10:16.927+0000 * [log](https://beats-ci.elastic.co//blue/rest/organizations/jenkins/pipelines/Beats/pipelines/beats-tester-mbp/pipelines/PR-182/runs/1/steps/184/log) * **Name**: `Recursively delete the current directory from the workspace` * Description: script returned exit code 2 * Duration: 0 min 1 sec * Start Time: 2020-10-16T12:19:49.128+0000 * [log](https://beats-ci.elastic.co//blue/rest/organizations/jenkins/pipelines/Beats/pipelines/beats-tester-mbp/pipelines/PR-182/runs/1/steps/194/log) * **Name**: `Sleep` * Description: 5 * Duration: 0 min 5 sec * Start Time: 2020-10-16T12:50:40.228+0000 * [log](https://beats-ci.elastic.co//blue/rest/organizations/jenkins/pipelines/Beats/pipelines/beats-tester-mbp/pipelines/PR-182/runs/1/steps/281/log)

Log output

Expand to view the last 100 lines of log output

``` [2020-10-16T12:50:45.248Z] at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93) [2020-10-16T12:50:45.248Z] at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325) [2020-10-16T12:50:45.248Z] at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1213) [2020-10-16T12:50:45.248Z] at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1022) [2020-10-16T12:50:45.248Z] at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:810) [2020-10-16T12:50:45.248Z] at org.jenkinsci.plugins.workflow.cps.CpsScript.invokeMethod(CpsScript.java:114) [2020-10-16T12:50:45.248Z] at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:48) [2020-10-16T12:50:45.248Z] at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48) [2020-10-16T12:50:45.248Z] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113) [2020-10-16T12:50:45.248Z] at com.cloudbees.groovy.cps.sandbox.DefaultInvoker.methodCall(DefaultInvoker.java:20) [2020-10-16T12:50:45.248Z] at getVaultSecret.getVaultToken(getVaultSecret.groovy:76) [2020-10-16T12:50:45.248Z] at getVaultSecret.readSecret(getVaultSecret.groovy:52) [2020-10-16T12:50:45.248Z] at retryWithSleep.call(retryWithSleep.groovy:42) [2020-10-16T12:50:45.248Z] at ___cps.transform___(Native Method) [2020-10-16T12:50:45.248Z] at com.cloudbees.groovy.cps.impl.ContinuationGroup.methodCall(ContinuationGroup.java:86) [2020-10-16T12:50:45.248Z] at com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.dispatchOrArg(FunctionCallBlock.java:113) [2020-10-16T12:50:45.248Z] at com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.fixArg(FunctionCallBlock.java:83) [2020-10-16T12:50:45.249Z] at sun.reflect.GeneratedMethodAccessor541.invoke(Unknown Source) [2020-10-16T12:50:45.249Z] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2020-10-16T12:50:45.249Z] at java.lang.reflect.Method.invoke(Method.java:498) [2020-10-16T12:50:45.249Z] at com.cloudbees.groovy.cps.impl.ContinuationPtr$ContinuationImpl.receive(ContinuationPtr.java:72) [2020-10-16T12:50:45.249Z] at com.cloudbees.groovy.cps.impl.CollectionLiteralBlock$ContinuationImpl.dispatch(CollectionLiteralBlock.java:55) [2020-10-16T12:50:45.249Z] at com.cloudbees.groovy.cps.impl.CollectionLiteralBlock$ContinuationImpl.item(CollectionLiteralBlock.java:45) [2020-10-16T12:50:45.249Z] at sun.reflect.GeneratedMethodAccessor544.invoke(Unknown Source) [2020-10-16T12:50:45.249Z] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2020-10-16T12:50:45.249Z] at java.lang.reflect.Method.invoke(Method.java:498) [2020-10-16T12:50:45.249Z] at com.cloudbees.groovy.cps.impl.ContinuationPtr$ContinuationImpl.receive(ContinuationPtr.java:72) [2020-10-16T12:50:45.249Z] at com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.dispatchOrArg(FunctionCallBlock.java:107) [2020-10-16T12:50:45.249Z] at com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.fixArg(FunctionCallBlock.java:83) [2020-10-16T12:50:45.249Z] at sun.reflect.GeneratedMethodAccessor541.invoke(Unknown Source) [2020-10-16T12:50:45.249Z] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2020-10-16T12:50:45.249Z] at java.lang.reflect.Method.invoke(Method.java:498) [2020-10-16T12:50:45.249Z] at com.cloudbees.groovy.cps.impl.ContinuationPtr$ContinuationImpl.receive(ContinuationPtr.java:72) [2020-10-16T12:50:45.249Z] at com.cloudbees.groovy.cps.impl.ContinuationGroup.methodCall(ContinuationGroup.java:89) [2020-10-16T12:50:45.249Z] at com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.dispatchOrArg(FunctionCallBlock.java:113) [2020-10-16T12:50:45.249Z] at com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.fixArg(FunctionCallBlock.java:83) [2020-10-16T12:50:45.249Z] at sun.reflect.GeneratedMethodAccessor541.invoke(Unknown Source) [2020-10-16T12:50:45.249Z] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2020-10-16T12:50:45.249Z] at java.lang.reflect.Method.invoke(Method.java:498) [2020-10-16T12:50:45.249Z] at com.cloudbees.groovy.cps.impl.ContinuationPtr$ContinuationImpl.receive(ContinuationPtr.java:72) [2020-10-16T12:50:45.249Z] at com.cloudbees.groovy.cps.impl.ConstantBlock.eval(ConstantBlock.java:21) [2020-10-16T12:50:45.249Z] at com.cloudbees.groovy.cps.Next.step(Next.java:83) [2020-10-16T12:50:45.249Z] at com.cloudbees.groovy.cps.Continuable$1.call(Continuable.java:174) [2020-10-16T12:50:45.249Z] at com.cloudbees.groovy.cps.Continuable$1.call(Continuable.java:163) [2020-10-16T12:50:45.249Z] at org.codehaus.groovy.runtime.GroovyCategorySupport$ThreadCategoryInfo.use(GroovyCategorySupport.java:129) [2020-10-16T12:50:45.249Z] at org.codehaus.groovy.runtime.GroovyCategorySupport.use(GroovyCategorySupport.java:268) [2020-10-16T12:50:45.249Z] at com.cloudbees.groovy.cps.Continuable.run0(Continuable.java:163) [2020-10-16T12:50:45.249Z] at org.jenkinsci.plugins.workflow.cps.SandboxContinuable.access$001(SandboxContinuable.java:18) [2020-10-16T12:50:45.249Z] at org.jenkinsci.plugins.workflow.cps.SandboxContinuable.run0(SandboxContinuable.java:51) [2020-10-16T12:50:45.249Z] at org.jenkinsci.plugins.workflow.cps.CpsThread.runNextChunk(CpsThread.java:185) [2020-10-16T12:50:45.249Z] at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.run(CpsThreadGroup.java:400) [2020-10-16T12:50:45.249Z] at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.access$400(CpsThreadGroup.java:96) [2020-10-16T12:50:45.249Z] at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:312) [2020-10-16T12:50:45.249Z] at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:276) [2020-10-16T12:50:45.249Z] at org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$2.call(CpsVmExecutorService.java:67) [2020-10-16T12:50:45.249Z] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [2020-10-16T12:50:45.249Z] at hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:136) [2020-10-16T12:50:45.249Z] at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28) [2020-10-16T12:50:45.249Z] at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:59) [2020-10-16T12:50:45.249Z] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [2020-10-16T12:50:45.249Z] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [2020-10-16T12:50:45.249Z] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [2020-10-16T12:50:45.249Z] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [2020-10-16T12:50:45.249Z] at java.lang.Thread.run(Thread.java:748) [2020-10-16T12:50:45.249Z] Retrying [2020-10-16T12:50:46.143Z] + chmod 755 generate-build-data.sh [2020-10-16T12:50:46.143Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-tester-mbp/PR-182/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-tester-mbp/PR-182/runs/1 FAILURE 3489106 [2020-10-16T12:50:46.143Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-tester-mbp/PR-182/runs/1/steps/?limit=10000 -o steps-info.json [2020-10-16T12:50:48.005Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-tester-mbp/PR-182/runs/1/tests/?status=FAILED -o tests-errors.json [2020-10-16T12:50:50.498Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-tester-mbp/PR-182/runs/1/log/ -o pipeline-log.txt [2020-10-16T12:50:50.499Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-tester-mbp/PR-182// -o job-info.json [2020-10-16T12:50:50.749Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-tester-mbp/PR-182/runs/1/changeSet/ -o changeSet-info.json [2020-10-16T12:50:51.000Z] INFO: fetchAndPrepareArtifactsInfo (see artifacts-info.json) [2020-10-16T12:50:51.000Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-tester-mbp/PR-182/runs/1/artifacts/ -o artifacts-info.json [2020-10-16T12:50:51.250Z] INFO: fetchAndPrepareTestsInfo (see tests-info.json) [2020-10-16T12:50:51.250Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-tester-mbp/PR-182/runs/1/tests/?limit=10000000 -o tests-info.json [2020-10-16T12:51:06.012Z] INFO: fetchAndPrepareTestSummaryReport (see tests-summary.json) [2020-10-16T12:51:06.012Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-tester-mbp/PR-182/runs/1/blueTestSummary/ -o tests-summary.json [2020-10-16T12:51:06.012Z] INFO: fetchAndPrepareBuildInfo (see build-info.json) [2020-10-16T12:51:06.012Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-tester-mbp/PR-182/runs/1/ -o build-info.json [2020-10-16T12:51:06.035Z] Archiving artifacts [2020-10-16T12:51:06.091Z] Timeout set to expire in 5 min 0 sec [2020-10-16T12:51:06.590Z] Unable to find a build for artifact copy from: Beats/beats-tester-mbp/PR-182 [2020-10-16T12:51:06.706Z] Masking supported pattern matches of $GITHUB_TOKEN [2020-10-16T12:51:07.054Z] [WARN] githubApiCall: The REST API call https://api.github.com/repos/elastic/beats-tester/issues/182/comments return 0 elements [2020-10-16T12:51:08.304Z] Archiving artifacts [2020-10-16T12:51:08.334Z] Archiving artifacts [2020-10-16T12:51:08.561Z] Archiving artifacts [2020-10-16T12:51:08.805Z] Timeout set to expire in 5 min 0 sec [2020-10-16T12:51:08.945Z] [INFO] getVaultSecret: Getting secrets [2020-10-16T12:51:09.007Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID [2020-10-16T12:51:10.408Z] [INFO] sendDataToElasticsearch: sending data... [2020-10-16T12:51:13.887Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats-tester-mbp_PR-182 [2020-10-16T12:51:13.961Z] [INFO] getVaultSecret: Getting secrets [2020-10-16T12:51:14.027Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID [2020-10-16T12:51:14.813Z] + chmod 755 generate-build-data.sh [2020-10-16T12:51:14.813Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-tester-mbp/PR-182/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-tester-mbp/PR-182/runs/1 FAILURE 3517775 [2020-10-16T12:51:14.813Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-tester-mbp/PR-182/runs/1/steps/?limit=10000 -o steps-info.json [2020-10-16T12:51:16.156Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-tester-mbp/PR-182/runs/1/tests/?status=FAILED -o tests-errors.json [2020-10-16T12:51:16.156Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-tester-mbp/PR-182/runs/1/log/ -o pipeline-log.txt ```