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

[7.13](backport #26676) Make network_direction, registered_domain and convert processors compatible with ES older than 7.13.0 #26692

Merged
merged 2 commits into from
Jul 5, 2021

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Jul 2, 2021

This is an automatic backport of pull request #26676 done by Mergify.


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.io/

…atible with ES older than 7.13.0 (#26676)

Adds three new Filebeat fileset compatibility tweaks to support Elasticsearch versions before 7.13.0:

- Replaces usages of convert processor using type: ip with an equivalent grok expression.
  Convert to ip type is used to make a conditional field copy if the source field is a valid IP address.
- Removes the network_direction processor.
- Removes the registered_domain processor.

(cherry picked from commit 65d2193)
@mergify mergify bot added the backport label Jul 2, 2021
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Jul 2, 2021
@botelastic
Copy link

botelastic bot commented Jul 2, 2021

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

@elasticmachine
Copy link
Collaborator

elasticmachine commented Jul 2, 2021

💔 Build Failed

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: adriansr commented: /test

  • Start Time: 2021-07-02T10:35:03.200+0000

  • Duration: 20 min 55 sec

  • Commit: ce5da3d

Trends 🧪

Image of Build Times

Steps errors 3

Expand to view the steps failures

filebeat-packaging-linux - mage package
  • Took 5 min 17 sec . View more details on here
  • Description: mage package
x-pack/filebeat-packaging-linux - mage package
  • Took 7 min 28 sec . View more details on here
  • Description: mage package
Error signal
  • Took 0 min 0 sec . View more details on here
  • Description: Error 'hudson.AbortException: script returned exit code 1'

Log output

Expand to view the last 100 lines of log output

[2021-07-02T10:53:54.231Z]  Version:           20.10.3
[2021-07-02T10:53:54.231Z]  API version:       1.41
[2021-07-02T10:53:54.231Z]  Go version:        go1.13.15
[2021-07-02T10:53:54.231Z]  Git commit:        48d30b5
[2021-07-02T10:53:54.231Z]  Built:             Fri Jan 29 14:33:13 2021
[2021-07-02T10:53:54.231Z]  OS/Arch:           linux/amd64
[2021-07-02T10:53:54.231Z]  Context:           default
[2021-07-02T10:53:54.231Z]  Experimental:      true
[2021-07-02T10:53:54.231Z] 
[2021-07-02T10:53:54.231Z] Server: Docker Engine - Community
[2021-07-02T10:53:54.231Z]  Engine:
[2021-07-02T10:53:54.231Z]   Version:          20.10.3
[2021-07-02T10:53:54.231Z]   API version:      1.41 (minimum version 1.12)
[2021-07-02T10:53:54.231Z]   Go version:       go1.13.15
[2021-07-02T10:53:54.231Z]   Git commit:       46229ca
[2021-07-02T10:53:54.231Z]   Built:            Fri Jan 29 14:31:25 2021
[2021-07-02T10:53:54.231Z]   OS/Arch:          linux/amd64
[2021-07-02T10:53:54.231Z]   Experimental:     false
[2021-07-02T10:53:54.231Z]  containerd:
[2021-07-02T10:53:54.231Z]   Version:          1.4.3
[2021-07-02T10:53:54.231Z]   GitCommit:        269548fa27e0089a8b8278fc4fc781d7f65a939b
[2021-07-02T10:53:54.231Z]  runc:
[2021-07-02T10:53:54.231Z]   Version:          1.0.0-rc92
[2021-07-02T10:53:54.231Z]   GitCommit:        ff819c7e9184c13b7c2607fe6c30ae19403a7aff
[2021-07-02T10:53:54.231Z]  docker-init:
[2021-07-02T10:53:54.231Z]   Version:          0.19.0
[2021-07-02T10:53:54.231Z]   GitCommit:        de40ad0
[2021-07-02T10:53:54.231Z] Change ownership of all files inside the specific folder from root/root to current user/group
[2021-07-02T10:53:54.231Z] Unable to find image 'alpine:3.4' locally
[2021-07-02T10:53:54.800Z] 3.4: Pulling from library/alpine
[2021-07-02T10:53:55.060Z] c1e54eec4b57: Pulling fs layer
[2021-07-02T10:53:55.320Z] c1e54eec4b57: Download complete
[2021-07-02T10:53:55.581Z] c1e54eec4b57: Pull complete
[2021-07-02T10:53:55.581Z] Digest: sha256:b733d4a32c4da6a00a84df2ca32791bb03df95400243648d8c539e7b4cce329c
[2021-07-02T10:53:55.581Z] Status: Downloaded newer image for alpine:3.4
[2021-07-02T10:53:56.963Z] Change permissions with write access of all files inside the specific folder
[2021-07-02T10:53:57.919Z] Running in /var/lib/jenkins/workspace/PR-26692-3-1bb73664-3430-4557-af04-383155a03d7a/src/github.com/elastic/beats/build
[2021-07-02T10:53:58.213Z] + rm -rf ve
[2021-07-02T10:53:58.213Z] + find . -type d -name vendor -exec rm -r {} ;
[2021-07-02T10:53:58.523Z] + python .ci/scripts/pre_archive_test.py
[2021-07-02T10:54:00.434Z] Copy ./x-pack/filebeat/build into build/x-pack/filebeat/build
[2021-07-02T10:54:00.434Z] Copy ./x-pack/filebeat/build/golang-crossbuild into build/x-pack/filebeat/build/golang-crossbuild
[2021-07-02T10:54:00.446Z] Running in /var/lib/jenkins/workspace/PR-26692-3-1bb73664-3430-4557-af04-383155a03d7a/src/github.com/elastic/beats/build
[2021-07-02T10:54:00.461Z] Recording test results
[2021-07-02T10:54:00.811Z] None of the test reports contained any result
[2021-07-02T10:54:00.811Z] [Checks API] No suitable checks publisher found.
[2021-07-02T10:54:01.126Z] + tar --version
[2021-07-02T10:54:01.454Z] + tar --exclude=test-build-artifacts-x-pack-filebeat-packaging-linux-tgz -czf test-build-artifacts-x-pack-filebeat-packaging-linux-tgz .
[2021-07-02T10:54:40.668Z] + gsutil --version
[2021-07-02T10:54:43.996Z] Masking supported pattern matches of $FILE_CREDENTIAL
[2021-07-02T10:54:44.344Z] + gcloud auth activate-service-account --key-file ****
[2021-07-02T10:54:45.282Z] Activated service account credentials for: [beats-ci-gcs-plugin@elastic-ci-prod.iam.gserviceaccount.com]
[2021-07-02T10:54:45.590Z] + gsutil -m -q cp -a public-read test-build-artifacts-x-pack-filebeat-packaging-linux-tgz gs://beats-ci-temp/Beats/beats/PR-26692-3
[2021-07-02T10:54:49.237Z] + python .ci/scripts/search_system_tests.py
[2021-07-02T10:54:49.252Z] [INFO] system-tests=''. If no empty then let's create a tarball
[2021-07-02T10:54:49.579Z] + go clean -modcache
[2021-07-02T10:54:53.179Z] Cleaning up /var/lib/jenkins/workspace/PR-26692-3-1bb73664-3430-4557-af04-383155a03d7a
[2021-07-02T10:54:53.179Z] Client: Docker Engine - Community
[2021-07-02T10:54:53.179Z]  Version:           20.10.3
[2021-07-02T10:54:53.179Z]  API version:       1.41
[2021-07-02T10:54:53.179Z]  Go version:        go1.13.15
[2021-07-02T10:54:53.179Z]  Git commit:        48d30b5
[2021-07-02T10:54:53.179Z]  Built:             Fri Jan 29 14:33:13 2021
[2021-07-02T10:54:53.179Z]  OS/Arch:           linux/amd64
[2021-07-02T10:54:53.179Z]  Context:           default
[2021-07-02T10:54:53.179Z]  Experimental:      true
[2021-07-02T10:54:53.179Z] 
[2021-07-02T10:54:53.179Z] Server: Docker Engine - Community
[2021-07-02T10:54:53.179Z]  Engine:
[2021-07-02T10:54:53.179Z]   Version:          20.10.3
[2021-07-02T10:54:53.179Z]   API version:      1.41 (minimum version 1.12)
[2021-07-02T10:54:53.179Z]   Go version:       go1.13.15
[2021-07-02T10:54:53.179Z]   Git commit:       46229ca
[2021-07-02T10:54:53.179Z]   Built:            Fri Jan 29 14:31:25 2021
[2021-07-02T10:54:53.179Z]   OS/Arch:          linux/amd64
[2021-07-02T10:54:53.179Z]   Experimental:     false
[2021-07-02T10:54:53.179Z]  containerd:
[2021-07-02T10:54:53.179Z]   Version:          1.4.3
[2021-07-02T10:54:53.179Z]   GitCommit:        269548fa27e0089a8b8278fc4fc781d7f65a939b
[2021-07-02T10:54:53.179Z]  runc:
[2021-07-02T10:54:53.179Z]   Version:          1.0.0-rc92
[2021-07-02T10:54:53.179Z]   GitCommit:        ff819c7e9184c13b7c2607fe6c30ae19403a7aff
[2021-07-02T10:54:53.179Z]  docker-init:
[2021-07-02T10:54:53.179Z]   Version:          0.19.0
[2021-07-02T10:54:53.179Z]   GitCommit:        de40ad0
[2021-07-02T10:54:53.179Z] Change ownership of all files inside the specific folder from root/root to current user/group
[2021-07-02T10:54:54.118Z] Change permissions with write access of all files inside the specific folder
[2021-07-02T10:54:54.402Z] Running in /var/lib/jenkins/workspace/PR-26692-3-1bb73664-3430-4557-af04-383155a03d7a
[2021-07-02T10:54:56.865Z] Failed in branch x-pack/filebeat-packaging-linux
[2021-07-02T10:54:56.924Z] Stage "Packaging-Pipeline" skipped due to earlier failure(s)
[2021-07-02T10:54:56.970Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-26692/src/github.com/elastic/beats
[2021-07-02T10:54:57.856Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats_PR-26692
[2021-07-02T10:54:57.896Z] [INFO] getVaultSecret: Getting secrets
[2021-07-02T10:54:57.931Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-07-02T10:54:58.606Z] + chmod 755 generate-build-data.sh
[2021-07-02T10:54:58.606Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-26692/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-26692/runs/3 FAILURE 1195137
[2021-07-02T10:54:58.606Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-26692/runs/3/steps/?limit=10000 -o steps-info.json
[2021-07-02T10:54:59.517Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-26692/runs/3/tests/?status=FAILED -o tests-errors.json
[2021-07-02T10:54:59.517Z] Retry 1/3 exited 22, retrying in 1 seconds...
[2021-07-02T10:55:00.429Z] Retry 2/3 exited 22, retrying in 2 seconds...

❕ Flaky test report

No test was executed to be analysed.

@adriansr
Copy link
Contributor

adriansr commented Jul 2, 2021

/test

@adriansr
Copy link
Contributor

adriansr commented Jul 5, 2021

CI failure unrelated

@adriansr adriansr merged commit ae80484 into 7.13 Jul 5, 2021
@mergify mergify bot deleted the mergify/bp/7.13/pr-26676 branch July 5, 2021 09:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport needs_team Indicates that the issue/PR needs a Team:* label
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants