RBoyd9
August 18, 2024, 10:04pm
1
Today I noticed that the HubSpot CMS deployment action is failing. There has been no update to our code over the weekend so I assume the action using hubspot CLI/@latest has caused this.
Can this please be urgently investigated? We have many projects that now rely on this as the primary deployment tool.
My Github actions log is below
RBoyd9
August 18, 2024, 10:07pm
2
Run HubSpot/hubspot-cms-deploy-action@v1.7
7
7
Run actions/setup-node@v1
11/opt/hostedtoolcache/node/20.16.0/x64/bin/node --version
12v20.16.0
13/opt/hostedtoolcache/node/20.16.0/x64/bin/npm --version
1410.8.1
15
Run npx --yes --package=@hubspot /cli@latest --call=‘hs upload [[FROM_DESTINATION_DIR]] [[TO_DESTINATION_DIR]] --use-env’
21
21npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
22npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
23/usr/bin/env: ‘node --no-deprecation’: No such file or directory
/usr/bin/env: use -[v]S to pass options in shebang lines
25Error: Process completed with exit code 127.
MGFN
August 19, 2024, 10:13am
3
Hi - I am encountering the same issue with the same exit code: Error: Process completed with exit code 127.
It seems to happen after credentials are confirmed, but before the files are pushed up to HubSpot.
Also have a look at this ticket in github:
opened 07:12AM - 19 Aug 24 UTC
closed 10:49AM - 20 Aug 24 UTC
We encountered an error during the deployment process, where the system returned… the following message:
##[debug]Evaluating condition for step: 'HubSpot Deploy Action'
##[debug]Evaluating: success()
##[debug]Evaluating success:
##[debug]=> true
##[debug]Result: true
##[debug]Starting: HubSpot Deploy Action
##[debug]Loading inputs
##[debug]Evaluating: secrets.HUBSPOT_PORTAL_ID
##[debug]Evaluating Index:
##[debug]..Evaluating secrets:
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'HUBSPOT_PORTAL_ID'
##[debug]=> '***'
##[debug]Result: '***'
##[debug]Evaluating: secrets.HUBSPOT_PERSONAL_ACCESS_KEY
##[debug]Evaluating Index:
##[debug]..Evaluating secrets:
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'HUBSPOT_PERSONAL_ACCESS_KEY'
##[debug]=> '***'
##[debug]Result: '***'
##[debug]Loading env
Run HubSpot/hubspot-cms-deploy-action@v1.7
##[debug]Evaluating condition for step: 'run'
##[debug]Evaluating: success()
##[debug]Evaluating success:
##[debug]=> true
##[debug]Result: true
##[debug]Starting: run
##[debug]Loading inputs
##[debug]Loading env
Run actions/setup-node@v1
##[debug]isExplicit:
##[debug]explicit? false
##[debug]isExplicit: 16.[2](https://github.com/Digital-Woods/digital-woods-theme-v2/actions/runs/10448523239/job/28929438043#step:3:2)0.2
##[debug]explicit? true
##[debug]isExplicit: 18.20.4
##[debug]explicit? true
##[debug]isExplicit: 20.16.0
##[debug]explicit? true
##[debug]evaluating [3](https://github.com/Digital-Woods/digital-woods-theme-v2/actions/runs/10448523239/job/28929438043#step:3:3) versions
##[debug]matched: 20.16.0
##[debug]checking cache: /opt/hostedtoolcache/node/20.16.0/x6[4](https://github.com/Digital-Woods/digital-woods-theme-v2/actions/runs/10448523239/job/28929438043#step:3:4)
##[debug]Found tool in cache node 20.16.0 x64
/opt/hostedtoolcache/node/20.16.0/x64/bin/node --version
v20.16.0
/opt/hostedtoolcache/node/20.16.0/x64/bin/npm --version
10.8.1
##[add-matcher]/home/runner/work/_actions/actions/setup-node/v1/.github/tsc.json
##[debug]Added matchers: 'tsc'. Problem matchers scan action output for known warning or error strings and report these inline.
##[add-matcher]/home/runner/work/_actions/actions/setup-node/v1/.github/eslint-stylish.json
##[debug]Added matchers: 'eslint-stylish'. Problem matchers scan action output for known warning or error strings and report these inline.
##[add-matcher]/home/runner/work/_actions/actions/setup-node/v1/.github/eslint-compact.json
##[debug]Added matchers: 'eslint-compact'. Problem matchers scan action output for known warning or error strings and report these inline.
##[debug]Node Action run completed with exit code 0
##[debug]Finished: run
##[debug]Evaluating: inputs.portal_id
##[debug]Evaluating Index:
##[debug]..Evaluating inputs:
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'portal_id'
##[debug]=> '***'
##[debug]Result: '***'
##[debug]Evaluating: inputs.personal_access_key
##[debug]Evaluating Index:
##[debug]..Evaluating inputs:
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'personal_access_key'
##[debug]=> '***'
##[debug]Result: '***'
##[debug]Evaluating condition for step: 'run'
##[debug]Evaluating: success()
##[debug]Evaluating success:
##[debug]=> true
##[debug]Result: true
##[debug]Starting: run
##[debug]Loading inputs
##[debug]Evaluating: format('npx --yes --package=@hubspot/cli@latest --call=''hs upload {0} {1} --use-env''
##[debug]', inputs.src_dir, inputs.dest_dir)
##[debug]Evaluating format:
##[debug]..Evaluating String:
##[debug]..=> 'npx --yes --package=@hubspot/cli@latest --call=''hs upload {0} {1} --use-env''
##[debug]'
##[debug]..Evaluating Index:
##[debug]....Evaluating inputs:
##[debug]....=> Object
##[debug]....Evaluating String:
##[debug]....=> 'src_dir'
##[debug]..=> '.'
##[debug]..Evaluating Index:
##[debug]....Evaluating inputs:
##[debug]....=> Object
##[debug]....Evaluating String:
##[debug]....=> 'dest_dir'
##[debug]..=> 'dw-theme-v2'
##[debug]=> 'npx --yes --package=@hubspot/cli@latest --call=''hs upload . dw-theme-v2 --use-env''
##[debug]'
##[debug]Result: 'npx --yes --package=@hubspot/cli@latest --call=''hs upload . dw-theme-v2 --use-env''
##[debug]'
##[debug]Loading env
Run npx --yes --package=@hubspot/cli@latest --call='hs upload . dw-theme-v2 --use-env'
##[debug]/usr/bin/bash --noprofile --norc -e -o pipefail /home/runner/work/_temp/0a00461f-864[5](https://github.com/Digital-Woods/digital-woods-theme-v2/actions/runs/10448523239/job/28929438043#step:3:5)-47f0-b722-c90fbc93940f.sh
npm warn deprecated inflight@1.0.[6](https://github.com/Digital-Woods/digital-woods-theme-v2/actions/runs/10448523239/job/28929438043#step:3:6): This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated glob@[7](https://github.com/Digital-Woods/digital-woods-theme-v2/actions/runs/10448523239/job/28929438043#step:3:7).2.3: Glob versions prior to v9 are no longer supported
/usr/bin/env: ‘node --no-deprecation’: No such file or directory
/usr/bin/env: use -[v]S to pass options in shebang lines
Error: Process completed with exit code [12](https://github.com/Digital-Woods/digital-woods-theme-v2/actions/runs/10448523239/job/28929438043#step:3:12)7.
##[debug]Finished: run
##[debug]Finishing: HubSpot Deploy Action
RBoyd9
August 19, 2024, 8:11pm
5
Thanks. I should have logged a ticket there also…
I have just rerun the job in Github and it seems to have succeeded. No word from HubSpot yet, so will leave this open for now