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

fix: backport package-docker-snapshot.sh script #4424

Merged
merged 1 commit into from
Nov 18, 2020

Conversation

kuisathaverat
Copy link
Contributor

Motivation/summary

Backport a script to build and push the docker images.


[2020-11-12T11:46:39.152Z] + ./script/jenkins/package-docker-snapshot.sh e657ca888bd349ba144f67b6c7347c3b3be3fbea docker.elastic.co/observability-ci/apm-server

[2020-11-12T11:46:39.152Z] /var/lib/jenkins/workspace/apm-server_apm-server-mbp_7.10/src/github.com/elastic/apm-server@tmp/durable-6d65a9b0/script.sh: 1: /var/lib/jenkins/workspace/apm-server_apm-server-mbp_7.10/src/github.com/elastic/apm-server@tmp/durable-6d65a9b0/script.sh: ./script/jenkins/package-docker-snapshot.sh: not found

script returned exit code 127

@kuisathaverat kuisathaverat added bug ci automation Team:Automation Label for the Observability productivity team labels Nov 12, 2020
@kuisathaverat kuisathaverat requested review from simitt and a team November 12, 2020 13:34
@kuisathaverat kuisathaverat self-assigned this Nov 12, 2020
@codecov-io
Copy link

Codecov Report

Merging #4424 (7cbb893) into 7.10 (e657ca8) will decrease coverage by 0.08%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             7.10    #4424      +/-   ##
==========================================
- Coverage   80.26%   80.18%   -0.09%     
==========================================
  Files         158      158              
  Lines        8658     8658              
==========================================
- Hits         6949     6942       -7     
- Misses       1709     1716       +7     
Impacted Files Coverage Δ
kibana/connecting_client.go 61.40% <0.00%> (-8.78%) ⬇️
processor/otel/consumer.go 93.58% <0.00%> (-0.45%) ⬇️

@apmmachine
Copy link
Contributor

apmmachine commented Nov 12, 2020

💔 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: [Branch indexing]

  • Start Time: 2020-11-18T02:50:10.223+0000

  • Duration: 3 min 18 sec

Steps errors 1

Expand to view the steps failures

Get beat version

  • Took 0 min 0 sec . View more details on here
  • Description: make get-version

Log output

Expand to view the last 100 lines of log output

[2020-11-18T02:53:15.061Z] using credential f6c7695a-671e-4f4f-a331-acdce44ff9ba
[2020-11-18T02:53:15.127Z] Cloning the remote Git repository
[2020-11-18T02:53:15.133Z] Cloning repository git@github.com:elastic/apm-server.git
[2020-11-18T02:53:15.155Z]  > git init /var/lib/jenkins/workspace/pm-server_apm-server-mbp_PR-4424/src/github.com/elastic/apm-server # timeout=10
[2020-11-18T02:53:15.176Z] Using reference repository: /var/lib/jenkins/.git-references/apm-server.git
[2020-11-18T02:53:15.176Z] Fetching upstream changes from git@github.com:elastic/apm-server.git
[2020-11-18T02:53:15.176Z]  > git --version # timeout=10
[2020-11-18T02:53:15.190Z]  > git --version # 'git version 2.17.1'
[2020-11-18T02:53:15.190Z] using GIT_SSH to set credentials GitHub user @elasticmachine SSH key
[2020-11-18T02:53:15.196Z]  > git fetch --tags --progress -- git@github.com:elastic/apm-server.git +refs/heads/*:refs/remotes/origin/* # timeout=10
[2020-11-18T02:53:16.354Z]  > git config remote.origin.url git@github.com:elastic/apm-server.git # timeout=10
[2020-11-18T02:53:16.357Z]  > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
[2020-11-18T02:53:16.364Z]  > git config remote.origin.url git@github.com:elastic/apm-server.git # timeout=10
[2020-11-18T02:53:16.375Z] Fetching upstream changes from git@github.com:elastic/apm-server.git
[2020-11-18T02:53:16.375Z] using GIT_SSH to set credentials GitHub user @elasticmachine SSH key
[2020-11-18T02:53:16.378Z]  > git fetch --tags --progress -- git@github.com:elastic/apm-server.git +refs/pull/4424/head:refs/remotes/origin/PR-4424 +refs/heads/7.10:refs/remotes/origin/7.10 # timeout=10
[2020-11-18T02:53:17.028Z] Checking out Revision 7cbb893bd72d45f40c9f893242e9ebc8856c9a7e (origin/PR-4424)
[2020-11-18T02:53:17.219Z] Commit message: "fix: backport package-docker-snapshot.sh script"
[2020-11-18T02:53:17.220Z] First time build. Skipping changelog.
[2020-11-18T02:53:18.079Z] Masking supported pattern matches of $GIT_USERNAME or $GIT_PASSWORD
[2020-11-18T02:53:17.017Z]  > git rev-parse origin/PR-4424^{commit} # timeout=10
[2020-11-18T02:53:17.024Z]  > git config core.sparsecheckout # timeout=10
[2020-11-18T02:53:17.028Z]  > git checkout -f 7cbb893bd72d45f40c9f893242e9ebc8856c9a7e # timeout=10
[2020-11-18T02:53:18.692Z] + git fetch https://****:****@github.com/elastic/apm-server.git +refs/pull/*/head:refs/remotes/origin/pr/*
[2020-11-18T02:53:20.642Z] Archiving artifacts
[2020-11-18T02:53:21.290Z] + git rev-parse HEAD
[2020-11-18T02:53:21.634Z] + git rev-parse HEAD
[2020-11-18T02:53:21.931Z] + git rev-parse origin/pr/4424
[2020-11-18T02:53:21.976Z] [INFO] githubEnv: Found Git Build Cause: pr
[2020-11-18T02:53:22.249Z] Masking supported pattern matches of $GITHUB_TOKEN
[2020-11-18T02:53:23.329Z] [INFO] githubPrCheckApproved: Title: fix: backport package-docker-snapshot.sh script - User: kuisathaverat - Author Association: MEMBER
[2020-11-18T02:53:26.634Z] Stashed 8166 file(s)
[2020-11-18T02:53:26.656Z] Running in /var/lib/jenkins/workspace/pm-server_apm-server-mbp_PR-4424/src/github.com/elastic/apm-server
[2020-11-18T02:53:26.980Z] + make get-version
[2020-11-18T02:53:26.980Z] make: go: Command not found
[2020-11-18T02:53:26.980Z] make: go: Command not found
[2020-11-18T02:53:26.980Z] make: go: Command not found
[2020-11-18T02:53:26.980Z] make: go: Command not found
[2020-11-18T02:53:26.980Z] make: go: Command not found
[2020-11-18T02:53:26.980Z] make: go: Command not found
[2020-11-18T02:53:26.980Z] make: go: Command not found
[2020-11-18T02:53:26.980Z] make: go: Command not found
[2020-11-18T02:53:26.980Z] make: go: Command not found
[2020-11-18T02:53:26.980Z] make: go: Command not found
[2020-11-18T02:53:26.980Z] make: go: Command not found
[2020-11-18T02:53:26.980Z] make: go: Command not found
[2020-11-18T02:53:26.980Z] make: go: Command not found
[2020-11-18T02:53:26.980Z] make: go: Command not found
[2020-11-18T02:53:26.980Z] make: go: Command not found
[2020-11-18T02:53:26.980Z] make: go: Command not found
[2020-11-18T02:53:26.980Z] make: go: Command not found
[2020-11-18T02:53:26.980Z] make: go: Command not found
[2020-11-18T02:53:26.980Z] make: go: Command not found
[2020-11-18T02:53:26.980Z] make: go: Command not found
[2020-11-18T02:53:26.980Z] make: go: Command not found
[2020-11-18T02:53:26.980Z] make: go: Command not found
[2020-11-18T02:53:26.980Z] make: go: Command not found
[2020-11-18T02:53:26.980Z] make: go: Command not found
[2020-11-18T02:53:26.980Z] make: go: Command not found
[2020-11-18T02:53:26.980Z] make: go: Command not found
[2020-11-18T02:53:26.980Z] make: go: Command not found
[2020-11-18T02:53:26.980Z] make: go: Command not found
[2020-11-18T02:53:26.980Z] make: go: Command not found
[2020-11-18T02:53:26.980Z] make: go: Command not found
[2020-11-18T02:53:26.980Z] make: go: Command not found
[2020-11-18T02:53:26.980Z] make: go: Command not found
[2020-11-18T02:53:26.980Z] make: go: Command not found
[2020-11-18T02:53:26.980Z] make: go: Command not found
[2020-11-18T02:53:26.980Z] make: go: Command not found
[2020-11-18T02:53:26.980Z] make: go: Command not found
[2020-11-18T02:53:26.980Z] make: go: Command not found
[2020-11-18T02:53:26.980Z] make: *** No rule to make target 'get-version'.  Stop.
[2020-11-18T02:53:27.110Z] Stage "Intake" skipped due to earlier failure(s)
[2020-11-18T02:53:27.149Z] Stage "Build and Test" skipped due to earlier failure(s)
[2020-11-18T02:53:27.202Z] Stage "linux build" skipped due to earlier failure(s)
[2020-11-18T02:53:27.203Z] Stage "windows build-test" skipped due to earlier failure(s)
[2020-11-18T02:53:27.204Z] Stage "OSX build-test" skipped due to earlier failure(s)
[2020-11-18T02:53:27.204Z] Stage "Unit Test" skipped due to earlier failure(s)
[2020-11-18T02:53:27.205Z] Stage "System and Environment Tests" skipped due to earlier failure(s)
[2020-11-18T02:53:27.206Z] Stage "Benchmarking" skipped due to earlier failure(s)
[2020-11-18T02:53:27.206Z] Stage "Check kibana Obj. Updated" skipped due to earlier failure(s)
[2020-11-18T02:53:27.308Z] Failed in branch linux build
[2020-11-18T02:53:27.309Z] Failed in branch windows build-test
[2020-11-18T02:53:27.309Z] Failed in branch OSX build-test
[2020-11-18T02:53:27.310Z] Failed in branch Unit Test
[2020-11-18T02:53:27.311Z] Failed in branch System and Environment Tests
[2020-11-18T02:53:27.311Z] Failed in branch Benchmarking
[2020-11-18T02:53:27.312Z] Failed in branch Check kibana Obj. Updated
[2020-11-18T02:53:27.376Z] Stage "Package" skipped due to earlier failure(s)
[2020-11-18T02:53:27.393Z] Stage "Package" skipped due to earlier failure(s)
[2020-11-18T02:53:27.432Z] Stage "Package" skipped due to earlier failure(s)
[2020-11-18T02:53:27.669Z] Running on Jenkins in /var/lib/jenkins/workspace/pm-server_apm-server-mbp_PR-4424
[2020-11-18T02:53:27.763Z] [INFO] getVaultSecret: Getting secrets
[2020-11-18T02:53:27.911Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-11-18T02:53:28.610Z] + chmod 755 generate-build-data.sh
[2020-11-18T02:53:28.611Z] + ./generate-build-data.sh https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-server/apm-server-mbp/PR-4424/ https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-server/apm-server-mbp/PR-4424/runs/4 FAILURE 198129
[2020-11-18T02:53:29.161Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-server/apm-server-mbp/PR-4424/runs/4/steps/?limit=10000 -o steps-info.json
[2020-11-18T02:53:29.411Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-server/apm-server-mbp/PR-4424/runs/4/tests/?status=FAILED -o tests-errors.json
[2020-11-18T02:53:29.412Z] Retry 1/3 exited 22, retrying in 1 seconds...
[2020-11-18T02:53:30.755Z] Retry 2/3 exited 22, retrying in 2 seconds...

@simitt simitt merged commit c446e3a into elastic:7.10 Nov 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automation bug ci Team:Automation Label for the Observability productivity team test-plan-skip
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants