[MODSIDECAR-19] Fix issues with failing builds on Jenkins Created: 19/Jan/24  Updated: 07/Feb/24

Status: Blocked
Project: folio-module-sidecar
Components: None
Affects versions: None
Fix versions: None

Type: Story Priority: P3
Reporter: Dima Tkachenko Assignee: Yauhen Vavilkin
Resolution: Unresolved Votes: 0
Labels: back-end, epam-eureka, eureka-phase4
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified

Attachments: Text File folio-module-sidecar-master-9.log    
Issue links:
Blocks
is blocked by FOLIO-3976 maven 3.8 for folioci/jenkins-slave-all In Code Review
Cloners
clones MGRENTITLE-24 Fix issues with failing builds on Jen... In Progress
Sprint: Eureka Sprint 45
Story Points: 2
Development Team: Eureka
RCA Group: TBD

 Description   

Build is failing on Jenkins. See for example: https://jenkins-aws.indexdata.com/job/folio-org/job/folio-module-sidecar/job/master/9/

[INFO] Downloaded from folio-nexus: https://repository.folio.org/repository/maven-public/javax/xml/bind/jaxb-api/2.3.1/jaxb-api-2.3.1.jar (128 kB at 489 kB/s)
[INFO] You have 0 Checkstyle violations.
[INFO] 
[INFO] --- quarkus-maven-plugin:3.6.4:generate-code-tests (default) @ folio-module-sidecar ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  31.025 s
[INFO] Finished at: 2024-01-17T09:21:01Z
[INFO] ------------------------------------------------------------------------
[INFO] [jenkins-event-spy] Generated /home/jenkins/workspace/_org_folio-module-sidecar_master@tmp/withMaven603bc919/maven-spy-20240117-092030-47118336422423306091395.log
[ERROR] Failed to execute goal io.quarkus.platform:quarkus-maven-plugin:3.6.4:generate-code-tests (default) on project folio-module-sidecar: Execution default of goal io.quarkus.platform:quarkus-maven-plugin:3.6.4:generate-code-tests failed: An API incompatibility was encountered while executing io.quarkus.platform:quarkus-maven-plugin:3.6.4:generate-code-tests: java.lang.NoSuchMethodError: 'boolean org.apache.maven.settings.Mirror.isBlocked()'
[ERROR] -----------------------------------------------------
[ERROR] realm =    extension>io.quarkus.platform:quarkus-maven-plugin:3.6.4
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/home/jenkins/.m2/repository/io/quarkus/platform/quarkus-maven-plugin/3.6.4/quarkus-maven-plugin-3.6.4.jar
[ERROR] urls[1] = file:/home/jenkins/.m2/repository/io/quarkus/quarkus-bootstrap-core/3.6.4/quarkus-bootstrap-core-3.6.4.jar
[ERROR] urls[2] = file:/home/jenkins/.m2/repository/io/quarkus/quarkus-bootstrap-app-model/3.6.4/quarkus-bootstrap-app-model-3.6.4.jar
[ERROR] urls[3] = file:/home/jenkins/.m2/repository/org/jboss/logging/commons-logging-jboss-logging/1.0.0.Final/commons-logging-jboss-logging-1.0.0.Final.jar
[ERROR] urls[4] = file:/home/jenkins/.m2/repository/io/smallrye/common/smallrye-common-io/2.1.2/smallrye-common-io-2.1.2.jar
[ERROR] urls[5] = file:/home/jenkins/.m2/repository/io/quarkus/quarkus-bootstrap-maven-resolver/3.6.4/quarkus-bootstrap-maven-resolver-3.6.4.jar
[ERROR] urls[6] = file:/home/jenkins/.m2/repository/io/smallrye/beanbag/smallrye-beanbag-maven/1.3.2/smallrye-beanbag-maven-1.3.2.jar
[ERROR] urls[7] = file:/home/jenkins/.m2/repository/io/smallrye/beanbag/smallrye-beanbag-sisu/1.3.2/smallrye-beanbag-sisu-1.3.2.jar
[ERROR] urls[8] = file:/home/jenkins/.m2/repository/io/smallrye/beanbag/smallrye-beanbag/1.3.2/smallrye-beanbag-1.3.2.jar
[ERROR] urls[9] = file:/home/jenkins/.m2/repository/io/smallrye/common/smallrye-common-constraint/2.1.2/smallrye-common-constraint-2.1.2.jar
[ERROR] urls[10] = file:/home/jenkins/.m2/repository/commons-codec/commons-codec/1.16.0/commons-codec-1.16.0.jar
[ERROR] urls[11] = file:/home/jenkins/.m2/repository/org/apache/httpcomponents/httpclient/4.5.14/httpclient-4.5.14.jarLooks like the issue with Kong Connection

 

Link to the short discussion regarding the issue in slack:

https://folio-project.slack.com/archives/C58TABALV/p1705480539123579?thread_ts=1705403742.868339&cid=C58TABALV



 Comments   
Comment by Yauhen Vavilkin [ 07/Feb/24 ]

The reason for the issues is that Quarkus 3+ doesn’t support Maven version below 3.8.1. The Jenkins Maven should be updated.
There is the task to update _J_enkins maven https://folio-org.atlassian.net/browse/FOLIO-3976

Generated at Thu Feb 08 22:18:30 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.