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 #18009 to 7.x: [Filebeat] Update docs for unix sockets #18067

Merged
merged 1 commit into from
Apr 29, 2020

Conversation

andrewstucki
Copy link

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

What does this PR do?

Adds in forgotten documentation about new Unix socket support as well as marks the inputs as beta, per #17492 (comment).

* update docs for unix sockets

* Update filebeat/docs/inputs/input-unix.asciidoc

Co-Authored-By: Andrew Kroh <andrew.kroh@elastic.co>

* Add socket cleanup code, and socket ownership modification

* rearrange imports

* updated docs

* Switch to group chown and chmod only

* Fix docs

* Bypass refusal check for windows due to Windows unix socket buf for FileMode

Co-authored-by: Andrew Kroh <andrew.kroh@elastic.co>
(cherry picked from commit 0524005)
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Apr 28, 2020
@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 0
Passed 5815
Skipped 904
Total 6719

Steps errors

Expand to view the steps failures

  • Name: Make -C generator/_templates/metricbeat test
    • Description: make -C generator/_templates/metricbeat test

    • Result: FAILURE

    • Duration: 1 min 43 sec<

    • Start Time: 2020-04-28T19:48:37.213+0000

Log output

Expand to view the last 100 lines of log output

[2020-04-28T20:28:56.281Z] make: Leaving directory '/var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18067/src/github.com/elastic/beats/libbeat'
[2020-04-28T20:28:56.600Z] + script/fix_permissions.sh /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18067
[2020-04-28T20:28:56.600Z] Client: Docker Engine - Community
[2020-04-28T20:28:56.600Z]  Version:           19.03.8
[2020-04-28T20:28:56.600Z]  API version:       1.40
[2020-04-28T20:28:56.600Z]  Go version:        go1.12.17
[2020-04-28T20:28:56.600Z]  Git commit:        afacb8b7f0
[2020-04-28T20:28:56.600Z]  Built:             Wed Mar 11 01:25:58 2020
[2020-04-28T20:28:56.600Z]  OS/Arch:           linux/amd64
[2020-04-28T20:28:56.600Z]  Experimental:      false
[2020-04-28T20:28:56.600Z] 
[2020-04-28T20:28:56.600Z] Server: Docker Engine - Community
[2020-04-28T20:28:56.600Z]  Engine:
[2020-04-28T20:28:56.600Z]   Version:          19.03.8
[2020-04-28T20:28:56.600Z]   API version:      1.40 (minimum version 1.12)
[2020-04-28T20:28:56.600Z]   Go version:       go1.12.17
[2020-04-28T20:28:56.600Z]   Git commit:       afacb8b7f0
[2020-04-28T20:28:56.600Z]   Built:            Wed Mar 11 01:24:30 2020
[2020-04-28T20:28:56.600Z]   OS/Arch:          linux/amd64
[2020-04-28T20:28:56.600Z]   Experimental:     false
[2020-04-28T20:28:56.600Z]  containerd:
[2020-04-28T20:28:56.600Z]   Version:          1.2.13
[2020-04-28T20:28:56.600Z]   GitCommit:        7ad184331fa3e55e52b890ea95e65ba581ae3429
[2020-04-28T20:28:56.600Z]  runc:
[2020-04-28T20:28:56.600Z]   Version:          1.0.0-rc10
[2020-04-28T20:28:56.600Z]   GitCommit:        dc9208a3303feef5b3839f4323d9beb36df0a9dd
[2020-04-28T20:28:56.600Z]  docker-init:
[2020-04-28T20:28:56.600Z]   Version:          0.18.0
[2020-04-28T20:28:56.600Z]   GitCommit:        fec3683
[2020-04-28T20:29:01.967Z] Recording test results
[2020-04-28T20:29:02.625Z] None of the test reports contained any result
[2020-04-28T20:29:02.644Z] Archiving artifacts
[2020-04-28T20:29:02.948Z] java.lang.InterruptedException: no matches found within 10000
[2020-04-28T20:29:02.949Z] 	at hudson.FilePath$ValidateAntFileMask.hasMatch(FilePath.java:2826)
[2020-04-28T20:29:02.949Z] 	at hudson.FilePath$ValidateAntFileMask.invoke(FilePath.java:2705)
[2020-04-28T20:29:02.949Z] 	at hudson.FilePath$ValidateAntFileMask.invoke(FilePath.java:2686)
[2020-04-28T20:29:02.949Z] 	at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3073)
[2020-04-28T20:29:02.949Z] Also:   hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-connect connection from beats-ci-immutable-ubuntu-1604-1588102644259082866.c.elastic-ci-prod.internal/10.224.1.239:47000
[2020-04-28T20:29:02.949Z] 		at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1788)
[2020-04-28T20:29:02.949Z] 		at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:356)
[2020-04-28T20:29:02.949Z] 		at hudson.remoting.Channel.call(Channel.java:998)
[2020-04-28T20:29:02.949Z] 		at hudson.FilePath.act(FilePath.java:1069)
[2020-04-28T20:29:02.949Z] 		at hudson.FilePath.act(FilePath.java:1058)
[2020-04-28T20:29:02.949Z] 		at hudson.FilePath.validateAntFileMask(FilePath.java:2684)
[2020-04-28T20:29:02.949Z] 		at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:265)
[2020-04-28T20:29:02.949Z] 		at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:80)
[2020-04-28T20:29:02.949Z] 		at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:67)
[2020-04-28T20:29:02.949Z] 		at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
[2020-04-28T20:29:02.949Z] 		at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[2020-04-28T20:29:02.949Z] 		at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[2020-04-28T20:29:02.949Z] 		at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[2020-04-28T20:29:02.949Z] 		at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[2020-04-28T20:29:02.949Z] Caused: hudson.FilePath$TunneledInterruptedException
[2020-04-28T20:29:02.949Z] 	at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3075)
[2020-04-28T20:29:02.949Z] 	at hudson.remoting.UserRequest.perform(UserRequest.java:212)
[2020-04-28T20:29:02.949Z] 	at hudson.remoting.UserRequest.perform(UserRequest.java:54)
[2020-04-28T20:29:02.949Z] 	at hudson.remoting.Request$2.run(Request.java:369)
[2020-04-28T20:29:02.949Z] 	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
[2020-04-28T20:29:02.949Z] 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[2020-04-28T20:29:02.949Z] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[2020-04-28T20:29:02.949Z] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[2020-04-28T20:29:02.949Z] 	at hudson.remoting.Engine$1.lambda$newThread$0(Engine.java:93)
[2020-04-28T20:29:02.949Z] Caused: java.lang.InterruptedException: java.lang.InterruptedException: no matches found within 10000
[2020-04-28T20:29:02.949Z] 	at hudson.FilePath.act(FilePath.java:1071)
[2020-04-28T20:29:02.949Z] 	at hudson.FilePath.act(FilePath.java:1058)
[2020-04-28T20:29:02.949Z] 	at hudson.FilePath.validateAntFileMask(FilePath.java:2684)
[2020-04-28T20:29:02.949Z] 	at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:265)
[2020-04-28T20:29:02.949Z] 	at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:80)
[2020-04-28T20:29:02.949Z] 	at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:67)
[2020-04-28T20:29:02.949Z] 	at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
[2020-04-28T20:29:02.949Z] 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[2020-04-28T20:29:02.949Z] 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[2020-04-28T20:29:02.949Z] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[2020-04-28T20:29:02.949Z] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[2020-04-28T20:29:02.949Z] 	at java.lang.Thread.run(Thread.java:748)
[2020-04-28T20:29:02.949Z] No artifacts found that match the file pattern "**/build/TEST*.out". Configuration error?
[2020-04-28T20:29:03.394Z] + curl -sSLo codecov https://codecov.io/bash
[2020-04-28T20:29:03.655Z] + FILE=auditbeat/build/coverage/full.cov
[2020-04-28T20:29:03.655Z] + [ -f auditbeat/build/coverage/full.cov ]
[2020-04-28T20:29:03.655Z] + FILE=filebeat/build/coverage/full.cov
[2020-04-28T20:29:03.655Z] + [ -f filebeat/build/coverage/full.cov ]
[2020-04-28T20:29:03.655Z] + FILE=heartbeat/build/coverage/full.cov
[2020-04-28T20:29:03.655Z] + [ -f heartbeat/build/coverage/full.cov ]
[2020-04-28T20:29:03.655Z] + FILE=libbeat/build/coverage/full.cov
[2020-04-28T20:29:03.655Z] + [ -f libbeat/build/coverage/full.cov ]
[2020-04-28T20:29:03.656Z] + FILE=metricbeat/build/coverage/full.cov
[2020-04-28T20:29:03.656Z] + [ -f metricbeat/build/coverage/full.cov ]
[2020-04-28T20:29:03.656Z] + FILE=packetbeat/build/coverage/full.cov
[2020-04-28T20:29:03.656Z] + [ -f packetbeat/build/coverage/full.cov ]
[2020-04-28T20:29:03.656Z] + FILE=winlogbeat/build/coverage/full.cov
[2020-04-28T20:29:03.656Z] + [ -f winlogbeat/build/coverage/full.cov ]
[2020-04-28T20:29:03.656Z] + FILE=journalbeat/build/coverage/full.cov
[2020-04-28T20:29:03.656Z] + [ -f journalbeat/build/coverage/full.cov ]
[2020-04-28T20:29:06.263Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18067
[2020-04-28T20:29:06.449Z] [INFO] getVaultSecret: Getting secrets
[2020-04-28T20:29:06.512Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-04-28T20:29:07.591Z] + chmod 755 generate-build-data.sh
[2020-04-28T20:29:07.591Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18067/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18067/runs/1 FAILURE 4385341
[2020-04-28T20:29:07.842Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18067/runs/1/steps/?limit=10000 -o steps-info.json
[2020-04-28T20:29:08.753Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18067/runs/1/tests/?status=FAILED -o tests-errors.json

@andrewstucki andrewstucki merged commit 6befbdb into elastic:7.x Apr 29, 2020
@andrewstucki andrewstucki deleted the backport_18009_7.x branch April 29, 2020 01:09
@andresrc andresrc removed the needs_team Indicates that the issue/PR needs a Team:* label label May 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants