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

Add SWIG to base images #43

Closed
wants to merge 2 commits into from
Closed

Add SWIG to base images #43

wants to merge 2 commits into from

Conversation

pgaskin
Copy link

@pgaskin pgaskin commented Feb 16, 2020

SWIG is used by CGO to generate C++ bindings.

closes #42

SWIG is used by CGO to generate C++ bindings.
@cla-checker-service
Copy link

Author of the following commits did not sign a Contributor Agreement:
c6a2ba7

Please, read and sign the above mentioned agreement if you want to contribute to this project

@pgaskin
Copy link
Author

pgaskin commented Feb 16, 2020

Please, read and sign the above mentioned agreement if you want to contribute to this project

Done.

Go requires SWIG 3.0 or newer, which was first included in Debian 9.
@elasticmachine
Copy link

❕ Build Aborted

The PR is not allowed to run in the CI yet

Pipeline View Test View Changes Artifacts

Expand to view the summary

Build stats

  • Build Cause: [Branch indexing]

  • Reason: The PR is not allowed to run in the CI yet

  • Start Time: 2020-08-11T09:07:10.204+0000

  • Duration: 2 min 36 sec

  • Commit: 04b36d9

Steps errors

Expand to view the steps failures

  • Name: Load a resource file from a shared library

    • Description:

    • Duration: 0 min 0 sec

    • Start Time: 2020-08-11T09:08:44.338+0000

    • log

  • Name: Error signal

    • Description: githubPrCheckApproved: The PR is not allowed to run in the CI yet. (Only users with write permission

    • Duration: 0 min 0 sec

    • Start Time: 2020-08-11T09:08:44.397+0000

    • log

Log output

Expand to view the last 100 lines of log output

[2020-08-11T09:08:22.501Z]  > git rev-parse --verify HEAD # timeout=10
[2020-08-11T09:08:22.508Z] No valid HEAD. Skipping the resetting
[2020-08-11T09:08:22.508Z]  > git clean -fdx # timeout=10
[2020-08-11T09:08:22.526Z] Fetching upstream changes from git@github.com:elastic/golang-crossbuild.git
[2020-08-11T09:08:22.527Z] using GIT_SSH to set credentials GitHub user @elasticmachine SSH key
[2020-08-11T09:08:22.533Z]  > git fetch --no-tags --progress --prune git@github.com:elastic/golang-crossbuild.git +refs/pull/43/head:refs/remotes/origin/PR-43 +refs/heads/master:refs/remotes/origin/master # timeout=15
[2020-08-11T09:08:23.074Z]  > git config core.sparsecheckout # timeout=10
[2020-08-11T09:08:23.079Z]  > git checkout -f 04b36d95e82c207769ee1a34fb0a479966193f93 # timeout=15
[2020-08-11T09:08:23.115Z]  > git remote # timeout=10
[2020-08-11T09:08:23.123Z]  > git config --get remote.origin.url # timeout=10
[2020-08-11T09:08:23.129Z] using GIT_SSH to set credentials GitHub user @elasticmachine SSH key
[2020-08-11T09:08:23.133Z]  > git merge 7fe9c7c0bcde40f473473271f8b807557d74c683 # timeout=10
[2020-08-11T09:08:23.173Z]  > git rev-parse HEAD^{commit} # timeout=10
[2020-08-11T09:08:23.185Z]  > git config core.sparsecheckout # timeout=10
[2020-08-11T09:08:23.190Z]  > git checkout -f 8a592a314689d23bd3660fab55aff7969159bcea # timeout=15
[2020-08-11T09:08:26.839Z] Commit message: "Merge commit '7fe9c7c0bcde40f473473271f8b807557d74c683' into HEAD"
[2020-08-11T09:08:26.839Z] First time build. Skipping changelog.
[2020-08-11T09:08:26.839Z] Cleaning workspace
[2020-08-11T09:08:26.904Z]  > git --version # timeout=10
[2020-08-11T09:08:26.915Z] fatal: bad object 6c62d3f53b77d98a3e133635021db7fb14d4c2b2
[2020-08-11T09:08:26.842Z]  > git rev-parse --verify HEAD # timeout=10
[2020-08-11T09:08:26.847Z] Resetting working tree
[2020-08-11T09:08:26.847Z]  > git reset --hard # timeout=10
[2020-08-11T09:08:26.859Z]  > git clean -fdx # timeout=10
[2020-08-11T09:08:27.659Z] Masking supported pattern matches of $NOTIFY_TO
[2020-08-11T09:08:27.725Z] Timeout set to expire in 2 hr 0 min
[2020-08-11T09:08:27.748Z] The timestamps step is unnecessary when timestamps are enabled for all Pipeline builds.
[2020-08-11T09:08:28.013Z] [INFO] 'shallow' is forced to be disabled when running on PullRequests
[2020-08-11T09:08:28.033Z] Running in /var/lib/jenkins/workspace/eats_golang-crossbuild-mbp_PR-43/src/github.com/elastic/golang-crossbuild
[2020-08-11T09:08:28.069Z] [INFO] gitCheckout: Checkout SCM PR-43 with default customisation from the Item.
[2020-08-11T09:08:28.098Z] [INFO] Override default checkout
[2020-08-11T09:08:28.162Z] Sleeping for 10 sec
[2020-08-11T09:08:38.359Z] using credential f6c7695a-671e-4f4f-a331-acdce44ff9ba
[2020-08-11T09:08:38.399Z] Wiping out workspace first.
[2020-08-11T09:08:38.410Z] Cloning the remote Git repository
[2020-08-11T09:08:38.410Z] Using shallow clone with depth 4
[2020-08-11T09:08:38.410Z] Avoid fetching tags
[2020-08-11T09:08:39.182Z] Cleaning workspace
[2020-08-11T09:08:38.425Z] Cloning repository git@github.com:elastic/golang-crossbuild.git
[2020-08-11T09:08:38.452Z]  > git init /var/lib/jenkins/workspace/eats_golang-crossbuild-mbp_PR-43/src/github.com/elastic/golang-crossbuild # timeout=10
[2020-08-11T09:08:38.462Z] Fetching upstream changes from git@github.com:elastic/golang-crossbuild.git
[2020-08-11T09:08:38.463Z]  > git --version # timeout=10
[2020-08-11T09:08:38.473Z] using GIT_SSH to set credentials GitHub user @elasticmachine SSH key
[2020-08-11T09:08:38.483Z]  > git fetch --no-tags --progress git@github.com:elastic/golang-crossbuild.git +refs/heads/*:refs/remotes/origin/* # timeout=15
[2020-08-11T09:08:39.064Z]  > git config remote.origin.url git@github.com:elastic/golang-crossbuild.git # timeout=10
[2020-08-11T09:08:39.068Z]  > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
[2020-08-11T09:08:39.176Z]  > git config remote.origin.url git@github.com:elastic/golang-crossbuild.git # timeout=10
[2020-08-11T09:08:39.185Z]  > git rev-parse --verify HEAD # timeout=10
[2020-08-11T09:08:39.192Z] No valid HEAD. Skipping the resetting
[2020-08-11T09:08:39.192Z]  > git clean -fdx # timeout=10
[2020-08-11T09:08:39.200Z] Using shallow fetch with depth 4
[2020-08-11T09:08:39.200Z] Pruning obsolete local branches
[2020-08-11T09:08:39.203Z] Fetching upstream changes from git@github.com:elastic/golang-crossbuild.git
[2020-08-11T09:08:39.204Z] using GIT_SSH to set credentials GitHub user @elasticmachine SSH key
[2020-08-11T09:08:39.216Z]  > git fetch --no-tags --progress --prune git@github.com:elastic/golang-crossbuild.git +refs/pull/43/head:refs/remotes/origin/PR-43 +refs/heads/master:refs/remotes/origin/master # timeout=15
[2020-08-11T09:08:39.746Z] Merging remotes/origin/master commit 7fe9c7c0bcde40f473473271f8b807557d74c683 into PR head commit 04b36d95e82c207769ee1a34fb0a479966193f93
[2020-08-11T09:08:39.829Z] Merge succeeded, producing 6eba3f4efeefdd5134d994600a423805eb712fc8
[2020-08-11T09:08:39.829Z] Checking out Revision 6eba3f4efeefdd5134d994600a423805eb712fc8 (PR-43)
[2020-08-11T09:08:39.857Z] Commit message: "Merge commit '7fe9c7c0bcde40f473473271f8b807557d74c683' into HEAD"
[2020-08-11T09:08:39.857Z] First time build. Skipping changelog.
[2020-08-11T09:08:39.857Z] Cleaning workspace
[2020-08-11T09:08:39.911Z]  > git --version # timeout=10
[2020-08-11T09:08:39.933Z] fatal: bad object 6c62d3f53b77d98a3e133635021db7fb14d4c2b2
[2020-08-11T09:08:39.749Z]  > git config core.sparsecheckout # timeout=10
[2020-08-11T09:08:39.757Z]  > git checkout -f 04b36d95e82c207769ee1a34fb0a479966193f93 # timeout=15
[2020-08-11T09:08:39.782Z]  > git remote # timeout=10
[2020-08-11T09:08:39.787Z]  > git config --get remote.origin.url # timeout=10
[2020-08-11T09:08:39.790Z] using GIT_SSH to set credentials GitHub user @elasticmachine SSH key
[2020-08-11T09:08:39.794Z]  > git merge 7fe9c7c0bcde40f473473271f8b807557d74c683 # timeout=10
[2020-08-11T09:08:39.823Z]  > git rev-parse HEAD^{commit} # timeout=10
[2020-08-11T09:08:39.832Z]  > git config core.sparsecheckout # timeout=10
[2020-08-11T09:08:39.837Z]  > git checkout -f 6eba3f4efeefdd5134d994600a423805eb712fc8 # timeout=15
[2020-08-11T09:08:39.860Z]  > git rev-parse --verify HEAD # timeout=10
[2020-08-11T09:08:39.864Z] Resetting working tree
[2020-08-11T09:08:39.865Z]  > git reset --hard # timeout=10
[2020-08-11T09:08:39.875Z]  > git clean -fdx # timeout=10
[2020-08-11T09:08:40.715Z] Masking supported pattern matches of $GIT_USERNAME or $GIT_PASSWORD
[2020-08-11T09:08:41.371Z] + git fetch https://****:****@github.com/elastic/golang-crossbuild.git +refs/pull/*/head:refs/remotes/origin/pr/*
[2020-08-11T09:08:41.685Z] Archiving artifacts
[2020-08-11T09:08:42.353Z] + git rev-parse HEAD
[2020-08-11T09:08:42.728Z] + git rev-parse HEAD
[2020-08-11T09:08:43.055Z] + git rev-parse origin/pr/43
[2020-08-11T09:08:43.102Z] [INFO] githubEnv: Found Git Build Cause: pr
[2020-08-11T09:08:43.297Z] Masking supported pattern matches of $GITHUB_TOKEN
[2020-08-11T09:08:44.032Z] [WARN] githubApiCall: The REST API call https://api.github.com/repos/elastic/golang-crossbuild/pulls/43/reviews return 0 elements
[2020-08-11T09:08:44.085Z] [INFO] githubPrCheckApproved: Title: Add SWIG to base images - User: pgaskin - Author Association: FIRST_TIME_CONTRIBUTOR
[2020-08-11T09:08:44.414Z] ERROR: githubPrCheckApproved: The PR is not allowed to run in the CI yet
[2020-08-11T09:08:44.414Z] ERROR: githubPrCheckApproved: The PR is not allowed to run in the CI yet. (Only users with write permissions can do so.)
[2020-08-11T09:08:44.480Z] [INFO] Let's stop build #1. The PR is not allowed to run in the CI yet
[2020-08-11T09:08:44.501Z] Sleeping for 5 sec
[2020-08-11T09:08:44.635Z] Stage "Build" skipped due to earlier failure(s)
[2020-08-11T09:08:44.703Z] Stage "Staging" skipped due to earlier failure(s)
[2020-08-11T09:08:44.767Z] Stage "Release" skipped due to earlier failure(s)
[2020-08-11T09:08:44.805Z] Stage "Release" skipped due to earlier failure(s)
[2020-08-11T09:08:45.109Z] Running on Jenkins in /var/lib/jenkins/workspace/eats_golang-crossbuild-mbp_PR-43
[2020-08-11T09:08:45.227Z] [INFO] getVaultSecret: Getting secrets
[2020-08-11T09:08:45.308Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-08-11T09:08:46.083Z] + chmod 755 generate-build-data.sh
[2020-08-11T09:08:46.083Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/golang-crossbuild-mbp/PR-43/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/golang-crossbuild-mbp/PR-43/runs/1 ABORTED 95605
[2020-08-11T09:08:46.083Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/golang-crossbuild-mbp/PR-43/runs/1/steps/?limit=10000 -o steps-info.json

@pgaskin pgaskin closed this Aug 13, 2020
@zube zube bot removed the [zube]: Done label Nov 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add SWIG to images
3 participants