Running with gitlab-runner 12.3.0 (a8a019e0)  on gitlab-ci-run0 W39m9p7E section_start:1570985018: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:1570985024:prepare_executor section_start:1570985024:prepare_script Running on runner-W39m9p7E-project-209-concurrent-0 via gitlab-ci-run0... section_end:1570985027:prepare_script section_start:1570985027:get_sources Fetching changes with git depth set to 50... Reinitialized existing Git repository in /builds/imranh/nodejs-docker-example/.git/ Checking out 20f2a3c7 as master... Skipping Git submodules setup section_end:1570985030:get_sources section_start:1570985030:restore_cache section_end:1570985032:restore_cache section_start:1570985032:download_artifacts section_end:1570985034:download_artifacts section_start:1570985034: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[0005] Error while retrieving image from cache: getting file info: stat /cache/sha256:e0f7dabe991810057aee6ba7a7d4136fe7fc70e99235d79e6c7ae0177656a5c8: no such file or directory INFO[0005] Downloading base image node:lts INFO[0008] Built cross stage deps: map[] INFO[0008] Downloading base image node:lts INFO[0010] Error while retrieving image from cache: getting file info: stat /cache/sha256:e0f7dabe991810057aee6ba7a7d4136fe7fc70e99235d79e6c7ae0177656a5c8: no such file or directory INFO[0010] Downloading base image node:lts INFO[0011] Unpacking rootfs as cmd RUN mkdir -p /opt/nodeapp/node_modules && chown -R node:node /opt/nodeapp requires it. INFO[0102] Taking snapshot of full filesystem... INFO[0593] RUN mkdir -p /opt/nodeapp/node_modules && chown -R node:node /opt/nodeapp INFO[0593] cmd: /bin/sh INFO[0593] args: [-c mkdir -p /opt/nodeapp/node_modules && chown -R node:node /opt/nodeapp] INFO[0594] Taking snapshot of full filesystem... INFO[0907] WORKDIR /opt/nodeapp INFO[0907] cmd: workdir INFO[0907] Changed working directory to /opt/nodeapp INFO[0907] Using files from context: [/builds/imranh/nodejs-docker-example/package.json] INFO[0907] COPY package.json ./ INFO[0907] Taking snapshot of files... INFO[0907] Using files from context: [/builds/imranh/nodejs-docker-example/npm-shrinkwrap.json] INFO[0907] COPY npm-shrinkwrap.json ./ INFO[0907] Taking snapshot of files... INFO[0907] USER node INFO[0907] cmd: USER INFO[0907] RUN npm ci --only=production INFO[0907] cmd: /bin/sh INFO[0907] args: [-c npm ci --only=production] npm WARN prepare removing existing node_modules/ before installation added 0 packages in 0.074s INFO[0910] Taking snapshot of full filesystem... INFO[0912] Adding whiteout for /opt/nodeapp/node_modules INFO[1269] Using files from context: [/builds/imranh/nodejs-docker-example] INFO[1270] COPY --chown=node:node . . INFO[1270] Taking snapshot of files... INFO[1270] CMD [ "node", "index.js" ] section_end:1570986312:build_script section_start:1570986312:after_script section_end:1570986316:after_script section_start:1570986316:archive_cache section_end:1570986319:archive_cache section_start:1570986319:upload_artifacts_on_success section_end:1570986321:upload_artifacts_on_success Job succeeded