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

ci: configure retries on tests #20891

Merged
merged 3 commits into from
Sep 7, 2020

Conversation

kuisathaverat
Copy link
Contributor

What does this PR do?

it adds support for retry test with pyTests. (https://github.com/pytest-dev/pytest-rerunfailures)

Why is it important?

some test fails occasionally but there is not really an error, because of that retries the failed test 3 times with a little sleep of 15 seconds will stabilize the test results on the integration test.

Checklist

  • [ ] My code follows the style guidelines of this project
  • [ ] I have commented my code, particularly in hard-to-understand areas
  • [ ] I have made corresponding changes to the documentation
  • [ ] I have made corresponding change to the default configuration files
  • [ ] I have added tests that prove my fix is effective or that my feature works
  • [ ] I have added an entry in CHANGELOG.next.asciidoc or CHANGELOG-developer.next.asciidoc.

@kuisathaverat kuisathaverat added automation ci Team:Automation Label for the Observability productivity team labels Sep 1, 2020
@kuisathaverat kuisathaverat self-assigned this Sep 1, 2020
@botelastic botelastic bot added needs_team Indicates that the issue/PR needs a Team:* label and removed needs_team Indicates that the issue/PR needs a Team:* label labels Sep 1, 2020
Jenkinsfile Outdated Show resolved Hide resolved
Co-authored-by: cachedout <mike.place@elastic.co>
@elasticmachine
Copy link
Collaborator

elasticmachine commented Sep 1, 2020

💔 Tests Failed

Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: [Pull request #20891 updated]

  • Start Time: 2020-09-01T10:38:04.494+0000

  • Duration: 73 min 33 sec

Test stats 🧪

Test Results
Failed 3
Passed 19627
Skipped 1824
Total 21454

Test errors

Expand to view the tests failures

  • Name: Build and Test / Auditbeat oss Mac OS X / TestEventReader – file_integrity

    • Age: 1
    • Duration: 1.41
    • Error Details: Failed
  • Name: Build and Test / Auditbeat oss Mac OS X / TestEventReader/created – file_integrity

    • Age: 1
    • Duration: 1.14
    • Error Details: Failed
  • Name: Build and Test / Auditbeat oss Mac OS X / TestRaces – file_integrity

    • Age: 1
    • Duration: 2.47
    • Error Details: Failed

Steps errors

Expand to view the steps failures

  • Name: Install Go 1.14.7

    • Description: .ci/scripts/install-go.sh

    • Duration: 1 min 57 sec

    • Start Time: 2020-09-01T11:02:04.904+0000

    • log

  • Name: Mage build unitTest

    • Description: mage build unitTest

    • Duration: 3 min 20 sec

    • Start Time: 2020-09-01T11:02:59.035+0000

    • log

  • Name: Recursively delete the current directory from the workspace

    • Description: script returned exit code 1

    • Duration: 1 min 52 sec

    • Start Time: 2020-09-01T11:06:29.313+0000

    • log

Log output

Expand to view the last 100 lines of log output

[2020-09-01T11:50:08.695Z] + rm source.tgz
[2020-09-01T11:50:08.707Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats
[2020-09-01T11:50:08.730Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Lint
[2020-09-01T11:50:08.819Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Elastic-Agent-Mac-OS-X
[2020-09-01T11:50:08.903Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Elastic-Agent-x-pack
[2020-09-01T11:50:09.101Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Winlogbeat-oss
[2020-09-01T11:50:09.183Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Filebeat-x-pack-Mac-OS-X
[2020-09-01T11:50:09.265Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Auditbeat-crosscompile
[2020-09-01T11:50:09.348Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/dockerlogbeat
[2020-09-01T11:50:09.428Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Journalbeat
[2020-09-01T11:50:09.510Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Heartbeat-Mac-OS-X
[2020-09-01T11:50:09.594Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Generators-Metricbeat-Linux
[2020-09-01T11:50:09.677Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Functionbeat-x-pack
[2020-09-01T11:50:09.760Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Auditbeat-oss-Mac-OS-X
[2020-09-01T11:50:09.846Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Filebeat-Mac-OS-X
[2020-09-01T11:50:09.931Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Metricbeat-Mac-OS-X
[2020-09-01T11:50:10.020Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Packetbeat-Linux
[2020-09-01T11:50:10.102Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Metricbeat-OSS-Unit-tests
[2020-09-01T11:50:10.185Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Elastic-Agent-x-pack-Windows
[2020-09-01T11:50:10.267Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Metricbeat-x-pack-Mac-OS-X
[2020-09-01T11:50:10.353Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Generators-Metricbeat-Mac-OS-X
[2020-09-01T11:50:10.442Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Auditbeat-x-pack
[2020-09-01T11:50:10.528Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Auditbeat-oss-Windows
[2020-09-01T11:50:10.610Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Auditbeat-x-pack-Windows
[2020-09-01T11:50:10.697Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Heartbeat-oss
[2020-09-01T11:50:10.781Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Winlogbeat-Windows-x-pack
[2020-09-01T11:50:10.874Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Heartbeat-Windows
[2020-09-01T11:50:10.966Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Auditbeat-oss-Linux
[2020-09-01T11:50:11.049Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Winlogbeat-Windows
[2020-09-01T11:50:11.134Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Generators-Beat-Mac-OS-X
[2020-09-01T11:50:11.216Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Metricbeat-crosscompile
[2020-09-01T11:50:11.296Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Filebeat-x-pack-Windows
[2020-09-01T11:50:11.377Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Packetbeat-Mac-OS-X
[2020-09-01T11:50:11.460Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Libbeat-x-pack
[2020-09-01T11:50:11.543Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Functionbeat-Windows
[2020-09-01T11:50:11.623Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Filebeat-Windows
[2020-09-01T11:50:11.704Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Packetbeat-Windows
[2020-09-01T11:50:11.785Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Metricbeat-x-pack-Windows
[2020-09-01T11:50:11.867Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Metricbeat-Windows
[2020-09-01T11:50:11.952Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Functionbeat-Mac-OS-X-x-pack
[2020-09-01T11:50:12.041Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Auditbeat-x-pack-Mac-OS-X
[2020-09-01T11:50:12.125Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Generators-Beat-Linux
[2020-09-01T11:50:12.206Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Filebeat-x-pack
[2020-09-01T11:50:12.288Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Filebeat-oss
[2020-09-01T11:50:12.372Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Libbeat-oss
[2020-09-01T11:50:12.460Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Metricbeat-OSS-Go-Integration-tests
[2020-09-01T11:50:12.543Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Libbeat-crosscompile
[2020-09-01T11:50:12.629Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Metricbeat-OSS-Python-Integration-tests
[2020-09-01T11:50:12.710Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Libbeat-stress-tests
[2020-09-01T11:50:12.790Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Metricbeat-x-pack
[2020-09-01T11:50:13.196Z] + cat
[2020-09-01T11:50:13.196Z] + /usr/local/bin/runbld ./runbld-script --job-name elastic+beats+pull-request
[2020-09-01T11:50:13.196Z] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[2020-09-01T11:50:19.794Z] runbld>>> runbld started
[2020-09-01T11:50:19.794Z] runbld>>> 1.6.12/f45d832f2ba0aa2722ab4ec1fda8ad140f027f8b
[2020-09-01T11:50:21.177Z] runbld>>> The following profiles matched the job 'elastic+beats+pull-request' in order of occurrence in the config (last value wins).
[2020-09-01T11:50:21.177Z] runbld>>> Matches in the system config:
[2020-09-01T11:50:21.177Z] runbld>>> - Matched ^elastic\+beats
[2020-09-01T11:50:21.177Z] runbld>>> - Matched ^elastic\+beats\+pull-request
[2020-09-01T11:50:22.557Z] runbld>>> Debug logging enabled.
[2020-09-01T11:50:22.557Z] runbld>>> Storing result
[2020-09-01T11:50:22.557Z] runbld>>> Store result: created {:total 2, :successful 2, :failed 0} 1
[2020-09-01T11:50:22.557Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1597739501209/t/20200901115022-C1BC8E58
[2020-09-01T11:50:22.557Z] runbld>>> Adding system facts.
[2020-09-01T11:50:23.498Z] runbld>>> Adding vcs info for the latest commit:  865e6427d90d580d8835678b4db6c18c2279b32f
[2020-09-01T11:50:23.498Z] runbld>>> >>>>>>>>>>>> SCRIPT EXECUTION BEGIN >>>>>>>>>>>>
[2020-09-01T11:50:23.499Z] runbld>>> Adding /usr/lib/jvm/java-8-openjdk-amd64/bin to the path.
[2020-09-01T11:50:23.499Z] Processing JUnit reports with runbld...
[2020-09-01T11:50:23.499Z] + echo 'Processing JUnit reports with runbld...'
[2020-09-01T11:50:24.075Z] runbld>>> <<<<<<<<<<<< SCRIPT EXECUTION END <<<<<<<<<<<<
[2020-09-01T11:50:24.076Z] runbld>>> DURATION: 12ms
[2020-09-01T11:50:24.076Z] runbld>>> STDOUT: 40 bytes
[2020-09-01T11:50:24.076Z] runbld>>> STDERR: 49 bytes
[2020-09-01T11:50:24.076Z] runbld>>> WRAPPED PROCESS: SUCCESS (0)
[2020-09-01T11:50:24.076Z] runbld>>> Searching for build metadata in /var/lib/jenkins/workspace/Beats_beats_PR-20891
[2020-09-01T11:50:25.018Z] runbld>>> Storing build metadata: 
[2020-09-01T11:50:25.018Z] runbld>>> Adding test report.
[2020-09-01T11:50:25.018Z] runbld>>> Searching for junit test output files with the pattern: TEST-.*\.xml$ in: /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats
[2020-09-01T11:50:25.587Z] runbld>>> Found 139 test output files
[2020-09-01T11:50:28.128Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-iis.xml
[2020-09-01T11:50:28.129Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-openmetrics.xml
[2020-09-01T11:50:28.129Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-activemq.xml
[2020-09-01T11:50:28.129Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-istio.xml
[2020-09-01T11:50:28.129Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-tomcat.xml
[2020-09-01T11:50:29.069Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Metricbeat-OSS-Go-Integration-tests/metricbeat/build/TEST-go-integration-graphite.xml
[2020-09-01T11:50:29.069Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Metricbeat-OSS-Go-Integration-tests/metricbeat/build/TEST-go-integration-windows.xml
[2020-09-01T11:50:29.329Z] runbld>>> Test output logs contained: Errors: 0 Failures: 3 Tests: 21301 Skipped: 1554
[2020-09-01T11:50:29.589Z] runbld>>> Storing result
[2020-09-01T11:50:29.589Z] runbld>>> FAILURES: 3
[2020-09-01T11:50:30.159Z] runbld>>> Store result: updated {:total 2, :successful 2, :failed 0} 2
[2020-09-01T11:50:30.159Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1597739501209/t/20200901115022-C1BC8E58
[2020-09-01T11:50:30.418Z] runbld>>> Email notification disabled by environment variable.
[2020-09-01T11:50:30.418Z] runbld>>> Slack notification disabled by environment variable.
[2020-09-01T11:50:36.253Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats_PR-20891
[2020-09-01T11:50:36.480Z] [INFO] getVaultSecret: Getting secrets
[2020-09-01T11:50:36.548Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-09-01T11:50:37.311Z] + chmod 755 generate-build-data.sh
[2020-09-01T11:50:37.311Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-20891/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-20891/runs/2 FAILURE 4352556
[2020-09-01T11:50:37.311Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-20891/runs/2/steps/?limit=10000 -o steps-info.json
[2020-09-01T11:50:40.568Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-20891/runs/2/tests/?status=FAILED -o tests-errors.json

@jsoriano
Copy link
Member

jsoriano commented Sep 1, 2020

+1 to add retries, but only if we have also something to track flaky tests. If we only add retries we may end-up with more and worse flaky tests, as CI will be less sensible to flakiness. Worst case we may end-up with tests that only sometimes pass and 3 retries won't be enough.

Would this plugin also allow to generate some report on tests that need more retries so we can still act on them?

Maybe another option is to use the flaky mark provided by the same plugin, so we can mark a test as flaky as we do now, but without completely skipping it.

@kuisathaverat
Copy link
Contributor Author

+1 to add retries, but only if we have also something to track flaky tests. If we only add retries we may end-up with more and worse flaky tests, as CI will be less sensible to flakiness. Worst case we may end-up with tests that only sometimes pass and 3 retries won't be enough.

Well, I agree, but 3 runs are not much and this will detect really painful tests we should fix on the first instance, after fix 'em all, we would move the retry to 2, and so on. In that way, we will remove all flaky test and we add a layer of resilience to infrastructure issues.

Would this plugin also allow to generate some report on tests that need more retries so we can still act on them?

no, it does not support to report the number of runs right now, see pytest-dev/pytest-rerunfailures#97

Maybe another option is to use the flaky mark provided by the same plugin, so we can mark a test as flaky as we do now, but without completely skipping it.

It is possible to rerun only flaky
https://github.com/pytest-dev/pytest-rerunfailures#re-run-individual-failures

Jenkinsfile Outdated Show resolved Hide resolved
@kuisathaverat
Copy link
Contributor Author

finally, we introduced the plugin and the environment variable empty, so you have to enable retries manually. The plugin allows us to mark tests as flaky and allow retry them.

@kuisathaverat kuisathaverat merged commit ee678da into elastic:master Sep 7, 2020
@elasticmachine
Copy link
Collaborator

💔 Tests Failed

Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: [Pull request #20891 updated]

  • Start Time: 2020-09-07T10:03:29.757+0000

  • Duration: 113 min 26 sec

Test stats 🧪

Test Results
Failed 1
Passed 19803
Skipped 1834
Total 21638

Test errors

Expand to view the tests failures

  • Name: Build and Test / Elastic Agent Mac OS X / TestConfigurableService – operation

    • Age: 1
    • Duration: 0
    • Error Details: Failed

Steps errors

Expand to view the steps failures

  • Name: Mage build unitTest

    • Description: mage build unitTest

    • Duration: 88 min 53 sec

    • Start Time: 2020-09-07T10:27:48.949+0000

    • log

  • Name: Recursively delete the current directory from the workspace

    • Description: script returned exit code 1

    • Duration: 0 min 10 sec

    • Start Time: 2020-09-07T11:55:51.005+0000

    • log

  • Name: Make test

    • Description: make -C generator/_templates/beat test

    • Duration: 8 min 10 sec

    • Start Time: 2020-09-07T10:47:30.937+0000

    • log

  • Name: Recursively delete the current directory from the workspace

    • Description: script returned exit code 2

    • Duration: 1 min 54 sec

    • Start Time: 2020-09-07T10:55:51.799+0000

    • log

Log output

Expand to view the last 100 lines of log output

[2020-09-07T11:56:28.853Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats
[2020-09-07T11:56:28.876Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Lint
[2020-09-07T11:56:28.965Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Winlogbeat-oss
[2020-09-07T11:56:29.054Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Elastic-Agent-x-pack
[2020-09-07T11:56:29.145Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Auditbeat-crosscompile
[2020-09-07T11:56:29.236Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Journalbeat
[2020-09-07T11:56:29.327Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/dockerlogbeat
[2020-09-07T11:56:29.411Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Generators-Metricbeat-Linux
[2020-09-07T11:56:29.500Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Functionbeat-x-pack
[2020-09-07T11:56:29.585Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Auditbeat-oss-Mac-OS-X
[2020-09-07T11:56:29.675Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Filebeat-x-pack-Mac-OS-X
[2020-09-07T11:56:29.766Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Packetbeat-Linux
[2020-09-07T11:56:29.865Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Metricbeat-OSS-Unit-tests
[2020-09-07T11:56:29.965Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Filebeat-Mac-OS-X
[2020-09-07T11:56:30.061Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Elastic-Agent-x-pack-Windows
[2020-09-07T11:56:30.151Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Heartbeat-Mac-OS-X
[2020-09-07T11:56:30.247Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Winlogbeat-Windows-x-pack
[2020-09-07T11:56:30.331Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Heartbeat-oss
[2020-09-07T11:56:30.417Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Auditbeat-x-pack-Windows
[2020-09-07T11:56:30.507Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Auditbeat-x-pack-Mac-OS-X
[2020-09-07T11:56:30.592Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Auditbeat-oss-Windows
[2020-09-07T11:56:30.674Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Auditbeat-x-pack
[2020-09-07T11:56:30.759Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Heartbeat-Windows
[2020-09-07T11:56:30.850Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Libbeat-x-pack
[2020-09-07T11:56:30.940Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Winlogbeat-Windows
[2020-09-07T11:56:31.029Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Auditbeat-oss-Linux
[2020-09-07T11:56:31.121Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Metricbeat-Mac-OS-X
[2020-09-07T11:56:31.209Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Filebeat-Windows
[2020-09-07T11:56:31.296Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Metricbeat-crosscompile
[2020-09-07T11:56:31.388Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Filebeat-x-pack-Windows
[2020-09-07T11:56:31.580Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Functionbeat-Windows
[2020-09-07T11:56:31.671Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Generators-Metricbeat-Mac-OS-X
[2020-09-07T11:56:31.771Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Packetbeat-Mac-OS-X
[2020-09-07T11:56:31.858Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Functionbeat-Mac-OS-X-x-pack
[2020-09-07T11:56:31.949Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Metricbeat-x-pack-Windows
[2020-09-07T11:56:32.041Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Packetbeat-Windows
[2020-09-07T11:56:32.128Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Metricbeat-Windows
[2020-09-07T11:56:32.215Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Generators-Beat-Linux
[2020-09-07T11:56:32.309Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Metricbeat-x-pack-Mac-OS-X
[2020-09-07T11:56:32.403Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Filebeat-x-pack
[2020-09-07T11:56:32.493Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Filebeat-oss
[2020-09-07T11:56:32.589Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Libbeat-oss
[2020-09-07T11:56:32.680Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Generators-Beat-Mac-OS-X
[2020-09-07T11:56:32.777Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Metricbeat-OSS-Go-Integration-tests
[2020-09-07T11:56:32.867Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Libbeat-crosscompile
[2020-09-07T11:56:32.956Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Libbeat-stress-tests
[2020-09-07T11:56:33.045Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Metricbeat-OSS-Python-Integration-tests
[2020-09-07T11:56:33.127Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Metricbeat-x-pack
[2020-09-07T11:56:33.216Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Elastic-Agent-Mac-OS-X
[2020-09-07T11:56:33.644Z] + cat
[2020-09-07T11:56:33.645Z] + /usr/local/bin/runbld ./runbld-script --job-name elastic+beats+pull-request
[2020-09-07T11:56:33.645Z] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[2020-09-07T11:56:40.227Z] runbld>>> runbld started
[2020-09-07T11:56:40.227Z] runbld>>> 1.6.12/f45d832f2ba0aa2722ab4ec1fda8ad140f027f8b
[2020-09-07T11:56:41.167Z] runbld>>> The following profiles matched the job 'elastic+beats+pull-request' in order of occurrence in the config (last value wins).
[2020-09-07T11:56:41.167Z] runbld>>> Matches in the system config:
[2020-09-07T11:56:41.167Z] runbld>>> - Matched ^elastic\+beats
[2020-09-07T11:56:41.167Z] runbld>>> - Matched ^elastic\+beats\+pull-request
[2020-09-07T11:56:42.547Z] runbld>>> Debug logging enabled.
[2020-09-07T11:56:42.547Z] runbld>>> Storing result
[2020-09-07T11:56:42.808Z] runbld>>> Store result: created {:total 2, :successful 2, :failed 0} 1
[2020-09-07T11:56:42.808Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1597739501209/t/20200907115642-603B4D13
[2020-09-07T11:56:42.808Z] runbld>>> Adding system facts.
[2020-09-07T11:56:43.747Z] runbld>>> Adding vcs info for the latest commit:  237156b0d874d523b018b2f67b24bf5829b5d8b5
[2020-09-07T11:56:43.747Z] runbld>>> >>>>>>>>>>>> SCRIPT EXECUTION BEGIN >>>>>>>>>>>>
[2020-09-07T11:56:43.747Z] runbld>>> Adding /usr/lib/jvm/java-8-openjdk-amd64/bin to the path.
[2020-09-07T11:56:43.747Z] Processing JUnit reports with runbld...
[2020-09-07T11:56:43.747Z] + echo 'Processing JUnit reports with runbld...'
[2020-09-07T11:56:44.322Z] runbld>>> <<<<<<<<<<<< SCRIPT EXECUTION END <<<<<<<<<<<<
[2020-09-07T11:56:44.322Z] runbld>>> DURATION: 15ms
[2020-09-07T11:56:44.322Z] runbld>>> STDOUT: 40 bytes
[2020-09-07T11:56:44.322Z] runbld>>> STDERR: 49 bytes
[2020-09-07T11:56:44.322Z] runbld>>> WRAPPED PROCESS: SUCCESS (0)
[2020-09-07T11:56:44.322Z] runbld>>> Searching for build metadata in /var/lib/jenkins/workspace/Beats_beats_PR-20891
[2020-09-07T11:56:45.266Z] runbld>>> Storing build metadata: 
[2020-09-07T11:56:45.266Z] runbld>>> Adding test report.
[2020-09-07T11:56:45.266Z] runbld>>> Searching for junit test output files with the pattern: TEST-.*\.xml$ in: /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats
[2020-09-07T11:56:45.837Z] runbld>>> Found 140 test output files
[2020-09-07T11:56:48.391Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-iis.xml
[2020-09-07T11:56:48.391Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-openmetrics.xml
[2020-09-07T11:56:48.391Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-activemq.xml
[2020-09-07T11:56:48.391Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-istio.xml
[2020-09-07T11:56:48.391Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-tomcat.xml
[2020-09-07T11:56:48.661Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Metricbeat-OSS-Go-Integration-tests/metricbeat/build/TEST-go-integration-graphite.xml
[2020-09-07T11:56:48.661Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-20891/src/github.com/elastic/beats/Metricbeat-OSS-Go-Integration-tests/metricbeat/build/TEST-go-integration-windows.xml
[2020-09-07T11:56:49.231Z] runbld>>> Test output logs contained: Errors: 0 Failures: 1 Tests: 21485 Skipped: 1564
[2020-09-07T11:56:49.231Z] runbld>>> Storing result
[2020-09-07T11:56:49.231Z] runbld>>> FAILURES: 1
[2020-09-07T11:56:49.803Z] runbld>>> Store result: updated {:total 2, :successful 2, :failed 0} 2
[2020-09-07T11:56:49.803Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1597739501209/t/20200907115642-603B4D13
[2020-09-07T11:56:49.803Z] runbld>>> Email notification disabled by environment variable.
[2020-09-07T11:56:49.803Z] runbld>>> Slack notification disabled by environment variable.
[2020-09-07T11:56:55.307Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats_PR-20891
[2020-09-07T11:56:55.416Z] [INFO] getVaultSecret: Getting secrets
[2020-09-07T11:56:55.491Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-09-07T11:56:56.371Z] + chmod 755 generate-build-data.sh
[2020-09-07T11:56:56.371Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-20891/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-20891/runs/3 FAILURE 6806352
[2020-09-07T11:56:56.371Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-20891/runs/3/steps/?limit=10000 -o steps-info.json
[2020-09-07T11:57:00.519Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-20891/runs/3/tests/?status=FAILED -o tests-errors.json
[2020-09-07T11:57:00.519Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-20891/runs/3/log/ -o pipeline-log.txt

v1v pushed a commit to v1v/beats that referenced this pull request Sep 24, 2020
@v1v v1v mentioned this pull request Sep 24, 2020
v1v added a commit that referenced this pull request Sep 28, 2020
Co-authored-by: Ivan Fernandez Calvo <kuisathaverat@users.noreply.github.com>
v1v added a commit to v1v/beats that referenced this pull request Sep 28, 2020
* upstream/master:
  Skip flaky test TestClientPublishEventKerberosAware (elastic#21296)
  [CI] Enable macOS builds for branches/tags (elastic#21323)
  [CI] refactor runbld post build action (elastic#21256)
  [CI] cherry-pick elastic#20891 (elastic#21314)
v1v added a commit to v1v/beats that referenced this pull request Oct 7, 2020
Co-authored-by: Ivan Fernandez Calvo <kuisathaverat@users.noreply.github.com>
v1v added a commit to v1v/beats that referenced this pull request Oct 7, 2020
Co-authored-by: Ivan Fernandez Calvo <kuisathaverat@users.noreply.github.com>
v1v added a commit that referenced this pull request Oct 7, 2020
Co-authored-by: Ivan Fernandez Calvo <kuisathaverat@users.noreply.github.com>

Co-authored-by: Ivan Fernandez Calvo <kuisathaverat@users.noreply.github.com>
v1v added a commit that referenced this pull request Oct 7, 2020
Co-authored-by: Ivan Fernandez Calvo <kuisathaverat@users.noreply.github.com>

Co-authored-by: Ivan Fernandez Calvo <kuisathaverat@users.noreply.github.com>
melchiormoulin pushed a commit to melchiormoulin/beats that referenced this pull request Oct 14, 2020
* feat: configure retries on tests

* Update Jenkinsfile

Co-authored-by: cachedout <mike.place@elastic.co>

* Update Jenkinsfile

Co-authored-by: cachedout <mike.place@elastic.co>
kuisathaverat added a commit to kuisathaverat/beats that referenced this pull request Oct 20, 2020
* feat: configure retries on tests

* Update Jenkinsfile

Co-authored-by: cachedout <mike.place@elastic.co>

* Update Jenkinsfile

Co-authored-by: cachedout <mike.place@elastic.co>
# Conflicts:
#	Jenkinsfile
kuisathaverat added a commit to kuisathaverat/beats that referenced this pull request Oct 20, 2020
* feat: configure retries on tests

* Update Jenkinsfile

Co-authored-by: cachedout <mike.place@elastic.co>

* Update Jenkinsfile

Co-authored-by: cachedout <mike.place@elastic.co>
# Conflicts:
#	Jenkinsfile
kuisathaverat added a commit that referenced this pull request Oct 20, 2020
* feat: configure retries on tests

* Update Jenkinsfile

Co-authored-by: cachedout <mike.place@elastic.co>

* Update Jenkinsfile

Co-authored-by: cachedout <mike.place@elastic.co>
# Conflicts:
#	Jenkinsfile
kuisathaverat added a commit that referenced this pull request Oct 20, 2020
* feat: configure retries on tests

* Update Jenkinsfile

Co-authored-by: cachedout <mike.place@elastic.co>

* Update Jenkinsfile

Co-authored-by: cachedout <mike.place@elastic.co>
# Conflicts:
#	Jenkinsfile
@kuisathaverat kuisathaverat deleted the support-retry branch December 24, 2020 11:06
leweafan pushed a commit to leweafan/beats that referenced this pull request Apr 28, 2023
Co-authored-by: Ivan Fernandez Calvo <kuisathaverat@users.noreply.github.com>

Co-authored-by: Ivan Fernandez Calvo <kuisathaverat@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automation ci Team:Automation Label for the Observability productivity team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants