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] Service specific source maps (backport #5410) #5680

Closed
wants to merge 1 commit into from

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Jul 12, 2021

This is an automatic backport of pull request #5410 done by Mergify.
Cherry-pick of 9453fe2 has failed:

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

You are currently cherry-picking commit 9453fe24.
  (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/manifest.yml
	both modified:   beater/beater.go
	both modified:   beater/beater_test.go
	deleted by us:   changelogs/head.asciidoc
	both added:      sourcemap/fleet_store.go
	both added:      sourcemap/fleet_store_test.go
	both modified:   sourcemap/store_test.go
	deleted by us:   tests/system/test_integration_sourcemap.py

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://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/

Serve service-specific sourcemaps from fleet-server

(cherry picked from commit 9453fe2)

# Conflicts:
#	apmpackage/apm/manifest.yml
#	beater/beater.go
#	beater/beater_test.go
#	changelogs/head.asciidoc
#	sourcemap/fleet_store.go
#	sourcemap/fleet_store_test.go
#	sourcemap/store_test.go
#	tests/system/test_integration_sourcemap.py
@mergify mergify bot added the conflicts There is a conflict in the backported pull request label Jul 12, 2021
@axw axw closed this Jul 12, 2021
@axw axw deleted the mergify/bp/7.14/pr-5410 branch July 12, 2021 09:28
@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 preview

Expand to view the summary

Build stats

  • Start Time: 2021-07-12T09:25:17.813+0000

  • Duration: 5 min 17 sec

  • Commit: 07aa99c

Trends 🧪

Image of Build Times

Steps errors 1

Expand to view the steps failures

Run intake
  • Took 2 min 37 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-12T09:28:26.558Z] + git rev-parse HEAD
[2021-07-12T09:28:26.889Z] + git rev-parse origin/pr/5680
[2021-07-12T09:28:26.962Z] [INFO] githubEnv: Found Git Build Cause: pr
[2021-07-12T09:28:27.181Z] Masking supported pattern matches of $GITHUB_TOKEN
[2021-07-12T09:28:28.285Z] [WARN] githubApiCall: The REST API call https://api.github.com/repos/elastic/apm-server/pulls/5680/reviews return 0 elements
[2021-07-12T09:28:28.367Z] [INFO] githubPrCheckApproved: Title: [7.14] Service specific source maps (backport #5410) - User: mergify[bot] - Author Association: CONTRIBUTOR
[2021-07-12T09:28:33.198Z] Stashed 11225 file(s)
[2021-07-12T09:28:33.260Z] Running in /var/lib/jenkins/workspace/pm-server_apm-server-mbp_PR-5680/src/github.com/elastic/apm-server
[2021-07-12T09:28:33.640Z] + make get-version
[2021-07-12T09:28:46.285Z] + git diff --name-only origin/7.14...07aa99c37e9ba246eaecaaa41889e1945a45d52e
[2021-07-12T09:28:46.395Z] [INFO] isGitRegionMatch: not found with regex [^_beats.*, ^apm-server.yml, ^apm-server.docker.yml, ^magefile.go, ^ingest.*, ^packaging.*, ^tests/packaging.*, ^vendor/github.com/elastic/beats.*]
[2021-07-12T09:28:46.770Z] + git diff --name-only origin/7.14...07aa99c37e9ba246eaecaaa41889e1945a45d52e
[2021-07-12T09:28:46.852Z] [INFO] isGitRegionMatch: not found with regex [.*\.asciidoc]
[2021-07-12T09:28:51.814Z] Running in /var/lib/jenkins/workspace/pm-server_apm-server-mbp_PR-5680/src/github.com/elastic/apm-server
[2021-07-12T09:28:52.148Z] + ./.ci/scripts/intake.sh
[2021-07-12T09:28:52.148Z] + source ./script/common.bash
[2021-07-12T09:28:52.148Z] ++++ dirname ./script/common.bash
[2021-07-12T09:28:52.148Z] +++ cd ./script
[2021-07-12T09:28:52.148Z] +++ pwd
[2021-07-12T09:28:52.148Z] ++ _sdir=/var/lib/jenkins/workspace/pm-server_apm-server-mbp_PR-5680/src/github.com/elastic/apm-server/script
[2021-07-12T09:28:52.148Z] + jenkins_setup
[2021-07-12T09:28:52.148Z] + : /var/lib/jenkins/workspace/pm-server_apm-server-mbp_PR-5680
[2021-07-12T09:28:52.148Z] + : /var/lib/jenkins/workspace/pm-server_apm-server-mbp_PR-5680
[2021-07-12T09:28:52.148Z] + '[' -z 1.16.5 ']'
[2021-07-12T09:28:52.148Z] + export GOPATH=/var/lib/jenkins/workspace/pm-server_apm-server-mbp_PR-5680
[2021-07-12T09:28:52.148Z] + GOPATH=/var/lib/jenkins/workspace/pm-server_apm-server-mbp_PR-5680
[2021-07-12T09:28:52.149Z] + export PATH=/var/lib/jenkins/workspace/pm-server_apm-server-mbp_PR-5680/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/lib/jenkins/workspace/pm-server_apm-server-mbp_PR-5680/bin
[2021-07-12T09:28:52.149Z] + PATH=/var/lib/jenkins/workspace/pm-server_apm-server-mbp_PR-5680/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/lib/jenkins/workspace/pm-server_apm-server-mbp_PR-5680/bin
[2021-07-12T09:28:52.149Z] ++ gvm 1.16.5
[2021-07-12T09:28:57.434Z] + eval 'export GOROOT="/var/lib/jenkins/workspace/pm-server_apm-server-mbp_PR-5680/.gvm/versions/go1.16.5.linux.amd64"
[2021-07-12T09:28:57.434Z] export PATH="/var/lib/jenkins/workspace/pm-server_apm-server-mbp_PR-5680/.gvm/versions/go1.16.5.linux.amd64/bin:$PATH"'
[2021-07-12T09:28:57.434Z] ++ export GOROOT=/var/lib/jenkins/workspace/pm-server_apm-server-mbp_PR-5680/.gvm/versions/go1.16.5.linux.amd64
[2021-07-12T09:28:57.434Z] ++ GOROOT=/var/lib/jenkins/workspace/pm-server_apm-server-mbp_PR-5680/.gvm/versions/go1.16.5.linux.amd64
[2021-07-12T09:28:57.434Z] ++ export PATH=/var/lib/jenkins/workspace/pm-server_apm-server-mbp_PR-5680/.gvm/versions/go1.16.5.linux.amd64/bin:/var/lib/jenkins/workspace/pm-server_apm-server-mbp_PR-5680/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/lib/jenkins/workspace/pm-server_apm-server-mbp_PR-5680/bin
[2021-07-12T09:28:57.434Z] ++ PATH=/var/lib/jenkins/workspace/pm-server_apm-server-mbp_PR-5680/.gvm/versions/go1.16.5.linux.amd64/bin:/var/lib/jenkins/workspace/pm-server_apm-server-mbp_PR-5680/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/lib/jenkins/workspace/pm-server_apm-server-mbp_PR-5680/bin
[2021-07-12T09:28:57.434Z] ++ mktemp -d
[2021-07-12T09:28:57.434Z] + export TEMP_PYTHON_ENV=/tmp/tmp.g4svUL8XcB
[2021-07-12T09:28:57.434Z] + TEMP_PYTHON_ENV=/tmp/tmp.g4svUL8XcB
[2021-07-12T09:28:57.434Z] + export PYTHON_ENV=/tmp/tmp.g4svUL8XcB/python-env
[2021-07-12T09:28:57.434Z] + PYTHON_ENV=/tmp/tmp.g4svUL8XcB/python-env
[2021-07-12T09:28:57.434Z] + export MAGEFILE_CACHE=/var/lib/jenkins/workspace/pm-server_apm-server-mbp_PR-5680/.magefile
[2021-07-12T09:28:57.434Z] + MAGEFILE_CACHE=/var/lib/jenkins/workspace/pm-server_apm-server-mbp_PR-5680/.magefile
[2021-07-12T09:28:57.434Z] + trap cleanup EXIT
[2021-07-12T09:28:57.434Z] + make check-full
[2021-07-12T09:29:01.635Z] /var/lib/jenkins/workspace/pm-server_apm-server-mbp_PR-5680/.gvm/versions/go1.16.5.linux.amd64/bin/go build -o build/linux/bin/mage github.com/magefile/mage
[2021-07-12T09:29:01.636Z] go: downloading github.com/magefile/mage v1.11.0
[2021-07-12T09:29:02.207Z] ./build/linux/bin/mage -compile=build/linux/mage
[2021-07-12T09:29:58.486Z] 2021/07/12 09:29:52 exec: go list -m
[2021-07-12T09:29:58.486Z] Generated fields.yml for apm-server to /var/lib/jenkins/workspace/pm-server_apm-server-mbp_PR-5680/src/github.com/elastic/apm-server/build/fields/fields.yml
[2021-07-12T09:29:58.486Z] Generated fields.yml for apm-server to /var/lib/jenkins/workspace/pm-server_apm-server-mbp_PR-5680/src/github.com/elastic/apm-server/build/fields/fields.all.yml
[2021-07-12T09:30:25.069Z] go: downloading golang.org/x/mod v0.4.2
[2021-07-12T09:30:25.069Z] go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1
[2021-07-12T09:30:28.372Z] sourcemap/fleet_store.go:21:1: expected 'STRING', found '<<'
[2021-07-12T09:30:28.372Z] panic: packages load error
[2021-07-12T09:30:28.372Z] 
[2021-07-12T09:30:28.372Z] goroutine 1 [running]:
[2021-07-12T09:30:28.372Z] main.generateV2()
[2021-07-12T09:30:28.372Z] 	/var/lib/jenkins/workspace/pm-server_apm-server-mbp_PR-5680/src/github.com/elastic/apm-server/model/modeldecoder/generator/cmd/main.go:53 +0x2f1
[2021-07-12T09:30:28.372Z] main.main()
[2021-07-12T09:30:28.372Z] 	/var/lib/jenkins/workspace/pm-server_apm-server-mbp_PR-5680/src/github.com/elastic/apm-server/model/modeldecoder/generator/cmd/main.go:43 +0x25
[2021-07-12T09:30:28.372Z] exit status 2
[2021-07-12T09:30:28.372Z] main.go:20: running "go": exit status 1
[2021-07-12T09:30:28.372Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b
[2021-07-12T09:30:29.313Z] Makefile:137: recipe for target 'go-generate' failed
[2021-07-12T09:30:29.313Z] make: *** [go-generate] Error 1
[2021-07-12T09:30:29.313Z] + cleanup
[2021-07-12T09:30:29.313Z] + rm -rf /tmp/tmp.g4svUL8XcB
[2021-07-12T09:30:30.829Z] Stage "Build and Test" skipped due to earlier failure(s)
[2021-07-12T09:30:31.221Z] Stage "linux build" skipped due to earlier failure(s)
[2021-07-12T09:30:31.234Z] Stage "windows build-test" skipped due to earlier failure(s)
[2021-07-12T09:30:31.245Z] Stage "OSX build-test" skipped due to earlier failure(s)
[2021-07-12T09:30:31.257Z] Stage "Unit Test" skipped due to earlier failure(s)
[2021-07-12T09:30:31.268Z] Stage "System and Environment Tests" skipped due to earlier failure(s)
[2021-07-12T09:30:31.279Z] Stage "Benchmarking" skipped due to earlier failure(s)
[2021-07-12T09:30:31.291Z] Stage "Check kibana Obj. Updated" skipped due to earlier failure(s)
[2021-07-12T09:30:31.304Z] Stage "Hey-Apm" skipped due to earlier failure(s)
[2021-07-12T09:30:31.317Z] Stage "Package" skipped due to earlier failure(s)
[2021-07-12T09:30:31.323Z] Stage "APM Integration Tests" skipped due to earlier failure(s)
[2021-07-12T09:30:31.403Z] Stage "Package" skipped due to earlier failure(s)
[2021-07-12T09:30:31.722Z] Failed in branch linux build
[2021-07-12T09:30:31.731Z] Failed in branch windows build-test
[2021-07-12T09:30:31.740Z] Failed in branch OSX build-test
[2021-07-12T09:30:31.750Z] Failed in branch Unit Test
[2021-07-12T09:30:31.760Z] Failed in branch System and Environment Tests
[2021-07-12T09:30:31.769Z] Failed in branch Benchmarking
[2021-07-12T09:30:31.778Z] Failed in branch Check kibana Obj. Updated
[2021-07-12T09:30:31.788Z] Failed in branch Hey-Apm
[2021-07-12T09:30:31.797Z] Failed in branch APM Integration Tests
[2021-07-12T09:30:31.908Z] Stage "Package" skipped due to earlier failure(s)
[2021-07-12T09:30:32.137Z] Failed in branch Package
[2021-07-12T09:30:33.771Z] Running on worker-854309 in /var/lib/jenkins/workspace/pm-server_apm-server-mbp_PR-5680
[2021-07-12T09:30:33.940Z] [INFO] getVaultSecret: Getting secrets
[2021-07-12T09:30:34.007Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-07-12T09:30:36.362Z] + chmod 755 generate-build-data.sh
[2021-07-12T09:30:36.362Z] + ./generate-build-data.sh https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-server/apm-server-mbp/PR-5680/ https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-server/apm-server-mbp/PR-5680/runs/1 FAILURE 317132
[2021-07-12T09:30:36.362Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-server/apm-server-mbp/PR-5680/runs/1/steps/?limit=10000 -o steps-info.json
[2021-07-12T09:30:37.065Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-server/apm-server-mbp/PR-5680/runs/1/tests/?status=FAILED -o tests-errors.json
[2021-07-12T09:30:37.772Z] Retry 1/3 exited 22, retrying in 1 seconds...
[2021-07-12T09:30:39.229Z] Retry 2/3 exited 22, retrying in 2 seconds...
[2021-07-12T09:30:41.501Z] Retry 3/3 exited 22, no more retries left.

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