swapnanildutta/Hackerrank-Codes

Greeting Check constantly failing, i dont know the issue!

Opened this issue · 3 comments

Build container for action use: '/home/runner/work/_actions/actions/first-interaction/v1/Dockerfile'.
/usr/bin/docker build -t 1e5c35:7bc77f1a00b242128d8728a402cdae9c -f "/home/runner/work/_actions/actions/first-interaction/v1/Dockerfile" "/home/runner/work/_actions/actions/first-interaction/v1"
Sending build context to Docker daemon 180.2kB

Step 1/4 : FROM node:slim
slim: Pulling from library/node
babf97a3f00a: Pulling fs layer
d81eb1809d95: Pulling fs layer
dbaab951a9fa: Pulling fs layer
cb915c1b28b9: Pulling fs layer
7c72cd70a544: Pulling fs layer
cb915c1b28b9: Waiting
7c72cd70a544: Waiting
d81eb1809d95: Verifying Checksum
d81eb1809d95: Download complete
cb915c1b28b9: Verifying Checksum
cb915c1b28b9: Download complete
babf97a3f00a: Verifying Checksum
babf97a3f00a: Download complete
dbaab951a9fa: Verifying Checksum
dbaab951a9fa: Download complete
7c72cd70a544: Verifying Checksum
7c72cd70a544: Download complete
babf97a3f00a: Pull complete
d81eb1809d95: Pull complete
dbaab951a9fa: Pull complete
cb915c1b28b9: Pull complete
7c72cd70a544: Pull complete
Digest: sha256:bf39db19ac53a635030d5db569cab912322147139fbf929c252359f3c50c4207
Status: Downloaded newer image for node:slim
---> 922b09b21278
Step 2/4 : COPY . .
---> e7ffa4544a8c
Step 3/4 : RUN npm install --production
---> Running in 5f0039d32d9c
npm notice
npm notice New patch version of npm available! 7.0.3 -> 7.0.5
npm notice Changelog: https://github.com/npm/cli/releases/tag/v7.0.5
npm notice Run npm install -g npm@7.0.5 to update!
npm notice
npm ERR! Maximum call stack size exceeded

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2020-10-24T12_38_52_536Z-debug.log
The command '/bin/sh -c npm install --production' returned a non-zero code: 1

Warning: Docker build failed with exit code 1, back off 3.935 seconds before retry.
/usr/bin/docker build -t 1e5c35:7bc77f1a00b242128d8728a402cdae9c -f "/home/runner/work/_actions/actions/first-interaction/v1/Dockerfile" "/home/runner/work/_actions/actions/first-interaction/v1"
Sending build context to Docker daemon 180.2kB

Step 1/4 : FROM node:slim
---> 922b09b21278
Step 2/4 : COPY . .
---> Using cache
---> e7ffa4544a8c
Step 3/4 : RUN npm install --production
---> Running in fb5c4560f188
npm notice
npm notice New patch version of npm available! 7.0.3 -> 7.0.5
npm notice Changelog: https://github.com/npm/cli/releases/tag/v7.0.5
npm notice Run npm install -g npm@7.0.5 to update!
npm notice
npm ERR! Maximum call stack size exceeded

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2020-10-24T12_38_57_936Z-debug.log
The command '/bin/sh -c npm install --production' returned a non-zero code: 1

Warning: Docker build failed with exit code 1, back off 6.7 seconds before retry.
/usr/bin/docker build -t 1e5c35:7bc77f1a00b242128d8728a402cdae9c -f "/home/runner/work/_actions/actions/first-interaction/v1/Dockerfile" "/home/runner/work/_actions/actions/first-interaction/v1"
Sending build context to Docker daemon 180.2kB

Step 1/4 : FROM node:slim
---> 922b09b21278
Step 2/4 : COPY . .
---> Using cache
---> e7ffa4544a8c
Step 3/4 : RUN npm install --production
---> Running in 57be650f49ce
npm notice
npm notice New patch version of npm available! 7.0.3 -> 7.0.5
npm notice Changelog: https://github.com/npm/cli/releases/tag/v7.0.5
npm notice Run npm install -g npm@7.0.5 to update!
npm notice
npm ERR! Maximum call stack size exceeded

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2020-10-24T12_39_06_115Z-debug.log
The command '/bin/sh -c npm install --production' returned a non-zero code: 1

Error: Docker build failed with exit code 1

@cclauss Cloud you please help in fixing this?

Build container main to action use:
Integer V1;
Integer fs;
Integer babf97a3f00a;
Integer npm;

"/home/runner/work/_actions/actions/first-interaction/V1/Docker file /user/bin/docker build -t 1e5c35:7bc77f1a00b242128d8728a402cdae9c - f /home/runner/work/_actions/actions/first-interaction/V1/Docker file";
"/home/runner/work/_actions/actions/first-interaction/V1";
Sending build context to Docker daemon 180.2kB

Step 1/4 : FROM node: slim; slim: Pulling from library/node babf97a3f00a: Pulling fs layer d81eb1809d95: Pulling fs layer dbaab951a9fa: Pulling fs layer cb915c1b28b9: Pulling fs layer 7c72cd70a544: Pulling fs layer cb915c1b28b9: Waiting 7c72cd70a544: Waiting d81eb1809d95: Verifying Checksum d81eb1809d95: Download complete cb915c1b28b9: Verifying Checksum cb915c1b28b9: Download complete babf97a3f00a: Verifying Checksum babf97a3f00a: Download complete dbaab951a9fa: Verifying Checksum dbaab951a9fa: Download complete 7c72cd70a544: Verifying Checksum 7c72cd70a544: Download complete babf97a3f00a: Pull complete d81eb1809d95: Pull complete dbaab951a9fa: Pull complete cb915c1b28b9: Pull complete 7c72cd70a544: Pull complete Digest: sha256:bf39db19ac53a635030d5db569cab912322147139fbf929c252359f3c50c4207 Status: Downloaded newer image for node:slim —> 922b09b21278 Step 2/4 : COPY . . —> e7ffa4544a8c Step 3/4 : RUN npm install —production —> Running in 5f0039d32d9c npm notice npm notice New patch version of npm available! 7.0.3 -> 7.0.5 npm notice Change log: https://github.com/npm/cli/releases/tag/v7.0.5 npm notice Run "npm install — g npm@7.0.5" to update! npm notice maximum call stark size exceeded.

A complete log of this run can be found in: /root/.npm/_logs/2020-10-24T12_38_52_536Z-debug.log The command "/bin/sher — c npm install — production" returned a non-zero code: 1

Warning: Docker build failed with exit code 1, back off 3.935 seconds before retry. /user/bin/docker build — t;
1e5c35:7bc77f1a00b242128d8728a402cdae9c — f;
"/home/runner/work/_actions/actions/first-interaction/v1/Docker file" "/home/runner/work/_actions/actions/first — interaction/v1" Sending build context to Docker daemon 180.2kB

Step 1/4 : FROM node:slim ---> 922b09b21278 Step 2/4 : COPY . ---> Using cache ---> e7ffa4544a8c Step 3/4 : RUN npm install --production ---> Running in fb5c4560f188 npm notice npm notice New patch version of npm available! 7.0.3 -> 7.0.5 npm notice Change log: https://github.com/npm/cli/releases/tag/v7.0.5 npm notice Run "npm install — g npm@7.0.5" to update! npm notice maximum call stark size exceeded.

A complete log of this run can be found in: /root/.npm/_logs/2020-10-24T12_38_57_936Z-debug.log The command '/bin/sher — c npm install --production' returned a non-zero code: 1

Warning: Docker build failed with exit code 1, back off 6.7 seconds before retry. /user/bin/docker build — t;
1e5c35:7bc77f1a00b242128d8728a402cdae9c — f; "/home/runner/work/_actions/actions/first-interaction/v1/Docker file".
"/home/runner/work/_actions/actions/first-interaction/v1".
Sending build context to Docker daemon 180.2kB.

Step 1/4 : FROM node:slim ---> 922b09b21278 Step 2/4 : COPY . . ---> Using cache ---> e7ffa4544a8c Step 3/4 : RUN npm install --production ---> Running in 57be650f49ce npm notice npm notice New patch version of npm available! 7.0.3 -> 7.0.5 npm notice Change log: https://github.com/npm/cli/releases/tag/v7.0.5 npm notice Run "npm install npm@7.0.5" to update! npm notice Maximum call stark size excepted.

A complete move of this run can be found.
/root/.npm/_logs/2020-10-24T12_39_06_115Z-debug.log The command "/bin/sher — c npm install — production" returned a non-zero code: V1.

Docker build longer with exit code V1.