netlify/actions

Docker build fails in workflow

anandakrishna opened this issue · 1 comments

Hey guys!

We are using netlify/actions in one of our workflows and since the last few hours have been getting the following errors. Please help.

image

Logs:

2021-05-19T19:54:44.7162611Z ##[section]Starting: Request a runner to run this job
2021-05-19T19:54:45.1537448Z Can't find any online and idle self-hosted runner in current repository that matches the required labels: 'ubuntu-latest'
2021-05-19T19:54:45.1537562Z Can't find any online and idle self-hosted runner in current repository's account/organization that matches the required labels: 'ubuntu-latest'
2021-05-19T19:54:45.1538342Z Found online and idle hosted runner in current repository's account/organization that matches the required labels: 'ubuntu-latest'
2021-05-19T19:54:45.3949106Z ##[section]Finishing: Request a runner to run this job
2021-05-19T19:54:52.5851043Z Current runner version: '2.278.0'
2021-05-19T19:54:52.5877875Z ##[group]Operating System
2021-05-19T19:54:52.5878728Z Ubuntu
2021-05-19T19:54:52.5879203Z 20.04.2
2021-05-19T19:54:52.5879724Z LTS
2021-05-19T19:54:52.5880218Z ##[endgroup]
2021-05-19T19:54:52.5880748Z ##[group]Virtual Environment
2021-05-19T19:54:52.5881398Z Environment: ubuntu-20.04
2021-05-19T19:54:52.5882008Z Version: 20210510.0
2021-05-19T19:54:52.5883232Z Included Software: https://github.com/actions/virtual-environments/blob/ubuntu20/20210510.0/images/linux/Ubuntu2004-README.md
2021-05-19T19:54:52.5884541Z Image Release: https://github.com/actions/virtual-environments/releases/tag/ubuntu20%2F20210510.0
2021-05-19T19:54:52.5885434Z ##[endgroup]
2021-05-19T19:54:52.5887366Z ##[group]GITHUB_TOKEN Permissions
2021-05-19T19:54:52.5888544Z Actions: write
2021-05-19T19:54:52.5889098Z Checks: write
2021-05-19T19:54:52.5889635Z Contents: write
2021-05-19T19:54:52.5890168Z Deployments: write
2021-05-19T19:54:52.5890870Z Issues: write
2021-05-19T19:54:52.5891414Z Metadata: read
2021-05-19T19:54:52.5891966Z Packages: write
2021-05-19T19:54:52.5892491Z PullRequests: write
2021-05-19T19:54:52.5893157Z RepositoryProjects: write
2021-05-19T19:54:52.5893817Z SecurityEvents: write
2021-05-19T19:54:52.5894399Z Statuses: write
2021-05-19T19:54:52.5894979Z ##[endgroup]
2021-05-19T19:54:52.5897883Z Prepare workflow directory
2021-05-19T19:54:52.6479640Z Prepare all required actions
2021-05-19T19:54:52.6490358Z Getting action download info
2021-05-19T19:54:53.0997495Z Download action repository 'actions/checkout@v2'
2021-05-19T19:54:54.7998296Z Download action repository 'actions/cache@v2'
2021-05-19T19:54:55.3615508Z Download action repository 'actions/setup-node@v1'
2021-05-19T19:54:55.8626531Z Download action repository 'netlify/actions@master'
2021-05-19T19:54:56.2864994Z Download action repository 'rtCamp/action-slack-notify@v2'
2021-05-19T19:54:56.7424983Z ##[group]Pull down action image 'ghcr.io/rtcamp/action-slack-notify:v2.1.3'
2021-05-19T19:54:56.7497119Z ##[command]/usr/bin/docker pull ghcr.io/rtcamp/action-slack-notify:v2.1.3
2021-05-19T19:54:58.3747142Z v2.1.3: Pulling from rtcamp/action-slack-notify
2021-05-19T19:54:58.3748392Z c9b1b535fdd9: Pulling fs layer
2021-05-19T19:54:58.3748906Z f597b81b5d49: Pulling fs layer
2021-05-19T19:54:58.3749414Z 5315175e77ba: Pulling fs layer
2021-05-19T19:54:58.3749914Z 180cd15dbe12: Pulling fs layer
2021-05-19T19:54:58.3750496Z f47731e8b606: Pulling fs layer
2021-05-19T19:54:58.3750996Z 35c5edac0302: Pulling fs layer
2021-05-19T19:54:58.3751514Z 25c20a50cc35: Pulling fs layer
2021-05-19T19:54:58.3751991Z 180cd15dbe12: Waiting
2021-05-19T19:54:58.3752442Z f47731e8b606: Waiting
2021-05-19T19:54:58.3752876Z 35c5edac0302: Waiting
2021-05-19T19:54:58.3753327Z 25c20a50cc35: Waiting
2021-05-19T19:54:58.8015683Z c9b1b535fdd9: Verifying Checksum
2021-05-19T19:54:58.8016880Z c9b1b535fdd9: Download complete
2021-05-19T19:54:58.9557547Z c9b1b535fdd9: Pull complete
2021-05-19T19:54:58.9622578Z f597b81b5d49: Verifying Checksum
2021-05-19T19:54:59.1017702Z 5315175e77ba: Verifying Checksum
2021-05-19T19:54:59.1018484Z 5315175e77ba: Download complete
2021-05-19T19:54:59.2183817Z f597b81b5d49: Pull complete
2021-05-19T19:54:59.3447218Z f47731e8b606: Verifying Checksum
2021-05-19T19:54:59.3453466Z f47731e8b606: Download complete
2021-05-19T19:54:59.5332487Z 180cd15dbe12: Verifying Checksum
2021-05-19T19:54:59.5342421Z 180cd15dbe12: Download complete
2021-05-19T19:54:59.5729200Z 35c5edac0302: Verifying Checksum
2021-05-19T19:54:59.5730016Z 35c5edac0302: Download complete
2021-05-19T19:54:59.7041185Z 25c20a50cc35: Verifying Checksum
2021-05-19T19:54:59.7041964Z 25c20a50cc35: Download complete
2021-05-19T19:55:01.2993474Z 5315175e77ba: Pull complete
2021-05-19T19:55:01.8708170Z 180cd15dbe12: Pull complete
2021-05-19T19:55:01.9366720Z f47731e8b606: Pull complete
2021-05-19T19:55:02.0053072Z 35c5edac0302: Pull complete
2021-05-19T19:55:02.0798530Z 25c20a50cc35: Pull complete
2021-05-19T19:55:02.0870069Z Digest: sha256:ad0b6f696e5c476e0068a7b068ae811bd5d27fe8fb38b4c22f0eaeb358edf101
2021-05-19T19:55:02.0887529Z Status: Downloaded newer image for ghcr.io/rtcamp/action-slack-notify:v2.1.3
2021-05-19T19:55:02.0899853Z ghcr.io/rtcamp/action-slack-notify:v2.1.3
2021-05-19T19:55:02.0930231Z ##[endgroup]
2021-05-19T19:55:02.0961082Z ##[group]Build container for action use: '/home/runner/work/_actions/netlify/actions/master/cli/Dockerfile'.
2021-05-19T19:55:02.0965652Z ##[command]/usr/bin/docker build -t 8a33c1:4f9f53036b284dd1a4b683fff6a09816 -f "/home/runner/work/_actions/netlify/actions/master/cli/Dockerfile" "/home/runner/work/_actions/netlify/actions/master/cli"
2021-05-19T19:55:02.1524868Z Sending build context to Docker daemon   5.12kB
2021-05-19T19:55:02.1525837Z 
2021-05-19T19:55:02.2052231Z Step 1/12 : FROM node:12-alpine
2021-05-19T19:55:02.2053746Z  ---> deeae3752431
2021-05-19T19:55:02.2054506Z Step 2/12 : LABEL version="1.0.1"
2021-05-19T19:55:02.2519693Z  ---> Running in cb22737efa35
2021-05-19T19:55:04.7013980Z Removing intermediate container cb22737efa35
2021-05-19T19:55:04.7014683Z  ---> 63a33bae5b12
2021-05-19T19:55:04.7015329Z Step 3/12 : LABEL repository="http://github.com/netlify/actions"
2021-05-19T19:55:04.7251626Z  ---> Running in 9fff982d61b6
2021-05-19T19:55:05.0159758Z Removing intermediate container 9fff982d61b6
2021-05-19T19:55:05.0176904Z  ---> 51fee56787bd
2021-05-19T19:55:05.0213964Z Step 4/12 : LABEL homepage="http://github.com/netlify/actions/netlify"
2021-05-19T19:55:05.0474390Z  ---> Running in ad14e6b6c9f4
2021-05-19T19:55:06.0172893Z Removing intermediate container ad14e6b6c9f4
2021-05-19T19:55:06.0231230Z  ---> 776f289da9c9
2021-05-19T19:55:06.0232718Z Step 5/12 : LABEL maintainer="Netlify"
2021-05-19T19:55:06.0411529Z  ---> Running in c570b8969540
2021-05-19T19:55:07.0173791Z Removing intermediate container c570b8969540
2021-05-19T19:55:07.0272389Z  ---> 7cef703fbe17
2021-05-19T19:55:07.0273165Z Step 6/12 : LABEL "com.github.actions.name"="Netlify"
2021-05-19T19:55:07.0422213Z  ---> Running in f3f33b50a16d
2021-05-19T19:55:08.0166343Z Removing intermediate container f3f33b50a16d
2021-05-19T19:55:08.0232117Z  ---> ad91d82c90e9
2021-05-19T19:55:08.0233282Z Step 7/12 : LABEL "com.github.actions.description"="Wraps the Netlify CLI to enable common Netlify commands"
2021-05-19T19:55:08.0418808Z  ---> Running in 827193183f71
2021-05-19T19:55:09.0162514Z Removing intermediate container 827193183f71
2021-05-19T19:55:09.0163260Z  ---> f2895ee7f9a5
2021-05-19T19:55:09.0163810Z Step 8/12 : LABEL "com.github.actions.icon"="cloud"
2021-05-19T19:55:09.0344437Z  ---> Running in 70290be0fedf
2021-05-19T19:55:10.0165608Z Removing intermediate container 70290be0fedf
2021-05-19T19:55:10.0167096Z  ---> 67df9eafc929
2021-05-19T19:55:10.0167699Z Step 9/12 : LABEL "com.github.actions.color"="blue"
2021-05-19T19:55:10.0380285Z  ---> Running in c816e4a35eec
2021-05-19T19:55:11.0167661Z Removing intermediate container c816e4a35eec
2021-05-19T19:55:11.0168248Z  ---> 21ec3ade288b
2021-05-19T19:55:11.0168718Z Step 10/12 : RUN yarn global add netlify-cli
2021-05-19T19:55:11.0339464Z  ---> Running in d04dbcd28b69
2021-05-19T19:55:13.0979735Z yarn global v1.22.5
2021-05-19T19:55:13.1394569Z [1/4] Resolving packages...
2021-05-19T19:55:16.8200006Z �[91mwarning netlify-cli > @netlify/plugin-edge-handlers > rollup-plugin-node-polyfills > rollup-plugin-inject@3.0.2: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-inject.
2021-05-19T19:55:19.4200335Z �[0m�[91mwarning netlify-cli > copy-template-dir > readdirp > micromatch > snapdragon > source-map-resolve > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
2021-05-19T19:55:19.4421439Z �[0m�[91mwarning netlify-cli > copy-template-dir > readdirp > micromatch > snapdragon > source-map-resolve > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
2021-05-19T19:55:20.0455368Z �[0m[2/4] Fetching packages...
2021-05-19T19:55:34.1112496Z info @netlify/traffic-mesh-agent-win32-x64@0.27.10: The platform "linux" is incompatible with this module.
2021-05-19T19:55:34.1114197Z info "@netlify/traffic-mesh-agent-win32-x64@0.27.10" is an optional dependency and failed compatibility check. Excluding it from installation.
2021-05-19T19:55:34.1115631Z �[91merror @netlify/eslint-config-node@2.6.11: The engine "node" is incompatible with this module. Expected version ">=15.0.0". Got "12.22.1"
2021-05-19T19:55:34.1188864Z �[0m�[91merror Found incompatible module.
2021-05-19T19:55:34.1189668Z �[0minfo Visit https://yarnpkg.com/en/docs/cli/global for documentation about this command.
2021-05-19T19:55:37.0770680Z The command '/bin/sh -c yarn global add netlify-cli' returned a non-zero code: 1
2021-05-19T19:55:37.0787208Z ##[warning]Docker build failed with exit code 1, back off 7.585 seconds before retry.
2021-05-19T19:55:44.6650799Z ##[command]/usr/bin/docker build -t 8a33c1:4f9f53036b284dd1a4b683fff6a09816 -f "/home/runner/work/_actions/netlify/actions/master/cli/Dockerfile" "/home/runner/work/_actions/netlify/actions/master/cli"
2021-05-19T19:55:44.7084737Z Sending build context to Docker daemon   5.12kB
2021-05-19T19:55:44.7085295Z 
2021-05-19T19:55:44.7580254Z Step 1/12 : FROM node:12-alpine
2021-05-19T19:55:44.7583205Z  ---> deeae3752431
2021-05-19T19:55:44.7584808Z Step 2/12 : LABEL version="1.0.1"
2021-05-19T19:55:44.7587297Z  ---> Using cache
2021-05-19T19:55:44.7588929Z  ---> 63a33bae5b12
2021-05-19T19:55:44.7591162Z Step 3/12 : LABEL repository="http://github.com/netlify/actions"
2021-05-19T19:55:44.7593485Z  ---> Using cache
2021-05-19T19:55:44.7596857Z  ---> 51fee56787bd
2021-05-19T19:55:44.7597522Z Step 4/12 : LABEL homepage="http://github.com/netlify/actions/netlify"
2021-05-19T19:55:44.7605496Z  ---> Using cache
2021-05-19T19:55:44.7605949Z  ---> 776f289da9c9
2021-05-19T19:55:44.7606398Z Step 5/12 : LABEL maintainer="Netlify"
2021-05-19T19:55:44.7606849Z  ---> Using cache
2021-05-19T19:55:44.7607228Z  ---> 7cef703fbe17
2021-05-19T19:55:44.7607766Z Step 6/12 : LABEL "com.github.actions.name"="Netlify"
2021-05-19T19:55:44.7689237Z  ---> Using cache
2021-05-19T19:55:44.7689678Z  ---> ad91d82c90e9
2021-05-19T19:55:44.7690491Z Step 7/12 : LABEL "com.github.actions.description"="Wraps the Netlify CLI to enable common Netlify commands"
2021-05-19T19:55:44.7692035Z  ---> Using cache
2021-05-19T19:55:44.7692658Z  ---> f2895ee7f9a5
2021-05-19T19:55:44.7693436Z Step 8/12 : LABEL "com.github.actions.icon"="cloud"
2021-05-19T19:55:44.7694101Z  ---> Using cache
2021-05-19T19:55:44.7694915Z  ---> 67df9eafc929
2021-05-19T19:55:44.7695612Z Step 9/12 : LABEL "com.github.actions.color"="blue"
2021-05-19T19:55:44.7696241Z  ---> Using cache
2021-05-19T19:55:44.7696614Z  ---> 21ec3ade288b
2021-05-19T19:55:44.7703060Z Step 10/12 : RUN yarn global add netlify-cli
2021-05-19T19:55:44.7795667Z  ---> Running in 0fba98dee629
2021-05-19T19:55:45.1821833Z yarn global v1.22.5
2021-05-19T19:55:45.2202961Z [1/4] Resolving packages...
2021-05-19T19:55:48.5310971Z �[91mwarning netlify-cli > @netlify/plugin-edge-handlers > rollup-plugin-node-polyfills > rollup-plugin-inject@3.0.2: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-inject.
2021-05-19T19:55:50.9719262Z �[0m�[91mwarning netlify-cli > copy-template-dir > readdirp > micromatch > snapdragon > source-map-resolve > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
2021-05-19T19:55:50.9744434Z �[0m�[91mwarning netlify-cli > copy-template-dir > readdirp > micromatch > snapdragon > source-map-resolve > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
2021-05-19T19:55:51.5471755Z �[0m[2/4] Fetching packages...
2021-05-19T19:56:05.6561939Z info @netlify/traffic-mesh-agent-win32-x64@0.27.10: The platform "linux" is incompatible with this module.
2021-05-19T19:56:05.6564057Z info "@netlify/traffic-mesh-agent-win32-x64@0.27.10" is an optional dependency and failed compatibility check. Excluding it from installation.
2021-05-19T19:56:05.6570066Z info @netlify/traffic-mesh-agent-darwin-x64@0.27.10: The platform "linux" is incompatible with this module.
2021-05-19T19:56:05.6571646Z info "@netlify/traffic-mesh-agent-darwin-x64@0.27.10" is an optional dependency and failed compatibility check. Excluding it from installation.
2021-05-19T19:56:05.6573510Z �[91merror @netlify/eslint-config-node@2.6.11: The engine "node" is incompatible with this module. Expected version ">=15.0.0". Got "12.22.1"
2021-05-19T19:56:05.6665006Z �[0minfo Visit https://yarnpkg.com/en/docs/cli/global for documentation about this command.
2021-05-19T19:56:05.6666103Z �[91merror Found incompatible module.
2021-05-19T19:56:08.4231352Z The command '/bin/sh -c yarn global add netlify-cli' returned a non-zero code: 1
2021-05-19T19:56:08.4232238Z �[0m
2021-05-19T19:56:08.4239407Z ##[warning]Docker build failed with exit code 1, back off 4.562 seconds before retry.
2021-05-19T19:56:12.9855834Z ##[command]/usr/bin/docker build -t 8a33c1:4f9f53036b284dd1a4b683fff6a09816 -f "/home/runner/work/_actions/netlify/actions/master/cli/Dockerfile" "/home/runner/work/_actions/netlify/actions/master/cli"
2021-05-19T19:56:13.0246217Z Sending build context to Docker daemon   5.12kB
2021-05-19T19:56:13.0246761Z 
2021-05-19T19:56:13.0767720Z Step 1/12 : FROM node:12-alpine
2021-05-19T19:56:13.0771365Z  ---> deeae3752431
2021-05-19T19:56:13.0772314Z Step 2/12 : LABEL version="1.0.1"
2021-05-19T19:56:13.0776357Z  ---> Using cache
2021-05-19T19:56:13.0777145Z  ---> 63a33bae5b12
2021-05-19T19:56:13.0778451Z Step 3/12 : LABEL repository="http://github.com/netlify/actions"
2021-05-19T19:56:13.0782176Z  ---> Using cache
2021-05-19T19:56:13.0783009Z  ---> 51fee56787bd
2021-05-19T19:56:13.0784449Z Step 4/12 : LABEL homepage="http://github.com/netlify/actions/netlify"
2021-05-19T19:56:13.0790020Z  ---> Using cache
2021-05-19T19:56:13.0790835Z  ---> 776f289da9c9
2021-05-19T19:56:13.0791501Z Step 5/12 : LABEL maintainer="Netlify"
2021-05-19T19:56:13.0794034Z  ---> Using cache
2021-05-19T19:56:13.0794822Z  ---> 7cef703fbe17
2021-05-19T19:56:13.0795628Z Step 6/12 : LABEL "com.github.actions.name"="Netlify"
2021-05-19T19:56:13.0799593Z  ---> Using cache
2021-05-19T19:56:13.0800451Z  ---> ad91d82c90e9
2021-05-19T19:56:13.0802076Z Step 7/12 : LABEL "com.github.actions.description"="Wraps the Netlify CLI to enable common Netlify commands"
2021-05-19T19:56:13.0845107Z  ---> Using cache
2021-05-19T19:56:13.0845711Z  ---> f2895ee7f9a5
2021-05-19T19:56:13.0846285Z Step 8/12 : LABEL "com.github.actions.icon"="cloud"
2021-05-19T19:56:13.0846894Z  ---> Using cache
2021-05-19T19:56:13.0847359Z  ---> 67df9eafc929
2021-05-19T19:56:13.0847974Z Step 9/12 : LABEL "com.github.actions.color"="blue"
2021-05-19T19:56:13.0848548Z  ---> Using cache
2021-05-19T19:56:13.0848988Z  ---> 21ec3ade288b
2021-05-19T19:56:13.0849509Z Step 10/12 : RUN yarn global add netlify-cli
2021-05-19T19:56:13.0990920Z  ---> Running in 7e7bd0c8a5c3
2021-05-19T19:56:13.4777739Z yarn global v1.22.5
2021-05-19T19:56:13.5160276Z [1/4] Resolving packages...
2021-05-19T19:56:16.5518983Z �[91mwarning netlify-cli > @netlify/plugin-edge-handlers > rollup-plugin-node-polyfills > rollup-plugin-inject@3.0.2: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-inject.
2021-05-19T19:56:19.3337534Z �[0m�[91mwarning netlify-cli > copy-template-dir > readdirp > micromatch > snapdragon > source-map-resolve > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
2021-05-19T19:56:19.3707209Z �[0m�[91mwarning netlify-cli > copy-template-dir > readdirp > micromatch > snapdragon > source-map-resolve > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
2021-05-19T19:56:19.8924079Z �[0m[2/4] Fetching packages...
2021-05-19T19:56:34.0466917Z info @netlify/traffic-mesh-agent-win32-x64@0.27.10: The platform "linux" is incompatible with this module.
2021-05-19T19:56:34.0468333Z info "@netlify/traffic-mesh-agent-win32-x64@0.27.10" is an optional dependency and failed compatibility check. Excluding it from installation.
2021-05-19T19:56:34.0469722Z �[91merror @netlify/eslint-config-node@2.6.11: The engine "node" is incompatible with this module. Expected version ">=15.0.0". Got "12.22.1"
2021-05-19T19:56:34.0548209Z �[0minfo Visit https://yarnpkg.com/en/docs/cli/global for documentation about this command.
2021-05-19T19:56:34.0549068Z �[91merror Found incompatible module.
2021-05-19T19:56:36.5829342Z The command '/bin/sh -c yarn global add netlify-cli' returned a non-zero code: 1
2021-05-19T19:56:36.5830215Z �[0m
2021-05-19T19:56:36.5834138Z ##[endgroup]
2021-05-19T19:56:36.5928595Z ##[error]Docker build failed with exit code 1
2021-05-19T19:56:36.6200341Z Cleaning up orphan processes

This seems to be resolved now.