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]
[91mjava.util.concurrent.TimeoutException[0m[91m
[0m[91m at java.base/java.util.concurrent.CompletableFuture.timedGet(CompletableFuture.java:1886)[0m[91m
[0m[91m at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2021)[0m[91m
[0m[91m at com.adobe.granite.fact.command.buildimage.Result.success(Result.java:57)[0m[91m
[0m[91m at com.adobe.granite.fact.command.buildimage.BuildImageExecutor.filter(BuildImageExecutor.java:74)[0m[91m
[0m[91m at com.adobe.granite.fact.command.buildimage.BuildImageExecutor.execute(BuildImageExecutor.java:57)[0m[91m
[0m[91m at com.adobe.granite.fact.command.buildimage.BuildImageCommand.call(BuildImageCommand.java:141)[0m[91m
[0m[91m at com.adobe.granite.fact.command.buildimage.BuildImageCommand.call(BuildImageCommand.java:40)[0m[91m
[0m[91m at picocli.CommandLine.executeUserObject(CommandLine.java:1953)[0m[91m
[0m[91m at picocli.CommandLine.access$1300(CommandLine.java:145)[0m[91m
[0m[91m at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2352)[0m[91m
[0m[91m at picocli.CommandLine$RunLast.handle(CommandLine.java:2346)[0m[91m
[0m[91m at picocli.CommandLine$RunLast.handle(CommandLine.java:2311)[0m[91m
[0m[91m at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2179)[0m[91m
[0m[91m at picocli.CommandLine.execute(CommandLine.java:2078)[0m[91m
[0m[91m at com.adobe.granite.fact.ToolMain.main(ToolMain.java:88)[0m[91m
[0m[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.
Views
Replies
Total Likes
Could you please upload a detailed log , and meanwhile could you please trigger the pipeline again
I have attached the log and the pipeline is running.
Hi @katmandu25 ,
Looks like clientlibs compilation is failing,
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
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.
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
Thank you again Nitesh.
I have found a miss css.txt in my clientlibs. I added but the problem persits. I have noticed in the log that all the warnings in ClientLibCompiler are referred to internal /product code, so I can not fix anyone.
[2023/09/06 06:29:52.590] [WARN] com.adobe.granite.clientlibs.compiler.impl.ClientLibCompiler - Referenced source file not found: css/lib/codemirror.css from /opt/aem/build/product/clientlibs/libs/clientlibs/granite/codemirror/json-addon/css.txt
[2023/09/06 06:29:52.715] [WARN] com.adobe.granite.clientlibs.compiler.impl.ClientLibCompiler - Referenced source file not found: js/transformers/JsonSchemaTransformer.js from /opt/aem/build/product/clientlibs/libs/cq/workflow/components/set_variable.clientlib/js.txt
[2023/09/06 06:29:52.835] [WARN] com.adobe.granite.clientlibs.compiler.impl.ClientLibCompiler - Referenced source file not found: js/delete.js from /opt/aem/build/product/clientlibs/libs/cq/brightedge/components/configurations/create/clientlibs/js.txt
[2023/09/06 06:29:52.992] [WARN] com.adobe.granite.clientlibs.compiler.impl.ClientLibCompiler - Referenced source file not found: js/validators.js from /opt/aem/build/product/clientlibs/libs/cq/personalization/touch-ui/clientlibs/personalizationwizard/js.txt
[2023/09/06 06:29:53.050] [WARN] com.adobe.granite.clientlibs.compiler.impl.ClientLibCompiler - Referenced source file not found: less/offerpicker.css from /opt/aem/build/product/clientlibs/libs/cq/personalization/touch-ui/clientlibs/targeteditor/css.txt
[2023/09/06 06:29:53.064] [WARN] com.adobe.granite.clientlibs.compiler.impl.ClientLibCompiler - Referenced source file not found: popover.css from /opt/aem/build/product/clientlibs/libs/cq/experience-fragments/components/experiencefragment/clientlibs/xfconsole/css.txt
[2023/09/06 06:29:53.156] [WARN] com.adobe.granite.clientlibs.compiler.impl.ClientLibCompiler - Referenced source file not found: js/translationsearchtab.js from /opt/aem/build/product/clientlibs/libs/cq/gui/components/projects/admin/translation/job/addcontent/clientlibs/js.txt
[2023/09/06 06:29:53.784] [WARN] com.adobe.granite.clientlibs.compiler.impl.ClientLibCompiler - Referenced source file not found: js/createlivecopy.js from /opt/aem/build/product/clientlibs/libs/dam/gui/coral/components/admin/clientlibs/actions/js.txt
[2023/09/06 06:29:53.792] [WARN] com.adobe.granite.clientlibs.compiler.impl.ClientLibCompiler - Referenced source file not found: libs/dam/gui/components/admin/clientlibs/admin/js/admin.js from /opt/aem/build/product/clientlibs/libs/dam/gui/coral/components/admin/adhocassetshare/clientlibs/linksharepreview/js.txt
[2023/09/06 06:29:53.823] [WARN] com.adobe.granite.clientlibs.compiler.impl.ClientLibCompiler - Referenced source file not found: js/viewereditor_aod_legacy.js from /opt/aem/build/product/clientlibs/libs/dam/gui/components/s7dam/viewereditor/clientlibs/s7ve/js.txt
[2023/09/06 06:29:53.871] [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/06 07:20:15.568] [INFO] launcher - Framework stopped
I have opened a case with Adobe from July but is still open and without solution
Can you DM me the ticket ID? you also have an option to escalate it.
Do you know which changes were made which introduced this error? I would start investigating from there if the previous build before that change was successful.
Hi Nitesh.
We have no changes, because it is the first time we deploy on it. We are migrating from classic AEM instance to the cloud instance. In clásic instance our software works fine.I will send you the ID
AS I mentioned we have a multiproject en our repo like this:
pom.xml
--- project1
pom.xml
--- project2
pom.xml
I have eliminated project1 and the pipeline works fine. I continue seeing the warnings about clientlibs, so it leads me to think that this is not the problem.
I have eliminated project2 and included project1 again and the pipeline fails again, so the project1 is to blame. This very strange, because we are deploying this project in our standar Adobe Experience Manager platform (Not Cloud) and it is working fine.
I attach the log when project2 is working.
Views
Replies
Total Likes
Views
Likes
Replies