Started by user Toor Admin Running as Toor Admin > /usr/bin/git rev-parse --is-inside-work-tree # timeout=10 Setting origin to https://gitlab.com/kyberorg/http.git > /usr/bin/git config remote.origin.url https://gitlab.com/kyberorg/http.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 refs/tags/1.0^{commit} # timeout=10 Obtained Jenkinsfile from 824a40c2cddb8a267b418a86601ac8faca91651b 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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository https://gitlab.com/yasys/jenkins/common-lib.git > /usr/bin/git init /var/lib/jenkins/workspace/HTTP_1.0@libs/common-lib # timeout=10 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 > /usr/bin/git config remote.origin.url https://gitlab.com/yasys/jenkins/common-lib.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://gitlab.com/yasys/jenkins/common-lib.git # timeout=10 Fetching without tags Fetching upstream changes from https://gitlab.com/yasys/jenkins/common-lib.git 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" First time build. Skipping changelog. > /usr/bin/git --version # timeout=10 > git --version # 'git version 2.20.1' 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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository https://gitlab.com/yasys/common-pipe.git > /usr/bin/git init /var/lib/jenkins/workspace/HTTP_1.0@libs/common-pipe # timeout=10 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 > /usr/bin/git config remote.origin.url https://gitlab.com/yasys/common-pipe.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://gitlab.com/yasys/common-pipe.git # timeout=10 Fetching without tags Fetching upstream changes from https://gitlab.com/yasys/common-pipe.git 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'" First time build. Skipping changelog. > /usr/bin/git --version # timeout=10 > git --version # 'git version 2.20.1' fatal: bad object 0b30bc4e918097575eab0885b2edb71afa83a982 [Pipeline] Start of Pipeline [Pipeline] node Running on Jenkins in /var/lib/jenkins/workspace/HTTP_1.0 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential kyberorg_gl Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository https://gitlab.com/kyberorg/http.git > /usr/bin/git init /var/lib/jenkins/workspace/HTTP_1.0 # timeout=10 Fetching upstream changes from https://gitlab.com/kyberorg/http.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 --tags --force --progress -- https://gitlab.com/kyberorg/http.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > /usr/bin/git config remote.origin.url https://gitlab.com/kyberorg/http.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://gitlab.com/kyberorg/http.git # timeout=10 Fetching with tags Fetching upstream changes from https://gitlab.com/kyberorg/http.git using GIT_ASKPASS to set credentials Kyberorg GitLab > /usr/bin/git fetch --tags --force --progress -- https://gitlab.com/kyberorg/http.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 824a40c2cddb8a267b418a86601ac8faca91651b (1.0) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f 824a40c2cddb8a267b418a86601ac8faca91651b # timeout=10 Commit message: "Add Jenkinsfile" First time build. Skipping changelog. > /usr/bin/git --version # timeout=10 > git --version # 'git version 2.20.1' fatal: bad object 0b30bc4e918097575eab0885b2edb71afa83a982 [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 78.85kB Step 1/5 : FROM nginx:stable ---> 2ad6b739fe1c Step 2/5 : COPY nginx.conf /etc/nginx/conf.d/default.conf ---> c98a252bb969 Step 3/5 : COPY index.html /srv/index.html ---> 2f78dfee66b6 Step 4/5 : CMD /bin/bash -c "nginx -g 'daemon off;'" ---> Running in 8f24984fa92f Removing intermediate container 8f24984fa92f ---> da799ba64085 Step 5/5 : EXPOSE 8080 ---> Running in 005a72dc117a Removing intermediate container 005a72dc117a ---> 6a44da4b0357 Successfully built 6a44da4b0357 Successfully tagged kyberorg/http:1.0 [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/http] fb0ea1841e41: Preparing 8e98c908e779: Preparing a5f9f505aede: Preparing 11bfb51390a5: Preparing bf0ea8c01f3a: Preparing c555e163f015: Preparing d0f104dc0a1f: Preparing c555e163f015: Waiting d0f104dc0a1f: Waiting a5f9f505aede: Layer already exists bf0ea8c01f3a: Layer already exists 11bfb51390a5: Layer already exists c555e163f015: Layer already exists d0f104dc0a1f: Layer already exists 8e98c908e779: Pushed fb0ea1841e41: Pushed 1.0: digest: sha256:44db4d6c3c581ad0d0f8627cf1ad694b2d482cca452fb81377b5537912988c42 size: 1776 [Pipeline] sh + set +x Removing login credentials for https://index.docker.io/v1/ [Pipeline] sh + set +x Untagged: kyberorg/http:1.0 Untagged: kyberorg/http@sha256:44db4d6c3c581ad0d0f8627cf1ad694b2d482cca452fb81377b5537912988c42 Deleted: sha256:6a44da4b0357b8433908b9858c9f345ff8d4272fa27df5d496dbe00b10c5b38d Deleted: sha256:da799ba6408500b57581d18946bd50c52575ec000e366302197af63e60fc4cd4 Deleted: sha256:2f78dfee66b659087d6aa63467a9d24a5c171287839c9cd0c264a6366a2de7b3 Deleted: sha256:cc0074b6cc4be696b025e0130a0b0b2e76e8a0a3afff4e7191a93afb3de9018c Deleted: sha256:c98a252bb969fc1ac3cb552e807f208a1a6c6612ca6cff7dc891e2039ca1d5a1 Deleted: sha256:ce83da13ce23c411093d9586cc93cde80ada7eb718ddb70234bb32cd966ae7ac [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Deploy to K8S) [Pipeline] script [Pipeline] { [Pipeline] sh + kubectl -n prod-static-web set image deployment/static-site-http app=kyberorg/http:1.0 --record deployment.apps/static-site-http image updated error: unable to find container named "app" [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