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

Introduce mode: stack-monitoring for Metricbeat stack modules #18610

Closed

Conversation

ycombinator
Copy link
Contributor

@ycombinator ycombinator commented May 18, 2020

What does this PR do?

Introduces a new mode setting for Metricbeat Elastic Stack modules. The valid values for this setting are default or stack-monitoring. This setting replaces the old xpack.enabled setting, which is still available but deprecated after this PR.

Users should convert from using the deprecated setting to the new setting as shown below.

Old setting (now deprecated) New setting
xpack.enabled: false (default value) mode: default (default value)
xpack.enabled: true mode: stack-monitoring

Corresponding to the setting change / deprecation, users should also use the new module configuration variant name as shown below.

Old way (now deprecated) New way
metricbeat modules enable elasticsearch-xpack metricbeat modules enable elasticsearch-stack-monitoring
metricbeat modules disable elasticsearch-xpack metricbeat modules disable elasticsearch-stack-monitoring
metricbeat modules enable kibana-xpack metricbeat modules enable kibana-stack-monitoring
metricbeat modules disable kibana-xpack metricbeat modules disable kibana-stack-monitoring
metricbeat modules enable logstash-xpack metricbeat modules enable logstash-stack-monitoring
metricbeat modules disable logstash-xpack metricbeat modules disable logstash-stack-monitoring
metricbeat modules enable beat-xpack metricbeat modules enable beat-stack-monitoring
metricbeat modules disable beat-xpack metricbeat modules disable beat-stack-monitoring

Why is it important?

A couple of reasons:

  • We are trying to get rid of the term xpack in as many places as possible, and
  • The current setting name (xpack.enabled) and module configuration variant suffix (-xpack) are not very descriptive of their purpose.

What does this PR NOT do?

As mentioned above, one of the motivations for the mode setting is to get rid of the term xpack. This term is still used in code in identifiers. This PR does not update those uses. That will be done in a follow up PR, mainly to keep the scope and size of this PR small.

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.

Related issues

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

botelastic bot commented May 18, 2020

This issue doesn't have a Team:<team> label.

@elasticmachine
Copy link
Collaborator

elasticmachine commented May 18, 2020

❕ Build Aborted

There is a new build on-going so the previous on-going builds have been aborted.

Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

Log output

Expand to view the last 100 lines of log output

[2020-05-19T02:01:26.388Z] Stage "Generators" skipped due to earlier failure(s)
[2020-05-19T02:01:26.389Z] Stage "Kubernetes" skipped due to earlier failure(s)
[2020-05-19T02:01:26.469Z] Stage "Heartbeat" skipped due to earlier failure(s)
[2020-05-19T02:01:26.470Z] Stage "Auditbeat oss" skipped due to earlier failure(s)
[2020-05-19T02:01:26.472Z] Stage "Libbeat" skipped due to earlier failure(s)
[2020-05-19T02:01:26.473Z] Stage "Metricbeat x-pack" skipped due to earlier failure(s)
[2020-05-19T02:01:26.473Z] Stage "Packetbeat" skipped due to earlier failure(s)
[2020-05-19T02:01:26.474Z] Stage "dockerlogbeat" skipped due to earlier failure(s)
[2020-05-19T02:01:26.475Z] Stage "Winlogbeat" skipped due to earlier failure(s)
[2020-05-19T02:01:26.476Z] Stage "Functionbeat" skipped due to earlier failure(s)
[2020-05-19T02:01:26.477Z] Stage "Journalbeat" skipped due to earlier failure(s)
[2020-05-19T02:01:26.478Z] Stage "Generators" skipped due to earlier failure(s)
[2020-05-19T02:01:26.821Z] Failed in branch Elastic Agent x-pack
[2020-05-19T02:01:26.822Z] Failed in branch Elastic Agent x-pack Windows
[2020-05-19T02:01:26.823Z] Failed in branch Elastic Agent Mac OS X
[2020-05-19T02:01:26.824Z] Failed in branch Filebeat oss
[2020-05-19T02:01:26.824Z] Failed in branch Filebeat x-pack
[2020-05-19T02:01:26.825Z] Failed in branch Filebeat Mac OS X
[2020-05-19T02:01:26.826Z] Failed in branch Filebeat x-pack Mac OS X
[2020-05-19T02:01:26.827Z] Failed in branch Filebeat Windows
[2020-05-19T02:01:26.827Z] Failed in branch Filebeat x-pack Windows
[2020-05-19T02:01:26.828Z] Failed in branch Auditbeat x-pack
[2020-05-19T02:01:26.829Z] Failed in branch Libbeat x-pack
[2020-05-19T02:01:26.829Z] Failed in branch Metricbeat OSS Unit tests
[2020-05-19T02:01:26.830Z] Failed in branch Metricbeat OSS Integration tests
[2020-05-19T02:01:26.831Z] Failed in branch Metricbeat Python integration tests
[2020-05-19T02:01:26.831Z] Failed in branch Metricbeat crosscompile
[2020-05-19T02:01:26.832Z] Failed in branch Metricbeat Mac OS X
[2020-05-19T02:01:26.833Z] Failed in branch Metricbeat x-pack Mac OS X
[2020-05-19T02:01:26.833Z] Failed in branch Metricbeat Windows
[2020-05-19T02:01:26.834Z] Failed in branch Metricbeat x-pack Windows
[2020-05-19T02:01:26.835Z] Failed in branch Winlogbeat Windows x-pack
[2020-05-19T02:01:26.835Z] Failed in branch Kubernetes
[2020-05-19T02:01:27.084Z] Stage "Heartbeat" skipped due to earlier failure(s)
[2020-05-19T02:01:27.086Z] Stage "Auditbeat oss" skipped due to earlier failure(s)
[2020-05-19T02:01:27.087Z] Stage "Libbeat" skipped due to earlier failure(s)
[2020-05-19T02:01:27.088Z] Stage "Metricbeat x-pack" skipped due to earlier failure(s)
[2020-05-19T02:01:27.089Z] Stage "Winlogbeat" skipped due to earlier failure(s)
[2020-05-19T02:01:27.090Z] Stage "Functionbeat" skipped due to earlier failure(s)
[2020-05-19T02:01:27.091Z] Stage "Generators" skipped due to earlier failure(s)
[2020-05-19T02:01:27.141Z] Failed in branch Packetbeat
[2020-05-19T02:01:27.142Z] Failed in branch dockerlogbeat
[2020-05-19T02:01:27.142Z] Failed in branch Journalbeat
[2020-05-19T02:01:27.334Z] Stage "Heartbeat" skipped due to earlier failure(s)
[2020-05-19T02:01:27.336Z] Stage "Auditbeat oss" skipped due to earlier failure(s)
[2020-05-19T02:01:27.337Z] Stage "Libbeat" skipped due to earlier failure(s)
[2020-05-19T02:01:27.338Z] Stage "Functionbeat" skipped due to earlier failure(s)
[2020-05-19T02:01:27.339Z] Stage "Generators" skipped due to earlier failure(s)
[2020-05-19T02:01:27.373Z] Failed in branch Metricbeat x-pack
[2020-05-19T02:01:27.374Z] Failed in branch Winlogbeat
[2020-05-19T02:01:27.549Z] Failed in branch Heartbeat
[2020-05-19T02:01:27.550Z] Failed in branch Libbeat
[2020-05-19T02:01:27.551Z] Failed in branch Functionbeat
[2020-05-19T02:01:27.551Z] Stage "Auditbeat oss" skipped due to earlier failure(s)
[2020-05-19T02:01:27.553Z] Stage "Generators" skipped due to earlier failure(s)
[2020-05-19T02:01:27.647Z] Failed in branch Auditbeat oss
[2020-05-19T02:01:27.647Z] Failed in branch Generators
[2020-05-19T02:01:27.753Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18610/src/github.com/elastic/beats
[2020-05-19T02:01:28.056Z] + find . -type f -name TEST*.xml -path */build/* -delete
[2020-05-19T02:01:28.068Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18610/src/github.com/elastic/beats/Lint
[2020-05-19T02:01:28.425Z] + cat
[2020-05-19T02:01:28.426Z] + /usr/local/bin/runbld ./runbld-script
[2020-05-19T02:01:28.426Z] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[2020-05-19T02:01:34.575Z] Click here to forcibly terminate running steps
[2020-05-19T02:01:35.004Z] runbld>>> runbld started
[2020-05-19T02:01:35.004Z] runbld>>> 1.6.11/a66728ff8f4356963772e6e6d2069392fa06acbe
[2020-05-19T02:01:35.948Z] runbld>>> The following profiles matched the job 'Beats/beats-beats-mbp/PR-18610' in order of occurrence in the config (last value wins).
[2020-05-19T02:01:37.329Z] runbld>>> Debug logging enabled.
[2020-05-19T02:01:37.329Z] runbld>>> Storing result
[2020-05-19T02:01:37.589Z] runbld>>> Store result: created {:total 2, :successful 2, :failed 0} 1
[2020-05-19T02:01:37.589Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200519020137-A079B0FA
[2020-05-19T02:01:37.589Z] runbld>>> Adding system facts.
[2020-05-19T02:01:38.160Z] runbld>>> Adding vcs info for the latest commit:  ccd286f472491e0a0630f363693a1a97f7f8272f
[2020-05-19T02:01:38.420Z] runbld>>> >>>>>>>>>>>> SCRIPT EXECUTION BEGIN >>>>>>>>>>>>
[2020-05-19T02:01:38.420Z] runbld>>> Adding /usr/lib/jvm/java-8-openjdk-amd64/bin to the path.
[2020-05-19T02:01:38.420Z] Processing JUnit reports with runbld...
[2020-05-19T02:01:38.420Z] + echo 'Processing JUnit reports with runbld...'
[2020-05-19T02:01:38.990Z] runbld>>> <<<<<<<<<<<< SCRIPT EXECUTION END <<<<<<<<<<<<
[2020-05-19T02:01:38.990Z] runbld>>> DURATION: 12ms
[2020-05-19T02:01:38.990Z] runbld>>> STDOUT: 40 bytes
[2020-05-19T02:01:38.990Z] runbld>>> STDERR: 49 bytes
[2020-05-19T02:01:38.990Z] runbld>>> WRAPPED PROCESS: SUCCESS (0)
[2020-05-19T02:01:38.990Z] runbld>>> Searching for build metadata in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18610/src/github.com/elastic/beats
[2020-05-19T02:01:39.929Z] runbld>>> Storing build metadata: 
[2020-05-19T02:01:39.929Z] runbld>>> Adding test report.
[2020-05-19T02:01:39.929Z] runbld>>> Searching for junit test output files with the pattern: TEST-.*\.xml$ in: /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18610/src/github.com/elastic/beats
[2020-05-19T02:01:40.869Z] runbld>>> Found 0 test output files
[2020-05-19T02:01:40.869Z] runbld>>> Test output logs contained: Errors: 0 Failures: 0 Tests: 0 Skipped: 0
[2020-05-19T02:01:40.869Z] runbld>>> Storing result
[2020-05-19T02:01:41.128Z] runbld>>> Store result: updated {:total 2, :successful 2, :failed 0} 2
[2020-05-19T02:01:41.128Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200519020137-A079B0FA
[2020-05-19T02:01:41.128Z] runbld>>> Email notification disabled by environment variable.
[2020-05-19T02:01:41.128Z] runbld>>> Slack notification disabled by environment variable.
[2020-05-19T02:01:46.988Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18610
[2020-05-19T02:01:47.261Z] [INFO] getVaultSecret: Getting secrets
[2020-05-19T02:01:47.315Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-05-19T02:01:48.213Z] + chmod 755 generate-build-data.sh
[2020-05-19T02:01:48.213Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18610/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18610/runs/5 ABORTED 937065
[2020-05-19T02:01:48.765Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18610/runs/5/steps/?limit=10000 -o steps-info.json
[2020-05-19T02:01:49.015Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18610/runs/5/tests/?status=FAILED -o tests-errors.json

@ycombinator ycombinator force-pushed the mb-stack-deprecate-xpack-enabled branch from 0290952 to 2ae9beb Compare May 19, 2020 03:31
@elasticmachine
Copy link
Collaborator

elasticmachine commented May 19, 2020

💔 Tests Failed

Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

Test stats 🧪

Test Results
Failed 12
Passed 3895
Skipped 404
Total 4311

Test errors

Expand to view the tests failures

  • Name: Build and Test / Metricbeat Mac OS X / TestStackMonitoringMetricsets – beat

    • Status: FAILED
    • Age: 1
    • Duration: 0
    • Error Details: Failed
  • Name: Build and Test / Metricbeat OSS Unit tests / TestStackMonitoringMetricsets – beat

    • Status: FAILED
    • Age: 1
    • Duration: 0
    • Error Details: Failed
  • Name: Build and Test / Metricbeat Windows / TestStackMonitoringMetricsets – beat

    • Status: FAILED
    • Age: 1
    • Duration: 0
    • Error Details: Failed
  • Name: Build and Test / Metricbeat OSS Integration tests / TestStackMonitoringMetricsets – beat

    • Status: FAILED
    • Age: 1
    • Duration: 0
    • Error Details: Failed
  • Name: Build and Test / Metricbeat Mac OS X / TestStackMonitoringMetricsets – elasticsearch

    • Status: FAILED
    • Age: 1
    • Duration: 0
    • Error Details: Failed
  • Name: Build and Test / Metricbeat OSS Unit tests / TestStackMonitoringMetricsets – elasticsearch

    • Status: FAILED
    • Age: 1
    • Duration: 0
    • Error Details: Failed
  • Name: Build and Test / Metricbeat Windows / TestStackMonitoringMetricsets – elasticsearch

    • Status: FAILED
    • Age: 1
    • Duration: 0
    • Error Details: Failed
  • Name: Build and Test / Metricbeat OSS Integration tests / TestStackMonitoringMetricsets – elasticsearch

    • Status: FAILED
    • Age: 1
    • Duration: 0
    • Error Details: Failed
  • Name: Build and Test / Metricbeat Mac OS X / TestStackMonitoringMetricsets – kibana

    • Status: FAILED
    • Age: 1
    • Duration: 0
    • Error Details: Failed
  • Name: Build and Test / Metricbeat OSS Unit tests / TestStackMonitoringMetricsets – kibana

    • Status: FAILED
    • Age: 1
    • Duration: 0
    • Error Details: Failed
  • Name: Build and Test / Metricbeat Windows / TestStackMonitoringMetricsets – kibana

    • Status: FAILED
    • Age: 1
    • Duration: 0
    • Error Details: Failed
  • Name: Build and Test / Metricbeat OSS Integration tests / [build failed] – kibana

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

Steps errors

Expand to view the steps failures

  • Name: Mage build unitTest

    • Description: mage build unitTest

    • Result: FAILURE

    • Duration: 7 min 0 sec

    • Start Time: 2020-05-19T06:02:13.312+0000

    • log

  • Name: Mage goIntegTest

    • Description: mage goIntegTest

    • Result: FAILURE

    • Duration: 31 min 47 sec

    • Start Time: 2020-05-19T06:02:13.233+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-19T06:37:34.242+0000

    • log

  • Name: Mage build unitTest

    • Description: mage build unitTest

    • Result: FAILURE

    • Duration: 5 min 47 sec

    • Start Time: 2020-05-19T06:01:10.626+0000

    • log

  • Name: Mage build unitTest

    • Description: mage build unitTest

    • Result: FAILURE

    • Duration: 10 min 20 sec

    • Start Time: 2020-05-19T06:08:12.732+0000

    • log

Log output

Expand to view the last 100 lines of log output

[2020-05-19T06:54:48.234Z] ++ tr '[:upper:]' '[:lower:]'
[2020-05-19T06:54:48.234Z] + OS=linux
[2020-05-19T06:54:48.234Z] + mkdir -p /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18610/bin
[2020-05-19T06:54:48.234Z] + curl -sSLo - https://releases.hashicorp.com/terraform/0.12.24/terraform_0.12.24_linux_amd64.zip
[2020-05-19T06:54:48.812Z] ++ dirname /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18610/bin/terraform
[2020-05-19T06:54:48.812Z] + unzip -o /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18610/bin/terraform.zip -d /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18610/bin
[2020-05-19T06:54:48.812Z] Archive:  /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18610/bin/terraform.zip
[2020-05-19T06:54:49.387Z]   inflating: /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18610/bin/terraform  
[2020-05-19T06:54:49.387Z] + rm /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18610/bin/terraform.zip
[2020-05-19T06:54:49.387Z] + chmod +x /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18610/bin/terraform
[2020-05-19T06:54:49.740Z] + make mage
[2020-05-19T06:54:49.740Z] Installing mage v1.9.0 from vendor dir.
[2020-05-19T06:54:50.694Z] /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18610/.magefile cleaned
[2020-05-19T06:54:51.028Z] + git config --get user.email
[2020-05-19T06:54:51.028Z] + [ -z  ]
[2020-05-19T06:54:51.028Z] + git config user.email beatsmachine@users.noreply.github.com
[2020-05-19T06:54:51.028Z] + git config user.name beatsmachine
[2020-05-19T06:54:51.492Z] + .ci/scripts/terraform-cleanup.sh x-pack/metricbeat
[2020-05-19T06:54:51.492Z] + DIRECTORY=x-pack/metricbeat
[2020-05-19T06:54:51.492Z] + FAILED=0
[2020-05-19T06:54:51.492Z] ++ find x-pack/metricbeat -name terraform.tfstate
[2020-05-19T06:54:51.492Z] + exit 0
[2020-05-19T06:54:51.860Z] + curl -sSLo codecov https://codecov.io/bash
[2020-05-19T06:54:52.122Z] + FILE=auditbeat/build/coverage/full.cov
[2020-05-19T06:54:52.122Z] + [ -f auditbeat/build/coverage/full.cov ]
[2020-05-19T06:54:52.122Z] + FILE=filebeat/build/coverage/full.cov
[2020-05-19T06:54:52.122Z] + [ -f filebeat/build/coverage/full.cov ]
[2020-05-19T06:54:52.122Z] + FILE=heartbeat/build/coverage/full.cov
[2020-05-19T06:54:52.122Z] + [ -f heartbeat/build/coverage/full.cov ]
[2020-05-19T06:54:52.122Z] + FILE=libbeat/build/coverage/full.cov
[2020-05-19T06:54:52.122Z] + [ -f libbeat/build/coverage/full.cov ]
[2020-05-19T06:54:52.122Z] + FILE=metricbeat/build/coverage/full.cov
[2020-05-19T06:54:52.122Z] + [ -f metricbeat/build/coverage/full.cov ]
[2020-05-19T06:54:52.122Z] + FILE=packetbeat/build/coverage/full.cov
[2020-05-19T06:54:52.122Z] + [ -f packetbeat/build/coverage/full.cov ]
[2020-05-19T06:54:52.122Z] + FILE=winlogbeat/build/coverage/full.cov
[2020-05-19T06:54:52.122Z] + [ -f winlogbeat/build/coverage/full.cov ]
[2020-05-19T06:54:52.122Z] + FILE=journalbeat/build/coverage/full.cov
[2020-05-19T06:54:52.122Z] + [ -f journalbeat/build/coverage/full.cov ]
[2020-05-19T06:54:52.612Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18610/src/github.com/elastic/beats
[2020-05-19T06:54:52.932Z] + find . -type f -name TEST*.xml -path */build/* -delete
[2020-05-19T06:54:52.945Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18610/src/github.com/elastic/beats/Lint
[2020-05-19T06:54:53.044Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18610/src/github.com/elastic/beats/Metricbeat-Mac-OS-X
[2020-05-19T06:54:53.136Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18610/src/github.com/elastic/beats/Metricbeat-OSS-Unit-tests
[2020-05-19T06:54:53.208Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18610/src/github.com/elastic/beats/Metricbeat-x-pack-Mac-OS-X
[2020-05-19T06:54:53.282Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18610/src/github.com/elastic/beats/Metricbeat-crosscompile
[2020-05-19T06:54:53.358Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18610/src/github.com/elastic/beats/Metricbeat-Windows
[2020-05-19T06:54:53.442Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18610/src/github.com/elastic/beats/Filebeat-x-pack-Mac-OS-X
[2020-05-19T06:54:53.517Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18610/src/github.com/elastic/beats/Metricbeat-x-pack-Windows
[2020-05-19T06:54:53.591Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18610/src/github.com/elastic/beats/Metricbeat-OSS-Integration-tests
[2020-05-19T06:54:53.686Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18610/src/github.com/elastic/beats/Metricbeat-Python-integration-tests
[2020-05-19T06:54:53.763Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18610/src/github.com/elastic/beats/Metricbeat-x-pack
[2020-05-19T06:54:54.126Z] + cat
[2020-05-19T06:54:54.126Z] + /usr/local/bin/runbld ./runbld-script
[2020-05-19T06:54:54.126Z] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[2020-05-19T06:55:00.732Z] runbld>>> runbld started
[2020-05-19T06:55:00.732Z] runbld>>> 1.6.11/a66728ff8f4356963772e6e6d2069392fa06acbe
[2020-05-19T06:55:02.122Z] runbld>>> The following profiles matched the job 'Beats/beats-beats-mbp/PR-18610' in order of occurrence in the config (last value wins).
[2020-05-19T06:55:03.509Z] runbld>>> Debug logging enabled.
[2020-05-19T06:55:03.509Z] runbld>>> Storing result
[2020-05-19T06:55:03.509Z] runbld>>> Store result: created {:total 2, :successful 2, :failed 0} 1
[2020-05-19T06:55:03.509Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200519065503-A3454C3D
[2020-05-19T06:55:03.509Z] runbld>>> Adding system facts.
[2020-05-19T06:55:04.463Z] runbld>>> Adding vcs info for the latest commit:  0ef85d21c23f9ddeb3ae72ccd4a77625b17f6f3b
[2020-05-19T06:55:04.724Z] runbld>>> >>>>>>>>>>>> SCRIPT EXECUTION BEGIN >>>>>>>>>>>>
[2020-05-19T06:55:04.724Z] runbld>>> Adding /usr/lib/jvm/java-8-openjdk-amd64/bin to the path.
[2020-05-19T06:55:04.724Z] + echo 'Processing JUnit reports with runbld...'
[2020-05-19T06:55:04.724Z] Processing JUnit reports with runbld...
[2020-05-19T06:55:04.985Z] runbld>>> <<<<<<<<<<<< SCRIPT EXECUTION END <<<<<<<<<<<<
[2020-05-19T06:55:04.985Z] runbld>>> DURATION: 12ms
[2020-05-19T06:55:04.985Z] runbld>>> STDOUT: 40 bytes
[2020-05-19T06:55:04.985Z] runbld>>> STDERR: 49 bytes
[2020-05-19T06:55:04.985Z] runbld>>> WRAPPED PROCESS: SUCCESS (0)
[2020-05-19T06:55:04.985Z] runbld>>> Searching for build metadata in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18610/src/github.com/elastic/beats
[2020-05-19T06:55:06.374Z] runbld>>> Storing build metadata: 
[2020-05-19T06:55:06.374Z] runbld>>> Adding test report.
[2020-05-19T06:55:06.374Z] runbld>>> Searching for junit test output files with the pattern: TEST-.*\.xml$ in: /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18610/src/github.com/elastic/beats
[2020-05-19T06:55:07.319Z] runbld>>> Found 72 test output files
[2020-05-19T06:55:07.580Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18610/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-openmetrics.xml
[2020-05-19T06:55:07.581Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18610/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-istio.xml
[2020-05-19T06:55:07.581Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18610/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-iis.xml
[2020-05-19T06:55:07.581Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18610/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-activemq.xml
[2020-05-19T06:55:07.843Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18610/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-tomcat.xml
[2020-05-19T06:55:07.843Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18610/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-cloudfoundry.xml
[2020-05-19T06:55:08.420Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18610/src/github.com/elastic/beats/Metricbeat-OSS-Integration-tests/metricbeat/build/TEST-go-integration-windows.xml
[2020-05-19T06:55:08.421Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18610/src/github.com/elastic/beats/Metricbeat-OSS-Integration-tests/metricbeat/build/TEST-go-integration-graphite.xml
[2020-05-19T06:55:08.691Z] runbld>>> Test output logs contained: Errors: 0 Failures: 12 Tests: 4311 Skipped: 198
[2020-05-19T06:55:08.953Z] runbld>>> Storing result
[2020-05-19T06:55:08.953Z] runbld>>> FAILURES: 12
[2020-05-19T06:55:11.503Z] runbld>>> Store result: updated {:total 2, :successful 2, :failed 0} 2
[2020-05-19T06:55:11.503Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200519065503-A3454C3D
[2020-05-19T06:55:11.503Z] runbld>>> Email notification disabled by environment variable.
[2020-05-19T06:55:11.503Z] runbld>>> Slack notification disabled by environment variable.
[2020-05-19T06:55:17.545Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18610
[2020-05-19T06:55:17.813Z] [INFO] getVaultSecret: Getting secrets
[2020-05-19T06:55:17.866Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-05-19T06:55:18.525Z] + chmod 755 generate-build-data.sh
[2020-05-19T06:55:18.526Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18610/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18610/runs/17 FAILURE 4646143
[2020-05-19T06:55:19.078Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18610/runs/17/steps/?limit=10000 -o steps-info.json
[2020-05-19T06:55:19.629Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18610/runs/17/tests/?status=FAILED -o tests-errors.json

@ycombinator ycombinator force-pushed the mb-stack-deprecate-xpack-enabled branch from cf2ece5 to f65b834 Compare May 19, 2020 05:26
@@ -65,11 +65,30 @@ func TestGetVertexClusterUUID(t *testing.T) {
}
}

func TestXPackEnabledMetricSets(t *testing.T) {
func TestXPackEnabledMetricsets(t *testing.T) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Just making this consistent with other stack modules' tests.

base,
http,
config.GetMode() == elastic.ModeStackMonitoring,
}, nil
}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I have no idea why GitHub thinks this is a rename! I deleted the file on the left completely and created the file on the right completely from scrath.

@ycombinator ycombinator added [zube]: In Review needs_backport PR is waiting to be backported to other branches. Team:Services (Deprecated) Label for the former Integrations-Services team v7.9.0 v8.0.0 labels May 19, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/integrations-services (Team:Services)

@botelastic botelastic bot removed the needs_team Indicates that the issue/PR needs a Team:* label label May 19, 2020
@zube zube bot added [zube]: Inbox needs_team Indicates that the issue/PR needs a Team:* label and removed [zube]: In Review labels May 19, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/stack-monitoring (Stack monitoring)

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

botelastic bot commented May 19, 2020

This pull request doesn't have a Team:<team> label.

@ycombinator
Copy link
Contributor Author

We're not sure if the xpack.enabled flag is going to be around in 8.0.0 / master. So closing this PR unmerged for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Stack Monitoring needs_backport PR is waiting to be backported to other branches. Team:Services (Deprecated) Label for the former Integrations-Services team v7.9.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants