Branch indexing Connecting to https://api.github.com using toor/****** (GitHub Access Token) Obtained Jenkinsfile from bb9b10ee22825eb294001ab6e1af42b9b8b39b83 Running in Durability level: MAX_SURVIVABILITY 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 Selected Git installation does not exist. Using Default The recommended git tool is: NONE 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 [Checks API] No suitable checks publisher found. Loading library common-lib@1.7 Attempting to resolve 1.7 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.7 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.7^{commit} # timeout=10 > /usr/bin/git branch -a -v --no-abbrev --contains 0dbc0c46c784d86e1bcb06ecf3f84a8bf721d957 # timeout=10 Selected match: master revision 0dbc0c46c784d86e1bcb06ecf3f84a8bf721d957 Selected Git installation does not exist. Using Default The recommended git tool is: NONE 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 0dbc0c46c784d86e1bcb06ecf3f84a8bf721d957 (master) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f 0dbc0c46c784d86e1bcb06ecf3f84a8bf721d957 # timeout=10 Commit message: "Merge branch '2-support-for-build-args' into 'master'" > /usr/bin/git rev-list --no-walk 0dbc0c46c784d86e1bcb06ecf3f84a8bf721d957 # timeout=10 [Checks API] No suitable checks publisher found. [Pipeline] Start of Pipeline [Pipeline] node Running on Jenkins in /var/lib/jenkins/workspace/yals-poc-frontend_10-home [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: NONE using credential github Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository https://github.com/kyberorg-lab/yals-poc-frontend.git > /usr/bin/git init /var/lib/jenkins/workspace/yals-poc-frontend_10-home # timeout=10 Fetching upstream changes from https://github.com/kyberorg-lab/yals-poc-frontend.git > /usr/bin/git --version # timeout=10 > git --version # 'git version 2.20.1' using GIT_ASKPASS to set credentials GitHub Access Token > /usr/bin/git fetch --no-tags --force --progress -- https://github.com/kyberorg-lab/yals-poc-frontend.git +refs/heads/10-home:refs/remotes/origin/10-home # timeout=10 > /usr/bin/git config remote.origin.url https://github.com/kyberorg-lab/yals-poc-frontend.git # timeout=10 > /usr/bin/git config --add remote.origin.fetch +refs/heads/10-home:refs/remotes/origin/10-home # timeout=10 Avoid second fetch Checking out Revision bb9b10ee22825eb294001ab6e1af42b9b8b39b83 (10-home) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f bb9b10ee22825eb294001ab6e1af42b9b8b39b83 # timeout=10 > /usr/bin/git branch -a -v --no-abbrev # timeout=10 > /usr/bin/git checkout -b 10-home bb9b10ee22825eb294001ab6e1af42b9b8b39b83 # timeout=10 Commit message: "Using yasys/angular image to speed up build process" > /usr/bin/git rev-list --no-walk f5b730de660e32bfc73e49d1561b94c0b2c92111 # timeout=10 Cleaning workspace > /usr/bin/git rev-parse --verify HEAD # timeout=10 Resetting working tree > /usr/bin/git reset --hard # timeout=10 > /usr/bin/git clean -fdx # timeout=10 [Checks API] No suitable checks publisher found. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Docker) [Pipeline] script [Pipeline] { [Pipeline] withCredentials Masking supported pattern matches of $MDB_TOKEN [Pipeline] { [Pipeline] } [Pipeline] // withCredentials [Pipeline] sh + set +x Sending build context to Docker daemon 57.34kB Step 1/9 : FROM yasys/angular:10.0.6 AS ANGULAR_BUILD 10.0.6: Pulling from yasys/angular 4f250268ed6a: Already exists 1b49aa113642: Already exists c159512f4cc2: Already exists 8439168fd8dc: Already exists 55abbc6cc158: Already exists e5c5821cd889: Already exists fe68f8ffb64f: Already exists 310e01487093: Already exists 3d7627cf0abe: Already exists 5987db3bb522: Pulling fs layer 41ea3b85eb2c: Pulling fs layer 5987db3bb522: Verifying Checksum 5987db3bb522: Download complete 41ea3b85eb2c: Verifying Checksum 41ea3b85eb2c: Download complete 5987db3bb522: Pull complete 41ea3b85eb2c: Pull complete Digest: sha256:8bdd7f1611e746a5b48cac32c39243bccd0349f12aa81f2322f3d0b424d45ba1 Status: Downloaded newer image for yasys/angular:10.0.6 ---> e0c3d01b1740 Step 2/9 : ARG MDB_GITLAB_TOKEN=valid_token_here_please ---> Running in ce1f19e3d20b Removing intermediate container ce1f19e3d20b ---> 4e5cf18ecb73 Step 3/9 : ENV GITLAB_TOKEN=$MDB_GITLAB_TOKEN ---> Running in 5e1e006ff0f2 Removing intermediate container 5e1e006ff0f2 ---> 4014a91210e6 Step 4/9 : ARG BUILD_ENV=production ---> Running in 57501d8a48ce Removing intermediate container 57501d8a48ce ---> 30b5272c4aee Step 5/9 : COPY . /app ---> d8e7c2b6b00a Step 6/9 : WORKDIR /app ---> Running in 9b8146234143 Removing intermediate container 9b8146234143 ---> 1ecf6fbd2225 Step 7/9 : RUN mv /app/package.json /app/package.json.tmp && envsubst < /app/package.json.tmp > /app/package.json && npm install && ng build --configuration $BUILD_ENV ---> Running in ac91347b8d0e npm WARN deprecated tslint@6.1.3: TSLint has been deprecated in favor of ESLint. Please see https://github.com/palantir/tslint/issues/4534 for more information. npm WARN deprecated chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies. npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2. npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated  > core-js@3.6.4 postinstall /app/node_modules/core-js > node -e "try{require('./postinstall')}catch(e){}" Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library! The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:  > https://opencollective.com/core-js  > https://www.patreon.com/zloirock  Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -) > @angular/cli@10.0.8 postinstall /app/node_modules/@angular/cli > node ./bin/postinstall/script.js > @fortawesome/fontawesome-free@5.15.1 postinstall /app/node_modules/@fortawesome/fontawesome-free > node attribution.js Font Awesome Free 5.15.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) npm notice created a lockfile as package-lock.json. You should commit this file. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/rollup/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) npm WARN notsup Unsupported engine for watchpack-chokidar2@2.0.0: wanted: {"node":"<8.10.0"} (current: {"node":"12.18.4","npm":"6.14.6"}) npm WARN notsup Not compatible with your version of node/npm: watchpack-chokidar2@2.0.0 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules/watchpack-chokidar2/node_modules/chokidar/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules/webpack-dev-server/node_modules/chokidar/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})  added 1486 packages from 1225 contributors and audited 1491 packages in 65.009s 67 packages are looking for funding run `npm fund` for details found 0 vulnerabilities Compiling @angular/core : es2015 as esm2015 Compiling @angular/cdk/keycodes : es2015 as esm2015 Compiling @angular/animations : es2015 as esm2015 Compiling @angular/compiler/testing : es2015 as esm2015 Compiling @angular/common : es2015 as esm2015 Compiling @angular/cdk/observers : es2015 as esm2015 Compiling @angular/cdk/collections : es2015 as esm2015 Compiling @angular/animations/browser : es2015 as esm2015 Compiling @angular/core/testing : es2015 as esm2015 Compiling @angular/cdk/platform : es2015 as esm2015 Compiling @angular/cdk/bidi : es2015 as esm2015 Compiling @angular/platform-browser : es2015 as esm2015 Compiling @angular/cdk/a11y : es2015 as esm2015 Compiling @angular/cdk/scrolling : es2015 as esm2015 Compiling @angular/router : es2015 as esm2015 Compiling @angular/common/http : es2015 as esm2015 Compiling @angular/forms : es2015 as esm2015 Compiling @angular/cdk/portal : es2015 as esm2015 Compiling @angular/platform-browser-dynamic : es2015 as esm2015 Compiling @angular/platform-browser/testing : es2015 as esm2015 Compiling @angular/common/testing : es2015 as esm2015 Compiling @angular/cdk/overlay : es2015 as esm2015 Compiling @angular/animations/browser/testing : es2015 as esm2015 Compiling @angular/cdk/accordion : es2015 as esm2015 Compiling @angular/cdk/clipboard : es2015 as esm2015 Compiling @angular/cdk/drag-drop : es2015 as esm2015 Compiling @angular/cdk/layout : es2015 as esm2015 Compiling @angular/cdk/stepper : es2015 as esm2015 Compiling @angular/cdk/table : es2015 as esm2015 Compiling @angular/cdk/text-field : es2015 as esm2015 Compiling @angular/cdk/tree : es2015 as esm2015 Compiling @angular/common/http/testing : es2015 as esm2015 Compiling @angular/platform-browser/animations : es2015 as esm2015 Compiling @angular/platform-browser-dynamic/testing : es2015 as esm2015 Compiling @angular/router/testing : es2015 as esm2015 Compiling angular-bootstrap-md : es2015 as esm2015 Compiling ng-uikit-pro-standard : es2015 as esm2015  chunk {} runtime.e227d1a0e31cbccbf8ec.js (runtime) 1.45 kB [entry] [rendered] chunk {1} main.dab98cd2d99ffd8a865a.js (main) 564 kB [initial] [rendered] chunk {2} polyfills.a4021de53358bb0fec14.js (polyfills) 36.1 kB [initial] [rendered] chunk {3} styles.a06ce0e0e8ec740ba9a9.css (styles) 565 kB [initial] [rendered] chunk {scripts} scripts.7e1c562bd0e0929c1bf9.js (scripts) 21.8 kB [entry] [rendered] Date: 2020-10-08T09:20:05.250Z - Hash: 842d3f250f2375c10845 - Time: 50544ms Removing intermediate container ac91347b8d0e ---> 51c665be8dd7 Step 8/9 : FROM nginx:1.19.2-alpine ---> 6f715d38cfe0 Step 9/9 : COPY --from=ANGULAR_BUILD /app/dist/yals /usr/share/nginx/html ---> d7ed36518d5d Successfully built d7ed36518d5d Successfully tagged kyberorglab/yals-ui:10-home [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/kyberorglab/yals-ui] 46e40dc4cb12: Preparing 6ad8d562c843: Preparing 425ee8569962: Preparing 5d9ee84be1ec: Preparing 6bcd003260b2: Preparing 50644c29ef5a: Preparing 50644c29ef5a: Waiting 425ee8569962: Layer already exists 6bcd003260b2: Layer already exists 6ad8d562c843: Layer already exists 5d9ee84be1ec: Layer already exists 50644c29ef5a: Layer already exists 46e40dc4cb12: Pushed 10-home: digest: sha256:ec095ba75ed013d6c7ed078e54e0a97bb6b527d758a3e1cb27b6dff2980a541b size: 1571 [Pipeline] sh + set +x Removing login credentials for https://index.docker.io/v1/ [Pipeline] sh + set +x Untagged: kyberorglab/yals-ui:10-home Untagged: kyberorglab/yals-ui@sha256:ec095ba75ed013d6c7ed078e54e0a97bb6b527d758a3e1cb27b6dff2980a541b Deleted: sha256:d7ed36518d5d19455d6268415d9db0c3396f9726bf852442cd75632908ea71aa Deleted: sha256:d2224eec92fcc6163b3f2c98802749060e4b6f8ab8e078dfdf58805c9e9b52ff [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Deploy to K8S) [Pipeline] script [Pipeline] { [Pipeline] sh + kubectl -n lab-yals set image deployment/yals-app app=kyberorglab/yals-ui:10-home --record [Pipeline] sh + kubectl -n lab-yals rollout restart deployment/yals-app deployment.apps/yals-app restarted [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 [Checks API] No suitable checks publisher found. GitHub has been notified of this commit’s build result Finished: SUCCESS