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

[Metricbeat] Use MySQL Host Parser in Query metricset #20191

Conversation

sayden
Copy link
Contributor

@sayden sayden commented Jul 23, 2020

Add Mysql host parser in query metricset instead of using the default.

Relates: #20149

@sayden sayden added enhancement Metricbeat Metricbeat Team:Services (Deprecated) Label for the former Integrations-Services team labels Jul 23, 2020
@sayden sayden self-assigned this Jul 23, 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 Jul 23, 2020
@sayden sayden requested a review from jsoriano July 23, 2020 11:47
jsoriano
jsoriano previously approved these changes Jul 23, 2020
@elasticmachine
Copy link
Collaborator

elasticmachine commented Jul 23, 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

Expand to view the summary

Build stats

  • Build Cause: [Pull request #20191 updated]

  • Reason: Aborted from #7

  • Start Time: 2020-07-23T16:25:39.091+0000

  • Duration: 11 min 43 sec

  • Commit: 63408f6

Log output

Expand to view the last 100 lines of log output

[2020-07-23T16:35:59.964Z] Stage "Metricbeat x-pack" skipped due to earlier failure(s)
[2020-07-23T16:35:59.965Z] Stage "Packetbeat OSS" skipped due to earlier failure(s)
[2020-07-23T16:35:59.966Z] Stage "dockerlogbeat" skipped due to earlier failure(s)
[2020-07-23T16:35:59.967Z] Stage "Winlogbeat" skipped due to earlier failure(s)
[2020-07-23T16:35:59.967Z] Stage "Functionbeat" skipped due to earlier failure(s)
[2020-07-23T16:35:59.968Z] Stage "Journalbeat" skipped due to earlier failure(s)
[2020-07-23T16:35:59.969Z] Stage "Generators" skipped due to earlier failure(s)
[2020-07-23T16:36:00.529Z] Failed in branch Elastic Agent x-pack
[2020-07-23T16:36:00.530Z] Failed in branch Elastic Agent x-pack Windows
[2020-07-23T16:36:00.530Z] Failed in branch Elastic Agent Mac OS X
[2020-07-23T16:36:00.531Z] Failed in branch Filebeat oss
[2020-07-23T16:36:00.531Z] Failed in branch Filebeat x-pack
[2020-07-23T16:36:00.532Z] Failed in branch Filebeat Mac OS X
[2020-07-23T16:36:00.533Z] Failed in branch Filebeat x-pack Mac OS X
[2020-07-23T16:36:00.533Z] Failed in branch Filebeat Windows
[2020-07-23T16:36:00.534Z] Failed in branch Filebeat x-pack Windows
[2020-07-23T16:36:00.534Z] Failed in branch Auditbeat oss Linux
[2020-07-23T16:36:00.535Z] Failed in branch Auditbeat crosscompile
[2020-07-23T16:36:00.535Z] Failed in branch Auditbeat oss Mac OS X
[2020-07-23T16:36:00.536Z] Failed in branch Auditbeat oss Windows
[2020-07-23T16:36:00.537Z] Failed in branch Auditbeat x-pack
[2020-07-23T16:36:00.537Z] Failed in branch Auditbeat x-pack Mac OS X
[2020-07-23T16:36:00.538Z] Failed in branch Auditbeat x-pack Windows
[2020-07-23T16:36:00.538Z] Failed in branch Libbeat x-pack
[2020-07-23T16:36:00.539Z] Failed in branch Metricbeat OSS Unit tests
[2020-07-23T16:36:00.539Z] Failed in branch Metricbeat OSS Go Integration tests
[2020-07-23T16:36:00.540Z] Failed in branch Metricbeat OSS Python Integration tests
[2020-07-23T16:36:00.541Z] Failed in branch Metricbeat crosscompile
[2020-07-23T16:36:00.541Z] Failed in branch Metricbeat Mac OS X
[2020-07-23T16:36:00.542Z] Failed in branch Metricbeat x-pack Mac OS X
[2020-07-23T16:36:00.542Z] Failed in branch Metricbeat Windows
[2020-07-23T16:36:00.543Z] Failed in branch Metricbeat x-pack Windows
[2020-07-23T16:36:00.543Z] Failed in branch Winlogbeat Windows x-pack
[2020-07-23T16:36:00.544Z] Failed in branch Kubernetes
[2020-07-23T16:36:00.821Z] Stage "Heartbeat" skipped due to earlier failure(s)
[2020-07-23T16:36:00.822Z] Stage "Libbeat" skipped due to earlier failure(s)
[2020-07-23T16:36:00.823Z] Stage "Metricbeat x-pack" skipped due to earlier failure(s)
[2020-07-23T16:36:00.824Z] Stage "Packetbeat OSS" skipped due to earlier failure(s)
[2020-07-23T16:36:00.825Z] Stage "Winlogbeat" skipped due to earlier failure(s)
[2020-07-23T16:36:00.826Z] Stage "Functionbeat" skipped due to earlier failure(s)
[2020-07-23T16:36:00.827Z] Stage "Generators" skipped due to earlier failure(s)
[2020-07-23T16:36:00.865Z] Failed in branch dockerlogbeat
[2020-07-23T16:36:00.866Z] Failed in branch Journalbeat
[2020-07-23T16:36:01.089Z] Stage "Heartbeat" skipped due to earlier failure(s)
[2020-07-23T16:36:01.091Z] Stage "Libbeat" skipped due to earlier failure(s)
[2020-07-23T16:36:01.092Z] Stage "Packetbeat OSS" skipped due to earlier failure(s)
[2020-07-23T16:36:01.093Z] Stage "Functionbeat" skipped due to earlier failure(s)
[2020-07-23T16:36:01.094Z] Stage "Generators" skipped due to earlier failure(s)
[2020-07-23T16:36:01.134Z] Failed in branch Metricbeat x-pack
[2020-07-23T16:36:01.134Z] Failed in branch Winlogbeat
[2020-07-23T16:36:01.389Z] Failed in branch Heartbeat
[2020-07-23T16:36:01.390Z] Failed in branch Libbeat
[2020-07-23T16:36:01.391Z] Failed in branch Packetbeat OSS
[2020-07-23T16:36:01.391Z] Failed in branch Functionbeat
[2020-07-23T16:36:01.392Z] Stage "Generators" skipped due to earlier failure(s)
[2020-07-23T16:36:01.478Z] Failed in branch Generators
[2020-07-23T16:36:01.606Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20191/src/github.com/elastic/beats
[2020-07-23T16:36:01.907Z] + find . -type f -name TEST*.xml -path */build/* -delete
[2020-07-23T16:36:01.917Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20191/src/github.com/elastic/beats/Lint
[2020-07-23T16:36:02.280Z] + cat
[2020-07-23T16:36:02.280Z] + /usr/local/bin/runbld ./runbld-script
[2020-07-23T16:36:02.280Z] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[2020-07-23T16:36:06.729Z] Click here to forcibly terminate running steps
[2020-07-23T16:36:08.864Z] runbld>>> runbld started
[2020-07-23T16:36:08.864Z] runbld>>> 1.6.12/f45d832f2ba0aa2722ab4ec1fda8ad140f027f8b
[2020-07-23T16:36:10.250Z] runbld>>> The following profiles matched the job 'Beats/beats/PR-20191' in order of occurrence in the config (last value wins).
[2020-07-23T16:36:11.643Z] runbld>>> Debug logging enabled.
[2020-07-23T16:36:11.643Z] runbld>>> Storing result
[2020-07-23T16:36:11.643Z] runbld>>> Store result: created {:total 2, :successful 2, :failed 0} 1
[2020-07-23T16:36:11.643Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200723163611-51DF5C87
[2020-07-23T16:36:11.644Z] runbld>>> Adding system facts.
[2020-07-23T16:36:12.583Z] runbld>>> Adding vcs info for the latest commit:  c6b0242471b74c5bb6e27efa2023fbddefb5a77a
[2020-07-23T16:36:12.584Z] runbld>>> >>>>>>>>>>>> SCRIPT EXECUTION BEGIN >>>>>>>>>>>>
[2020-07-23T16:36:12.584Z] runbld>>> Adding /usr/lib/jvm/java-8-openjdk-amd64/bin to the path.
[2020-07-23T16:36:12.584Z] + echo 'Processing JUnit reports with runbld...'
[2020-07-23T16:36:12.584Z] Processing JUnit reports with runbld...
[2020-07-23T16:36:13.158Z] runbld>>> <<<<<<<<<<<< SCRIPT EXECUTION END <<<<<<<<<<<<
[2020-07-23T16:36:13.158Z] runbld>>> DURATION: 30ms
[2020-07-23T16:36:13.158Z] runbld>>> STDOUT: 40 bytes
[2020-07-23T16:36:13.158Z] runbld>>> STDERR: 49 bytes
[2020-07-23T16:36:13.158Z] runbld>>> WRAPPED PROCESS: SUCCESS (0)
[2020-07-23T16:36:13.158Z] runbld>>> Searching for build metadata in /var/lib/jenkins/workspace/Beats_beats_PR-20191/src/github.com/elastic/beats
[2020-07-23T16:36:14.096Z] runbld>>> Storing build metadata: 
[2020-07-23T16:36:14.096Z] runbld>>> Adding test report.
[2020-07-23T16:36:14.096Z] runbld>>> Searching for junit test output files with the pattern: TEST-.*\.xml$ in: /var/lib/jenkins/workspace/Beats_beats_PR-20191/src/github.com/elastic/beats
[2020-07-23T16:36:14.670Z] runbld>>> Found 0 test output files
[2020-07-23T16:36:14.670Z] runbld>>> Test output logs contained: Errors: 0 Failures: 0 Tests: 0 Skipped: 0
[2020-07-23T16:36:14.931Z] runbld>>> Storing result
[2020-07-23T16:36:14.931Z] runbld>>> Store result: updated {:total 2, :successful 2, :failed 0} 2
[2020-07-23T16:36:14.931Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200723163611-51DF5C87
[2020-07-23T16:36:15.191Z] runbld>>> Email notification disabled by environment variable.
[2020-07-23T16:36:15.191Z] runbld>>> Slack notification disabled by environment variable.
[2020-07-23T16:36:20.786Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats_PR-20191
[2020-07-23T16:36:20.945Z] [INFO] getVaultSecret: Getting secrets
[2020-07-23T16:36:21.050Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-07-23T16:36:21.907Z] + chmod 755 generate-build-data.sh
[2020-07-23T16:36:21.907Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-20191/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-20191/runs/6 ABORTED 642557
[2020-07-23T16:36:21.907Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-20191/runs/6/steps/?limit=10000 -o steps-info.json
[2020-07-23T16:36:22.158Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-20191/runs/6/tests/?status=FAILED -o tests-errors.json
[2020-07-23T16:36:22.408Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-20191/runs/6/log/ -o pipeline-log.txt

metricbeat/module/mysql/_meta/config.reference.yml Outdated Show resolved Hide resolved
metricbeat/module/mysql/_meta/config.yml Outdated Show resolved Hide resolved
@@ -2,6 +2,8 @@
metricsets:
- "status"
# - "galera_status"
# - performance
# - query
Copy link
Member

Choose a reason for hiding this comment

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

It could make sense to add in the reference docs some commented out example of the query metricset options.

@jsoriano jsoriano dismissed their stale review July 23, 2020 15:25

More changes since approval

@sayden sayden merged commit 9dc4877 into elastic:master Jul 23, 2020
sayden added a commit to sayden/beats that referenced this pull request Jul 23, 2020
(cherry picked from commit 9dc4877)

# Conflicts:
#	metricbeat/module/mysql/_meta/config.epr.yml
@sayden sayden added the v7.9.0 label Jul 23, 2020
sayden added a commit to sayden/beats that referenced this pull request Jul 23, 2020
(cherry picked from commit 9dc4877)

# Conflicts:
#	metricbeat/module/mysql/_meta/config.epr.yml
@sayden sayden added the v7.10.0 label Jul 23, 2020
@elasticmachine
Copy link
Collaborator

❕ Build Aborted

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

Pipeline View Test View Changes Artifacts

Expand to view the summary

Build stats

  • Build Cause: [Pull request #20191 updated]

  • Reason: Aborted from #8

  • Start Time: 2020-07-23T16:33:52.865+0000

  • Duration: 81 min 29 sec

  • Commit: d46e90f

Test stats 🧪

Test Results
Failed 0
Passed 3062
Skipped 712
Total 3774

Log output

Expand to view the last 100 lines of log output

[2020-07-23T17:54:52.522Z] ++ export GOROOT=/var/lib/jenkins/workspace/Beats_beats_PR-20191/.gvm/versions/go1.14.4.linux.amd64 export PATH=/var/lib/jenkins/workspace/Beats_beats_PR-20191/.gvm/versions/go1.14.4.linux.amd64/bin:/var/lib/jenkins/workspace/Beats_beats_PR-20191/bin:/var/lib/jenkins/workspace/Beats_beats_PR-20191/.gvm/versions/go1.14.4.linux.amd64/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
[2020-07-23T17:54:52.522Z] ++ GOROOT=/var/lib/jenkins/workspace/Beats_beats_PR-20191/.gvm/versions/go1.14.4.linux.amd64
[2020-07-23T17:54:52.522Z] ++ PATH=/var/lib/jenkins/workspace/Beats_beats_PR-20191/.gvm/versions/go1.14.4.linux.amd64/bin:/var/lib/jenkins/workspace/Beats_beats_PR-20191/bin:/var/lib/jenkins/workspace/Beats_beats_PR-20191/.gvm/versions/go1.14.4.linux.amd64/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
[2020-07-23T17:54:52.902Z] + .ci/scripts/install-docker-compose.sh
[2020-07-23T17:54:52.902Z] + MSG='parameter missing.'
[2020-07-23T17:54:52.902Z] + DOCKER_COMPOSE_VERSION=1.21.0
[2020-07-23T17:54:52.902Z] + HOME=/var/lib/jenkins/workspace/Beats_beats_PR-20191
[2020-07-23T17:54:52.902Z] + DC_CMD=/var/lib/jenkins/workspace/Beats_beats_PR-20191/bin/docker-compose
[2020-07-23T17:54:52.902Z] + mkdir -p /var/lib/jenkins/workspace/Beats_beats_PR-20191/bin
[2020-07-23T17:54:52.902Z] ++ uname -s
[2020-07-23T17:54:52.902Z] ++ uname -m
[2020-07-23T17:54:52.902Z] + curl -sSLo /var/lib/jenkins/workspace/Beats_beats_PR-20191/bin/docker-compose https://github.com/docker/compose/releases/download/1.21.0/docker-compose-Linux-x86_64
[2020-07-23T17:54:53.847Z] + chmod +x /var/lib/jenkins/workspace/Beats_beats_PR-20191/bin/docker-compose
[2020-07-23T17:54:54.225Z] + .ci/scripts/install-terraform.sh
[2020-07-23T17:54:54.225Z] + MSG='parameter missing.'
[2020-07-23T17:54:54.225Z] + TERRAFORM_VERSION=0.12.24
[2020-07-23T17:54:54.225Z] + HOME=/var/lib/jenkins/workspace/Beats_beats_PR-20191
[2020-07-23T17:54:54.225Z] + TERRAFORM_CMD=/var/lib/jenkins/workspace/Beats_beats_PR-20191/bin/terraform
[2020-07-23T17:54:54.225Z] ++ uname -s
[2020-07-23T17:54:54.225Z] ++ tr '[:upper:]' '[:lower:]'
[2020-07-23T17:54:54.225Z] + OS=linux
[2020-07-23T17:54:54.225Z] + mkdir -p /var/lib/jenkins/workspace/Beats_beats_PR-20191/bin
[2020-07-23T17:54:54.225Z] + curl -sSLo - https://releases.hashicorp.com/terraform/0.12.24/terraform_0.12.24_linux_amd64.zip
[2020-07-23T17:54:55.168Z] ++ dirname /var/lib/jenkins/workspace/Beats_beats_PR-20191/bin/terraform
[2020-07-23T17:54:55.168Z] + unzip -o /var/lib/jenkins/workspace/Beats_beats_PR-20191/bin/terraform.zip -d /var/lib/jenkins/workspace/Beats_beats_PR-20191/bin
[2020-07-23T17:54:55.168Z] Archive:  /var/lib/jenkins/workspace/Beats_beats_PR-20191/bin/terraform.zip
[2020-07-23T17:54:55.429Z]   inflating: /var/lib/jenkins/workspace/Beats_beats_PR-20191/bin/terraform  
[2020-07-23T17:54:55.429Z] + rm /var/lib/jenkins/workspace/Beats_beats_PR-20191/bin/terraform.zip
[2020-07-23T17:54:55.429Z] + chmod +x /var/lib/jenkins/workspace/Beats_beats_PR-20191/bin/terraform
[2020-07-23T17:54:55.836Z] + make mage
[2020-07-23T17:54:55.836Z] Installing mage v1.10.0.
[2020-07-23T17:54:56.783Z] go: downloading github.com/magefile/mage v1.10.0
[2020-07-23T17:54:58.169Z] /var/lib/jenkins/workspace/Beats_beats_PR-20191/.magefile cleaned
[2020-07-23T17:54:58.511Z] + git config --get user.email
[2020-07-23T17:54:58.511Z] + [ -z  ]
[2020-07-23T17:54:58.511Z] + git config user.email [email protected]
[2020-07-23T17:54:58.511Z] + git config user.name beatsmachine
[2020-07-23T17:54:58.918Z] + .ci/scripts/terraform-cleanup.sh x-pack/metricbeat
[2020-07-23T17:54:58.918Z] + DIRECTORY=x-pack/metricbeat
[2020-07-23T17:54:58.918Z] + FAILED=0
[2020-07-23T17:54:58.918Z] ++ find x-pack/metricbeat -name terraform.tfstate
[2020-07-23T17:54:58.918Z] + exit 0
[2020-07-23T17:54:59.449Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20191/src/github.com/elastic/beats
[2020-07-23T17:54:59.752Z] + find . -type f -name TEST*.xml -path */build/* -delete
[2020-07-23T17:54:59.766Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20191/src/github.com/elastic/beats/Lint
[2020-07-23T17:54:59.858Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20191/src/github.com/elastic/beats/Metricbeat-OSS-Go-Integration-tests
[2020-07-23T17:54:59.951Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20191/src/github.com/elastic/beats/Metricbeat-OSS-Unit-tests
[2020-07-23T17:55:00.048Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20191/src/github.com/elastic/beats/Metricbeat-OSS-Python-Integration-tests
[2020-07-23T17:55:00.171Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20191/src/github.com/elastic/beats/Metricbeat-crosscompile
[2020-07-23T17:55:00.286Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20191/src/github.com/elastic/beats/Metricbeat-Windows
[2020-07-23T17:55:00.396Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20191/src/github.com/elastic/beats/Metricbeat-x-pack-Windows
[2020-07-23T17:55:00.501Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20191/src/github.com/elastic/beats/Metricbeat-x-pack-Mac-OS-X
[2020-07-23T17:55:00.604Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20191/src/github.com/elastic/beats/Metricbeat-Mac-OS-X
[2020-07-23T17:55:00.714Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20191/src/github.com/elastic/beats/Metricbeat-x-pack
[2020-07-23T17:55:01.105Z] + cat
[2020-07-23T17:55:01.105Z] + /usr/local/bin/runbld ./runbld-script
[2020-07-23T17:55:01.105Z] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[2020-07-23T17:55:07.678Z] runbld>>> runbld started
[2020-07-23T17:55:07.678Z] runbld>>> 1.6.12/f45d832f2ba0aa2722ab4ec1fda8ad140f027f8b
[2020-07-23T17:55:09.589Z] runbld>>> The following profiles matched the job 'Beats/beats/PR-20191' in order of occurrence in the config (last value wins).
[2020-07-23T17:55:10.533Z] runbld>>> Debug logging enabled.
[2020-07-23T17:55:10.533Z] runbld>>> Storing result
[2020-07-23T17:55:10.793Z] runbld>>> Store result: created {:total 2, :successful 2, :failed 0} 1
[2020-07-23T17:55:10.793Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200723175510-B735E564
[2020-07-23T17:55:10.793Z] runbld>>> Adding system facts.
[2020-07-23T17:55:11.732Z] runbld>>> Adding vcs info for the latest commit:  947457d1ec34c4d2d54915362f91778002d18a42
[2020-07-23T17:55:11.732Z] runbld>>> >>>>>>>>>>>> SCRIPT EXECUTION BEGIN >>>>>>>>>>>>
[2020-07-23T17:55:11.732Z] runbld>>> Adding /usr/lib/jvm/java-8-openjdk-amd64/bin to the path.
[2020-07-23T17:55:11.732Z] + echo 'Processing JUnit reports with runbld...'
[2020-07-23T17:55:11.732Z] Processing JUnit reports with runbld...
[2020-07-23T17:55:12.301Z] runbld>>> <<<<<<<<<<<< SCRIPT EXECUTION END <<<<<<<<<<<<
[2020-07-23T17:55:12.301Z] runbld>>> DURATION: 38ms
[2020-07-23T17:55:12.301Z] runbld>>> STDOUT: 40 bytes
[2020-07-23T17:55:12.301Z] runbld>>> STDERR: 49 bytes
[2020-07-23T17:55:12.301Z] runbld>>> WRAPPED PROCESS: SUCCESS (0)
[2020-07-23T17:55:12.301Z] runbld>>> Searching for build metadata in /var/lib/jenkins/workspace/Beats_beats_PR-20191/src/github.com/elastic/beats
[2020-07-23T17:55:13.284Z] runbld>>> Storing build metadata: 
[2020-07-23T17:55:13.284Z] runbld>>> Adding test report.
[2020-07-23T17:55:13.284Z] runbld>>> Searching for junit test output files with the pattern: TEST-.*\.xml$ in: /var/lib/jenkins/workspace/Beats_beats_PR-20191/src/github.com/elastic/beats
[2020-07-23T17:55:14.249Z] runbld>>> Found 35 test output files
[2020-07-23T17:55:14.510Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-20191/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-istio.xml
[2020-07-23T17:55:14.510Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-20191/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-openmetrics.xml
[2020-07-23T17:55:14.510Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-20191/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-tomcat.xml
[2020-07-23T17:55:14.769Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-20191/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-activemq.xml
[2020-07-23T17:55:14.769Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-20191/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-iis.xml
[2020-07-23T17:55:15.338Z] runbld>>> Test output logs contained: Errors: 0 Failures: 0 Tests: 3774 Skipped: 621
[2020-07-23T17:55:15.338Z] runbld>>> Storing result
[2020-07-23T17:55:15.338Z] runbld>>> FAILURES: 0
[2020-07-23T17:55:15.597Z] runbld>>> Store result: updated {:total 2, :successful 2, :failed 0} 2
[2020-07-23T17:55:15.597Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200723175510-B735E564
[2020-07-23T17:55:15.597Z] runbld>>> Email notification disabled by environment variable.
[2020-07-23T17:55:15.597Z] runbld>>> Slack notification disabled by environment variable.
[2020-07-23T17:55:21.172Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats_PR-20191
[2020-07-23T17:55:21.277Z] [INFO] getVaultSecret: Getting secrets
[2020-07-23T17:55:21.366Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-07-23T17:55:22.140Z] + chmod 755 generate-build-data.sh
[2020-07-23T17:55:22.140Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-20191/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-20191/runs/7 ABORTED 4889016
[2020-07-23T17:55:22.140Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-20191/runs/7/steps/?limit=10000 -o steps-info.json
[2020-07-23T17:55:23.051Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-20191/runs/7/tests/?status=FAILED -o tests-errors.json
[2020-07-23T17:55:23.302Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-20191/runs/7/log/ -o pipeline-log.txt

@elasticmachine
Copy link
Collaborator

💔 Tests Failed

Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: [Pull request #20191 updated]

  • Start Time: 2020-07-23T16:39:06.874+0000

  • Duration: 76 min 5 sec

Test stats 🧪

Test Results
Failed 1
Passed 3061
Skipped 712
Total 3774

Test errors

Expand to view the tests failures

  • Name: Build and Test / Metricbeat OSS Unit tests / test_process – test_system.Test

    • Age: 1
    • Duration: 1.211
    • Error Details: False is not true : fd not found in any process events

Steps errors

Expand to view the steps failures

  • Name: Mage build unitTest
    • Description: mage build unitTest

    • Duration: 6 min 53 sec

    • Start Time: 2020-07-23T17:05:06.700+0000

    • log

Log output

Expand to view the last 100 lines of log output

[2020-07-23T17:54:39.690Z] ++ export GOROOT=/var/lib/jenkins/workspace/Beats_beats_PR-20191/.gvm/versions/go1.14.4.linux.amd64 export PATH=/var/lib/jenkins/workspace/Beats_beats_PR-20191/.gvm/versions/go1.14.4.linux.amd64/bin:/var/lib/jenkins/workspace/Beats_beats_PR-20191/bin:/var/lib/jenkins/workspace/Beats_beats_PR-20191/.gvm/versions/go1.14.4.linux.amd64/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
[2020-07-23T17:54:39.690Z] ++ GOROOT=/var/lib/jenkins/workspace/Beats_beats_PR-20191/.gvm/versions/go1.14.4.linux.amd64
[2020-07-23T17:54:39.690Z] ++ PATH=/var/lib/jenkins/workspace/Beats_beats_PR-20191/.gvm/versions/go1.14.4.linux.amd64/bin:/var/lib/jenkins/workspace/Beats_beats_PR-20191/bin:/var/lib/jenkins/workspace/Beats_beats_PR-20191/.gvm/versions/go1.14.4.linux.amd64/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
[2020-07-23T17:54:40.059Z] + .ci/scripts/install-docker-compose.sh
[2020-07-23T17:54:40.059Z] + MSG='parameter missing.'
[2020-07-23T17:54:40.059Z] + DOCKER_COMPOSE_VERSION=1.21.0
[2020-07-23T17:54:40.059Z] + HOME=/var/lib/jenkins/workspace/Beats_beats_PR-20191
[2020-07-23T17:54:40.059Z] + DC_CMD=/var/lib/jenkins/workspace/Beats_beats_PR-20191/bin/docker-compose
[2020-07-23T17:54:40.059Z] + mkdir -p /var/lib/jenkins/workspace/Beats_beats_PR-20191/bin
[2020-07-23T17:54:40.059Z] ++ uname -s
[2020-07-23T17:54:40.059Z] ++ uname -m
[2020-07-23T17:54:40.059Z] + curl -sSLo /var/lib/jenkins/workspace/Beats_beats_PR-20191/bin/docker-compose https://github.com/docker/compose/releases/download/1.21.0/docker-compose-Linux-x86_64
[2020-07-23T17:54:41.003Z] + chmod +x /var/lib/jenkins/workspace/Beats_beats_PR-20191/bin/docker-compose
[2020-07-23T17:54:41.382Z] + .ci/scripts/install-terraform.sh
[2020-07-23T17:54:41.382Z] + MSG='parameter missing.'
[2020-07-23T17:54:41.382Z] + TERRAFORM_VERSION=0.12.24
[2020-07-23T17:54:41.382Z] + HOME=/var/lib/jenkins/workspace/Beats_beats_PR-20191
[2020-07-23T17:54:41.382Z] + TERRAFORM_CMD=/var/lib/jenkins/workspace/Beats_beats_PR-20191/bin/terraform
[2020-07-23T17:54:41.382Z] ++ uname -s
[2020-07-23T17:54:41.382Z] ++ tr '[:upper:]' '[:lower:]'
[2020-07-23T17:54:41.382Z] + OS=linux
[2020-07-23T17:54:41.382Z] + mkdir -p /var/lib/jenkins/workspace/Beats_beats_PR-20191/bin
[2020-07-23T17:54:41.382Z] + curl -sSLo - https://releases.hashicorp.com/terraform/0.12.24/terraform_0.12.24_linux_amd64.zip
[2020-07-23T17:54:42.006Z] ++ dirname /var/lib/jenkins/workspace/Beats_beats_PR-20191/bin/terraform
[2020-07-23T17:54:42.006Z] + unzip -o /var/lib/jenkins/workspace/Beats_beats_PR-20191/bin/terraform.zip -d /var/lib/jenkins/workspace/Beats_beats_PR-20191/bin
[2020-07-23T17:54:42.006Z] Archive:  /var/lib/jenkins/workspace/Beats_beats_PR-20191/bin/terraform.zip
[2020-07-23T17:54:42.579Z]   inflating: /var/lib/jenkins/workspace/Beats_beats_PR-20191/bin/terraform  
[2020-07-23T17:54:42.579Z] + rm /var/lib/jenkins/workspace/Beats_beats_PR-20191/bin/terraform.zip
[2020-07-23T17:54:42.579Z] + chmod +x /var/lib/jenkins/workspace/Beats_beats_PR-20191/bin/terraform
[2020-07-23T17:54:42.940Z] + make mage
[2020-07-23T17:54:42.940Z] Installing mage v1.10.0.
[2020-07-23T17:54:43.952Z] go: downloading github.com/magefile/mage v1.10.0
[2020-07-23T17:54:45.343Z] /var/lib/jenkins/workspace/Beats_beats_PR-20191/.magefile cleaned
[2020-07-23T17:54:45.686Z] + git config --get user.email
[2020-07-23T17:54:45.686Z] + [ -z  ]
[2020-07-23T17:54:45.686Z] + git config user.email [email protected]
[2020-07-23T17:54:45.686Z] + git config user.name beatsmachine
[2020-07-23T17:54:46.090Z] + .ci/scripts/terraform-cleanup.sh x-pack/metricbeat
[2020-07-23T17:54:46.090Z] + DIRECTORY=x-pack/metricbeat
[2020-07-23T17:54:46.090Z] + FAILED=0
[2020-07-23T17:54:46.090Z] ++ find x-pack/metricbeat -name terraform.tfstate
[2020-07-23T17:54:46.090Z] + exit 0
[2020-07-23T17:54:46.638Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20191/src/github.com/elastic/beats
[2020-07-23T17:54:46.948Z] + find . -type f -name TEST*.xml -path */build/* -delete
[2020-07-23T17:54:46.961Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20191/src/github.com/elastic/beats/Lint
[2020-07-23T17:54:47.051Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20191/src/github.com/elastic/beats/Metricbeat-OSS-Unit-tests
[2020-07-23T17:54:47.216Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20191/src/github.com/elastic/beats/Metricbeat-OSS-Go-Integration-tests
[2020-07-23T17:54:47.339Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20191/src/github.com/elastic/beats/Metricbeat-OSS-Python-Integration-tests
[2020-07-23T17:54:47.449Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20191/src/github.com/elastic/beats/Metricbeat-crosscompile
[2020-07-23T17:54:47.567Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20191/src/github.com/elastic/beats/Metricbeat-Windows
[2020-07-23T17:54:47.668Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20191/src/github.com/elastic/beats/Metricbeat-x-pack-Windows
[2020-07-23T17:54:47.763Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20191/src/github.com/elastic/beats/Metricbeat-x-pack-Mac-OS-X
[2020-07-23T17:54:47.871Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20191/src/github.com/elastic/beats/Metricbeat-Mac-OS-X
[2020-07-23T17:54:47.990Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20191/src/github.com/elastic/beats/Metricbeat-x-pack
[2020-07-23T17:54:48.409Z] + cat
[2020-07-23T17:54:48.409Z] + /usr/local/bin/runbld ./runbld-script
[2020-07-23T17:54:48.409Z] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[2020-07-23T17:54:55.015Z] runbld>>> runbld started
[2020-07-23T17:54:55.015Z] runbld>>> 1.6.12/f45d832f2ba0aa2722ab4ec1fda8ad140f027f8b
[2020-07-23T17:54:57.565Z] runbld>>> The following profiles matched the job 'Beats/beats/PR-20191' in order of occurrence in the config (last value wins).
[2020-07-23T17:54:58.508Z] runbld>>> Debug logging enabled.
[2020-07-23T17:54:58.508Z] runbld>>> Storing result
[2020-07-23T17:54:58.770Z] runbld>>> Store result: created {:total 2, :successful 2, :failed 0} 1
[2020-07-23T17:54:58.770Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200723175458-393BE8AA
[2020-07-23T17:54:58.770Z] runbld>>> Adding system facts.
[2020-07-23T17:55:00.165Z] runbld>>> Adding vcs info for the latest commit:  be6b7d8728d0d937e2024f763b4f55027c171022
[2020-07-23T17:55:00.165Z] runbld>>> >>>>>>>>>>>> SCRIPT EXECUTION BEGIN >>>>>>>>>>>>
[2020-07-23T17:55:00.165Z] runbld>>> Adding /usr/lib/jvm/java-8-openjdk-amd64/bin to the path.
[2020-07-23T17:55:00.165Z] Processing JUnit reports with runbld...
[2020-07-23T17:55:00.165Z] + echo 'Processing JUnit reports with runbld...'
[2020-07-23T17:55:00.428Z] runbld>>> <<<<<<<<<<<< SCRIPT EXECUTION END <<<<<<<<<<<<
[2020-07-23T17:55:00.428Z] runbld>>> DURATION: 39ms
[2020-07-23T17:55:00.428Z] runbld>>> STDOUT: 40 bytes
[2020-07-23T17:55:00.428Z] runbld>>> STDERR: 49 bytes
[2020-07-23T17:55:00.428Z] runbld>>> WRAPPED PROCESS: SUCCESS (0)
[2020-07-23T17:55:00.428Z] runbld>>> Searching for build metadata in /var/lib/jenkins/workspace/Beats_beats_PR-20191/src/github.com/elastic/beats
[2020-07-23T17:55:01.822Z] runbld>>> Storing build metadata: 
[2020-07-23T17:55:01.822Z] runbld>>> Adding test report.
[2020-07-23T17:55:01.822Z] runbld>>> Searching for junit test output files with the pattern: TEST-.*\.xml$ in: /var/lib/jenkins/workspace/Beats_beats_PR-20191/src/github.com/elastic/beats
[2020-07-23T17:55:02.774Z] runbld>>> Found 35 test output files
[2020-07-23T17:55:03.037Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-20191/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-istio.xml
[2020-07-23T17:55:03.037Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-20191/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-openmetrics.xml
[2020-07-23T17:55:03.037Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-20191/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-tomcat.xml
[2020-07-23T17:55:03.299Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-20191/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-activemq.xml
[2020-07-23T17:55:03.299Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-20191/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-iis.xml
[2020-07-23T17:55:03.871Z] runbld>>> Test output logs contained: Errors: 0 Failures: 1 Tests: 3774 Skipped: 621
[2020-07-23T17:55:04.134Z] runbld>>> Storing result
[2020-07-23T17:55:04.134Z] runbld>>> FAILURES: 1
[2020-07-23T17:55:04.395Z] runbld>>> Store result: updated {:total 2, :successful 2, :failed 0} 2
[2020-07-23T17:55:04.395Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200723175458-393BE8AA
[2020-07-23T17:55:04.656Z] runbld>>> Email notification disabled by environment variable.
[2020-07-23T17:55:04.656Z] runbld>>> Slack notification disabled by environment variable.
[2020-07-23T17:55:10.922Z] Running on worker-395930 in /var/lib/jenkins/workspace/Beats_beats_PR-20191
[2020-07-23T17:55:11.035Z] [INFO] getVaultSecret: Getting secrets
[2020-07-23T17:55:11.138Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-07-23T17:55:13.222Z] + chmod 755 generate-build-data.sh
[2020-07-23T17:55:13.222Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-20191/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-20191/runs/8 FAILURE 4564930
[2020-07-23T17:55:13.222Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-20191/runs/8/steps/?limit=10000 -o steps-info.json
[2020-07-23T17:55:14.147Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-20191/runs/8/tests/?status=FAILED -o tests-errors.json
[2020-07-23T17:55:15.599Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-20191/runs/8/log/ -o pipeline-log.txt

sayden added a commit that referenced this pull request Jul 24, 2020
(cherry picked from commit 9dc4877)

# Conflicts:
#	metricbeat/module/mysql/_meta/config.epr.yml
v1v added a commit to v1v/beats that referenced this pull request Jul 27, 2020
…ne-2.0

* upstream/master: (41 commits)
  adding possibility to override content-type checks, it was breaking certain webhooks that is not able to set content-headers at all. Still defaults to application/json (elastic#20232)
  fix: use a fixed worker type for tests (elastic#20130)
  [Ingest Manager] Prepare packaging for endpoint and asc files (elastic#20186)
  [Packetbeat] HTTP: Improve support for 100-continue elastic#15830 (elastic#19349)
  Increase index.max_docvalue_fields_search to 200 (elastic#20218)
  [Ingest Manager] Prevent closing closed reader (elastic#20214)
  [Metricbeat] Use MySQL Host Parser in Query metricset (elastic#20191)
  Testing: Ignore timestamp from cylance/protect dataset (elastic#20211)
  [Filebeat] Ignore cylance.protect timestamps while testing (elastic#20207)
  [CI] remove codecov step (elastic#20102)
  [docs] Indicate that SYSTEM user is required on Windows to use Endpoint (elastic#20172)
  Remove f5/firepass rsa2elk fileset (elastic#20160)
  [Elastic Agent] Improve GRPC stop to be more relaxed. (elastic#20118)
  Fix fileset field prefixing (elastic#20170)
  Fix terminating pod autodiscover issue (elastic#20084)
  Call host parser only once when building light metricsets (elastic#20149)
  [CI] fix null string with contains (elastic#20182)
  [Ingest Manager] Fix failing unit tests on windows (elastic#20127)
  [Filebeat] Update crowdstrike module (elastic#20138)
  [docs] Add x-pack role to relevant metricsets (elastic#20167)
  ...
sayden added a commit that referenced this pull request Jul 28, 2020
(cherry picked from commit 9dc4877)

# Conflicts:
#	metricbeat/module/mysql/_meta/config.epr.yml
v1v added a commit to v1v/beats that referenced this pull request Jul 29, 2020
* upstream/7.9: (32 commits)
  feat(ci): support storing artifacts for PRs in separate dirs (elastic#20282) (elastic#20301)
  Cisco ASA: Fix message 106100 (elastic#20245) (elastic#20277)
  [CI] Change upstream reference (elastic#20296) (elastic#20297)
  [docs] Fix Windows download link for agent (elastic#20258) (elastic#20290)
  Cherry-pick to 7.9: [docs] Rename release highlights to what's new (elastic#20255) (elastic#20285)
  Elastic agent on k8s (elastic#19727) (elastic#20262)
  [Filebeat Module] Defender ATP - Adding dashboard (elastic#20058) (elastic#20093)
  fix: use a fixed worker type for tests (elastic#20130) (elastic#20247)
  [Elastic Agent] Fix Windows powershell install service script (elastic#20203) (elastic#20252)
  [Ingest Manager] Fixed unzip on older windows  (elastic#20088) (elastic#20109)
  adding possibility to override content-type checks, it was breaking certain webhooks that is not able to set content-headers at all. Still defaults to application/json (elastic#20232) (elastic#20237)
  [Filebeat][Gsuite] Make GSuite docs more clear (elastic#19981) (elastic#20067)
  Increase index.max_docvalue_fields_search to 200 (elastic#20218) (elastic#20221)
  Call host parser only once when building light metricsets (elastic#20149) (elastic#20190)
  [Metricbeat] Use MySQL Host Parser in Query metricset (elastic#20191) (elastic#20212)
  [Filebeat] Ignore cylance.protect timestamps while testing (elastic#20207) (elastic#20217)
  [libbeat] Fix write error in ensureWriter.Write (elastic#20112) (elastic#20145)
  Cherry-pick elastic#20127 to 7.9: Fix failing unit tests on windows  (elastic#20180)
  Remove f5/firepass rsa2elk fileset (elastic#20160) (elastic#20206)
  Cherry-pick elastic#20138 to 7.9: [Filebeat] Update crowdstrike module (elastic#20177)
  ...
melchiormoulin pushed a commit to melchiormoulin/beats that referenced this pull request Oct 14, 2020
leweafan pushed a commit to leweafan/beats that referenced this pull request Apr 28, 2023
…elastic#20212)

(cherry picked from commit 1714b7b)

# Conflicts:
#	metricbeat/module/mysql/_meta/config.epr.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Metricbeat Metricbeat Team:Services (Deprecated) Label for the former Integrations-Services team v7.9.0 v7.10.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants