Console Output
Branch indexing
> /usr/bin/git rev-parse --is-inside-work-tree # timeout=10
Setting origin to https://github.com/kyberorg/ng-go.git
> /usr/bin/git config remote.origin.url https://github.com/kyberorg/ng-go.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/dependabot/npm_and_yarn/webapp/npm-registry-fetch-4.0.5
Seen branch in repository origin/dependabot/npm_and_yarn/webapp/websocket-extensions-0.1.4
Seen branch in repository origin/master
Seen 3 remote branches
Obtained Jenkinsfile from 16b2d682f6bdd2c64cb7f921e34bdd34e143b512
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/NG-GO_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/ng-go.git
> /usr/bin/git init /var/lib/jenkins/workspace/NG-GO_master # timeout=10
Fetching upstream changes from https://github.com/kyberorg/ng-go.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/ng-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10
> /usr/bin/git config remote.origin.url https://github.com/kyberorg/ng-go.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/ng-go.git # timeout=10
Fetching without tags
Fetching upstream changes from https://github.com/kyberorg/ng-go.git
using GIT_ASKPASS to set credentials Kyberorg GitLab
> /usr/bin/git fetch --no-tags --force --progress -- https://github.com/kyberorg/ng-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10
Checking out Revision 16b2d682f6bdd2c64cb7f921e34bdd34e143b512 (master)
> /usr/bin/git config core.sparsecheckout # timeout=10
> /usr/bin/git checkout -f 16b2d682f6bdd2c64cb7f921e34bdd34e143b512 # timeout=10
Commit message: "Jenkinsfile"
First time build. Skipping changelog.
[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 4.045MB
Step 1/15 : FROM node:12.11 AS ANGULAR_BUILD
12.11: Pulling from library/node
092586df9206: Pulling fs layer
ef599477fae0: Pulling fs layer
4530c6472b5d: Pulling fs layer
d34d61487075: Pulling fs layer
87fc2710b63f: Pulling fs layer
e83c771c5387: Pulling fs layer
fef6195892ae: Pulling fs layer
70e1a68db517: Pulling fs layer
c2599bbef3cb: Pulling fs layer
d34d61487075: Waiting
87fc2710b63f: Waiting
e83c771c5387: Waiting
fef6195892ae: Waiting
c2599bbef3cb: Waiting
70e1a68db517: Waiting
4530c6472b5d: Verifying Checksum
4530c6472b5d: Download complete
ef599477fae0: Verifying Checksum
ef599477fae0: Download complete
092586df9206: Verifying Checksum
092586df9206: Download complete
d34d61487075: Verifying Checksum
d34d61487075: Download complete
e83c771c5387: Verifying Checksum
e83c771c5387: Download complete
fef6195892ae: Verifying Checksum
fef6195892ae: Download complete
70e1a68db517: Verifying Checksum
70e1a68db517: Download complete
c2599bbef3cb: Verifying Checksum
c2599bbef3cb: Download complete
87fc2710b63f: Verifying Checksum
87fc2710b63f: Download complete
092586df9206: Pull complete
ef599477fae0: Pull complete
4530c6472b5d: Pull complete
d34d61487075: Pull complete
87fc2710b63f: Pull complete
e83c771c5387: Pull complete
fef6195892ae: Pull complete
70e1a68db517: Pull complete
c2599bbef3cb: Pull complete
Digest: sha256:7d459754a062e65f5ad5d738217e00cc71d0cb18adbe055267beaddd0ad4e8b3
Status: Downloaded newer image for node:12.11
---> a8d7efbae951
Step 2/15 : RUN npm install -g @angular/cli@8.3.12
---> Running in d5b877f15096
[91mnpm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
[0m[91mnpm WARN deprecated har-validator@5.1.5: this library is no longer supported
[0m/usr/local/bin/ng -> /usr/local/lib/node_modules/@angular/cli/bin/ng
> @angular/cli@8.3.12 postinstall /usr/local/lib/node_modules/@angular/cli
> node ./bin/postinstall/script.js
+ @angular/cli@8.3.12
added 247 packages from 185 contributors in 12.912s
Removing intermediate container d5b877f15096
---> 9289bde24475
Step 3/15 : COPY webapp /webapp
---> a79caba3ebc0
Step 4/15 : WORKDIR webapp
---> Running in 2f4dadb39553
Removing intermediate container 2f4dadb39553
---> 5c383a73640d
Step 5/15 : RUN npm install && ng build --prod
---> Running in f64f9c0de5b6
> core-js@2.6.11 postinstall /webapp/node_modules/babel-runtime/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"
[96mThank you for using core-js ([94m https://github.com/zloirock/core-js [96m) for polyfilling JavaScript standard library![0m
[96mThe project needs your help! Please consider supporting of core-js on Open Collective or Patreon: [0m
[96m>[94m https://opencollective.com/core-js [0m
[96m>[94m https://www.patreon.com/zloirock [0m
[96mAlso, the author of core-js ([94m https://github.com/zloirock [96m) is looking for a good job -)[0m
> core-js@3.2.1 postinstall /webapp/node_modules/core-js
> node scripts/postinstall || echo "ignore"
[96mThank you for using core-js ([94m https://github.com/zloirock/core-js [96m) for polyfilling JavaScript standard library![0m
[96mThe project needs your help! Please consider supporting of core-js on Open Collective or Patreon: [0m
[96m>[94m https://opencollective.com/core-js [0m
[96m>[94m https://www.patreon.com/zloirock [0m
[96mAlso, the author of core-js ([94m https://github.com/zloirock [96m) is looking for a good job -)[0m
> core-js-pure@3.4.8 postinstall /webapp/node_modules/core-js-pure
> node -e "try{require('./postinstall')}catch(e){}"
[96mThank you for using core-js ([94m https://github.com/zloirock/core-js [96m) for polyfilling JavaScript standard library![0m
[96mThe project needs your help! Please consider supporting of core-js on Open Collective or Patreon: [0m
[96m>[94m https://opencollective.com/core-js [0m
[96m>[94m https://www.patreon.com/zloirock [0m
[96mAlso, the author of core-js ([94m https://github.com/zloirock [96m) is looking for a good job -)[0m
> core-js@2.6.9 postinstall /webapp/node_modules/karma/node_modules/core-js
> node scripts/postinstall || echo "ignore"
[96mThank you for using core-js ([94m https://github.com/zloirock/core-js [96m) for polyfilling JavaScript standard library![0m
[96mThe project needs your help! Please consider supporting of core-js on Open Collective or Patreon: [0m
[96m>[94m https://opencollective.com/core-js [0m
[96m>[94m https://www.patreon.com/zloirock [0m
[96mAlso, the author of core-js ([94m https://github.com/zloirock [96m) is looking for a good job -)[0m
> @angular/cli@8.3.20 postinstall /webapp/node_modules/@angular/cli
> node ./bin/postinstall/script.js
[91mnpm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules/webpack-dev-server/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules/watchpack/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
[0m[91mnpm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules/karma/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
[0m[91mnpm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules/@angular/compiler-cli/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
[0m[91m
[0madded 1286 packages from 1055 contributors and audited 1559 packages in 28.714s
found 575 vulnerabilities (568 low, 3 moderate, 4 high)
run `npm audit fix` to fix them, or `npm audit` for details
[91mBrowserslist: caniuse-lite is outdated. Please run next command `npm update`[0m[91m
[0mGenerating ES5 bundles for differential loading...
ES5 bundle generation complete.
chunk {0} runtime-es2015.edb2fcf2778e7bf1d426.js (runtime) 1.45 kB [entry] [rendered]
chunk {0} runtime-es5.edb2fcf2778e7bf1d426.js (runtime) 1.45 kB [entry] [rendered]
chunk {2} polyfills-es2015.b8551d1724c24320d5c4.js (polyfills) 36.4 kB [initial] [rendered]
chunk {3} polyfills-es5.9333e1c76a0861e9092a.js (polyfills-es5) 123 kB [initial] [rendered]
chunk {1} main-es2015.c3a229a8df5c7afb3b74.js (main) 435 kB [initial] [rendered]
chunk {1} main-es5.c3a229a8df5c7afb3b74.js (main) 502 kB [initial] [rendered]
chunk {4} styles.8519e2aadcad2336f5cb.css (styles) 60.9 kB [initial] [rendered]
Date: 2020-08-10T08:49:10.362Z - Hash: c855ba69cd45a3e86801 - Time: 46305ms
Removing intermediate container f64f9c0de5b6
---> ef48ff3499dd
Step 6/15 : FROM golang:1.13.1-alpine AS GO_BUILD
1.13.1-alpine: Pulling from library/golang
9d48c3bd43c5: Pulling fs layer
7f94eaf8af20: Pulling fs layer
9fe9984849c1: Pulling fs layer
9f41b4213f39: Pulling fs layer
33c1f6efaf8c: Pulling fs layer
9f41b4213f39: Waiting
33c1f6efaf8c: Waiting
7f94eaf8af20: Verifying Checksum
7f94eaf8af20: Download complete
9fe9984849c1: Verifying Checksum
9fe9984849c1: Download complete
9d48c3bd43c5: Verifying Checksum
9d48c3bd43c5: Download complete
33c1f6efaf8c: Verifying Checksum
33c1f6efaf8c: Download complete
9d48c3bd43c5: Pull complete
7f94eaf8af20: Pull complete
9fe9984849c1: Pull complete
9f41b4213f39: Verifying Checksum
9f41b4213f39: Download complete
9f41b4213f39: Pull complete
33c1f6efaf8c: Pull complete
Digest: sha256:2293e952c79b8b3a987e1e09d48b6aa403d703cef9a8fa316d30ba2918d37367
Status: Downloaded newer image for golang:1.13.1-alpine
---> 48260c3da24c
Step 7/15 : COPY server /server
---> edeb89e8b16b
Step 8/15 : WORKDIR /server
---> Running in 24dcc9e3f821
Removing intermediate container 24dcc9e3f821
---> 33fb76f6e1a7
Step 9/15 : RUN go build -o /go/bin/server
---> Running in e6f4f0cd7d24
[91mgo: downloading github.com/jinzhu/gorm v1.9.11
[0m[91mgo: downloading github.com/gorilla/mux v1.7.3
[0m[91mgo: downloading github.com/google/uuid v1.1.1
[0m[91mgo: extracting github.com/google/uuid v1.1.1
[0m[91mgo: extracting github.com/jinzhu/gorm v1.9.11
[0m[91mgo: extracting github.com/gorilla/mux v1.7.3
[0m[91mgo: downloading github.com/lib/pq v1.1.1
[0m[91mgo: downloading github.com/jinzhu/inflection v1.0.0
[0m[91mgo: extracting github.com/jinzhu/inflection v1.0.0
[0m[91mgo: extracting github.com/lib/pq v1.1.1
[0m[91mgo: finding github.com/gorilla/mux v1.7.3
go: finding github.com/google/uuid v1.1.1
[0m[91mgo: finding github.com/jinzhu/gorm v1.9.11
[0m[91mgo: finding github.com/lib/pq v1.1.1
[0m[91mgo: finding github.com/jinzhu/inflection v1.0.0
[0mRemoving intermediate container e6f4f0cd7d24
---> a4398c1e8c8e
Step 10/15 : FROM alpine:3.10
3.10: Pulling from library/alpine
21c83c524219: Pulling fs layer
21c83c524219: Verifying Checksum
21c83c524219: Download complete
21c83c524219: Pull complete
Digest: sha256:f0e9534a598e501320957059cb2a23774b4d4072e37c7b2cf7e95b241f019e35
Status: Downloaded newer image for alpine:3.10
---> be4e4bea2c2e
Step 11/15 : WORKDIR app
---> Running in 228b8a4a4a5e
Removing intermediate container 228b8a4a4a5e
---> 5276d40d90d3
Step 12/15 : COPY --from=ANGULAR_BUILD /webapp/dist/webapp/* ./webapp/dist/webapp/
---> 7571548dcebf
Step 13/15 : COPY --from=GO_BUILD /go/bin/server ./
---> 054b78f9015b
Step 14/15 : RUN ls
---> Running in b62df687837e
server
webapp
Removing intermediate container b62df687837e
---> 328783f03711
Step 15/15 : CMD ./server
---> Running in 2b479859f1b5
Removing intermediate container 2b479859f1b5
---> 3100ca5e4442
Successfully built 3100ca5e4442
Successfully tagged kyberorg/nggo:master
[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/nggo]
4d3cf9c76e5d: Preparing
e0d9cf816fe9: Preparing
30b595a26dd9: Preparing
1b3ee35aacca: Preparing
1b3ee35aacca: Mounted from library/alpine
30b595a26dd9: Pushed
e0d9cf816fe9: Pushed
4d3cf9c76e5d: Pushed
master: digest: sha256:538e30f604db64502368a9f3b5c7a56d5f754fd3d9270b85928be3f191e536ed size: 1156
[Pipeline] sh
+ set +x
Removing login credentials for https://index.docker.io/v1/
[Pipeline] sh
+ set +x
Untagged: kyberorg/nggo:master
Untagged: kyberorg/nggo@sha256:538e30f604db64502368a9f3b5c7a56d5f754fd3d9270b85928be3f191e536ed
Deleted: sha256:3100ca5e44427b45855c47665eeb2bc1f45aeeb708c6ce58efd5e65179beb880
Deleted: sha256:328783f03711a7ff4c4202679d01d9d145cdfc7e3c4bbc8f25d0f90ab1d72a0d
Deleted: sha256:054b78f9015b41b4d61eec70c18e6cb097245d0dcfcd31023f91b1893d398db8
Deleted: sha256:d493a224d7704f2257269962358cbe61edfbdb4031564ff21a983b3062d78f83
Deleted: sha256:7571548dcebfb50d75d90ff65baad04f9c230aee4c88d8c37e5b8f7f911a8198
Deleted: sha256:c83604c9e205222287b66f71254ed344f3d859e368a11cbff225da70c7da52c8
Deleted: sha256:5276d40d90d3cd96bae4297d41f8a0123859aef609be1ddafd037cd44bd5063b
Deleted: sha256:b40900b703db0893ca9555ad46c8408b22d994f61b80eda8fb0e1008e66eff3f
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Deploy to K8S)
[Pipeline] script
[Pipeline] {
[Pipeline] sh
+ kubectl -n dev-nggo set image deployment/nggo app=kyberorg/nggo:master --record
Error from server (NotFound): namespaces "dev-nggo" not found
[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] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
ERROR: script returned exit code 1
Finished: FAILURE