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 #24636 to 7.x: [Filebeat] Change okta.target to nested field #24652

Closed
wants to merge 1 commit into from

Conversation

legoguy1000
Copy link
Contributor

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

What does this PR do?

Resolves #24354. Changes the okta.target field from an array to nested type

Why is it important?

unable to perform nested searches on the fields without it.

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

Resolves #24354

Use cases

Screenshots

Logs

#24354 (comment)

@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Mar 19, 2021
@elasticmachine
Copy link
Collaborator

❕ 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 #24652 opened

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

  • Start Time: 2021-03-19T13:36:29.412+0000

  • Duration: 5 min 44 sec

  • Commit: f6c0fbe

Trends 🧪

Image of Build Times

Steps errors 2

Expand to view the steps failures

Load a resource file from a shared library
  • Took 0 min 0 sec . View more details on here
  • Description: approval-list/elastic/beats.yml
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 permissions can do so.)

Log output

Expand to view the last 100 lines of log output

[2021-03-19T13:39:15.323Z] Checking out Revision f6c0fbef26f6ce8d443b7e176d59254d23eadb5f (PR-24652)
[2021-03-19T13:39:15.289Z]  > git remote # timeout=10
[2021-03-19T13:39:15.293Z]  > git config --get remote.origin.url # timeout=10
[2021-03-19T13:39:15.297Z] using GIT_SSH to set credentials GitHub user @elasticmachine SSH key
[2021-03-19T13:39:15.300Z]  > git merge 1d947eec588c9ec31311e5ab316dc0800eb98618 # timeout=10
[2021-03-19T13:39:15.313Z]  > git rev-parse HEAD^{commit} # timeout=10
[2021-03-19T13:39:15.322Z]  > git config core.sparsecheckout # timeout=10
[2021-03-19T13:39:15.325Z]  > git checkout -f f6c0fbef26f6ce8d443b7e176d59254d23eadb5f # timeout=15
[2021-03-19T13:39:19.326Z] Commit message: "Change okta.target to nested field"
[2021-03-19T13:39:19.326Z] First time build. Skipping changelog.
[2021-03-19T13:39:19.326Z] Cleaning workspace
[2021-03-19T13:39:19.846Z]  > git --version # timeout=10
[2021-03-19T13:39:19.849Z]  > git --version # 'git version 2.17.1'
[2021-03-19T13:39:19.852Z] fatal: bad object 4f845c65634cd6e489a51cb99c12fd2674a3ab0e
[2021-03-19T13:39:19.325Z]  > git rev-parse --verify HEAD # timeout=10
[2021-03-19T13:39:19.328Z] Resetting working tree
[2021-03-19T13:39:19.328Z]  > git reset --hard # timeout=10
[2021-03-19T13:39:19.764Z]  > git clean -fdx # timeout=10
[2021-03-19T13:39:21.103Z] Timeout set to expire in 3 hr 0 min
[2021-03-19T13:39:21.134Z] The timestamps step is unnecessary when timestamps are enabled for all Pipeline builds.
[2021-03-19T13:39:21.571Z] [INFO] Number of builds to be searched 10
[2021-03-19T13:39:22.339Z] [INFO] 'shallow' is forced to be disabled when running on PullRequests
[2021-03-19T13:39:22.366Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-24652/src/github.com/elastic/beats
[2021-03-19T13:39:22.408Z] [INFO] gitCheckout: Checkout SCM PR-24652 with default customisation from the Item.
[2021-03-19T13:39:22.447Z] [INFO] Override default checkout
[2021-03-19T13:39:22.515Z] Sleeping for 10 sec
[2021-03-19T13:39:32.552Z] The recommended git tool is: git
[2021-03-19T13:39:32.611Z] using credential f6c7695a-671e-4f4f-a331-acdce44ff9ba
[2021-03-19T13:39:32.675Z] Wiping out workspace first.
[2021-03-19T13:39:32.687Z] Cloning the remote Git repository
[2021-03-19T13:39:32.687Z] Using shallow clone with depth 10
[2021-03-19T13:39:32.687Z] Avoid fetching tags
[2021-03-19T13:39:32.700Z] Cloning repository [email protected]:elastic/beats.git
[2021-03-19T13:39:32.730Z]  > git init /var/lib/jenkins/workspace/Beats_beats_PR-24652/src/github.com/elastic/beats # timeout=10
[2021-03-19T13:39:32.735Z] Fetching upstream changes from [email protected]:elastic/beats.git
[2021-03-19T13:39:32.735Z]  > git --version # timeout=10
[2021-03-19T13:39:32.740Z]  > git --version # 'git version 2.17.1'
[2021-03-19T13:39:32.740Z] using GIT_SSH to set credentials GitHub user @elasticmachine SSH key
[2021-03-19T13:39:32.745Z]  > git fetch --no-tags --progress -- [email protected]:elastic/beats.git +refs/heads/*:refs/remotes/origin/* # timeout=15
[2021-03-19T13:39:52.548Z] Cleaning workspace
[2021-03-19T13:39:52.565Z] Using shallow fetch with depth 10
[2021-03-19T13:39:52.565Z] Pruning obsolete local branches
[2021-03-19T13:39:53.678Z] Merging remotes/origin/7.x commit 1d947eec588c9ec31311e5ab316dc0800eb98618 into PR head commit f6c0fbef26f6ce8d443b7e176d59254d23eadb5f
[2021-03-19T13:39:52.526Z]  > git config remote.origin.url [email protected]:elastic/beats.git # timeout=10
[2021-03-19T13:39:52.529Z]  > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
[2021-03-19T13:39:52.540Z]  > git config remote.origin.url [email protected]:elastic/beats.git # timeout=10
[2021-03-19T13:39:52.548Z]  > git rev-parse --verify HEAD # timeout=10
[2021-03-19T13:39:52.553Z] No valid HEAD. Skipping the resetting
[2021-03-19T13:39:52.553Z]  > git clean -fdx # timeout=10
[2021-03-19T13:39:52.565Z] Fetching upstream changes from [email protected]:elastic/beats.git
[2021-03-19T13:39:52.565Z] using GIT_SSH to set credentials GitHub user @elasticmachine SSH key
[2021-03-19T13:39:52.568Z]  > git fetch --no-tags --progress --prune -- [email protected]:elastic/beats.git +refs/pull/24652/head:refs/remotes/origin/PR-24652 +refs/heads/7.x:refs/remotes/origin/7.x # timeout=15
[2021-03-19T13:39:53.678Z]  > git config core.sparsecheckout # timeout=10
[2021-03-19T13:39:53.681Z]  > git checkout -f f6c0fbef26f6ce8d443b7e176d59254d23eadb5f # timeout=15
[2021-03-19T13:39:55.254Z] Merge succeeded, producing f6c0fbef26f6ce8d443b7e176d59254d23eadb5f
[2021-03-19T13:39:55.255Z] Checking out Revision f6c0fbef26f6ce8d443b7e176d59254d23eadb5f (PR-24652)
[2021-03-19T13:39:55.618Z] Commit message: "Change okta.target to nested field"
[2021-03-19T13:39:55.618Z] Cleaning workspace
[2021-03-19T13:39:56.031Z]  > git --version # timeout=10
[2021-03-19T13:39:56.034Z]  > git --version # 'git version 2.17.1'
[2021-03-19T13:39:56.037Z] fatal: bad object 4f845c65634cd6e489a51cb99c12fd2674a3ab0e
[2021-03-19T13:39:55.224Z]  > git remote # timeout=10
[2021-03-19T13:39:55.228Z]  > git config --get remote.origin.url # timeout=10
[2021-03-19T13:39:55.231Z] using GIT_SSH to set credentials GitHub user @elasticmachine SSH key
[2021-03-19T13:39:55.234Z]  > git merge 1d947eec588c9ec31311e5ab316dc0800eb98618 # timeout=10
[2021-03-19T13:39:55.245Z]  > git rev-parse HEAD^{commit} # timeout=10
[2021-03-19T13:39:55.254Z]  > git config core.sparsecheckout # timeout=10
[2021-03-19T13:39:55.257Z]  > git checkout -f f6c0fbef26f6ce8d443b7e176d59254d23eadb5f # timeout=15
[2021-03-19T13:39:55.617Z]  > git rev-parse --verify HEAD # timeout=10
[2021-03-19T13:39:55.620Z] Resetting working tree
[2021-03-19T13:39:55.621Z]  > git reset --hard # timeout=10
[2021-03-19T13:39:55.959Z]  > git clean -fdx # timeout=10
[2021-03-19T13:39:57.086Z] Masking supported pattern matches of $GIT_USERNAME or $GIT_PASSWORD
[2021-03-19T13:39:57.741Z] + git fetch https://****:****@github.com/elastic/beats.git +refs/pull/*/head:refs/remotes/origin/pr/*
[2021-03-19T13:41:05.612Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-24652/src/github.com/elastic/beats/.git
[2021-03-19T13:41:05.785Z] Archiving artifacts
[2021-03-19T13:41:06.581Z] + git rev-parse HEAD
[2021-03-19T13:41:06.930Z] + git rev-parse HEAD
[2021-03-19T13:41:07.253Z] + git rev-parse origin/pr/24652
[2021-03-19T13:41:07.315Z] [INFO] githubEnv: Found Git Build Cause: pr
[2021-03-19T13:41:07.717Z] Masking supported pattern matches of $GITHUB_TOKEN
[2021-03-19T13:41:09.322Z] [WARN] githubApiCall: The REST API call https://api.github.com/repos/elastic/beats/pulls/24652/reviews return 0 elements
[2021-03-19T13:41:09.392Z] [INFO] githubPrCheckApproved: Title: Cherry-pick #24636 to 7.x: [Filebeat] Change okta.target to nested field - User: legoguy1000 - Author Association: CONTRIBUTOR
[2021-03-19T13:41:09.892Z] ERROR: githubPrCheckApproved: The PR is not allowed to run in the CI yet
[2021-03-19T13:41:09.892Z] ERROR: githubPrCheckApproved: The PR is not allowed to run in the CI yet. (Only users with write permissions can do so.)
[2021-03-19T13:41:09.984Z] [INFO] Let's stop build #1. The PR is not allowed to run in the CI yet
[2021-03-19T13:41:10.013Z] Sleeping for 5 sec
[2021-03-19T13:41:11.845Z] Stage "Lint" skipped due to earlier failure(s)
[2021-03-19T13:41:11.932Z] Stage "Build&Test" skipped due to earlier failure(s)
[2021-03-19T13:41:12.022Z] Stage "Packaging" skipped due to earlier failure(s)
[2021-03-19T13:41:12.141Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-24652/src/github.com/elastic/beats
[2021-03-19T13:41:12.729Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats_PR-24652
[2021-03-19T13:41:12.888Z] [INFO] getVaultSecret: Getting secrets
[2021-03-19T13:41:13.001Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-03-19T13:41:13.916Z] + chmod 755 generate-build-data.sh
[2021-03-19T13:41:13.916Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-24652/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-24652/runs/1 ABORTED 284229
[2021-03-19T13:41:14.167Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-24652/runs/1/steps/?limit=10000 -o steps-info.json
[2021-03-19T13:41:14.718Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-24652/runs/1/tests/?status=FAILED -o tests-errors.json
[2021-03-19T13:41:14.718Z] Retry 1/3 exited 22, retrying in 1 seconds...
[2021-03-19T13:41:16.061Z] Retry 2/3 exited 22, retrying in 2 seconds...

@botelastic botelastic bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Mar 22, 2021
@legoguy1000 legoguy1000 deleted the backport_24636_7.x branch March 25, 2021 13:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants