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

Fix YAML syntax in module instantiation example #23065

Merged
merged 2 commits into from
Dec 28, 2020

Conversation

alankis
Copy link
Contributor

@alankis alankis commented Dec 10, 2020

What does this PR do?

PR updates documentation.

Why is it important?

For people new to Beats and sometimes YAML, correct configuration reference is important.

Checklist

  • [ x] My code follows the style guidelines of this project
  • [ ] I have commented my code, particularly in hard-to-understand areas
  • [ x] 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

Use cases

Screenshots

Logs

@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Dec 10, 2020
@elasticmachine
Copy link
Collaborator

elasticmachine commented Dec 10, 2020

❕ Build Aborted

The PR is not allowed to run in the CI yet

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts

Expand to view the summary

Build stats

  • Build Cause: Pull request #23065 updated

  • Reason: The PR is not allowed to run in the CI yet

  • Start Time: 2020-12-12T14:29:38.804+0000

  • Duration: 4 min 28 sec

  • Commit: fd2c755

Steps errors 1

Expand to view the steps failures

Error signal
  • Took 0 min 0 sec . View more details on here
  • Description: githubPrCheckApproved: The PR is not allowed to run in the CI yet. (Only users with write permission

Log output

Expand to view the last 100 lines of log output

[2020-12-12T14:32:12.813Z]  > git checkout -f fd2c75569008340a83940dbd080ef7c02b3d4adf # timeout=15
[2020-12-12T14:32:14.334Z]  > git remote # timeout=10
[2020-12-12T14:32:14.338Z]  > git config --get remote.origin.url # timeout=10
[2020-12-12T14:32:14.342Z] using GIT_SSH to set credentials GitHub user @elasticmachine SSH key
[2020-12-12T14:32:14.346Z]  > git merge 6f1ae45ef4f4a792156c574ee6f59429ce820cae # timeout=10
[2020-12-12T14:32:15.182Z] Merge succeeded, producing 0860dfa5ce9f6efdf51ab0c70ede3386bac51152
[2020-12-12T14:32:15.182Z] Checking out Revision 0860dfa5ce9f6efdf51ab0c70ede3386bac51152 (PR-23065)
[2020-12-12T14:32:15.177Z]  > git rev-parse HEAD^{commit} # timeout=10
[2020-12-12T14:32:15.185Z]  > git config core.sparsecheckout # timeout=10
[2020-12-12T14:32:15.188Z]  > git checkout -f 0860dfa5ce9f6efdf51ab0c70ede3386bac51152 # timeout=15
[2020-12-12T14:32:18.778Z] Commit message: "Merge commit '6f1ae45ef4f4a792156c574ee6f59429ce820cae' into HEAD"
[2020-12-12T14:32:18.788Z] First time build. Skipping changelog.
[2020-12-12T14:32:18.788Z] Cleaning workspace
[2020-12-12T14:32:18.782Z]  > git rev-list --no-walk 7106b37c98225226f172a29207aaae94749cf449 # timeout=10
[2020-12-12T14:32:18.790Z]  > git rev-parse --verify HEAD # timeout=10
[2020-12-12T14:32:18.793Z] Resetting working tree
[2020-12-12T14:32:18.793Z]  > git reset --hard # timeout=10
[2020-12-12T14:32:18.871Z]  > git clean -fdx # timeout=10
[2020-12-12T14:32:19.940Z] Timeout set to expire in 3 hr 0 min
[2020-12-12T14:32:19.949Z] The timestamps step is unnecessary when timestamps are enabled for all Pipeline builds.
[2020-12-12T14:32:20.088Z] [INFO] Number of builds to be searched 10
[2020-12-12T14:32:20.120Z] [INFO] Let's stop build #3. Aborted from #4
[2020-12-12T14:32:20.688Z] [INFO] 'shallow' is forced to be disabled when running on PullRequests
[2020-12-12T14:32:20.702Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-23065/src/github.com/elastic/beats
[2020-12-12T14:32:20.715Z] [INFO] gitCheckout: Checkout SCM PR-23065 with default customisation from the Item.
[2020-12-12T14:32:20.729Z] [INFO] Override default checkout
[2020-12-12T14:32:20.755Z] Sleeping for 10 sec
[2020-12-12T14:32:30.826Z] using credential f6c7695a-671e-4f4f-a331-acdce44ff9ba
[2020-12-12T14:32:30.882Z] Wiping out workspace first.
[2020-12-12T14:32:30.893Z] Cloning the remote Git repository
[2020-12-12T14:32:30.893Z] Using shallow clone with depth 10
[2020-12-12T14:32:30.893Z] Avoid fetching tags
[2020-12-12T14:32:30.909Z] Cloning repository git@github.com:elastic/beats.git
[2020-12-12T14:32:30.931Z]  > git init /var/lib/jenkins/workspace/Beats_beats_PR-23065/src/github.com/elastic/beats # timeout=10
[2020-12-12T14:32:30.937Z] Fetching upstream changes from git@github.com:elastic/beats.git
[2020-12-12T14:32:30.937Z]  > git --version # timeout=10
[2020-12-12T14:32:30.940Z]  > git --version # 'git version 2.17.1'
[2020-12-12T14:32:30.941Z] using GIT_SSH to set credentials GitHub user @elasticmachine SSH key
[2020-12-12T14:32:30.945Z]  > git fetch --no-tags --progress -- git@github.com:elastic/beats.git +refs/heads/*:refs/remotes/origin/* # timeout=15
[2020-12-12T14:32:49.128Z] Cleaning workspace
[2020-12-12T14:32:49.151Z] Using shallow fetch with depth 10
[2020-12-12T14:32:49.151Z] Pruning obsolete local branches
[2020-12-12T14:32:50.221Z] Merging remotes/origin/master commit 6f1ae45ef4f4a792156c574ee6f59429ce820cae into PR head commit fd2c75569008340a83940dbd080ef7c02b3d4adf
[2020-12-12T14:32:49.112Z]  > git config remote.origin.url git@github.com:elastic/beats.git # timeout=10
[2020-12-12T14:32:49.115Z]  > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
[2020-12-12T14:32:49.124Z]  > git config remote.origin.url git@github.com:elastic/beats.git # timeout=10
[2020-12-12T14:32:49.131Z]  > git rev-parse --verify HEAD # timeout=10
[2020-12-12T14:32:49.134Z] No valid HEAD. Skipping the resetting
[2020-12-12T14:32:49.135Z]  > git clean -fdx # timeout=10
[2020-12-12T14:32:49.153Z] Fetching upstream changes from git@github.com:elastic/beats.git
[2020-12-12T14:32:49.154Z] using GIT_SSH to set credentials GitHub user @elasticmachine SSH key
[2020-12-12T14:32:49.157Z]  > git fetch --no-tags --progress --prune -- git@github.com:elastic/beats.git +refs/pull/23065/head:refs/remotes/origin/PR-23065 +refs/heads/master:refs/remotes/origin/master # timeout=15
[2020-12-12T14:32:50.223Z]  > git config core.sparsecheckout # timeout=10
[2020-12-12T14:32:50.226Z]  > git checkout -f fd2c75569008340a83940dbd080ef7c02b3d4adf # timeout=15
[2020-12-12T14:32:51.687Z]  > git remote # timeout=10
[2020-12-12T14:32:51.690Z]  > git config --get remote.origin.url # timeout=10
[2020-12-12T14:32:51.697Z] using GIT_SSH to set credentials GitHub user @elasticmachine SSH key
[2020-12-12T14:32:51.700Z]  > git merge 6f1ae45ef4f4a792156c574ee6f59429ce820cae # timeout=10
[2020-12-12T14:32:52.852Z] Merge succeeded, producing 6a85abef9dfd1a51c3f8d33b8004e23b096b472b
[2020-12-12T14:32:52.852Z] Checking out Revision 6a85abef9dfd1a51c3f8d33b8004e23b096b472b (PR-23065)
[2020-12-12T14:32:52.952Z] Commit message: "Merge commit '6f1ae45ef4f4a792156c574ee6f59429ce820cae' into HEAD"
[2020-12-12T14:32:52.960Z] First time build. Skipping changelog.
[2020-12-12T14:32:52.960Z] Cleaning workspace
[2020-12-12T14:32:54.239Z] Masking supported pattern matches of $GIT_USERNAME or $GIT_PASSWORD
[2020-12-12T14:32:52.847Z]  > git rev-parse HEAD^{commit} # timeout=10
[2020-12-12T14:32:52.855Z]  > git config core.sparsecheckout # timeout=10
[2020-12-12T14:32:52.858Z]  > git checkout -f 6a85abef9dfd1a51c3f8d33b8004e23b096b472b # timeout=15
[2020-12-12T14:32:52.955Z]  > git rev-list --no-walk b325b0dc896f03a488f0eca185adf319d855b92a # timeout=10
[2020-12-12T14:32:52.962Z]  > git rev-parse --verify HEAD # timeout=10
[2020-12-12T14:32:52.969Z] Resetting working tree
[2020-12-12T14:32:52.969Z]  > git reset --hard # timeout=10
[2020-12-12T14:32:53.067Z]  > git clean -fdx # timeout=10
[2020-12-12T14:32:54.869Z] + git fetch https://****:****@github.com/elastic/beats.git +refs/pull/*/head:refs/remotes/origin/pr/*
[2020-12-12T14:34:02.644Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-23065/src/github.com/elastic/beats/.git
[2020-12-12T14:34:02.659Z] Archiving artifacts
[2020-12-12T14:34:03.297Z] + git rev-parse HEAD
[2020-12-12T14:34:03.635Z] + git rev-parse HEAD
[2020-12-12T14:34:03.931Z] + git rev-parse origin/pr/23065
[2020-12-12T14:34:03.964Z] [INFO] githubEnv: Found Git Build Cause: pr
[2020-12-12T14:34:04.285Z] Masking supported pattern matches of $GITHUB_TOKEN
[2020-12-12T14:34:05.039Z] [WARN] githubApiCall: The REST API call https://api.github.com/repos/elastic/beats/pulls/23065/reviews return 0 elements
[2020-12-12T14:34:05.060Z] [INFO] githubPrCheckApproved: Title: Fix YAML syntax in module instantiation example - User: alankis - Author Association: FIRST_TIME_CONTRIBUTOR
[2020-12-12T14:34:05.289Z] ERROR: githubPrCheckApproved: The PR is not allowed to run in the CI yet
[2020-12-12T14:34:05.289Z] ERROR: githubPrCheckApproved: The PR is not allowed to run in the CI yet. (Only users with write permissions can do so.)
[2020-12-12T14:34:05.311Z] [INFO] Let's stop build #4. The PR is not allowed to run in the CI yet
[2020-12-12T14:34:05.323Z] Sleeping for 5 sec
[2020-12-12T14:34:06.292Z] Stage "Lint" skipped due to earlier failure(s)
[2020-12-12T14:34:06.317Z] Stage "Build&Test" skipped due to earlier failure(s)
[2020-12-12T14:34:06.345Z] Stage "Packaging" skipped due to earlier failure(s)
[2020-12-12T14:34:06.383Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-23065/src/github.com/elastic/beats
[2020-12-12T14:34:06.589Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats_PR-23065
[2020-12-12T14:34:06.661Z] [INFO] getVaultSecret: Getting secrets
[2020-12-12T14:34:06.729Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-12-12T14:34:07.338Z] + chmod 755 generate-build-data.sh
[2020-12-12T14:34:07.338Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-23065/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-23065/runs/4 ABORTED 268275
[2020-12-12T14:34:07.338Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-23065/runs/4/steps/?limit=10000 -o steps-info.json
[2020-12-12T14:34:07.889Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-23065/runs/4/tests/?status=FAILED -o tests-errors.json
[2020-12-12T14:34:07.889Z] Retry 1/3 exited 22, retrying in 1 seconds...
[2020-12-12T14:34:09.233Z] Retry 2/3 exited 22, retrying in 2 seconds...
[2020-12-12T14:34:11.095Z] Retry 3/3 exited 22, no more retries left.

@jsoriano
Copy link
Member

jenkins run the tests please

@elasticmachine
Copy link
Collaborator

Pinging @elastic/security-external-integrations (Team:Security-External Integrations)

@botelastic botelastic bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Dec 11, 2020
@jsoriano
Copy link
Member

jenkins run the tests please

@elasticmachine
Copy link
Collaborator

elasticmachine commented Dec 17, 2020

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: jsoriano commented: jenkins run the tests please

  • Start Time: 2020-12-28T15:16:17.230+0000

  • Duration: 19 min 26 sec

❕ Flaky test report

No test was executed to be analysed.

@jsoriano jsoriano self-assigned this Dec 28, 2020
@jsoriano jsoriano added the needs_backport PR is waiting to be backported to other branches. label Dec 28, 2020
@jsoriano
Copy link
Member

jenkins run the tests please

@jsoriano jsoriano merged commit 8dbe24a into elastic:master Dec 28, 2020
jsoriano pushed a commit to jsoriano/beats that referenced this pull request Dec 28, 2020
@jsoriano jsoriano added v7.12.0 and removed needs_backport PR is waiting to be backported to other branches. labels Dec 28, 2020
jsoriano pushed a commit to jsoriano/beats that referenced this pull request Dec 28, 2020
jsoriano pushed a commit to jsoriano/beats that referenced this pull request Dec 28, 2020
jsoriano added a commit that referenced this pull request Dec 30, 2020
(cherry picked from commit 8dbe24a)

Co-authored-by: alankis <alankis@users.noreply.github.com>
jsoriano added a commit that referenced this pull request Dec 30, 2020
(cherry picked from commit 8dbe24a)

Co-authored-by: alankis <alankis@users.noreply.github.com>
@alankis alankis deleted the patch-1 branch December 30, 2020 12:11
jsoriano added a commit that referenced this pull request Dec 30, 2020
(cherry picked from commit 8dbe24a)

Co-authored-by: alankis <alankis@users.noreply.github.com>
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.

3 participants