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

Cherry-pick #19716 to 7.x: Move unix socket to v2 input API #19778

Merged
merged 1 commit into from
Jul 9, 2020

Conversation

urso
Copy link

@urso urso commented Jul 9, 2020

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

  • Refactoring

What does this PR do?

Move the "unix" input to input v2 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

run test_unix.py system test.

Related issues

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

botelastic bot commented Jul 9, 2020

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

@elasticmachine
Copy link
Collaborator

💔 Build Failed

Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: [Pull request #19778 opened]

  • Start Time: 2020-07-09T13:37:23.664+0000

  • Duration: 123 min 6 sec

Test stats 🧪

Test Results
Failed 0
Passed 3694
Skipped 677
Total 4371

Steps errors

Expand to view the steps failures

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

    • Duration: 7 min 8 sec

    • Start Time: 2020-07-09T14:03:25.202+0000

    • log

Log output

Expand to view the last 100 lines of log output

[2020-07-09T14:26:49.863Z] + '[' -f packetbeat/build/coverage/full.cov ']'
[2020-07-09T14:26:49.863Z] + for i in auditbeat filebeat heartbeat libbeat metricbeat packetbeat winlogbeat journalbeat
[2020-07-09T14:26:49.863Z] + FILE=winlogbeat/build/coverage/full.cov
[2020-07-09T14:26:49.863Z] + '[' -f winlogbeat/build/coverage/full.cov ']'
[2020-07-09T14:26:49.863Z] + for i in auditbeat filebeat heartbeat libbeat metricbeat packetbeat winlogbeat journalbeat
[2020-07-09T14:26:49.863Z] + FILE=journalbeat/build/coverage/full.cov
[2020-07-09T14:26:49.863Z] + '[' -f journalbeat/build/coverage/full.cov ']'
[2020-07-09T14:26:51.311Z] Post stage
[2020-07-09T14:26:51.328Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19778/src/github.com/elastic/beats
[2020-07-09T14:26:52.189Z] Starting "default"...
[2020-07-09T14:26:52.189Z] Machine "default" is already running.
[2020-07-09T14:28:33.233Z] Error checking TLS connection: ssh command error:
[2020-07-09T14:28:33.233Z] command : ip addr show
[2020-07-09T14:28:33.233Z] err     : exit status 255
[2020-07-09T14:28:33.233Z] output  : 
[2020-07-09T14:28:33.233Z] Client: Docker Engine - Community
[2020-07-09T14:28:33.233Z]  Version:           19.03.1
[2020-07-09T14:28:33.233Z]  API version:       1.40
[2020-07-09T14:28:33.233Z]  Go version:        go1.12.5
[2020-07-09T14:28:33.233Z]  Git commit:        74b1e89
[2020-07-09T14:28:33.233Z]  Built:             Thu Jul 25 21:18:17 2019
[2020-07-09T14:28:33.233Z]  OS/Arch:           darwin/amd64
[2020-07-09T14:28:33.233Z]  Experimental:      false
[2020-07-09T14:28:33.233Z] Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
[2020-07-09T14:28:33.233Z] It requires Docker daemon to be installed and running
[2020-07-09T15:39:46.093Z] Cancelling nested steps due to timeout
[2020-07-09T15:39:46.096Z] ...........Sending interrupt signal to process
[2020-07-09T15:39:48.869Z] Sending interrupt signal to process
[2020-07-09T15:39:59.149Z] failed to run compiled magefile: signal: terminated
[2020-07-09T15:39:59.158Z] script returned exit code 255
[2020-07-09T15:39:59.341Z] Recording test results
[2020-07-09T15:40:01.122Z] Stashed 3 file(s)
[2020-07-09T15:40:01.146Z] Archiving artifacts
[2020-07-09T15:40:02.128Z] + curl -sSLo codecov https://codecov.io/bash
[2020-07-09T15:40:02.391Z] + FILE=auditbeat/build/coverage/full.cov
[2020-07-09T15:40:02.391Z] + [ -f auditbeat/build/coverage/full.cov ]
[2020-07-09T15:40:02.391Z] + FILE=filebeat/build/coverage/full.cov
[2020-07-09T15:40:02.391Z] + [ -f filebeat/build/coverage/full.cov ]
[2020-07-09T15:40:02.391Z] + FILE=heartbeat/build/coverage/full.cov
[2020-07-09T15:40:02.391Z] + [ -f heartbeat/build/coverage/full.cov ]
[2020-07-09T15:40:02.391Z] + FILE=libbeat/build/coverage/full.cov
[2020-07-09T15:40:02.391Z] + [ -f libbeat/build/coverage/full.cov ]
[2020-07-09T15:40:02.391Z] + FILE=metricbeat/build/coverage/full.cov
[2020-07-09T15:40:02.391Z] + [ -f metricbeat/build/coverage/full.cov ]
[2020-07-09T15:40:02.391Z] + FILE=packetbeat/build/coverage/full.cov
[2020-07-09T15:40:02.391Z] + [ -f packetbeat/build/coverage/full.cov ]
[2020-07-09T15:40:02.391Z] + FILE=winlogbeat/build/coverage/full.cov
[2020-07-09T15:40:02.391Z] + [ -f winlogbeat/build/coverage/full.cov ]
[2020-07-09T15:40:02.391Z] + FILE=journalbeat/build/coverage/full.cov
[2020-07-09T15:40:02.391Z] + [ -f journalbeat/build/coverage/full.cov ]
[2020-07-09T15:40:04.063Z] Failed in branch Filebeat x-pack
[2020-07-09T15:40:05.943Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19778/src/github.com/elastic/beats
[2020-07-09T15:40:06.290Z] + find . -type f -name TEST*.xml -path */build/* -delete
[2020-07-09T15:40:06.408Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19778/src/github.com/elastic/beats/Lint
[2020-07-09T15:40:06.628Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19778/src/github.com/elastic/beats/Filebeat-oss
[2020-07-09T15:40:06.804Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19778/src/github.com/elastic/beats/Filebeat-Windows
[2020-07-09T15:40:06.961Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19778/src/github.com/elastic/beats/Filebeat-x-pack-Windows
[2020-07-09T15:40:07.127Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19778/src/github.com/elastic/beats/Filebeat-Mac-OS-X
[2020-07-09T15:40:07.305Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19778/src/github.com/elastic/beats/Filebeat-x-pack-Mac-OS-X
[2020-07-09T15:40:07.461Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19778/src/github.com/elastic/beats/Filebeat-x-pack
[2020-07-09T15:40:07.928Z] + cat
[2020-07-09T15:40:07.928Z] + /usr/local/bin/runbld ./runbld-script
[2020-07-09T15:40:07.928Z] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[2020-07-09T15:40:14.523Z] runbld>>> runbld started
[2020-07-09T15:40:14.523Z] runbld>>> 1.6.12/f45d832f2ba0aa2722ab4ec1fda8ad140f027f8b
[2020-07-09T15:40:17.082Z] runbld>>> The following profiles matched the job 'Beats/beats-beats-mbp/PR-19778' in order of occurrence in the config (last value wins).
[2020-07-09T15:40:18.026Z] runbld>>> Debug logging enabled.
[2020-07-09T15:40:18.026Z] runbld>>> Storing result
[2020-07-09T15:40:18.026Z] runbld>>> Store result: created {:total 2, :successful 2, :failed 0} 1
[2020-07-09T15:40:18.026Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200709154017-4571079A
[2020-07-09T15:40:18.026Z] runbld>>> Adding system facts.
[2020-07-09T15:40:18.971Z] runbld>>> Adding vcs info for the latest commit:  5482ecf45047ce52b831c31b23431c6cd0bd6c3c
[2020-07-09T15:40:18.971Z] runbld>>> >>>>>>>>>>>> SCRIPT EXECUTION BEGIN >>>>>>>>>>>>
[2020-07-09T15:40:18.971Z] runbld>>> Adding /usr/lib/jvm/java-8-openjdk-amd64/bin to the path.
[2020-07-09T15:40:18.971Z] Processing JUnit reports with runbld...
[2020-07-09T15:40:18.971Z] + echo 'Processing JUnit reports with runbld...'
[2020-07-09T15:40:19.549Z] runbld>>> <<<<<<<<<<<< SCRIPT EXECUTION END <<<<<<<<<<<<
[2020-07-09T15:40:19.549Z] runbld>>> DURATION: 21ms
[2020-07-09T15:40:19.549Z] runbld>>> STDOUT: 40 bytes
[2020-07-09T15:40:19.549Z] runbld>>> STDERR: 49 bytes
[2020-07-09T15:40:19.549Z] runbld>>> WRAPPED PROCESS: SUCCESS (0)
[2020-07-09T15:40:19.549Z] runbld>>> Searching for build metadata in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19778/src/github.com/elastic/beats
[2020-07-09T15:40:20.495Z] runbld>>> Storing build metadata: 
[2020-07-09T15:40:20.495Z] runbld>>> Adding test report.
[2020-07-09T15:40:20.495Z] runbld>>> Searching for junit test output files with the pattern: TEST-.*\.xml$ in: /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19778/src/github.com/elastic/beats
[2020-07-09T15:40:21.440Z] runbld>>> Found 11 test output files
[2020-07-09T15:40:22.384Z] runbld>>> Test output logs contained: Errors: 0 Failures: 0 Tests: 4371 Skipped: 653
[2020-07-09T15:40:22.384Z] runbld>>> Storing result
[2020-07-09T15:40:22.384Z] runbld>>> FAILURES: 0
[2020-07-09T15:40:22.645Z] runbld>>> Store result: updated {:total 2, :successful 2, :failed 0} 2
[2020-07-09T15:40:22.645Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200709154017-4571079A
[2020-07-09T15:40:22.908Z] runbld>>> Email notification disabled by environment variable.
[2020-07-09T15:40:22.908Z] runbld>>> Slack notification disabled by environment variable.
[2020-07-09T15:40:28.681Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19778
[2020-07-09T15:40:28.889Z] [INFO] getVaultSecret: Getting secrets
[2020-07-09T15:40:28.990Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-07-09T15:40:30.221Z] + chmod 755 generate-build-data.sh
[2020-07-09T15:40:30.221Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-19778/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-19778/runs/1 FAILURE 7386285
[2020-07-09T15:40:30.221Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-19778/runs/1/steps/?limit=10000 -o steps-info.json
[2020-07-09T15:40:30.772Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-19778/runs/1/tests/?status=FAILED -o tests-errors.json

@urso urso merged commit 8e6d40d into elastic:7.x Jul 9, 2020
@urso urso deleted the backport_19716_7.x branch July 9, 2020 19:35
@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