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

[Autodiscover] Check if runner is already running before starting again #18564

Merged
merged 9 commits into from
May 21, 2020

Conversation

ChrsMark
Copy link
Member

@ChrsMark ChrsMark commented May 15, 2020

What does this PR do?

This PR fixes runner reload so as not to start a new runner if a runner for the same configuration is already running. This can happen in Autodiscover if we have a container queued for termination and a new one with the very same configuration. This will lead into having 2 identical configurations in reload. The first one will be skipped but the second one will create new runner while the previous is still running. This is the tricky if/else block that cause this problem when we have 2 identical configurations:

if _, ok := stopList[hash]; ok {

For more information check the related Discuss topic: https://discuss.elastic.co/t/multiple-monitoring-cycles-after-recreating-docker-image/231565/9

Why is it important?

In case of autodiscovery catches a new start event will try to start a new runner without checking if a runner is already running. This will lead in overriding the in list of runner the old one with the new one without stoping the old one. The result will be to have 2 runners running (one will be orphan and untracked).

Checklist

  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • 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.

How to test this PR locally

  1. Enable autodiscover:
metricbeat.autodiscover:
  providers:
    - type: docker
      templates:
        - condition:
            contains:
              docker.container.image: prometheus
          config:
            - module: prometheus
              metricsets: ["collector"]
              hosts: "${data.host}:${data.port}"
  1. Start Metricbeat: ./metricbeat -e -d "module,autodiscover"
  2. Start a container that matches the template using this docker-compose project: https://github.com/ChrsMark/docker-prometheus-playground
  3. Edit the Prometheus service by adding a new label on it:
  prometheus:
    labels:
    - "some=Some"
  1. Restart the service with docker-compose up -d
  2. Verify that no new runner start:
    There is no: 2020-05-15T08:25:01.563Z DEBUG [module] module/wrapper.go:127 Starting Wrapper[name=prometheus, len(metricSetWrappers)=1]
    And there is:
2020-05-21T07:47:11.487Z	DEBUG	[autodiscover]	cfgfile/list.go:62	Starting reload procedure, current runners: 1
2020-05-21T07:47:11.487Z	DEBUG	[autodiscover]	cfgfile/list.go:80	Start list: 0, Stop list: 0

Related issues

Discuss: https://discuss.elastic.co/t/multiple-monitoring-cycles-after-recreating-docker-image/231565/9

This might solve #12011 too.

Signed-off-by: chrismark <chrismarkou92@gmail.com>
@ChrsMark ChrsMark added bug [zube]: In Review Team:Integrations Label for the Integrations team autodiscovery Team:Platforms Label for the Integrations - Platforms team labels May 15, 2020
@ChrsMark ChrsMark self-assigned this May 15, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/integrations (Team:Integrations)

@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label May 15, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/integrations-platforms (Team:Platforms)

@botelastic botelastic bot removed the needs_team Indicates that the issue/PR needs a Team:* label label May 15, 2020
@exekias
Copy link
Contributor

exekias commented May 15, 2020

ey @ChrsMark I think the docker-compose project is missing in the description?

@exekias
Copy link
Contributor

exekias commented May 15, 2020

Also, could you add some tests? this code is quite critical as it's heavily used by autodiscover and config reload

@ChrsMark
Copy link
Member Author

ChrsMark commented May 15, 2020

ey @ChrsMark I think the docker-compose project is missing in the description?

👍 Added

@elasticmachine
Copy link
Collaborator

elasticmachine commented May 15, 2020

💚 Build Succeeded

Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

Test stats 🧪

Test Results
Failed 0
Passed 9214
Skipped 1542
Total 10756

Steps errors

Expand to view the steps failures

  • Name: Install docker-compose 1.21.0

    • Description: .ci/scripts/install-docker-compose.sh

    • Result: FAILURE

    • Duration: 1 min 33 sec

    • Start Time: 2020-05-20T13:14:18.444+0000

    • log

  • Name: Install Go 1.13.10

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

    • Result: FAILURE

    • Duration: 1 min 8 sec

    • Start Time: 2020-05-20T13:13:55.235+0000

    • log

  • Name: Report to Codecov

    • Description: curl -sSLo codecov https://codecov.io/bash for i in auditbeat filebeat heartbeat libbeat metricbeat packetbeat winlogbeat journalbeat do FILE="${i}/build/coverage/full.cov" if [ -f "${FILE}" ]; then bash codecov -f "${FILE}" fi done

    • Result: FAILURE

    • Duration: 2 min 22 sec

    • Start Time: 2020-05-20T13:36:19.117+0000

    • log

Signed-off-by: chrismark <chrismarkou92@gmail.com>
Signed-off-by: chrismark <chrismarkou92@gmail.com>
Signed-off-by: chrismark <chrismarkou92@gmail.com>
@ChrsMark
Copy link
Member Author

Wondering if this has side effects in other parts of the project since I see some Filebeat's tests failing at some CI runs:

https://travis-ci.org/github/elastic/beats/jobs/687374263#L736
https://beats-ci.elastic.co/job/Beats/job/beats-beats-mbp/job/PR-18564/8/testReport/junit/test_harvester/Test/Build_and_Test___Filebeat_Windows___test_close_renamed/

This change seems sane for autodiscover but not sure if the same goes for other parts that utilise this functionality 🤔 .

@ChrsMark
Copy link
Member Author

jenkins, test this again please

@elasticmachine
Copy link
Collaborator

elasticmachine commented May 21, 2020

💔 Tests Failed

Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

Test stats 🧪

Test Results
Failed 1
Passed 9107
Skipped 1527
Total 10635

Test errors

Expand to view the tests failures

  • Name: Build and Test / Filebeat Mac OS X / test_clean_removed_with_clean_inactive – test_registrar.Test
    • Status: FAILED
    • Age: 1
    • Duration: 1.052
    • Error Details:
      -------------------- >> begin captured stdout << ---------------------
      registry size: 2
      registry size after remove: 2

--------------------- >> end captured stdout << ----------------------

Steps errors

Expand to view the steps failures

  • Name: Mage build unitTest

    • Description: mage build unitTest

    • Result: FAILURE

    • Duration: 8 min 39 sec

    • Start Time: 2020-05-21T10:19:12.019+0000

    • log

  • Name: Report to Codecov

    • Description: curl -sSLo codecov https://codecov.io/bash for i in auditbeat filebeat heartbeat libbeat metricbeat packetbeat winlogbeat journalbeat do FILE="${i}/build/coverage/full.cov" if [ -f "${FILE}" ]; then bash codecov -f "${FILE}" fi done

    • Result: FAILURE

    • Duration: 1 min 27 sec

    • Start Time: 2020-05-21T10:26:54.255+0000

    • log

  • Name: Recursively delete the current directory from the workspace

    • Description: script returned exit code 1

    • Result: FAILURE

    • Duration: 0 min 11 sec

    • Start Time: 2020-05-21T10:28:25.045+0000

    • log

  • Name: Report to Codecov

    • Description: curl -sSLo codecov https://codecov.io/bash for i in auditbeat filebeat heartbeat libbeat metricbeat packetbeat winlogbeat journalbeat do FILE="${i}/build/coverage/full.cov" if [ -f "${FILE}" ]; then bash codecov -f "${FILE}" fi done

    • Result: FAILURE

    • Duration: 1 min 27 sec

    • Start Time: 2020-05-21T10:36:15.124+0000

    • log

  • Name: Mage update build test

    • Description: mage update build test

    • Result: FAILURE

    • Duration: 5 min 38 sec

    • Start Time: 2020-05-21T10:19:55.597+0000

    • log

  • Name: Report to Codecov

    • Description: curl -sSLo codecov https://codecov.io/bash for i in auditbeat filebeat heartbeat libbeat metricbeat packetbeat winlogbeat journalbeat do FILE="${i}/build/coverage/full.cov" if [ -f "${FILE}" ]; then bash codecov -f "${FILE}" fi done

    • Result: FAILURE

    • Duration: 2 min 22 sec

    • Start Time: 2020-05-21T10:51:49.606+0000

    • log

Log output

Expand to view the last 100 lines of log output

[2020-05-21T11:11:39.290Z] + FILE=packetbeat/build/coverage/full.cov
[2020-05-21T11:11:39.290Z] + [ -f packetbeat/build/coverage/full.cov ]
[2020-05-21T11:11:39.290Z] + FILE=winlogbeat/build/coverage/full.cov
[2020-05-21T11:11:39.290Z] + [ -f winlogbeat/build/coverage/full.cov ]
[2020-05-21T11:11:39.290Z] + FILE=journalbeat/build/coverage/full.cov
[2020-05-21T11:11:39.290Z] + [ -f journalbeat/build/coverage/full.cov ]
[2020-05-21T11:11:39.863Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18564/src/github.com/elastic/beats
[2020-05-21T11:11:40.178Z] + find . -type f -name TEST*.xml -path */build/* -delete
[2020-05-21T11:11:40.192Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18564/src/github.com/elastic/beats/Lint
[2020-05-21T11:11:40.294Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18564/src/github.com/elastic/beats/Elastic-Agent-Mac-OS-X
[2020-05-21T11:11:40.367Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18564/src/github.com/elastic/beats/Winlogbeat-oss
[2020-05-21T11:11:40.439Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18564/src/github.com/elastic/beats/Elastic-Agent-x-pack
[2020-05-21T11:11:40.513Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18564/src/github.com/elastic/beats/Dockerlogbeat
[2020-05-21T11:11:40.585Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18564/src/github.com/elastic/beats/Journalbeat-oss
[2020-05-21T11:11:40.659Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18564/src/github.com/elastic/beats/Generators-Metricbeat-Linux
[2020-05-21T11:11:40.731Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18564/src/github.com/elastic/beats/Auditbeat-x-pack
[2020-05-21T11:11:40.812Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18564/src/github.com/elastic/beats/Metricbeat-Mac-OS-X
[2020-05-21T11:11:40.889Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18564/src/github.com/elastic/beats/Metricbeat-x-pack-Mac-OS-X
[2020-05-21T11:11:40.962Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18564/src/github.com/elastic/beats/Functionbeat-x-pack
[2020-05-21T11:11:41.042Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18564/src/github.com/elastic/beats/Filebeat-Mac-OS-X
[2020-05-21T11:11:41.116Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18564/src/github.com/elastic/beats/Elastic-Agent-x-pack-Windows
[2020-05-21T11:11:41.191Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18564/src/github.com/elastic/beats/Metricbeat-crosscompile
[2020-05-21T11:11:41.268Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18564/src/github.com/elastic/beats/Metricbeat-OSS-Unit-tests
[2020-05-21T11:11:41.346Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18564/src/github.com/elastic/beats/Heartbeat-oss
[2020-05-21T11:11:41.420Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18564/src/github.com/elastic/beats/Functionbeat-Mac-OS-X-x-pack
[2020-05-21T11:11:41.492Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18564/src/github.com/elastic/beats/Libbeat-x-pack
[2020-05-21T11:11:41.561Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18564/src/github.com/elastic/beats/Winlogbeat-Windows-x-pack
[2020-05-21T11:11:41.633Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18564/src/github.com/elastic/beats/Auditbeat-Linux
[2020-05-21T11:11:41.700Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18564/src/github.com/elastic/beats/Packetbeat-oss
[2020-05-21T11:11:41.767Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18564/src/github.com/elastic/beats/Filebeat-Windows
[2020-05-21T11:11:41.845Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18564/src/github.com/elastic/beats/Filebeat-x-pack-Windows
[2020-05-21T11:11:41.913Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18564/src/github.com/elastic/beats/Heartbeat-Mac-OS-X
[2020-05-21T11:11:41.988Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18564/src/github.com/elastic/beats/Auditbeat-crosscompile
[2020-05-21T11:11:42.060Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18564/src/github.com/elastic/beats/Metricbeat-Windows
[2020-05-21T11:11:42.139Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18564/src/github.com/elastic/beats/Winlogbeat-Windows
[2020-05-21T11:11:42.207Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18564/src/github.com/elastic/beats/Filebeat-x-pack-Mac-OS-X
[2020-05-21T11:11:42.277Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18564/src/github.com/elastic/beats/Auditbeat-Mac-OS-X
[2020-05-21T11:11:42.348Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18564/src/github.com/elastic/beats/Generators-Beat-Linux
[2020-05-21T11:11:42.425Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18564/src/github.com/elastic/beats/Filebeat-x-pack
[2020-05-21T11:11:42.504Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18564/src/github.com/elastic/beats/Metricbeat-x-pack-Windows
[2020-05-21T11:11:42.573Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18564/src/github.com/elastic/beats/Functionbeat-Windows
[2020-05-21T11:11:42.646Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18564/src/github.com/elastic/beats/Filebeat-oss
[2020-05-21T11:11:42.715Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18564/src/github.com/elastic/beats/Heartbeat-Windows
[2020-05-21T11:11:42.781Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18564/src/github.com/elastic/beats/Metricbeat-OSS-Integration-tests
[2020-05-21T11:11:42.866Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18564/src/github.com/elastic/beats/Auditbeat-Windows
[2020-05-21T11:11:42.940Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18564/src/github.com/elastic/beats/Libbeat-oss
[2020-05-21T11:11:43.016Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18564/src/github.com/elastic/beats/Metricbeat-Python-integration-tests
[2020-05-21T11:11:43.095Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18564/src/github.com/elastic/beats/Generators-Metricbeat-Mac-OS-X
[2020-05-21T11:11:43.162Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18564/src/github.com/elastic/beats/Libbeat-crosscompile
[2020-05-21T11:11:43.229Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18564/src/github.com/elastic/beats/Libbeat-stress-tests
[2020-05-21T11:11:43.300Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18564/src/github.com/elastic/beats/Generators-Beat-Mac-OS-X
[2020-05-21T11:11:43.369Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18564/src/github.com/elastic/beats/Metricbeat-x-pack
[2020-05-21T11:11:43.730Z] + cat
[2020-05-21T11:11:43.730Z] + /usr/local/bin/runbld ./runbld-script
[2020-05-21T11:11:43.730Z] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[2020-05-21T11:11:50.348Z] runbld>>> runbld started
[2020-05-21T11:11:50.348Z] runbld>>> 1.6.11/a66728ff8f4356963772e6e6d2069392fa06acbe
[2020-05-21T11:11:51.739Z] runbld>>> The following profiles matched the job 'Beats/beats-beats-mbp/PR-18564' in order of occurrence in the config (last value wins).
[2020-05-21T11:11:53.139Z] runbld>>> Debug logging enabled.
[2020-05-21T11:11:53.139Z] runbld>>> Storing result
[2020-05-21T11:11:53.139Z] runbld>>> Store result: created {:total 2, :successful 2, :failed 0} 1
[2020-05-21T11:11:53.139Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200521111152-C6EC6CFB
[2020-05-21T11:11:53.139Z] runbld>>> Adding system facts.
[2020-05-21T11:11:54.085Z] runbld>>> Adding vcs info for the latest commit:  978b4e341c6b5f2159d85392f07a324f3f2345be
[2020-05-21T11:11:54.085Z] runbld>>> >>>>>>>>>>>> SCRIPT EXECUTION BEGIN >>>>>>>>>>>>
[2020-05-21T11:11:54.085Z] runbld>>> Adding /usr/lib/jvm/java-8-openjdk-amd64/bin to the path.
[2020-05-21T11:11:54.085Z] Processing JUnit reports with runbld...
[2020-05-21T11:11:54.085Z] + echo 'Processing JUnit reports with runbld...'
[2020-05-21T11:11:54.660Z] runbld>>> <<<<<<<<<<<< SCRIPT EXECUTION END <<<<<<<<<<<<
[2020-05-21T11:11:54.660Z] runbld>>> DURATION: 8ms
[2020-05-21T11:11:54.660Z] runbld>>> STDOUT: 40 bytes
[2020-05-21T11:11:54.660Z] runbld>>> STDERR: 49 bytes
[2020-05-21T11:11:54.660Z] runbld>>> WRAPPED PROCESS: SUCCESS (0)
[2020-05-21T11:11:54.660Z] runbld>>> Searching for build metadata in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18564/src/github.com/elastic/beats
[2020-05-21T11:11:56.058Z] runbld>>> Storing build metadata: 
[2020-05-21T11:11:56.058Z] runbld>>> Adding test report.
[2020-05-21T11:11:56.058Z] runbld>>> Searching for junit test output files with the pattern: TEST-.*\.xml$ in: /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18564/src/github.com/elastic/beats
[2020-05-21T11:11:57.010Z] runbld>>> Found 108 test output files
[2020-05-21T11:11:57.588Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18564/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-openmetrics.xml
[2020-05-21T11:11:57.588Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18564/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-istio.xml
[2020-05-21T11:11:57.588Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18564/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-iis.xml
[2020-05-21T11:11:57.853Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18564/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-activemq.xml
[2020-05-21T11:11:57.853Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18564/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-tomcat.xml
[2020-05-21T11:11:57.853Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18564/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-cloudfoundry.xml
[2020-05-21T11:11:58.433Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18564/src/github.com/elastic/beats/Metricbeat-OSS-Integration-tests/metricbeat/build/TEST-go-integration-windows.xml
[2020-05-21T11:11:58.433Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18564/src/github.com/elastic/beats/Metricbeat-OSS-Integration-tests/metricbeat/build/TEST-go-integration-graphite.xml
[2020-05-21T11:11:59.009Z] runbld>>> Test output logs contained: Errors: 0 Failures: 1 Tests: 10485 Skipped: 1291
[2020-05-21T11:11:59.274Z] runbld>>> Storing result
[2020-05-21T11:11:59.274Z] runbld>>> FAILURES: 1
[2020-05-21T11:11:59.538Z] runbld>>> Store result: updated {:total 2, :successful 2, :failed 0} 2
[2020-05-21T11:11:59.538Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200521111152-C6EC6CFB
[2020-05-21T11:11:59.538Z] runbld>>> Email notification disabled by environment variable.
[2020-05-21T11:11:59.538Z] runbld>>> Slack notification disabled by environment variable.
[2020-05-21T11:12:05.285Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18564
[2020-05-21T11:12:05.385Z] [INFO] getVaultSecret: Getting secrets
[2020-05-21T11:12:05.435Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-05-21T11:12:06.184Z] + chmod 755 generate-build-data.sh
[2020-05-21T11:12:06.184Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18564/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18564/runs/16 FAILURE 4453143
[2020-05-21T11:12:06.735Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18564/runs/16/steps/?limit=10000 -o steps-info.json
[2020-05-21T11:12:08.079Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18564/runs/16/tests/?status=FAILED -o tests-errors.json

@ChrsMark ChrsMark merged commit b0f7ae7 into elastic:master May 21, 2020
ChrsMark added a commit to ChrsMark/beats that referenced this pull request May 21, 2020
ChrsMark added a commit to ChrsMark/beats that referenced this pull request May 21, 2020
ChrsMark added a commit that referenced this pull request May 21, 2020
…running before starting again (#18689)

* [Autodiscover] Check if runner is already running before starting again (#18564)


(cherry picked from commit b0f7ae7)

* Update CHANGELOG.next.asciidoc
ChrsMark added a commit that referenced this pull request May 21, 2020
…running before starting again (#18688)

* [Autodiscover] Check if runner is already running before starting again (#18564)


(cherry picked from commit b0f7ae7)

* Update CHANGELOG.next.asciidoc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autodiscovery bug Team:Integrations Label for the Integrations team Team:Platforms Label for the Integrations - Platforms team v7.8.0 v7.9.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants