Started by user Toor Admin Running as Toor Admin Connecting to https://api.github.com using kyberorg/****** (Kyberorg GitLab) Obtained Jenkinsfile from be61d079c0c054506f615e48c15cc648791335e6 Running in Durability level: MAX_SURVIVABILITY Only using first definition of library common-lib Loading library common-lib@1.4 Attempting to resolve 1.4 from remote references... > /usr/bin/git --version # timeout=10 using GIT_ASKPASS to set credentials CI token for gitlab > /usr/bin/git ls-remote -h -- https://gitlab.com/yasys/jenkins/common-lib.git # timeout=10 Could not find 1.4 in remote references. Pulling heads to local for deep search... > /usr/bin/git rev-parse --is-inside-work-tree # timeout=10 Setting origin to https://gitlab.com/yasys/jenkins/common-lib.git > /usr/bin/git config remote.origin.url https://gitlab.com/yasys/jenkins/common-lib.git # timeout=10 Fetching origin... Fetching upstream changes from origin > /usr/bin/git --version # timeout=10 > /usr/bin/git config --get remote.origin.url # timeout=10 using GIT_ASKPASS to set credentials CI token for gitlab > /usr/bin/git fetch --tags --force --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > /usr/bin/git rev-parse 1.4^{commit} # timeout=10 > /usr/bin/git branch -a -v --no-abbrev --contains 54d5eac1894fca19ed2d32e6b5138f8443046b13 # timeout=10 Selected match: master revision 54d5eac1894fca19ed2d32e6b5138f8443046b13 using credential CIpwd > /usr/bin/git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > /usr/bin/git config remote.origin.url https://gitlab.com/yasys/jenkins/common-lib.git # timeout=10 Fetching without tags Fetching upstream changes from https://gitlab.com/yasys/jenkins/common-lib.git > /usr/bin/git --version # timeout=10 using GIT_ASKPASS to set credentials CI token for gitlab > /usr/bin/git fetch --no-tags --force --progress -- https://gitlab.com/yasys/jenkins/common-lib.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 54d5eac1894fca19ed2d32e6b5138f8443046b13 (master) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f 54d5eac1894fca19ed2d32e6b5138f8443046b13 # timeout=10 Commit message: "Fixes" > /usr/bin/git rev-list --no-walk 54d5eac1894fca19ed2d32e6b5138f8443046b13 # timeout=10 Loading library common-pipe@2.3.3 Attempting to resolve 2.3.3 from remote references... > /usr/bin/git --version # timeout=10 using GIT_ASKPASS to set credentials Kyberorg GitLab > /usr/bin/git ls-remote -h -- https://gitlab.com/yasys/common-pipe.git # timeout=10 Could not find 2.3.3 in remote references. Pulling heads to local for deep search... > /usr/bin/git rev-parse --is-inside-work-tree # timeout=10 Setting origin to https://gitlab.com/yasys/common-pipe.git > /usr/bin/git config remote.origin.url https://gitlab.com/yasys/common-pipe.git # timeout=10 Fetching origin... Fetching upstream changes from origin > /usr/bin/git --version # timeout=10 > /usr/bin/git config --get remote.origin.url # timeout=10 using GIT_ASKPASS to set credentials Kyberorg GitLab > /usr/bin/git fetch --tags --force --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > /usr/bin/git rev-parse 2.3.3^{commit} # timeout=10 > /usr/bin/git branch -a -v --no-abbrev --contains 78e505581bfc1d87a0194b7a0531760b3985472d # timeout=10 Selected match: master revision 78e505581bfc1d87a0194b7a0531760b3985472d using credential kyberorg_gl > /usr/bin/git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > /usr/bin/git config remote.origin.url https://gitlab.com/yasys/common-pipe.git # timeout=10 Fetching without tags Fetching upstream changes from https://gitlab.com/yasys/common-pipe.git > /usr/bin/git --version # timeout=10 using GIT_ASKPASS to set credentials Kyberorg GitLab > /usr/bin/git fetch --no-tags --force --progress -- https://gitlab.com/yasys/common-pipe.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 78e505581bfc1d87a0194b7a0531760b3985472d (master) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f 78e505581bfc1d87a0194b7a0531760b3985472d # timeout=10 Commit message: "Merge branch 'steps-fix' into 'master'" > /usr/bin/git rev-list --no-walk 78e505581bfc1d87a0194b7a0531760b3985472d # timeout=10 [Pipeline] Start of Pipeline [Pipeline] node Running on Jenkins in /var/lib/jenkins/workspace/GoApi_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential kyberorg_gl Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository https://github.com/kyberorg/go-api.git > /usr/bin/git init /var/lib/jenkins/workspace/GoApi_master # timeout=10 Fetching upstream changes from https://github.com/kyberorg/go-api.git > /usr/bin/git --version # timeout=10 using GIT_ASKPASS to set credentials Kyberorg GitLab > /usr/bin/git fetch --no-tags --force --progress -- https://github.com/kyberorg/go-api.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > /usr/bin/git config remote.origin.url https://github.com/kyberorg/go-api.git # timeout=10 > /usr/bin/git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > /usr/bin/git config remote.origin.url https://github.com/kyberorg/go-api.git # timeout=10 Fetching without tags Fetching upstream changes from https://github.com/kyberorg/go-api.git using GIT_ASKPASS to set credentials Kyberorg GitLab > /usr/bin/git fetch --no-tags --force --progress -- https://github.com/kyberorg/go-api.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Checking out Revision be61d079c0c054506f615e48c15cc648791335e6 (master) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f be61d079c0c054506f615e48c15cc648791335e6 # timeout=10 Commit message: "Updated README.md" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Docker) [Pipeline] script [Pipeline] { [Pipeline] sh + set +x Sending build context to Docker daemon 133.1kB Step 1/17 : ARG GO_VERSION=1.14 Step 2/17 : FROM golang:${GO_VERSION}-alpine AS builder 1.14-alpine: Pulling from library/golang df20fa9351a1: Pulling fs layer ed8968b2872e: Pulling fs layer a92cc7c5fd73: Pulling fs layer 7194a02b5507: Pulling fs layer ee87bd7b0b1f: Pulling fs layer 7194a02b5507: Waiting ee87bd7b0b1f: Waiting ed8968b2872e: Download complete a92cc7c5fd73: Verifying Checksum a92cc7c5fd73: Download complete df20fa9351a1: Verifying Checksum df20fa9351a1: Download complete df20fa9351a1: Pull complete ed8968b2872e: Pull complete a92cc7c5fd73: Pull complete ee87bd7b0b1f: Verifying Checksum ee87bd7b0b1f: Download complete 7194a02b5507: Verifying Checksum 7194a02b5507: Download complete 7194a02b5507: Pull complete ee87bd7b0b1f: Pull complete Digest: sha256:038f0523cd36a9236c147d4c4b21e9432182d0831376c3c20540a3f2d7d49770 Status: Downloaded newer image for golang:1.14-alpine ---> 4c8eed5b55a0 Step 3/17 : RUN apk update && apk add alpine-sdk git && rm -rf /var/cache/apk/* ---> Running in f518dc85a042 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz v3.12.0-160-g96d355a76e [http://dl-cdn.alpinelinux.org/alpine/v3.12/main] v3.12.0-165-g0169509cb9 [http://dl-cdn.alpinelinux.org/alpine/v3.12/community] OK: 12749 distinct packages available (1/36) Installing fakeroot (1.24-r0) (2/36) Installing openssl (1.1.1g-r0) (3/36) Installing libattr (2.4.48-r0) (4/36) Installing attr (2.4.48-r0) (5/36) Installing libacl (2.2.53-r0) (6/36) Installing tar (1.32-r1) (7/36) Installing pkgconf (1.7.2-r0) (8/36) Installing patch (2.7.6-r6) (9/36) Installing libgcc (9.3.0-r2) (10/36) Installing libstdc++ (9.3.0-r2) (11/36) Installing lzip (1.21-r0) (12/36) Installing nghttp2-libs (1.41.0-r0) (13/36) Installing libcurl (7.69.1-r0) (14/36) Installing curl (7.69.1-r0) (15/36) Installing abuild (3.6.0-r0) Executing abuild-3.6.0-r0.pre-install (16/36) Installing binutils (2.34-r1) (17/36) Installing libmagic (5.38-r0) (18/36) Installing file (5.38-r0) (19/36) Installing gmp (6.2.0-r0) (20/36) Installing isl (0.18-r0) (21/36) Installing libgomp (9.3.0-r2) (22/36) Installing libatomic (9.3.0-r2) (23/36) Installing libgphobos (9.3.0-r2) (24/36) Installing mpfr4 (4.0.2-r4) (25/36) Installing mpc1 (1.1.0-r1) (26/36) Installing gcc (9.3.0-r2) (27/36) Installing musl-dev (1.1.24-r9) (28/36) Installing libc-dev (0.7.2-r3) (29/36) Installing g++ (9.3.0-r2) (30/36) Installing make (4.3-r0) (31/36) Installing fortify-headers (1.1-r0) (32/36) Installing build-base (0.5-r2) (33/36) Installing expat (2.2.9-r1) (34/36) Installing pcre2 (10.35-r0) (35/36) Installing git (2.26.2-r0) (36/36) Installing alpine-sdk (1.0-r0) Executing busybox-1.31.1-r16.trigger OK: 224 MiB in 51 packages Removing intermediate container f518dc85a042 ---> 3136944f463a Step 4/17 : RUN mkdir -p /api ---> Running in c910cd3d0edb Removing intermediate container c910cd3d0edb ---> b8fd7149387e Step 5/17 : WORKDIR /api ---> Running in 89774b92851e Removing intermediate container 89774b92851e ---> 9e54792c622b Step 6/17 : COPY go.mod . ---> 941a36994c52 Step 7/17 : COPY go.sum . ---> 7e0a891a3899 Step 8/17 : RUN go mod download ---> Running in eec3e29ab2a9 Removing intermediate container eec3e29ab2a9 ---> ab64c450a9d8 Step 9/17 : COPY . . ---> 686c4a40d632 Step 10/17 : RUN go build -o application main.go ---> Running in 3a4910bb6dde Removing intermediate container 3a4910bb6dde ---> 2fd46fd4d6e2 Step 11/17 : FROM alpine:3.12 3.12: Pulling from library/alpine df20fa9351a1: Already exists Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 Status: Downloaded newer image for alpine:3.12 ---> a24bb4013296 Step 12/17 : RUN mkdir -p /api ---> Running in 98b0551100bb Removing intermediate container 98b0551100bb ---> 8fb00044ac45 Step 13/17 : WORKDIR /api ---> Running in d726291a9a75 Removing intermediate container d726291a9a75 ---> 7e9f9d1b4131 Step 14/17 : COPY --from=builder /api/application . ---> 2eed49a37377 Step 15/17 : ADD assets /api/assets ---> 6cc3331d4837 Step 16/17 : EXPOSE 8080 ---> Running in 7006dca1e080 Removing intermediate container 7006dca1e080 ---> bdd84acfa2bc Step 17/17 : ENTRYPOINT ["./application"] ---> Running in e4f09602e748 Removing intermediate container e4f09602e748 ---> c3003b896791 Successfully built c3003b896791 Successfully tagged kyberorg/go-api:stable [Pipeline] withCredentials Masking supported pattern matches of $USR or $PASS [Pipeline] { [Pipeline] sh + set +x WARNING! Your password will be stored unencrypted in /var/lib/jenkins/.docker/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded [Pipeline] } [Pipeline] // withCredentials [Pipeline] sh + set +x The push refers to repository [docker.io/kyberorg/go-api] 83848e7bd446: Preparing ab1b49283a5e: Preparing 4a64d1336b56: Preparing 50644c29ef5a: Preparing 50644c29ef5a: Mounted from library/alpine 4a64d1336b56: Pushed 83848e7bd446: Pushed ab1b49283a5e: Pushed stable: digest: sha256:7287389e8cb2d3dd6668e1a1481398433dd53d9c015ddaf528ebdc42c706d4d1 size: 1154 [Pipeline] sh + set +x Removing login credentials for https://index.docker.io/v1/ [Pipeline] sh + set +x Untagged: kyberorg/go-api:stable Untagged: kyberorg/go-api@sha256:7287389e8cb2d3dd6668e1a1481398433dd53d9c015ddaf528ebdc42c706d4d1 Deleted: sha256:c3003b89679190ee7892a9365589ee75eff9c6f71cf412be87640ed8e55a6d8d Deleted: sha256:bdd84acfa2bce0e3fe15b81aa281359dcdf5ee4ba380b2bd0b4cd3e7d90f5dc6 Deleted: sha256:6cc3331d483736554b1c701f0d9969c9b41273decd866c53b9c261102407d9eb Deleted: sha256:70dcc0a1e3184e3cd0c56ea70d48f4a4dff3ac751321176d8eb95b4c33204852 Deleted: sha256:2eed49a37377a40c4e29a11c3ee48bfee7fd96f59489e5d59e043b6f3a3335aa Deleted: sha256:b585d332ec1694d2b1169fd5083b819abe663e75ff774ba4cd916ed603773de9 Deleted: sha256:7e9f9d1b4131785321512ef5e8e9ff355d740a50f574c86b5c55fe21c59f09d6 Deleted: sha256:8fb00044ac45e453ed1d9e2c2665f33a4df835118e687f0d2c1abd9452054a79 Deleted: sha256:293e62e13f69ceb91e58cd82ff9f6e932147a8766f7820baed8acb226509d376 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Deploy) [Pipeline] script [Pipeline] { [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] cleanWs [WS-CLEANUP] Deleting project workspace... [WS-CLEANUP] Deferred wipeout is used... [WS-CLEANUP] done [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline GitHub has been notified of this commit’s build result java.lang.RuntimeException: given 'hookUrl' param contains not valid URL at deployToSwarm.call(deployToSwarm.groovy:19) at WorkflowScript.run(WorkflowScript:40) at ___cps.transform___(Native Method) at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490) at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83) at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:105) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:60) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:235) at org.kohsuke.groovy.sandbox.impl.Checker$3.call(Checker.java:208) at org.kohsuke.groovy.sandbox.GroovyInterceptor.onNewInstance(GroovyInterceptor.java:42) at org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SandboxInterceptor.onNewInstance(SandboxInterceptor.java:172) at org.kohsuke.groovy.sandbox.impl.Checker$3.call(Checker.java:205) at org.kohsuke.groovy.sandbox.impl.Checker.checkedConstructor(Checker.java:210) at com.cloudbees.groovy.cps.sandbox.SandboxInvoker.constructorCall(SandboxInvoker.java:21) at com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.dispatchOrArg(FunctionCallBlock.java:97) at com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.fixArg(FunctionCallBlock.java:83) at jdk.internal.reflect.GeneratedMethodAccessor145.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at com.cloudbees.groovy.cps.impl.ContinuationPtr$ContinuationImpl.receive(ContinuationPtr.java:72) at com.cloudbees.groovy.cps.impl.ConstantBlock.eval(ConstantBlock.java:21) at com.cloudbees.groovy.cps.Next.step(Next.java:83) at com.cloudbees.groovy.cps.Continuable$1.call(Continuable.java:174) at com.cloudbees.groovy.cps.Continuable$1.call(Continuable.java:163) at org.codehaus.groovy.runtime.GroovyCategorySupport$ThreadCategoryInfo.use(GroovyCategorySupport.java:129) at org.codehaus.groovy.runtime.GroovyCategorySupport.use(GroovyCategorySupport.java:268) at com.cloudbees.groovy.cps.Continuable.run0(Continuable.java:163) at org.jenkinsci.plugins.workflow.cps.SandboxContinuable.access$001(SandboxContinuable.java:18) at org.jenkinsci.plugins.workflow.cps.SandboxContinuable.run0(SandboxContinuable.java:51) at org.jenkinsci.plugins.workflow.cps.CpsThread.runNextChunk(CpsThread.java:185) at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.run(CpsThreadGroup.java:400) at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.access$400(CpsThreadGroup.java:96) at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:312) at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:276) at org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$2.call(CpsVmExecutorService.java:67) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:131) at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28) at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:59) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:834) Finished: FAILURE