Branch indexing > /usr/bin/git rev-parse --is-inside-work-tree # timeout=10 Setting origin to https://github.com/kyberorg/ang.git > /usr/bin/git config remote.origin.url https://github.com/kyberorg/ang.git # timeout=10 Fetching origin... Fetching upstream changes from origin > /usr/bin/git --version # timeout=10 > git --version # 'git version 2.20.1' > /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 Seen branch in repository origin/master Seen 1 remote branch Obtained Jenkinsfile from 29834042c8b3c4e62dc234a0aaba1fee360b7a51 Running in Durability level: MAX_SURVIVABILITY Only using first definition of library common-lib Loading library common-lib@1.6 Attempting to resolve 1.6 from remote references... > /usr/bin/git --version # timeout=10 > git --version # 'git version 2.20.1' using GIT_ASKPASS to set credentials YaBot gitlab > /usr/bin/git ls-remote -h -- https://gitlab.com/yasys/jenkins/common-lib.git # timeout=10 Could not find 1.6 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 > git --version # 'git version 2.20.1' > /usr/bin/git config --get remote.origin.url # timeout=10 using GIT_ASKPASS to set credentials YaBot gitlab > /usr/bin/git fetch --tags --force --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > /usr/bin/git rev-parse 1.6^{commit} # timeout=10 > /usr/bin/git branch -a -v --no-abbrev --contains 0b30bc4e918097575eab0885b2edb71afa83a982 # timeout=10 Selected match: master revision 0b30bc4e918097575eab0885b2edb71afa83a982 using credential yabot-gitlab > /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 > git --version # 'git version 2.20.1' using GIT_ASKPASS to set credentials YaBot 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 0b30bc4e918097575eab0885b2edb71afa83a982 (master) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f 0b30bc4e918097575eab0885b2edb71afa83a982 # timeout=10 Commit message: "deployToKube" > /usr/bin/git rev-list --no-walk 0b30bc4e918097575eab0885b2edb71afa83a982 # timeout=10 Loading library common-pipe@2.3.3 Attempting to resolve 2.3.3 from remote references... > /usr/bin/git --version # timeout=10 > git --version # 'git version 2.20.1' 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 > git --version # 'git version 2.20.1' > /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 > git --version # 'git version 2.20.1' 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/Angular_Learning_App_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/ang.git > /usr/bin/git init /var/lib/jenkins/workspace/Angular_Learning_App_master # timeout=10 Fetching upstream changes from https://github.com/kyberorg/ang.git > /usr/bin/git --version # timeout=10 > git --version # 'git version 2.20.1' using GIT_ASKPASS to set credentials Kyberorg GitLab > /usr/bin/git fetch --no-tags --force --progress -- https://github.com/kyberorg/ang.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > /usr/bin/git config remote.origin.url https://github.com/kyberorg/ang.git # timeout=10 > /usr/bin/git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > /usr/bin/git config remote.origin.url https://github.com/kyberorg/ang.git # timeout=10 Fetching without tags Fetching upstream changes from https://github.com/kyberorg/ang.git using GIT_ASKPASS to set credentials Kyberorg GitLab > /usr/bin/git fetch --no-tags --force --progress -- https://github.com/kyberorg/ang.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 29834042c8b3c4e62dc234a0aaba1fee360b7a51 (master) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f 29834042c8b3c4e62dc234a0aaba1fee360b7a51 # timeout=10 Commit message: "[WIP] Server part" > /usr/bin/git rev-list --no-walk ff133ffe0cd920533937dfd9dc24ea17073a9e00 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Docker) [Pipeline] script [Pipeline] { [Pipeline] sh + set +x Sending build context to Docker daemon 660kB Step 1/16 : FROM node:12.11 AS ANGULAR_BUILD ---> a8d7efbae951 Step 2/16 : RUN npm install -g @angular/cli@10.0.5 ---> Using cache ---> ffc481550a3d Step 3/16 : COPY webapp /webapp ---> Using cache ---> 38346de74958 Step 4/16 : WORKDIR webapp ---> Using cache ---> bf0fc1c2229b Step 5/16 : RUN npm install && ng build --prod ---> Using cache ---> f5319eea5385 Step 6/16 : FROM golang:1.14.7-alpine AS GO_BUILD ---> cda74ca0cbba Step 7/16 : COPY server /server ---> 7754e3d5b6e2 Step 8/16 : WORKDIR /server ---> Running in b0dcab114037 Removing intermediate container b0dcab114037 ---> b74e6f452bcc Step 9/16 : RUN go build -o /go/bin/server ---> Running in 0b08c27531ea go: downloading github.com/gin-gonic/gin v1.6.3 go: downloading github.com/jinzhu/gorm v1.9.16 go: downloading github.com/mattn/go-sqlite3 v1.14.0 go: downloading github.com/gin-contrib/sse v0.1.0 go: downloading github.com/mattn/go-isatty v0.0.12 go: downloading github.com/jinzhu/inflection v1.0.0 go: downloading gopkg.in/yaml.v2 v2.2.8 go: downloading github.com/golang/protobuf v1.3.3 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd go: downloading github.com/go-playground/validator/v10 v10.2.0 go: downloading github.com/ugorji/go v1.1.7 go: downloading github.com/ugorji/go/codec v1.1.7 go: downloading github.com/leodido/go-urn v1.2.0 go: downloading github.com/go-playground/universal-translator v0.17.0 go: downloading github.com/go-playground/locales v0.13.0 # github.com/mattn/go-sqlite3 exec: "gcc": executable file not found in $PATH The command '/bin/sh -c go build -o /go/bin/server' returned a non-zero code: 2 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Deploy to K8S) Stage "Deploy to K8S" skipped due to earlier failure(s) [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] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline ERROR: script returned exit code 2 Finished: FAILURE