Error deploying in Image generating phase | Adobe Higher Education
Skip to main content
Alberto_Corral
Level 2
September 5, 2023

Error deploying in Image generating phase

Hi 

We are trying to deploy a multiproject product but one of our project is failing and we don´t know what could be the cause.

 

The log raise the next

 

[0m[2023/09/04 12:38:07.880] [INFO] com.adobe.granite.fact.ToolMain - class com.adobe.granite.fact.ToolMain version [0.5.118.44542.0001]

java.util.concurrent.TimeoutException
 at java.base/java.util.concurrent.CompletableFuture.timedGet(CompletableFuture.java:1886)
 at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2021)
 at com.adobe.granite.fact.command.buildimage.Result.success(Result.java:57)
 at com.adobe.granite.fact.command.buildimage.BuildImageExecutor.filter(BuildImageExecutor.java:74)
 at com.adobe.granite.fact.command.buildimage.BuildImageExecutor.execute(BuildImageExecutor.java:57)
 at com.adobe.granite.fact.command.buildimage.BuildImageCommand.call(BuildImageCommand.java:141)
 at com.adobe.granite.fact.command.buildimage.BuildImageCommand.call(BuildImageCommand.java:40)
 at picocli.CommandLine.executeUserObject(CommandLine.java:1953)
 at picocli.CommandLine.access$1300(CommandLine.java:145)
 at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2352)
 at picocli.CommandLine$RunLast.handle(CommandLine.java:2346)
 at picocli.CommandLine$RunLast.handle(CommandLine.java:2311)
 at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2179)
 at picocli.CommandLine.execute(CommandLine.java:2078)
 at com.adobe.granite.fact.ToolMain.main(ToolMain.java:88)
[2023/09/04 12:38:22.814] [INFO] com.adobe.granite.fact.command.ClientlibsCommand - Cleaning clientlibs...
[2023/09/04 12:38:27.381] [INFO] com.adobe.granite.fact.command.ClientlibsCommand - Copying over product clientlibs...
[2023/09/04 12:38:27.515] [INFO] com.adobe.granite.fact.command.ClientlibsCommand - Compiling clientlibs...
[2023/09/04 12:38:30.220] [INFO] com.adobe.granite.ui.clientlibs.compiler.less.impl.LessCompilerImpl - Initialized LessCompiler in 2457ms

 

Any idea would be appreciated.

 

Thank you very much.

 

Ce sujet a été fermé aux réponses.

2 commentaires

Level 4
September 5, 2023

Could you please upload a detailed log , and meanwhile could you please trigger the pipeline again

Alberto_Corral
Level 2
September 5, 2023

I have attached the log and the pipeline is running.

nitesh_kumar-1
Adobe Employee
Adobe Employee
September 6, 2023

Hi @alberto_corral ,

 

Looks like clientlibs compilation is failing,

 

[2023/09/04 12:38:37.475] [WARN] com.adobe.granite.clientlibs.compiler.impl.ClientLibCompiler - Referenced source file not found: css/style.css from /opt/aem/build/product/clientlibs/libs/dam/gui/components/s7dam/common/crop/smartcrop/css.txt
[2023/09/04 13:29:00.184] [INFO] launcher - Framework stopped
The command '/bin/sh -c /opt/aem/libs/fact/run-fact.sh && rm -rf /opt/aem/libs/fact' returned a non-zero code: 2
2023/09/04 13:29:00 Container failed during run: build-image. No retries remaining.
failed to run step ID: build-image: exit status 2

 

Run ID: ca4d6uw failed after 52m1s. Error: failed during run, err: exit status 1
 

Can you confirm if you are using minification offered by AEM, or do you have a FE project which compiles it already?

 

This process has a time out of ~50-55 min., after which it fails.

 

My advise to you would be check if you have changed/added new clientlibs.

 

Also, open an Adobe support ticket for detailed investigation. 

 

Regards,

Nitesh

 

 
 
Alberto_Corral
Level 2
September 6, 2023

Thanks Nitesh for your response.

 

Is there any way to simulate in local the proccess tha it´s failing in order to find out what is the problem. The same software deployed in a non Cloud instances works fine. It is only in this deployment where we have the problem.

 

Thanks in advance.

nitesh_kumar-1
Adobe Employee
Adobe Employee
September 6, 2023

Unfortunately no, because the cloud instances are created with application code with each deployment. so it's a completely different architecture.

You could however try to load individual clientlibs on your local to see if it logs any minification-related issues.

 

However, since I have seen this issue with several deployments my recommendation would be to open a support ticket and work with them to make changes accordingly.

 

Hope this helps!

 

Regards,

Nitesh