New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Installation failed in git action and bitbucket pipeline] #223
Comments
Same issue here, so instead of Not able to use the workaround in our github-action pipeline. This is a blocker for us till PROD. |
Hello @geyin-o2e and @nagendraks ! Thanks for raising this issue and sorry for this inconvenience in PROD It seems to be related to the heap size available in the github action... |
@scolladon We are running into the same error on gitlab too. Can this be taken into priority since we are unable to deploy anything at the moment. |
Hi @scolladon This is even occuring when installing the plugin locally. `nagendrasingh@Nagendras-MacBook-Pro ~ % echo y | sfdx plugins:install sfdx-git-delta <--- Last few GCs ---> [40700:0x7f880c900000] 96277 ms: Mark-sweep 4038.6 (4130.5) -> 4029.8 (4137.0) MB, 407.0 / 0.0 ms (average mu = 0.152, current mu = 0.094) allocation failure scavenge might not succeed <--- JS stacktrace ---> FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory |
Aouch... What is your context of installation ? Version of node, version of sfdx, version of yarn $ uname -v ; yarn -v ; node -v ; git --version ; sfdx --version ; sfdx plugins |
nagendrasingh@Nagendras-MacBook-Pro ~ % uname -v ; yarn -v ; node -v ; git --version ; sfdx --version ; sfdx plugins Yarn is not installed in local, but I think this gets installed when installing sfdx-git-delta |
Yes, I think sfdx-cli uses its own yarn installation if not found in the context. Two things here:
Could you try to have yarn latest installed, latest node v14 and sfdx-cli on v14 installed and rerun the installation ? |
@scolladon Any how, I installed yarn too: nagendrasingh@Nagendras-MacBook-Pro ~ % uname -v ; yarn -v ; node -v ; git --version ; sfdx --version ; sfdx plugins Still getting the same issue. |
Hi @scolladon This was working till yesterday and suddenly it started throwing heap issues. Is there any other way of installing this? |
Same for us as well. We deployed successfully yesterday at 15:15 CET with the same configuration as we are doing it now. |
That is weird, we have not deployed anything at the plugin level since 24 November 2021. Could you try downgrade the version of sfdx-cli and test the installation ? |
Hi @scolladon, |
@Becheep which version of the plugin are you using ? ( |
@scolladon I'm running on sfdx-git-delta 4.11.0 on last succeeded deployment with the script bellow : Since it doesn't install, i don't have the version of the failure with command sfdx plugins. But i guess it's the same one |
hey same issue, this popped up 5 hours ago and didn't occur anytime before that. what could the underlying issue be? |
I reproduce locally, but not only with sgd, all other plugins I want to install also fails |
there was a new release for salesforce/cli as seen here: |
Yes it could I tried using the $ npm install -g sfdx-cli@stable
$ sfdx plugins:install sfdx-git-delta
=> Fails
$ sfdx plugins:install sfpowerkit
=> Fails
...
$ npm install -g sfdx-cli@7.129.0
$ sfdx plugins:install sfdx-git-delta
=> Fails
$ sfdx plugins:install sfpowerkit
=> Fails
...
$ npm install -g sfdx-cli@latest
$ sfdx plugins:install sfdx-git-delta
=> Fails
$ sfdx plugins:install sfpowerkit
=> Fails Issue may come from the underlying module used to install plugin |
we are having the same issue. it was working on Wednesday and it stopped working on Thur (12/9/21). we are using this in the Bitbucket Pipeline. node --version gives me: v16.13.1 the install command: echo 'y' | sfdx plugins:install -f sfdx-git-delta thank you. Any help will be appreciated, we are blocked from our deployment. |
Same problem is happening here, but you can use the workaround proposed by @geyin-o2e. |
This issue seems to affect all Salesforce CLI plugins, not just SGD. See Issues with installing sfdx-plugins - JavaScript heap out of memory #1319 |
I faced the same issue and I went to one previous version and it worked fine. Try this out. |
It seems to be back $ npm install -g sfdx-cli@latest
$ sfdx plugins:install sfdx-git-delta
=> Success 😄 |
@scolladon Yes this is working now.. pphhheeewwwww.... |
I think we can close this bug as it was a global issue rather than this plugin. |
Hello here ! As we all see, this bug is fixed and business can comeback to usual, I close this issue ! 🎊 I would like to say thanks to you all 🙏 Stay tuned and be sure we will do our best to ship high quality product ! |
Hi Sebastien
Is there any way you can think of that we can make ourselves protected from such incidents?
Thanks, Sheida
From: Sebastien ***@***.***>
Sent: Saturday, December 11, 2021 2:29 AM
To: scolladon/sfdx-git-delta ***@***.***>
Cc: Sheida Saedifaez ***@***.***>; Comment ***@***.***>
Subject: Re: [scolladon/sfdx-git-delta] [Installation failed in git action and bitbucket pipeline] (Issue #223)
Hello here !
As we all see this bug fixed and business can comeback to usual I close this issue ! 🎊
I would like to say thanks to you all 🙏
I was personally amazed by the number of people who get involved and tried to help troubleshooting the issue, search on the web potential root causes, provide feedback on context and test different scenarios.
It feels very good to be part of such a community, thank you all ❤️
Stay tuned and be sure we will do our best to ship high quality product !
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<https://urldefense.com/v3/__https:/github.com/scolladon/sfdx-git-delta/issues/223*issuecomment-991590551__;Iw!!Jrgwm_wKFTPpVg!bjINCsm2VjgLYG77GGb_RCKa9u6sHmRrbd4F2ReV8htIdaLfymi7HmAt-nwitQ$>, or unsubscribe<https://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/ADM6HS7LZXPH67M3WB2R6W3UQMRX5ANCNFSM5JX37PGA__;!!Jrgwm_wKFTPpVg!bjINCsm2VjgLYG77GGb_RCKa9u6sHmRrbd4F2ReV8htIdaLfymi7HmDH_qYDeg$>.
Triage notifications on the go with GitHub Mobile for iOS<https://urldefense.com/v3/__https:/apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675__;!!Jrgwm_wKFTPpVg!bjINCsm2VjgLYG77GGb_RCKa9u6sHmRrbd4F2ReV8htIdaLfymi7HmCq-415wQ$> or Android<https://urldefense.com/v3/__https:/play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign*3Dnotification-email*26utm_medium*3Demail*26utm_source*3Dgithub__;JSUlJSU!!Jrgwm_wKFTPpVg!bjINCsm2VjgLYG77GGb_RCKa9u6sHmRrbd4F2ReV8htIdaLfymi7HmBopl0aKQ$>.
|
Hi @sheidasf, I think you could use a prebuilt docker image with everything in it, this way you will not have to reinstall sfdx-cli and the plugins you use each time you need to use them. |
Issue verification check :
CI/CD running into failed to install SGD around 6pm EST today
echo "y" | sfdx plugins:install sfdx-git-delta
using above command line install sgd in git action after CLI installed.
got below error:
<--- Last few GCs --->
[1747:0x5ba5350] 64679 ms: Scavenge 2025.5 (2081.1) -> 2022.2 (2081.1) MB, 11.1 / 0.0 ms (average mu = 0.403, current mu = 0.391) allocation failure
[1747:0x5ba5350] 64702 ms: Scavenge 2026.8 (2081.1) -> 2024.1 (2081.1) MB, 7.1 / 0.0 ms (average mu = 0.403, current mu = 0.391) allocation failure
[1747:0x5ba5350] 64737 ms: Scavenge 2029.6 (2081.1) -> 2026.6 (2097.1) MB, 18.3 / 0.0 ms (average mu = 0.403, current mu = 0.391) allocation failure
<--- JS stacktrace --->
FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
1: 0xb02ec0 node::Abort() [/usr/local/bin/node]
2: 0xa181fb node::FatalError(char const*, char const*) [/usr/local/bin/node]
3: 0xced88e v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [/usr/local/bin/node]
4: 0xcedc07 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/usr/local/bin/node]
5: 0xea5ea5 [/usr/local/bin/node]
6: 0xeb557d v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/usr/local/bin/node]
7: 0xeb827e v8::internal::Heap::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/usr/local/bin/node]
8: 0xe796aa v8::internal::Factory::NewFillerObject(int, bool, v8::internal::AllocationType, v8::internal::AllocationOrigin) [/usr/local/bin/node]
9: 0x11f2e86 v8::internal::Runtime_AllocateInYoungGeneration(int, unsigned long*, v8::internal::Isolate*) [/usr/local/bin/node]
10: 0x15e7879 [/usr/local/bin/node]
Error: yarn add sfdx-git-delta@latest --non-interactive
--mutex=file:/home/runner/.local/share/sfdx/yarn.lock
--preferred-cache-folder=/home/runner/.cache/sfdx/yarn --check-files
exited with code null
Error: Process completed with exit code 1.
workaround:
npm install sfdx-git-delta@latest -g
still working fun.
The text was updated successfully, but these errors were encountered: