Skip to content

Cherry-pick #19717 to 7.x: Convert cloudfoundry input to v2#19779

Merged
urso merged 1 commit intoelastic:7.xfrom
urso:backport_19717_7.x
Jul 9, 2020
Merged

Cherry-pick #19717 to 7.x: Convert cloudfoundry input to v2#19779
urso merged 1 commit intoelastic:7.xfrom
urso:backport_19717_7.x

Conversation

@urso
Copy link
Copy Markdown

@urso urso commented Jul 9, 2020

Cherry-pick of PR #19717 to 7.x branch. Original message:

  • Refactoring

What does this PR do?

Move cloudfoundry input to v2 input API

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.

Author's Checklist

  • [ ]

How to test this PR locally

Related issues

@urso urso added [zube]: In Review backport Team:Services (Deprecated) Label for the former Integrations-Services team labels Jul 9, 2020
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Jul 9, 2020
@elasticmachine
Copy link
Copy Markdown
Contributor

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

@botelastic botelastic bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Jul 9, 2020
@elasticmachine
Copy link
Copy Markdown
Contributor

❕ Build Aborted

Either there was a build timeout or someone aborted the build.'}

Pipeline View Test View Changes Artifacts

Expand to view the summary

Build stats

  • Build Cause: [Pull request #19779 opened]

  • Start Time: 2020-07-09T13:39:22.637+0000

  • Duration: 123 min 42 sec

Test stats 🧪

Test Results
Failed 0
Passed 3849
Skipped 525
Total 4374

Log output

Expand to view the last 100 lines of log output

[2020-07-09T15:03:17.243Z] + [ -f metricbeat/build/coverage/full.cov ]
[2020-07-09T15:03:17.243Z] + FILE=packetbeat/build/coverage/full.cov
[2020-07-09T15:03:17.243Z] + [ -f packetbeat/build/coverage/full.cov ]
[2020-07-09T15:03:17.244Z] + FILE=winlogbeat/build/coverage/full.cov
[2020-07-09T15:03:17.244Z] + [ -f winlogbeat/build/coverage/full.cov ]
[2020-07-09T15:03:17.244Z] + FILE=journalbeat/build/coverage/full.cov
[2020-07-09T15:03:17.244Z] + [ -f journalbeat/build/coverage/full.cov ]
[2020-07-09T15:41:22.005Z] Cancelling nested steps due to timeout
[2020-07-09T15:41:22.010Z] ...........Sending interrupt signal to process
[2020-07-09T15:41:25.050Z] Sending interrupt signal to process
[2020-07-09T15:41:32.165Z] failed to run compiled magefile: signal: terminated
[2020-07-09T15:41:32.185Z] script returned exit code 255
[2020-07-09T15:41:32.471Z] Recording test results
[2020-07-09T15:41:34.487Z] Stashed 3 file(s)
[2020-07-09T15:41:34.510Z] Archiving artifacts
[2020-07-09T15:41:35.384Z] + curl -sSLo codecov https://codecov.io/bash
[2020-07-09T15:41:35.644Z] + FILE=auditbeat/build/coverage/full.cov
[2020-07-09T15:41:35.645Z] + [ -f auditbeat/build/coverage/full.cov ]
[2020-07-09T15:41:35.645Z] + FILE=filebeat/build/coverage/full.cov
[2020-07-09T15:41:35.645Z] + [ -f filebeat/build/coverage/full.cov ]
[2020-07-09T15:41:35.645Z] + FILE=heartbeat/build/coverage/full.cov
[2020-07-09T15:41:35.645Z] + [ -f heartbeat/build/coverage/full.cov ]
[2020-07-09T15:41:35.645Z] + FILE=libbeat/build/coverage/full.cov
[2020-07-09T15:41:35.645Z] + [ -f libbeat/build/coverage/full.cov ]
[2020-07-09T15:41:35.645Z] + FILE=metricbeat/build/coverage/full.cov
[2020-07-09T15:41:35.645Z] + [ -f metricbeat/build/coverage/full.cov ]
[2020-07-09T15:41:35.645Z] + FILE=packetbeat/build/coverage/full.cov
[2020-07-09T15:41:35.645Z] + [ -f packetbeat/build/coverage/full.cov ]
[2020-07-09T15:41:35.645Z] + FILE=winlogbeat/build/coverage/full.cov
[2020-07-09T15:41:35.645Z] + [ -f winlogbeat/build/coverage/full.cov ]
[2020-07-09T15:41:35.645Z] + FILE=journalbeat/build/coverage/full.cov
[2020-07-09T15:41:35.645Z] + [ -f journalbeat/build/coverage/full.cov ]
[2020-07-09T15:41:37.215Z] Failed in branch Filebeat x-pack
[2020-07-09T15:41:38.987Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19779/src/github.com/elastic/beats
[2020-07-09T15:41:39.325Z] + find . -type f -name TEST*.xml -path */build/* -delete
[2020-07-09T15:41:39.356Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19779/src/github.com/elastic/beats/Lint
[2020-07-09T15:41:39.517Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19779/src/github.com/elastic/beats/Elastic-Agent-x-pack
[2020-07-09T15:41:39.680Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19779/src/github.com/elastic/beats/Dockerlogbeat
[2020-07-09T15:41:39.852Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19779/src/github.com/elastic/beats/Functionbeat-x-pack
[2020-07-09T15:41:40.016Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19779/src/github.com/elastic/beats/Elastic-Agent-x-pack-Windows
[2020-07-09T15:41:40.189Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19779/src/github.com/elastic/beats/Auditbeat-x-pack
[2020-07-09T15:41:40.354Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19779/src/github.com/elastic/beats/Auditbeat-x-pack-Windows
[2020-07-09T15:41:40.525Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19779/src/github.com/elastic/beats/Winlogbeat-Windows-x-pack
[2020-07-09T15:41:40.690Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19779/src/github.com/elastic/beats/Libbeat-x-pack
[2020-07-09T15:41:40.909Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19779/src/github.com/elastic/beats/Filebeat-x-pack-Windows
[2020-07-09T15:41:41.082Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19779/src/github.com/elastic/beats/Elastic-Agent-Mac-OS-X
[2020-07-09T15:41:41.246Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19779/src/github.com/elastic/beats/Auditbeat-x-pack-Mac-OS-X
[2020-07-09T15:41:41.404Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19779/src/github.com/elastic/beats/Metricbeat-x-pack-Windows
[2020-07-09T15:41:41.568Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19779/src/github.com/elastic/beats/Filebeat-x-pack-Mac-OS-X
[2020-07-09T15:41:41.740Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19779/src/github.com/elastic/beats/Metricbeat-x-pack-Mac-OS-X
[2020-07-09T15:41:41.905Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19779/src/github.com/elastic/beats/Functionbeat-Mac-OS-X-x-pack
[2020-07-09T15:41:42.068Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19779/src/github.com/elastic/beats/Functionbeat-Windows
[2020-07-09T15:41:42.228Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19779/src/github.com/elastic/beats/Metricbeat-x-pack
[2020-07-09T15:41:42.393Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19779/src/github.com/elastic/beats/Filebeat-x-pack
[2020-07-09T15:41:42.840Z] + cat
[2020-07-09T15:41:42.840Z] + /usr/local/bin/runbld ./runbld-script
[2020-07-09T15:41:42.840Z] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[2020-07-09T15:41:49.435Z] runbld>>> runbld started
[2020-07-09T15:41:49.435Z] runbld>>> 1.6.12/f45d832f2ba0aa2722ab4ec1fda8ad140f027f8b
[2020-07-09T15:41:51.350Z] runbld>>> The following profiles matched the job 'Beats/beats-beats-mbp/PR-19779' in order of occurrence in the config (last value wins).
[2020-07-09T15:41:52.736Z] runbld>>> Debug logging enabled.
[2020-07-09T15:41:52.736Z] runbld>>> Storing result
[2020-07-09T15:41:52.736Z] runbld>>> Store result: created {:total 2, :successful 2, :failed 0} 1
[2020-07-09T15:41:52.736Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200709154152-CCE4E28C
[2020-07-09T15:41:52.736Z] runbld>>> Adding system facts.
[2020-07-09T15:41:53.714Z] runbld>>> Adding vcs info for the latest commit:  5f5d57c72b7c3bd3526a10ea22ac07208e7b24cb
[2020-07-09T15:41:53.714Z] runbld>>> >>>>>>>>>>>> SCRIPT EXECUTION BEGIN >>>>>>>>>>>>
[2020-07-09T15:41:53.714Z] runbld>>> Adding /usr/lib/jvm/java-8-openjdk-amd64/bin to the path.
[2020-07-09T15:41:53.714Z] Processing JUnit reports with runbld...
[2020-07-09T15:41:53.714Z] + echo 'Processing JUnit reports with runbld...'
[2020-07-09T15:41:54.294Z] runbld>>> <<<<<<<<<<<< SCRIPT EXECUTION END <<<<<<<<<<<<
[2020-07-09T15:41:54.294Z] runbld>>> DURATION: 13ms
[2020-07-09T15:41:54.294Z] runbld>>> STDOUT: 40 bytes
[2020-07-09T15:41:54.294Z] runbld>>> STDERR: 49 bytes
[2020-07-09T15:41:54.294Z] runbld>>> WRAPPED PROCESS: SUCCESS (0)
[2020-07-09T15:41:54.294Z] runbld>>> Searching for build metadata in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19779/src/github.com/elastic/beats
[2020-07-09T15:41:55.235Z] runbld>>> Storing build metadata: 
[2020-07-09T15:41:55.236Z] runbld>>> Adding test report.
[2020-07-09T15:41:55.236Z] runbld>>> Searching for junit test output files with the pattern: TEST-.*\.xml$ in: /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19779/src/github.com/elastic/beats
[2020-07-09T15:41:56.179Z] runbld>>> Found 49 test output files
[2020-07-09T15:41:56.441Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19779/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-istio.xml
[2020-07-09T15:41:56.441Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19779/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-tomcat.xml
[2020-07-09T15:41:56.441Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19779/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-iis.xml
[2020-07-09T15:41:56.441Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19779/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-openmetrics.xml
[2020-07-09T15:41:56.441Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19779/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-activemq.xml
[2020-07-09T15:41:57.020Z] runbld>>> Test output logs contained: Errors: 0 Failures: 0 Tests: 4228 Skipped: 475
[2020-07-09T15:41:57.281Z] runbld>>> Storing result
[2020-07-09T15:41:57.281Z] runbld>>> FAILURES: 0
[2020-07-09T15:41:57.281Z] runbld>>> Store result: updated {:total 2, :successful 2, :failed 0} 2
[2020-07-09T15:41:57.281Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200709154152-CCE4E28C
[2020-07-09T15:41:57.542Z] runbld>>> Email notification disabled by environment variable.
[2020-07-09T15:41:57.542Z] runbld>>> Slack notification disabled by environment variable.
[2020-07-09T15:42:03.537Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19779
[2020-07-09T15:42:03.855Z] [INFO] getVaultSecret: Getting secrets
[2020-07-09T15:42:03.936Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-07-09T15:42:05.087Z] + chmod 755 generate-build-data.sh
[2020-07-09T15:42:05.087Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-19779/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-19779/runs/1 ABORTED 7362177
[2020-07-09T15:42:05.087Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-19779/runs/1/steps/?limit=10000 -o steps-info.json
[2020-07-09T15:42:06.056Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-19779/runs/1/tests/?status=FAILED -o tests-errors.json
[2020-07-09T15:42:06.306Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-19779/runs/1/log/ -o pipeline-log.txt

@urso urso merged commit 1f7cac3 into elastic:7.x Jul 9, 2020
@urso urso deleted the backport_19717_7.x branch July 9, 2020 18:33
@zube zube bot removed the [zube]: Done label Oct 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport Team:Services (Deprecated) Label for the former Integrations-Services team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants