Symptom
Builds failed with following error, and issue auto fixed in the coming builds.
2023-06-27 02:23:00,484 INFO d.h.c.e.Executor [Thread-38] stdout: [exec] Checking installation in "/opt/workspace/build/commerce-suite/hybris/bin/modules/smartedit/smartedittools/common/temp"
2023-06-27 02:23:00,484 INFO d.h.c.e.Executor [Thread-38] stdout: [exec]
2023-06-27 02:23:02,287 INFO d.h.c.e.Executor [Thread-38] stdout: [exec]
2023-06-27 02:23:02,287 INFO d.h.c.e.Executor [Thread-38] stdout: [exec] Running "pnpm install" in /opt/workspace/build/commerce-suite/hybris/bin/modules/smartedit/smartedittools/common/temp
2023-06-27 02:23:02,287 INFO d.h.c.e.Executor [Thread-38] stdout: [exec]
2023-06-27 02:26:28,363 INFO d.h.c.e.Executor [Thread-38] stdout: [exec]
2023-06-27 02:26:28,363 INFO d.h.c.e.Executor [Thread-38] stdout: [exec] The command failed:
2023-06-27 02:26:28,363 INFO d.h.c.e.Executor [Thread-38] stdout: [exec] /opt/workspace/build/commerce-suite/hybris/bin/modules/smartedit/smartedittools/common/temp/pnpm-local/node_modules/.bin/pnpm install --no-prefer-frozen-lockfile --strict-peer-dependencies
2023-06-27 02:26:28,363 INFO d.h.c.e.Executor [Thread-38] stdout: [exec] ERROR: Error: The command failed with exit code 1
2023-06-27 02:26:28,363 INFO d.h.c.e.Executor [Thread-38] stdout: [exec]
2023-06-27 02:26:28,363 INFO d.h.c.e.Executor [Thread-38] stdout: [exec] Giving up after 1 attempts
2023-06-27 02:26:28,363 INFO d.h.c.e.Executor [Thread-38] stdout: [exec]
2023-06-27 02:26:28,363 INFO d.h.c.e.Executor [Thread-38] stdout: [exec]
2023-06-27 02:26:28,363 INFO d.h.c.e.Executor [Thread-38] stdout: [exec] ERROR: The command failed with exit code 1
2023-06-27 02:26:28,363 INFO d.h.c.e.Executor [Thread-38] stdout: [exec]
2023-06-27 02:26:28,371 INFO d.h.c.e.Executor [Thread-39] stderr:
2023-06-27 02:26:28,371 INFO d.h.c.e.Executor [Thread-39] stderr: BUILD FAILED
2023-06-27 02:26:28,371 INFO d.h.c.e.Executor [Thread-39] stderr: /opt/workspace/build/commerce-suite/hybris/bin/platform/build.xml:13: The following error occurred while executing this line:
2023-06-27 02:26:28,371 INFO d.h.c.e.Executor [Thread-39] stderr: /opt/workspace/build/commerce-suite/hybris/bin/platform/resources/ant/compiling.xml:95: The following error occurred while executing this line:
2023-06-27 02:26:28,372 INFO d.h.c.e.Executor [Thread-39] stderr: /opt/workspace/build/commerce-suite/hybris/bin/platform/resources/ant/compiling.xml:153: The following error occurred while executing this line:
2023-06-27 02:26:28,372 INFO d.h.c.e.Executor [Thread-39] stderr: /opt/workspace/build/commerce-suite/hybris/bin/platform/resources/ant/util.xml:13: The following error occurred while executing this line:
2023-06-27 02:26:28,372 INFO d.h.c.e.Executor [Thread-39] stderr: /opt/workspace/build/commerce-suite/hybris/bin/platform/resources/ant/compiling.xml:160: The following error occurred while executing this line:
2023-06-27 02:26:28,372 INFO d.h.c.e.Executor [Thread-39] stderr: /opt/workspace/build/commerce-suite/hybris/bin/platform/resources/ant/compiling.xml:289: The following error occurred while executing this line:
2023-06-27 02:26:28,372 INFO d.h.c.e.Executor [Thread-39] stderr: /opt/workspace/build/commerce-suite/hybris/bin/platform/resources/ant/util.xml:142: The following error occurred while executing this line:
2023-06-27 02:26:28,372 INFO d.h.c.e.Executor [Thread-39] stderr: /opt/workspace/build/commerce-suite/hybris/bin/modules/smartedit/smartedittools/buildcallbacks.xml:167: The following error occurred while executing this line:
2023-06-27 02:26:28,372 INFO d.h.c.e.Executor [Thread-39] stderr: /opt/workspace/build/commerce-suite/hybris/bin/modules/npm-ancillary/npmancillary/buildcallbacks.xml:481: The following error occurred while executing this line:
2023-06-27 02:26:28,372 INFO d.h.c.e.Executor [Thread-39] stderr: /opt/workspace/build/commerce-suite/hybris/bin/modules/npm-ancillary/npmancillary/buildcallbacks.xml:142: exec returned: 1
2023-06-27 02:26:28,372 INFO d.h.c.e.Executor [Thread-39] stderr:
2023-06-27 02:26:28,372 INFO d.h.c.e.Executor [Thread-39] stderr: Total time: 5 minutes 43 seconds
Exception in thread "main" de.hybris.ccv2.BuilderException: Executing of external command failed with exit code: 1
at de.hybris.ccv2.executor.Executor.executeOperation(Executor.java:86)
at de.hybris.ccv2.executor.Executor.executeWithRetry(Executor.java:113)
at de.hybris.ccv2.executor.Executor.execute(Executor.java:59)
at de.hybris.ccv2.executor.JavaDependentExecutor.execute(JavaDependentExecutor.java:62)
at de.hybris.ccv2.corecommerce.BuilderPlatformAntExecutor.execute(BuilderPlatformAntExecutor.java:103)
at de.hybris.ccv2.corecommerce.task.BuildCoreCommerceTask.process(BuildCoreCommerceTask.java:124)
at de.hybris.ccv2.Builder.runTask(Builder.java:255)
at de.hybris.ccv2.Builder.lambda$runTasks$5(Builder.java:222)
at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655)
at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:658)
at de.hybris.ccv2.Builder.runTasks(Builder.java:217)
at de.hybris.ccv2.Builder.run(Builder.java:99)
at de.hybris.ccv2.Builder.main(Builder.java:55)
Read more...
Environment
SAP Commerce Cloud 2211
Product
SAP Commerce Cloud 2211
Keywords
Smartedit, Executing of external command failed with exit code:1 , KBA , CEC-SCC-CLA-BUI , Build Process , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview