Running with gitlab-runner 12.3.0 (a8a019e0)  on gitlab-ci-run0 W39m9p7E section_start:1570861795:prepare_executor Using Docker executor with image gcr.io/kaniko-project/executor:debug ... Pulling docker image gcr.io/kaniko-project/executor:debug ... Using docker image sha256:2a37d38f01760b00edc3fee7262e5091639f94e5227af834c0a76ca8d4463593 for gcr.io/kaniko-project/executor:debug ... section_end:1570861802:prepare_executor section_start:1570861802:prepare_script Running on runner-W39m9p7E-project-209-concurrent-0 via gitlab-ci-run0... section_end:1570861803:prepare_script section_start:1570861803:get_sources Fetching changes with git depth set to 50... Initialized empty Git repository in /builds/imranh/nodejs-docker-example/.git/ Created fresh repository. From https://projects.sucs.org/imranh/nodejs-docker-example * [new branch] master -> origin/master Checking out 20f2a3c7 as master... Skipping Git submodules setup section_end:1570861807:get_sources section_start:1570861807:restore_cache section_end:1570861808:restore_cache section_start:1570861808:download_artifacts section_end:1570861810:download_artifacts section_start:1570861810:build_script $ echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"gitlab-ci-token\",\"password\":\"$CI_JOB_TOKEN\"}}}" > /kaniko/.docker/config.json $ /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA --destination $CI_REGISTRY_IMAGE:latest INFO[0000] Resolved base name node:lts to node:lts INFO[0000] Using dockerignore file: /builds/imranh/nodejs-docker-example/.dockerignore INFO[0000] Resolved base name node:lts to node:lts INFO[0000] Downloading base image node:lts INFO[0001] Error while retrieving image from cache: getting file info: stat /cache/sha256:e0f7dabe991810057aee6ba7a7d4136fe7fc70e99235d79e6c7ae0177656a5c8: no such file or directory INFO[0001] Downloading base image node:lts INFO[0002] Built cross stage deps: map[] INFO[0002] Downloading base image node:lts INFO[0003] Error while retrieving image from cache: getting file info: stat /cache/sha256:e0f7dabe991810057aee6ba7a7d4136fe7fc70e99235d79e6c7ae0177656a5c8: no such file or directory INFO[0003] Downloading base image node:lts INFO[0004] Unpacking rootfs as cmd RUN mkdir -p /opt/nodeapp/node_modules && chown -R node:node /opt/nodeapp requires it. INFO[0105] Taking snapshot of full filesystem... INFO[0650] RUN mkdir -p /opt/nodeapp/node_modules && chown -R node:node /opt/nodeapp INFO[0651] cmd: /bin/sh INFO[0652] args: [-c mkdir -p /opt/nodeapp/node_modules && chown -R node:node /opt/nodeapp] INFO[0653] Taking snapshot of full filesystem... INFO[1017] WORKDIR /opt/nodeapp INFO[1017] cmd: workdir INFO[1018] Changed working directory to /opt/nodeapp INFO[1018] Using files from context: [/builds/imranh/nodejs-docker-example/package.json] INFO[1018] COPY package.json ./ INFO[1018] Taking snapshot of files... INFO[1018] Using files from context: [/builds/imranh/nodejs-docker-example/npm-shrinkwrap.json] INFO[1018] COPY npm-shrinkwrap.json ./ INFO[1018] Taking snapshot of files... INFO[1018] USER node INFO[1018] cmd: USER INFO[1018] RUN npm ci --only=production INFO[1018] cmd: /bin/sh INFO[1018] args: [-c npm ci --only=production] npm WARN prepare removing existing node_modules/ before installation added 0 packages in 0.063s INFO[1022] Taking snapshot of full filesystem... INFO[1027] Adding whiteout for /opt/nodeapp/node_modules INFO[1467] Using files from context: [/builds/imranh/nodejs-docker-example] INFO[1467] COPY --chown=node:node . . INFO[1467] Taking snapshot of files... INFO[1467] CMD [ "node", "index.js" ] section_end:1570863289:build_script section_start:1570863290:after_script section_end:1570863297:after_script section_start:1570863297:archive_cache section_end:1570863301:archive_cache section_start:1570863301:upload_artifacts_on_success section_end:1570863303:upload_artifacts_on_success Job succeeded