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.14] Add units to metric duration fields (backport #5395) #5618

Closed
wants to merge 1 commit into from

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Jul 6, 2021

This is an automatic backport of pull request #5395 done by Mergify.
Cherry-pick of fedc1db has failed:

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

You are currently cherry-picking commit fedc1db2.
  (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)

Unmerged paths:
  (use "git add/rm <file>..." as appropriate to mark resolution)
	both modified:   apmpackage/apm/data_stream/app_metrics/fields/fields.yml
	both modified:   apmpackage/apm/data_stream/internal_metrics/fields/fields.yml
	deleted by us:   changelogs/head.asciidoc
	both modified:   include/fields.go

no changes added to commit (use "git add" and/or "git commit -a")

To fix up this pull request, you can check it out locally. See documentation: https://help.github.com/articles/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/

* add units to metric duration fields

* Apply suggestions from code review

Co-authored-by: Andrew Wilkins <[email protected]>

* make update

* Add changelog

Co-authored-by: Andrew Wilkins <[email protected]>
(cherry picked from commit fedc1db)

# Conflicts:
#	apmpackage/apm/data_stream/app_metrics/fields/fields.yml
#	apmpackage/apm/data_stream/internal_metrics/fields/fields.yml
#	changelogs/head.asciidoc
#	include/fields.go
@mergify mergify bot added the conflicts There is a conflict in the backported pull request label Jul 6, 2021
@apmmachine
Copy link
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

Expand to view the summary

Build stats

  • Build Cause: Pull request #5618 opened

  • Start Time: 2021-07-06T07:47:46.017+0000

  • Duration: 7 min 24 sec

  • Commit: 6ac815f

Trends 🧪

Image of Build Times

Steps errors 1

Expand to view the steps failures

Run intake
  • Took 4 min 6 sec . View more details on here
  • Description: ./.ci/scripts/intake.sh

Log output

Expand to view the last 100 lines of log output

[2021-07-06T07:52:34.953Z] go: downloading github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb
[2021-07-06T07:52:34.953Z] go: downloading github.com/asaskevich/govalidator v0.0.0-20210307081110-f21760c49a8d
[2021-07-06T07:52:34.953Z] go: downloading github.com/go-openapi/errors v0.20.0
[2021-07-06T07:52:34.953Z] go: downloading github.com/oklog/ulid v1.3.1
[2021-07-06T07:52:34.953Z] go: downloading go.mongodb.org/mongo-driver v1.5.2
[2021-07-06T07:52:35.212Z] go: downloading github.com/go-stack/stack v1.8.0
[2021-07-06T07:52:47.425Z] elastic-package has been installed.
[2021-07-06T07:52:47.425Z] Format the package
[2021-07-06T07:52:47.425Z] Done
[2021-07-06T07:52:47.425Z] Build the package
[2021-07-06T07:52:47.425Z] Package built: /var/lib/jenkins/workspace/pm-server_apm-server-mbp_PR-5618/src/github.com/elastic/apm-server/build/integrations/apm/0.3.0
[2021-07-06T07:52:47.425Z] Done
[2021-07-06T07:52:47.425Z] 2021/07/06 07:52:45 exec: go list -m
[2021-07-06T07:52:47.425Z] >> Building apm-server.yml for linux/amd64
[2021-07-06T07:52:47.425Z] >> Building apm-server.docker.yml for linux/amd64
[2021-07-06T07:52:47.425Z] Generated fields.yml for apm-server to /var/lib/jenkins/workspace/pm-server_apm-server-mbp_PR-5618/src/github.com/elastic/apm-server/build/fields/fields.yml
[2021-07-06T07:52:47.425Z] Generated fields.yml for apm-server to /var/lib/jenkins/workspace/pm-server_apm-server-mbp_PR-5618/src/github.com/elastic/apm-server/build/fields/fields.all.yml
[2021-07-06T07:52:49.956Z] /var/lib/jenkins/workspace/pm-server_apm-server-mbp_PR-5618/.gvm/versions/go1.16.5.linux.amd64/bin/go build -o build/linux/goimports golang.org/x/tools/cmd/goimports
[2021-07-06T07:52:54.146Z] Format the package
[2021-07-06T07:52:54.146Z] Done
[2021-07-06T07:52:54.146Z] Lint the package
[2021-07-06T07:52:54.146Z] Done
[2021-07-06T07:52:54.146Z] Build the package
[2021-07-06T07:52:54.146Z] Package built: /var/lib/jenkins/workspace/pm-server_apm-server-mbp_PR-5618/src/github.com/elastic/apm-server/build/integrations/apm/0.3.0
[2021-07-06T07:52:54.146Z] Done
[2021-07-06T07:52:54.146Z] 2021/07/06 07:52:53 exec: go list -m
[2021-07-06T07:52:54.146Z] >> check: Checking source code for common problems
[2021-07-06T07:52:54.146Z] go: downloading github.com/stretchr/testify v1.7.0
[2021-07-06T07:52:54.146Z] go: downloading github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e
[2021-07-06T07:52:54.146Z] go: downloading github.com/elastic/go-hdrhistogram v0.1.0
[2021-07-06T07:52:54.146Z] go: downloading github.com/dgraph-io/badger v1.6.2
[2021-07-06T07:52:54.146Z] go: downloading github.com/pmezard/go-difflib v1.0.0
[2021-07-06T07:52:54.146Z] go: downloading github.com/dgraph-io/badger/v2 v2.2007.3-0.20201012072640-f5a7e0a1c83b
[2021-07-06T07:52:54.146Z] go: downloading github.com/aws/aws-sdk-go-v2 v0.18.0
[2021-07-06T07:52:57.432Z] go: downloading github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639
[2021-07-06T07:52:57.432Z] go: downloading github.com/hashicorp/nomad/api v0.0.0-20200303134319-e31695b5bbe6
[2021-07-06T07:52:57.432Z] go: downloading github.com/dgraph-io/ristretto v0.0.3-0.20200630154024-f66de99634de
[2021-07-06T07:52:57.432Z] go: downloading github.com/dgryski/go-farm v0.0.0-20200201041132-a6ae2369ad13
[2021-07-06T07:52:57.432Z] go: downloading code.cloudfoundry.org/go-loggregator v7.4.0+incompatible
[2021-07-06T07:52:57.432Z] go: downloading github.com/cloudfoundry-community/go-cfclient v0.0.0-20190808214049-35bcce23fc5f
[2021-07-06T07:52:57.432Z] go: downloading github.com/cloudfoundry/noaa v2.1.0+incompatible
[2021-07-06T07:52:57.432Z] go: downloading github.com/cloudfoundry/sonde-go v0.0.0-20171206171820-b33733203bb4
[2021-07-06T07:52:57.432Z] go: downloading github.com/DataDog/zstd v1.4.4
[2021-07-06T07:52:57.432Z] go: downloading github.com/gorhill/cronexpr v0.0.0-20180427100037-88b0669f7d75
[2021-07-06T07:52:57.432Z] go: downloading github.com/gorilla/websocket v1.4.2
[2021-07-06T07:52:57.432Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1
[2021-07-06T07:52:57.432Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2
[2021-07-06T07:52:57.432Z] go: downloading code.cloudfoundry.org/rfc5424 v0.0.0-20180905210152-236a6d29298a
[2021-07-06T07:52:57.432Z] go: downloading code.cloudfoundry.org/go-diodes v0.0.0-20190809170250-f77fb823c7ee
[2021-07-06T07:52:57.432Z] go: downloading github.com/ugorji/go v1.1.8
[2021-07-06T07:52:57.432Z] go: downloading github.com/jmespath/go-jmespath v0.4.0
[2021-07-06T07:52:57.432Z] go: downloading github.com/ugorji/go/codec v1.1.8
[2021-07-06T07:52:57.432Z] go: downloading github.com/mailru/easyjson v0.7.7
[2021-07-06T07:52:57.432Z] go: downloading code.cloudfoundry.org/gofileutils v0.0.0-20170111115228-4d0c80011a0f
[2021-07-06T07:52:57.432Z] go: downloading github.com/josharian/intern v1.0.0
[2021-07-06T07:55:03.904Z] Error: some files are not up-to-date. Run 'make fmt update' then review and commit the changes. Modified: [apmpackage/apm/data_stream/app_metrics/fields/fields.yml apmpackage/apm/data_stream/internal_metrics/fields/fields.yml include/fields.go]
[2021-07-06T07:55:03.904Z] main.Check
[2021-07-06T07:55:03.904Z] 	/var/lib/jenkins/workspace/pm-server_apm-server-mbp_PR-5618/src/github.com/elastic/apm-server/magefile.go:489
[2021-07-06T07:55:03.904Z] main.main.func16
[2021-07-06T07:55:03.904Z] 	/var/lib/jenkins/workspace/pm-server_apm-server-mbp_PR-5618/src/github.com/elastic/apm-server/mage_output_file.go:613
[2021-07-06T07:55:03.904Z] main.main.func12.1
[2021-07-06T07:55:03.904Z] 	/var/lib/jenkins/workspace/pm-server_apm-server-mbp_PR-5618/src/github.com/elastic/apm-server/mage_output_file.go:284
[2021-07-06T07:55:03.904Z] runtime.goexit
[2021-07-06T07:55:03.904Z] 	/var/lib/jenkins/workspace/pm-server_apm-server-mbp_PR-5618/.gvm/versions/go1.16.5.linux.amd64/src/runtime/asm_amd64.s:1371
[2021-07-06T07:55:03.904Z] Makefile:83: recipe for target 'check' failed
[2021-07-06T07:55:03.904Z] make: *** [check] Error 1
[2021-07-06T07:55:03.904Z] + cleanup
[2021-07-06T07:55:03.904Z] + rm -rf /tmp/tmp.aGotWSSkNQ
[2021-07-06T07:55:05.767Z] Stage "Build and Test" skipped due to earlier failure(s)
[2021-07-06T07:55:06.188Z] Stage "linux build" skipped due to earlier failure(s)
[2021-07-06T07:55:06.201Z] Stage "windows build-test" skipped due to earlier failure(s)
[2021-07-06T07:55:06.212Z] Stage "OSX build-test" skipped due to earlier failure(s)
[2021-07-06T07:55:06.223Z] Stage "Unit Test" skipped due to earlier failure(s)
[2021-07-06T07:55:06.235Z] Stage "System and Environment Tests" skipped due to earlier failure(s)
[2021-07-06T07:55:06.246Z] Stage "Benchmarking" skipped due to earlier failure(s)
[2021-07-06T07:55:06.259Z] Stage "Check kibana Obj. Updated" skipped due to earlier failure(s)
[2021-07-06T07:55:06.271Z] Stage "Hey-Apm" skipped due to earlier failure(s)
[2021-07-06T07:55:06.283Z] Stage "Package" skipped due to earlier failure(s)
[2021-07-06T07:55:06.289Z] Stage "APM Integration Tests" skipped due to earlier failure(s)
[2021-07-06T07:55:06.371Z] Stage "Package" skipped due to earlier failure(s)
[2021-07-06T07:55:06.677Z] Failed in branch linux build
[2021-07-06T07:55:06.685Z] Failed in branch windows build-test
[2021-07-06T07:55:06.694Z] Failed in branch OSX build-test
[2021-07-06T07:55:06.702Z] Failed in branch Unit Test
[2021-07-06T07:55:06.710Z] Failed in branch System and Environment Tests
[2021-07-06T07:55:06.719Z] Failed in branch Benchmarking
[2021-07-06T07:55:06.727Z] Failed in branch Check kibana Obj. Updated
[2021-07-06T07:55:06.735Z] Failed in branch Hey-Apm
[2021-07-06T07:55:06.743Z] Failed in branch APM Integration Tests
[2021-07-06T07:55:06.841Z] Stage "Package" skipped due to earlier failure(s)
[2021-07-06T07:55:07.066Z] Failed in branch Package
[2021-07-06T07:55:08.645Z] Running on worker-854309 in /var/lib/jenkins/workspace/pm-server_apm-server-mbp_PR-5618
[2021-07-06T07:55:08.770Z] [INFO] getVaultSecret: Getting secrets
[2021-07-06T07:55:08.826Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-07-06T07:55:11.098Z] + chmod 755 generate-build-data.sh
[2021-07-06T07:55:11.098Z] + ./generate-build-data.sh https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-server/apm-server-mbp/PR-5618/ https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-server/apm-server-mbp/PR-5618/runs/1 FAILURE 443645
[2021-07-06T07:55:11.098Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-server/apm-server-mbp/PR-5618/runs/1/steps/?limit=10000 -o steps-info.json
[2021-07-06T07:55:11.802Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-server/apm-server-mbp/PR-5618/runs/1/tests/?status=FAILED -o tests-errors.json
[2021-07-06T07:55:12.506Z] Retry 1/3 exited 22, retrying in 1 seconds...
[2021-07-06T07:55:13.962Z] Retry 2/3 exited 22, retrying in 2 seconds...

@axw axw closed this Jul 6, 2021
@axw axw deleted the mergify/bp/7.14/pr-5395 branch July 6, 2021 08:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conflicts There is a conflict in the backported pull request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants