Skip to main content
Announcements
July 15, NEW Customer Portal: Initial launch will improve how you submit Support Cases. READ MORE

Talend Cloud: Issue with Jenkins and R2024-05 Monthly Patch

100% helpful (1/1)
cancel
Showing results for 
Search instead for 
Did you mean: 
rpooya
Support
Support

Talend Cloud: Issue with Jenkins and R2024-05 Monthly Patch

Last Update:

Jun 19, 2024 7:10:27 AM

Updated By:

Sonja_Bauernfeind

Created date:

Jun 19, 2024 7:10:27 AM

If applying the R2024-05v2 or R2024-06 monthly patch on your CICD instance, and using Jenkins, many or all builds may start to fail without warning. The P2 may be commenting that it was not able to locate some of the component jars in the local .m2 repository; with the folder location mentioned being the "${user.HOME}/.m2/repository", instead of the local repository defined in the settings file. Even if using "-s", "-gs", and/or attempting to force the plugin to use a specific local repository, it will always override the location with ${user.HOME}, and fail to run properly.

20:00:11,106 [INFO] Caused by: java.io.IOException: Error resolving artifact org.talend.sdk.component:component-server:jar:1.64.3: [Could not find artifact org.talend.sdk.component:component-server:jar:1.64.3]
20:00:11,106 [INFO] at org.talend.core.nexus.ResolverExceptionHandler.hideCredential(ResolverExceptionHandler.java:30)
20:00:11,106 [INFO] at org.talend.core.nexus.TalendMavenResolver.resolve(TalendMavenResolver.java:99)
20:00:11,106 [INFO] at org.talend.sdk.component.studio.ServerManager.lambda$0(ServerManager.java:119)
20:00:11,106 [INFO] ... 36 more
20:00:11,106 [INFO] Caused by: java.lang.Exception: Error resolving artifact org.talend.sdk.component:component-server:jar:1.64.3
20:00:11,106 [INFO] at org.talend.core.nexus.ResolverExceptionHandler.hideCredential(ResolverExceptionHandler.java:28)
20:00:11,106 [INFO] ... 38 more
20:00:12,881 [INFO]
20:00:12,882 [INFO] !ENTRY org.talend.platform.logging 4 0 2024-06-13 20:00:12.876
20:00:12,882 [INFO] !MESSAGE 2024-06-13 20:00:12,876 ERROR org.talend.commons.exception.CommonExceptionHandler - /home/talend/.m2/repository/org/talend/system-routines/8.0.1/system-routines-8.0.1.pom (No such file or directory)

 

This issue may only appear with those environments that use OpenJDK Zulu 17 at this time; instances that use Oracle JDK 17 or other OpenJDK distros do not appear to be affected at this time.

Resolution

Workaround:

If customers have not upgraded to the R2024-05 monthly patch, we would suggest to continue using the R2024-04 monthly patch and 8.0.15 "builder-maven-plugin". If the upgrade has already happened or in progress, customers should check if they can swap to a different Open JDK instance (such as AdoptOpenJDK), or use Oracle JDK for the time being; until the issue has been fixed.

Fix Version:

Currently, Qlik is on track to remediate the issue with a change to the plugins themselves, with a targeted date (at this time) of the July 2024 Monthly Patch.

Cause

Due to some changes in the newer versions of Jenkins (both LTS and the nightly versions), the plugins that are used with Jenkins remove some variables that are necessary to be passed to Maven and the P2 itself. Additionally, Zulu JDK has a problem with how the variables are being passed from Jenkins to the Java instance itself.

For additional questions or concerns, please reach out to Talend Support on this issue, and reference this internal defect ID, TUP-43304.

Environment

  • CICD using "builder-maven-plugin" version 8.0.16
  • P2 using the R2024-05v2 monthly patch
  • OpenJDK 17 being used
Labels (1)
Version history
Last update:
‎2024-06-19 07:10 AM
Updated by: