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

[7.8] Give precedence to monitoring reporter hosts over output hosts (#17991) #18301

Merged
merged 1 commit into from
May 6, 2020

Conversation

ycombinator
Copy link
Contributor

Backports the following commits to 7.8:

* Give precedence to monitoring reporter hosts over output hosts

* Add CHANGELOG entry

* Removing debugging statements

* No delete

* Helper function

* Make new config if nil

* Formatting code
@ycombinator ycombinator added [zube]: In Review backport Team:Services (Deprecated) Label for the former Integrations-Services team labels May 6, 2020
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label May 6, 2020
@elasticmachine
Copy link
Collaborator

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

@ycombinator ycombinator requested a review from urso May 6, 2020 12:00
@elasticmachine
Copy link
Collaborator

💔 Build Failed

Pipeline View Test View Changes Artifacts preview stats

Expand to view the summary

Build stats

Test stats 🧪

Test Results
Failed 1
Passed 5803
Skipped 889
Total 6693

Test errors

Expand to view the tests failures

  • Name: Build and Test / Libbeat / Libbeat oss / test_export_dashboard_cmd_export_dashboard_by_id_unknown_id – test_dashboard.Test

    • Status: FAILED
    • Age: 1
    • Duration: 0.338
    • Error Details:

Steps errors

Expand to view the steps failures

  • Name: Make -C libbeat testsuite
    • Description: make -C libbeat testsuite

    • Result: FAILURE

    • Duration: 33 min 54 sec<

    • Start Time: 2020-05-06T12:58:48.643+0000

Log output

Expand to view the last 100 lines of log output

[2020-05-06T14:01:01.410Z] 		at hudson.FilePath.validateAntFileMask(FilePath.java:2684)
[2020-05-06T14:01:01.410Z] 		at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:265)
[2020-05-06T14:01:01.410Z] 		at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:80)
[2020-05-06T14:01:01.410Z] 		at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:67)
[2020-05-06T14:01:01.410Z] 		at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
[2020-05-06T14:01:01.410Z] 		at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[2020-05-06T14:01:01.410Z] 		at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[2020-05-06T14:01:01.410Z] 		at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[2020-05-06T14:01:01.410Z] 		at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[2020-05-06T14:01:01.410Z] Caused: hudson.FilePath$TunneledInterruptedException
[2020-05-06T14:01:01.410Z] 	at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3075)
[2020-05-06T14:01:01.410Z] 	at hudson.remoting.UserRequest.perform(UserRequest.java:212)
[2020-05-06T14:01:01.410Z] 	at hudson.remoting.UserRequest.perform(UserRequest.java:54)
[2020-05-06T14:01:01.410Z] 	at hudson.remoting.Request$2.run(Request.java:369)
[2020-05-06T14:01:01.410Z] 	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
[2020-05-06T14:01:01.410Z] 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[2020-05-06T14:01:01.410Z] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[2020-05-06T14:01:01.410Z] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[2020-05-06T14:01:01.410Z] 	at hudson.remoting.Engine$1.lambda$newThread$0(Engine.java:93)
[2020-05-06T14:01:01.410Z] Caused: java.lang.InterruptedException: java.lang.InterruptedException: no matches found within 10000
[2020-05-06T14:01:01.410Z] 	at hudson.FilePath.act(FilePath.java:1071)
[2020-05-06T14:01:01.410Z] 	at hudson.FilePath.act(FilePath.java:1058)
[2020-05-06T14:01:01.410Z] 	at hudson.FilePath.validateAntFileMask(FilePath.java:2684)
[2020-05-06T14:01:01.410Z] 	at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:265)
[2020-05-06T14:01:01.410Z] 	at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:80)
[2020-05-06T14:01:01.410Z] 	at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:67)
[2020-05-06T14:01:01.410Z] 	at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
[2020-05-06T14:01:01.410Z] 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[2020-05-06T14:01:01.410Z] 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[2020-05-06T14:01:01.410Z] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[2020-05-06T14:01:01.410Z] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[2020-05-06T14:01:01.410Z] 	at java.lang.Thread.run(Thread.java:748)
[2020-05-06T14:01:01.410Z] No artifacts found that match the file pattern "**\build\TEST*.out". Configuration error?
[2020-05-06T14:01:04.178Z] Failed in branch Auditbeat oss
[2020-05-06T14:01:07.338Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18301/src/github.com/elastic/beats
[2020-05-06T14:01:07.990Z] + find . -type f -name TEST*.xml -path */build/* -delete
[2020-05-06T14:01:08.103Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18301/src/github.com/elastic/beats/Lint
[2020-05-06T14:01:08.441Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18301/src/github.com/elastic/beats/Winlogbeat-oss
[2020-05-06T14:01:08.810Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18301/src/github.com/elastic/beats/Elastic-Agent-x-pack
[2020-05-06T14:01:09.292Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18301/src/github.com/elastic/beats/Journalbeat-oss
[2020-05-06T14:01:09.693Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18301/src/github.com/elastic/beats/Dockerlogbeat
[2020-05-06T14:01:10.047Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18301/src/github.com/elastic/beats/Elastic-Agent-x-pack-Windows
[2020-05-06T14:01:10.394Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18301/src/github.com/elastic/beats/Generators-Metricbeat-Linux
[2020-05-06T14:01:10.730Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18301/src/github.com/elastic/beats/Functionbeat-x-pack
[2020-05-06T14:01:11.134Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18301/src/github.com/elastic/beats/Winlogbeat-Windows-x-pack
[2020-05-06T14:01:11.605Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18301/src/github.com/elastic/beats/Metricbeat-OSS-Unit-tests
[2020-05-06T14:01:11.966Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18301/src/github.com/elastic/beats/Metricbeat-crosscompile
[2020-05-06T14:01:12.313Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18301/src/github.com/elastic/beats/Heartbeat-oss
[2020-05-06T14:01:12.661Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18301/src/github.com/elastic/beats/Filebeat-Windows
[2020-05-06T14:01:13.014Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18301/src/github.com/elastic/beats/Libbeat-x-pack
[2020-05-06T14:01:13.499Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18301/src/github.com/elastic/beats/Auditbeat-x-pack
[2020-05-06T14:01:13.824Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18301/src/github.com/elastic/beats/Auditbeat-Linux
[2020-05-06T14:01:14.193Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18301/src/github.com/elastic/beats/Packetbeat-oss
[2020-05-06T14:01:14.568Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18301/src/github.com/elastic/beats/Metricbeat-Windows
[2020-05-06T14:01:14.951Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18301/src/github.com/elastic/beats/Filebeat-x-pack
[2020-05-06T14:01:15.360Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18301/src/github.com/elastic/beats/Auditbeat-crosscompile
[2020-05-06T14:01:15.890Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18301/src/github.com/elastic/beats/Winlogbeat-Windows
[2020-05-06T14:01:16.321Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18301/src/github.com/elastic/beats/Filebeat-oss
[2020-05-06T14:01:16.719Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18301/src/github.com/elastic/beats/Heartbeat-Windows
[2020-05-06T14:01:17.154Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18301/src/github.com/elastic/beats/Metricbeat-Python-integration-tests
[2020-05-06T14:01:17.515Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18301/src/github.com/elastic/beats/Libbeat-oss
[2020-05-06T14:01:18.044Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18301/src/github.com/elastic/beats/Functionbeat-Windows
[2020-05-06T14:01:18.457Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18301/src/github.com/elastic/beats/Metricbeat-OSS-Integration-tests
[2020-05-06T14:01:18.992Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18301/src/github.com/elastic/beats/Metricbeat-x-pack
[2020-05-06T14:01:19.445Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18301/src/github.com/elastic/beats/Auditbeat-Windows
[2020-05-06T14:01:20.503Z] + cat
[2020-05-06T14:01:20.504Z] + /usr/local/bin/runbld ./runbld-script
[2020-05-06T14:01:20.504Z] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[2020-05-06T14:01:26.280Z] runbld>>> runbld started
[2020-05-06T14:01:26.281Z] runbld>>> 1.6.11/a66728ff8f4356963772e6e6d2069392fa06acbe
[2020-05-06T14:01:28.068Z] runbld>>> The following profiles matched the job 'Beats/beats-beats-mbp/PR-18301' in order of occurrence in the config (last value wins).
[2020-05-06T14:01:29.200Z] runbld>>> Debug logging enabled.
[2020-05-06T14:01:29.200Z] runbld>>> Storing result
[2020-05-06T14:01:29.200Z] runbld>>> Store result: created {:total 2, :successful 2, :failed 0} 1
[2020-05-06T14:01:29.200Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200506140128-89A90C43
[2020-05-06T14:01:29.200Z] runbld>>> Adding system facts.
[2020-05-06T14:01:30.430Z] runbld>>> Adding vcs info for the latest commit:  34febb99498252ddebdcf9e79685f473f0739521
[2020-05-06T14:01:30.430Z] runbld>>> >>>>>>>>>>>> SCRIPT EXECUTION BEGIN >>>>>>>>>>>>
[2020-05-06T14:01:30.430Z] runbld>>> Adding /usr/lib/jvm/java-8-openjdk-amd64/bin to the path.
[2020-05-06T14:01:30.430Z] Processing JUnit reports with runbld...
[2020-05-06T14:01:30.430Z] + echo 'Processing JUnit reports with runbld...'
[2020-05-06T14:01:30.730Z] runbld>>> <<<<<<<<<<<< SCRIPT EXECUTION END <<<<<<<<<<<<
[2020-05-06T14:01:30.731Z] runbld>>> DURATION: 15ms
[2020-05-06T14:01:30.731Z] runbld>>> STDOUT: 40 bytes
[2020-05-06T14:01:30.731Z] runbld>>> STDERR: 49 bytes
[2020-05-06T14:01:30.731Z] runbld>>> WRAPPED PROCESS: SUCCESS (0)
[2020-05-06T14:01:30.731Z] runbld>>> Searching for build metadata in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18301/src/github.com/elastic/beats
[2020-05-06T14:01:32.291Z] runbld>>> Storing build metadata: 
[2020-05-06T14:01:32.291Z] runbld>>> Adding test report.
[2020-05-06T14:01:32.291Z] runbld>>> Searching for junit test output files with the pattern: TEST-.*\.xml$ in: /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18301/src/github.com/elastic/beats
[2020-05-06T14:01:33.303Z] Body did not finish within grace period; terminating with extreme prejudice
[2020-05-06T14:01:33.504Z] ERROR: runbld post build action failed.
[2020-05-06T14:01:33.504Z] Timeout has been exceeded
[2020-05-06T14:01:35.404Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18301
[2020-05-06T14:01:36.111Z] [INFO] getVaultSecret: Getting secrets
[2020-05-06T14:01:36.354Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-05-06T14:01:38.315Z] + chmod 755 generate-build-data.sh
[2020-05-06T14:01:38.315Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18301/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18301/runs/1 ABORTED 7379414
[2020-05-06T14:01:38.866Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18301/runs/1/steps/?limit=10000 -o steps-info.json
[2020-05-06T14:01:40.728Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18301/runs/1/tests/?status=FAILED -o tests-errors.json

@ycombinator ycombinator merged commit efa1c97 into elastic:7.8 May 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport needs_team Indicates that the issue/PR needs a Team:* label Team:Services (Deprecated) Label for the former Integrations-Services team [zube]: Done
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants