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.x](backport #25599) [Metricbeat] Add Couchbase's Sync Gateway module #26558

Closed
wants to merge 9 commits into from

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Jun 29, 2021

This is an automatic backport of pull request #25599 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/

@mergify mergify bot added the backport label Jun 29, 2021
@mergify mergify bot assigned sayden Jun 29, 2021
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Jun 29, 2021
@botelastic
Copy link

botelastic bot commented Jun 29, 2021

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

@elasticmachine
Copy link
Collaborator

elasticmachine commented Jun 29, 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 preview

Expand to view the summary

Build stats

  • Start Time: 2021-07-30T00:07:36.334+0000

  • Duration: 15 min 30 sec

  • Commit: 432f147

Trends 🧪

Image of Build Times

Steps errors 3

Expand to view the steps failures

metricbeat-lint - make -C metricbeat check;make -C metricbeat update;make -C x-pack/metricbeat che
  • Took 3 min 18 sec . View more details on here
  • Description: make -C metricbeat check;make -C metricbeat update;make -C x-pack/metricbeat check;make -C x-pack/metricbeat update;make check-no-changes;
x-pack/metricbeat-lint - make -C x-pack/metricbeat check;make -C x-pack/metricbeat update;make -C
  • Took 2 min 14 sec . View more details on here
  • Description: make -C x-pack/metricbeat check;make -C x-pack/metricbeat update;make -C metricbeat check;make -C metricbeat update;make check-no-changes;
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-07-30T00:21:16.272Z] make: Leaving directory '/var/lib/jenkins/workspace/PR-26558-6-322bad2a-b043-4842-86f1-4a8383bca005/src/github.com/elastic/beats/metricbeat'
[2021-07-30T00:21:16.272Z] + make -C x-pack/metricbeat check
[2021-07-30T00:21:16.272Z] make: Entering directory '/var/lib/jenkins/workspace/PR-26558-6-322bad2a-b043-4842-86f1-4a8383bca005/src/github.com/elastic/beats/x-pack/metricbeat'
[2021-07-30T00:21:16.272Z] mage check
[2021-07-30T00:21:22.854Z] >> fmt - go-licenser: Adding missing headers
[2021-07-30T00:21:22.854Z] >> fmt - autopep8: Formatting Python code
[2021-07-30T00:21:22.854Z] >> fmt - goimports: Formatting Go code
[2021-07-30T00:21:24.240Z] Generated fields.yml for metricbeat to /var/lib/jenkins/workspace/PR-26558-6-322bad2a-b043-4842-86f1-4a8383bca005/src/github.com/elastic/beats/x-pack/metricbeat/fields.yml
[2021-07-30T00:21:24.241Z] >> Building metricbeat.yml for linux/amd64
[2021-07-30T00:21:24.241Z] >> Building metricbeat.reference.yml for linux/amd64
[2021-07-30T00:21:24.241Z] >> Building metricbeat.docker.yml for linux/amd64
[2021-07-30T00:21:26.155Z] exec: go list -m
[2021-07-30T00:21:26.155Z] >> check: Checking source code for common problems
[2021-07-30T00:21:36.194Z] Error: some files are not up-to-date. Run 'mage fmt update' then review and commit the changes. Modified: [x-pack/metricbeat/metricbeat.reference.yml x-pack/metricbeat/module/syncgateway/fields.go]
[2021-07-30T00:21:36.194Z] ../../dev-tools/make/mage.mk:21: recipe for target 'check' failed
[2021-07-30T00:21:36.194Z] make: *** [check] Error 1
[2021-07-30T00:21:36.194Z] make: Leaving directory '/var/lib/jenkins/workspace/PR-26558-6-322bad2a-b043-4842-86f1-4a8383bca005/src/github.com/elastic/beats/x-pack/metricbeat'
[2021-07-30T00:21:36.292Z] Timeout set to expire in 5 min 0 sec
[2021-07-30T00:21:36.592Z] Cleaning up /var/lib/jenkins/workspace/PR-26558-6-322bad2a-b043-4842-86f1-4a8383bca005
[2021-07-30T00:21:36.592Z] Change ownership of all files inside the specific folder from root/root to current user/group
[2021-07-30T00:21:36.592Z] ++ id -u
[2021-07-30T00:21:36.592Z] ++ id -g
[2021-07-30T00:21:36.592Z] + docker run -v /var/lib/jenkins/workspace/PR-26558-6-322bad2a-b043-4842-86f1-4a8383bca005:/beat alpine:3.4 sh -c 'find /beat -user 0 -exec chown -h 1167:1168 {} \;'
[2021-07-30T00:21:36.592Z] Unable to find image 'alpine:3.4' locally
[2021-07-30T00:21:37.163Z] 3.4: Pulling from library/alpine
[2021-07-30T00:21:37.423Z] c1e54eec4b57: Pulling fs layer
[2021-07-30T00:21:37.684Z] c1e54eec4b57: Verifying Checksum
[2021-07-30T00:21:37.684Z] c1e54eec4b57: Download complete
[2021-07-30T00:21:37.946Z] c1e54eec4b57: Pull complete
[2021-07-30T00:21:37.946Z] Digest: sha256:b733d4a32c4da6a00a84df2ca32791bb03df95400243648d8c539e7b4cce329c
[2021-07-30T00:21:37.946Z] Status: Downloaded newer image for alpine:3.4
[2021-07-30T00:21:39.857Z] + set -e
[2021-07-30T00:21:39.857Z] + echo 'Change permissions with write access of all files inside the specific folder'
[2021-07-30T00:21:39.857Z] Change permissions with write access of all files inside the specific folder
[2021-07-30T00:21:39.857Z] + chmod -R +w /var/lib/jenkins/workspace/PR-26558-6-322bad2a-b043-4842-86f1-4a8383bca005
[2021-07-30T00:21:40.476Z] Running in /var/lib/jenkins/workspace/PR-26558-6-322bad2a-b043-4842-86f1-4a8383bca005/src/github.com/elastic/beats/build
[2021-07-30T00:21:40.772Z] + rm -rf ve
[2021-07-30T00:21:40.772Z] + find . -type d -name vendor -exec rm -r {} ;
[2021-07-30T00:21:41.087Z] + python .ci/scripts/pre_archive_test.py
[2021-07-30T00:21:41.087Z] Copy ./x-pack/metricbeat/build into build/x-pack/metricbeat/build
[2021-07-30T00:21:41.087Z] Copy ./metricbeat/build into build/metricbeat/build
[2021-07-30T00:21:41.100Z] Running in /var/lib/jenkins/workspace/PR-26558-6-322bad2a-b043-4842-86f1-4a8383bca005/src/github.com/elastic/beats/build
[2021-07-30T00:21:41.116Z] Recording test results
[2021-07-30T00:21:41.369Z] None of the test reports contained any result
[2021-07-30T00:21:41.369Z] [Checks API] No suitable checks publisher found.
[2021-07-30T00:21:41.675Z] + tar --version
[2021-07-30T00:21:41.988Z] + tar --exclude=test-build-artifacts-metricbeat-lint-tgz -czf test-build-artifacts-metricbeat-lint-tgz .
[2021-07-30T00:21:42.332Z] + gsutil --version
[2021-07-30T00:21:45.772Z] Masking supported pattern matches of $FILE_CREDENTIAL
[2021-07-30T00:21:46.385Z] + gcloud auth activate-service-account --key-file ****
[2021-07-30T00:21:47.324Z] Activated service account credentials for: [beats-ci-gcs-plugin@elastic-ci-prod.iam.gserviceaccount.com]
[2021-07-30T00:21:47.638Z] + gsutil -m -q cp -a public-read test-build-artifacts-metricbeat-lint-tgz gs://beats-ci-temp/Beats/beats/PR-26558-6
[2021-07-30T00:21:49.911Z] + python .ci/scripts/search_system_tests.py
[2021-07-30T00:21:49.928Z] [INFO] system-tests=''. If no empty then let's create a tarball
[2021-07-30T00:21:50.261Z] + go clean -modcache
[2021-07-30T00:21:52.840Z] Timeout set to expire in 5 min 0 sec
[2021-07-30T00:21:53.162Z] Cleaning up /var/lib/jenkins/workspace/PR-26558-6-322bad2a-b043-4842-86f1-4a8383bca005
[2021-07-30T00:21:53.162Z] Change ownership of all files inside the specific folder from root/root to current user/group
[2021-07-30T00:21:53.162Z] ++ id -u
[2021-07-30T00:21:53.162Z] ++ id -g
[2021-07-30T00:21:53.162Z] + docker run -v /var/lib/jenkins/workspace/PR-26558-6-322bad2a-b043-4842-86f1-4a8383bca005:/beat alpine:3.4 sh -c 'find /beat -user 0 -exec chown -h 1167:1168 {} \;'
[2021-07-30T00:21:54.101Z] + set -e
[2021-07-30T00:21:54.101Z] + echo 'Change permissions with write access of all files inside the specific folder'
[2021-07-30T00:21:54.101Z] Change permissions with write access of all files inside the specific folder
[2021-07-30T00:21:54.101Z] + chmod -R +w /var/lib/jenkins/workspace/PR-26558-6-322bad2a-b043-4842-86f1-4a8383bca005
[2021-07-30T00:21:54.414Z] Running in /var/lib/jenkins/workspace/PR-26558-6-322bad2a-b043-4842-86f1-4a8383bca005
[2021-07-30T00:21:57.117Z] Failed in branch metricbeat-lint
[2021-07-30T00:21:57.451Z] + go clean -modcache
[2021-07-30T00:22:00.030Z] Timeout set to expire in 5 min 0 sec
[2021-07-30T00:22:00.326Z] Cleaning up /var/lib/jenkins/workspace/Beats_beats_PR-26558
[2021-07-30T00:22:00.326Z] Change ownership of all files inside the specific folder from root/root to current user/group
[2021-07-30T00:22:00.326Z] ++ id -u
[2021-07-30T00:22:00.326Z] ++ id -g
[2021-07-30T00:22:00.326Z] + docker run -v /var/lib/jenkins/workspace/Beats_beats_PR-26558:/beat alpine:3.4 sh -c 'find /beat -user 0 -exec chown -h 1167:1168 {} \;'
[2021-07-30T00:22:00.326Z] Unable to find image 'alpine:3.4' locally
[2021-07-30T00:22:00.895Z] 3.4: Pulling from library/alpine
[2021-07-30T00:22:01.155Z] c1e54eec4b57: Pulling fs layer
[2021-07-30T00:22:01.415Z] c1e54eec4b57: Download complete
[2021-07-30T00:22:01.677Z] c1e54eec4b57: Pull complete
[2021-07-30T00:22:01.677Z] Digest: sha256:b733d4a32c4da6a00a84df2ca32791bb03df95400243648d8c539e7b4cce329c
[2021-07-30T00:22:01.677Z] Status: Downloaded newer image for alpine:3.4
[2021-07-30T00:22:02.618Z] + set -e
[2021-07-30T00:22:02.618Z] + echo 'Change permissions with write access of all files inside the specific folder'
[2021-07-30T00:22:02.618Z] Change permissions with write access of all files inside the specific folder
[2021-07-30T00:22:02.618Z] + chmod -R +w /var/lib/jenkins/workspace/Beats_beats_PR-26558
[2021-07-30T00:22:02.670Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-26558
[2021-07-30T00:22:05.060Z] Stage "Build&Test" skipped due to earlier failure(s)
[2021-07-30T00:22:05.090Z] Stage "Extended" skipped due to earlier failure(s)
[2021-07-30T00:22:05.124Z] Stage "Packaging" skipped due to earlier failure(s)
[2021-07-30T00:22:05.153Z] Stage "Packaging-Pipeline" skipped due to earlier failure(s)
[2021-07-30T00:22:05.200Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-26558/src/github.com/elastic/beats
[2021-07-30T00:22:06.134Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats_PR-26558
[2021-07-30T00:22:06.178Z] [INFO] getVaultSecret: Getting secrets
[2021-07-30T00:22:06.215Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-07-30T00:22:06.901Z] + chmod 755 generate-build-data.sh
[2021-07-30T00:22:06.901Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-26558/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-26558/runs/6 FAILURE 870302
[2021-07-30T00:22:06.901Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-26558/runs/6/steps/?limit=10000 -o steps-info.json
[2021-07-30T00:22:07.452Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-26558/runs/6/tests/?status=FAILED -o tests-errors.json
[2021-07-30T00:22:07.452Z] Retry 1/3 exited 22, retrying in 1 seconds...
[2021-07-30T00:22:08.363Z] Retry 2/3 exited 22, retrying in 2 seconds...

❕ Flaky test report

No test was executed to be analysed.

@mergify
Copy link
Contributor Author

mergify bot commented Jul 1, 2021

This pull request is now in conflicts. Could you fix it? 🙏
To fixup this pull request, you can check out it locally. See documentation: https://help.github.com/articles/checking-out-pull-requests-locally/

git fetch upstream
git checkout -b mergify/bp/7.x/pr-25599 upstream/mergify/bp/7.x/pr-25599
git merge upstream/7.x
git push upstream mergify/bp/7.x/pr-25599

@mergify
Copy link
Contributor Author

mergify bot commented Jul 13, 2021

This pull request is now in conflicts. Could you fix it? 🙏
To fixup this pull request, you can check out it locally. See documentation: https://help.github.com/articles/checking-out-pull-requests-locally/

git fetch upstream
git checkout -b mergify/bp/7.x/pr-25599 upstream/mergify/bp/7.x/pr-25599
git merge upstream/7.x
git push upstream mergify/bp/7.x/pr-25599

@ChrsMark
Copy link
Member

@sayden could we merge this to avoid messing up with backports? I had an issue with #27066 backport cause the module is on master but not in 7.x.

@kaiyan-sheng
Copy link
Contributor

@Mergifyio update

@mergify
Copy link
Contributor Author

mergify bot commented Jul 30, 2021

Command update: success

Branch has been successfully updated

@kaiyan-sheng
Copy link
Contributor

This is replaced by #27155

@mergify
Copy link
Contributor Author

mergify bot commented Jul 30, 2021

This pull request is now in conflicts. Could you fix it? 🙏
To fixup this pull request, you can check out it locally. See documentation: https://help.github.com/articles/checking-out-pull-requests-locally/

git fetch upstream
git checkout -b mergify/bp/7.x/pr-25599 upstream/mergify/bp/7.x/pr-25599
git merge upstream/7.x
git push upstream mergify/bp/7.x/pr-25599

@mergify mergify bot deleted the mergify/bp/7.x/pr-25599 branch July 30, 2021 18:42
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.

4 participants