Skip to content

[7.15](backport #27774) [Filebeat] Update compatibility function to remove processor description on ES < 7.9.0#27806

Closed
mergify[bot] wants to merge 1 commit into7.15from
mergify/bp/7.15/pr-27774
Closed

[7.15](backport #27774) [Filebeat] Update compatibility function to remove processor description on ES < 7.9.0#27806
mergify[bot] wants to merge 1 commit into7.15from
mergify/bp/7.15/pr-27774

Conversation

@mergify
Copy link
Copy Markdown
Contributor

@mergify mergify Bot commented Sep 8, 2021

This is an automatic backport of pull request #27774 done by Mergify.
Cherry-pick of 6e290c8 has failed:

On branch mergify/bp/7.15/pr-27774
Your branch is up to date with 'origin/7.15'.

You are currently cherry-picking commit 6e290c8156.
  (fix conflicts and run "git cherry-pick --continue")
  (use "git cherry-pick --skip" to skip this patch)
  (use "git cherry-pick --abort" to cancel the cherry-pick operation)

Changes to be committed:
	modified:   CHANGELOG.next.asciidoc

Unmerged paths:
  (use "git add <file>..." to mark resolution)
	both modified:   filebeat/fileset/compatibility.go
	both modified:   filebeat/fileset/compatibility_test.go

To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/github/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally


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/

…ion on ES < 7.9.0 (#27774)

* Update Filebeat compatibility function to remove processor description field on ES < 7.9.0

* Fix function description

Co-authored-by: Andrew Kroh <andrew.kroh@elastic.co>
(cherry picked from commit 6e290c8)

# Conflicts:
#	filebeat/fileset/compatibility.go
#	filebeat/fileset/compatibility_test.go
@mergify mergify Bot added backport conflicts There is a conflict in the backported pull request labels Sep 8, 2021
@botelastic botelastic Bot added the needs_team Indicates that the issue/PR needs a Team:* label label Sep 8, 2021
@botelastic
Copy link
Copy Markdown

botelastic Bot commented Sep 8, 2021

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

@elasticmachine
Copy link
Copy Markdown
Contributor

💔 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 preview

Expand to view the summary

Build stats

  • Start Time: 2021-09-08T11:32:22.656+0000

  • Duration: 18 min 25 sec

  • Commit: f9df624

Trends 🧪

Image of Build Times

Steps errors 5

Expand to view the steps failures

filebeat-lint - make -C filebeat check;make -C filebeat update;make -C x-pack/filebeat check;make
  • Took 1 min 40 sec . View more details on here
  • Description: make -C filebeat check;make -C filebeat update;make -C x-pack/filebeat check;make -C x-pack/filebeat update;make check-no-changes;
List files to upload
  • Took 0 min 0 sec . View more details on here
  • Description: ls -l src/github.com/elastic/beats/build/system-tests-*.tar.gz
x-pack/filebeat-lint - make -C x-pack/filebeat check;make -C x-pack/filebeat update;make -C filebe
  • Took 2 min 1 sec . View more details on here
  • Description: make -C x-pack/filebeat check;make -C x-pack/filebeat update;make -C filebeat check;make -C filebeat update;make check-no-changes;
List files to upload
  • Took 0 min 0 sec . View more details on here
  • Description: ls -l src/github.com/elastic/beats/build/system-tests-*.tar.gz
Error signal
  • Took 0 min 0 sec . View more details on here
  • Description: Error 'hudson.AbortException: script returned exit code 2'

Log output

Expand to view the last 100 lines of log output

[2021-09-08T11:50:00.340Z] ../../dev-tools/make/mage.mk:21: recipe for target 'check' failed
[2021-09-08T11:50:00.340Z] make: *** [check] Error 1
[2021-09-08T11:50:00.340Z] make: Leaving directory '/var/lib/jenkins/workspace/PR-27806-1-515910d1-db30-498e-949e-38621b3d47a7/src/github.com/elastic/beats/x-pack/filebeat'
[2021-09-08T11:50:00.582Z] Timeout set to expire in 5 min 0 sec
[2021-09-08T11:50:00.929Z] Cleaning up /var/lib/jenkins/workspace/PR-27806-1-515910d1-db30-498e-949e-38621b3d47a7
[2021-09-08T11:50:00.930Z] Change ownership of all files inside the specific folder from root/root to current user/group
[2021-09-08T11:50:00.930Z] ++ id -u
[2021-09-08T11:50:00.930Z] ++ id -g
[2021-09-08T11:50:00.930Z] + docker run -v /var/lib/jenkins/workspace/PR-27806-1-515910d1-db30-498e-949e-38621b3d47a7:/beat alpine:3.4 sh -c 'find /beat -user 0 -exec chown -h 1171:1172 {} \;'
[2021-09-08T11:50:00.930Z] Unable to find image 'alpine:3.4' locally
[2021-09-08T11:50:01.616Z] 3.4: Pulling from library/alpine
[2021-09-08T11:50:01.881Z] c1e54eec4b57: Pulling fs layer
[2021-09-08T11:50:02.143Z] c1e54eec4b57: Verifying Checksum
[2021-09-08T11:50:02.143Z] c1e54eec4b57: Download complete
[2021-09-08T11:50:02.143Z] c1e54eec4b57: Pull complete
[2021-09-08T11:50:02.406Z] Digest: sha256:b733d4a32c4da6a00a84df2ca32791bb03df95400243648d8c539e7b4cce329c
[2021-09-08T11:50:02.406Z] Status: Downloaded newer image for alpine:3.4
[2021-09-08T11:50:04.323Z] + set -e
[2021-09-08T11:50:04.323Z] + echo 'Change permissions with write access of all files inside the specific folder'
[2021-09-08T11:50:04.323Z] Change permissions with write access of all files inside the specific folder
[2021-09-08T11:50:04.323Z] + chmod -R +w /var/lib/jenkins/workspace/PR-27806-1-515910d1-db30-498e-949e-38621b3d47a7
[2021-09-08T11:50:04.989Z] Running in /var/lib/jenkins/workspace/PR-27806-1-515910d1-db30-498e-949e-38621b3d47a7/src/github.com/elastic/beats/build
[2021-09-08T11:50:05.331Z] + rm -rf ve
[2021-09-08T11:50:05.331Z] + find . -type d -name vendor -exec rm -r {} ;
[2021-09-08T11:50:05.724Z] + python .ci/scripts/pre_archive_test.py
[2021-09-08T11:50:05.985Z] Copy ./x-pack/filebeat/build into build/x-pack/filebeat/build
[2021-09-08T11:50:06.022Z] Running in /var/lib/jenkins/workspace/PR-27806-1-515910d1-db30-498e-949e-38621b3d47a7/src/github.com/elastic/beats/build
[2021-09-08T11:50:06.075Z] Recording test results
[2021-09-08T11:50:06.814Z] None of the test reports contained any result
[2021-09-08T11:50:06.815Z] [Checks API] No suitable checks publisher found.
[2021-09-08T11:50:07.157Z] + tar --version
[2021-09-08T11:50:07.539Z] + tar --exclude=test-build-artifacts-x-pack-filebeat-lint-tgz -czf test-build-artifacts-x-pack-filebeat-lint-tgz .
[2021-09-08T11:50:08.237Z] + gsutil --version
[2021-09-08T11:50:11.603Z] Masking supported pattern matches of $FILE_CREDENTIAL
[2021-09-08T11:50:12.154Z] + gcloud auth activate-service-account --key-file ****
[2021-09-08T11:50:13.100Z] Activated service account credentials for: [beats-ci-gcs-plugin@elastic-ci-prod.iam.gserviceaccount.com]
[2021-09-08T11:50:13.494Z] + gsutil -m -q cp -a public-read test-build-artifacts-x-pack-filebeat-lint-tgz gs://beats-ci-temp/Beats/beats/PR-27806-1
[2021-09-08T11:50:16.095Z] + gvm 1.16.6
[2021-09-08T11:50:16.095Z] export GOROOT="/var/lib/jenkins/workspace/PR-27806-1-515910d1-db30-498e-949e-38621b3d47a7/.gvm/versions/go1.16.6.linux.amd64"
[2021-09-08T11:50:16.095Z] export PATH="/var/lib/jenkins/workspace/PR-27806-1-515910d1-db30-498e-949e-38621b3d47a7/.gvm/versions/go1.16.6.linux.amd64/bin:$PATH"
[2021-09-08T11:50:16.567Z] + go get -u github.com/magefile/mage
[2021-09-08T11:50:17.252Z] + go get -u github.com/elastic/go-licenser
[2021-09-08T11:50:17.672Z] + go get -u golang.org/x/tools/cmd/goimports
[2021-09-08T11:50:18.244Z] go get: upgraded golang.org/x/tools v0.1.1 => v0.1.5
[2021-09-08T11:50:18.667Z] + go get -u github.com/jstemmer/go-junit-report
[2021-09-08T11:50:18.845Z] Running in /var/lib/jenkins/workspace/PR-27806-1-515910d1-db30-498e-949e-38621b3d47a7/src/github.com/elastic/beats/x-pack/filebeat
[2021-09-08T11:50:19.200Z] + mage packageSystemTests
[2021-09-08T11:50:27.356Z] >> there are no system test files under build/system-tests/run
[2021-09-08T11:50:27.523Z] Running in /var/lib/jenkins/workspace/PR-27806-1-515910d1-db30-498e-949e-38621b3d47a7/src/github.com/elastic/beats/src/github.com/elastic/beats
[2021-09-08T11:50:27.895Z] + ls -l src/github.com/elastic/beats/build/system-tests-*.tar.gz
[2021-09-08T11:50:27.895Z] ls: cannot access 'src/github.com/elastic/beats/build/system-tests-*.tar.gz': No such file or directory
[2021-09-08T11:50:28.002Z] ERROR: Failed to archive the build test results
[2021-09-08T11:50:28.002Z] ERROR: script returned exit code 2
[2021-09-08T11:50:28.511Z] + go clean -modcache
[2021-09-08T11:50:31.879Z] Timeout set to expire in 5 min 0 sec
[2021-09-08T11:50:32.224Z] Cleaning up /var/lib/jenkins/workspace/PR-27806-1-515910d1-db30-498e-949e-38621b3d47a7
[2021-09-08T11:50:32.224Z] Change ownership of all files inside the specific folder from root/root to current user/group
[2021-09-08T11:50:32.224Z] ++ id -u
[2021-09-08T11:50:32.224Z] ++ id -g
[2021-09-08T11:50:32.224Z] + docker run -v /var/lib/jenkins/workspace/PR-27806-1-515910d1-db30-498e-949e-38621b3d47a7:/beat alpine:3.4 sh -c 'find /beat -user 0 -exec chown -h 1171:1172 {} \;'
[2021-09-08T11:50:33.173Z] + set -e
[2021-09-08T11:50:33.173Z] + echo 'Change permissions with write access of all files inside the specific folder'
[2021-09-08T11:50:33.173Z] Change permissions with write access of all files inside the specific folder
[2021-09-08T11:50:33.173Z] + chmod -R +w /var/lib/jenkins/workspace/PR-27806-1-515910d1-db30-498e-949e-38621b3d47a7
[2021-09-08T11:50:33.551Z] Running in /var/lib/jenkins/workspace/PR-27806-1-515910d1-db30-498e-949e-38621b3d47a7
[2021-09-08T11:50:36.935Z] Failed in branch x-pack/filebeat-lint
[2021-09-08T11:50:37.440Z] + go clean -modcache
[2021-09-08T11:50:40.045Z] Timeout set to expire in 5 min 0 sec
[2021-09-08T11:50:40.387Z] Cleaning up /var/lib/jenkins/workspace/Beats_beats_PR-27806
[2021-09-08T11:50:40.387Z] Change ownership of all files inside the specific folder from root/root to current user/group
[2021-09-08T11:50:40.387Z] ++ id -u
[2021-09-08T11:50:40.387Z] ++ id -g
[2021-09-08T11:50:40.387Z] + docker run -v /var/lib/jenkins/workspace/Beats_beats_PR-27806:/beat alpine:3.4 sh -c 'find /beat -user 0 -exec chown -h 1171:1172 {} \;'
[2021-09-08T11:50:40.387Z] Unable to find image 'alpine:3.4' locally
[2021-09-08T11:50:40.958Z] 3.4: Pulling from library/alpine
[2021-09-08T11:50:41.219Z] c1e54eec4b57: Pulling fs layer
[2021-09-08T11:50:41.479Z] c1e54eec4b57: Verifying Checksum
[2021-09-08T11:50:41.479Z] c1e54eec4b57: Download complete
[2021-09-08T11:50:41.740Z] c1e54eec4b57: Pull complete
[2021-09-08T11:50:41.740Z] Digest: sha256:b733d4a32c4da6a00a84df2ca32791bb03df95400243648d8c539e7b4cce329c
[2021-09-08T11:50:41.740Z] Status: Downloaded newer image for alpine:3.4
[2021-09-08T11:50:42.684Z] + set -e
[2021-09-08T11:50:42.684Z] + echo 'Change permissions with write access of all files inside the specific folder'
[2021-09-08T11:50:42.684Z] Change permissions with write access of all files inside the specific folder
[2021-09-08T11:50:42.684Z] + chmod -R +w /var/lib/jenkins/workspace/Beats_beats_PR-27806
[2021-09-08T11:50:42.795Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-27806
[2021-09-08T11:50:45.724Z] Stage "Build&Test" skipped due to earlier failure(s)
[2021-09-08T11:50:45.838Z] Stage "Extended" skipped due to earlier failure(s)
[2021-09-08T11:50:45.954Z] Stage "Packaging" skipped due to earlier failure(s)
[2021-09-08T11:50:46.056Z] Stage "Packaging-Pipeline" skipped due to earlier failure(s)
[2021-09-08T11:50:46.203Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-27806/src/github.com/elastic/beats
[2021-09-08T11:50:46.668Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats_PR-27806
[2021-09-08T11:50:46.792Z] [INFO] getVaultSecret: Getting secrets
[2021-09-08T11:50:46.849Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-09-08T11:50:48.115Z] + chmod 755 generate-build-data.sh
[2021-09-08T11:50:48.115Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-27806/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-27806/runs/1 FAILURE 1105173
[2021-09-08T11:50:48.115Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-27806/runs/1/steps/?limit=10000 -o steps-info.json
[2021-09-08T11:50:48.666Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-27806/runs/1/tests/?status=FAILED -o tests-errors.json
[2021-09-08T11:50:48.916Z] Retry 1/3 exited 22, retrying in 1 seconds...
[2021-09-08T11:50:49.827Z] Retry 2/3 exited 22, retrying in 2 seconds...

❕ Flaky test report

No test was executed to be analysed.

@legoguy1000
Copy link
Copy Markdown
Contributor

@andrewkroh Looks like there are conflicts on the backport

@andrewkroh
Copy link
Copy Markdown
Member

We're missing some backports so this is going to go into 7.x (aka 7.16) only.

@andrewkroh andrewkroh closed this Sep 9, 2021
@mergify mergify Bot deleted the mergify/bp/7.15/pr-27774 branch September 9, 2021 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport conflicts There is a conflict in the backported pull request needs_team Indicates that the issue/PR needs a Team:* label

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants