-
Bug
-
Resolution: Done
-
Major
-
None
-
2.2.0.GA
-
None
-
None
-
False
-
None
-
False
The prod gates Jenkins pipeline used in the past was decommissioned, so for AMQ Streams 2.2.0 we had to use a bash script (developed by Domenico from AMQ Broker team) for the GC-M2 check [1].
When running this script, it detected missing sources jars for the Kubernetes client 5.12.0 related artifacts.
Sources jar not found: amq-streams-maven-repository/io/fabric8/kubernetes-model-common/5.12.0.redhat-00001/kubernetes-model-common-5.12.0.redhat-00001.jar Sources jar not found: amq-streams-maven-repository/io/fabric8/kubernetes-model-apps/5.12.0.redhat-00001/kubernetes-model-apps-5.12.0.redhat-00001.jar Sources jar not found: amq-streams-maven-repository/io/fabric8/kubernetes-model-batch/5.12.0.redhat-00001/kubernetes-model-batch-5.12.0.redhat-00001.jar Sources jar not found: amq-streams-maven-repository/io/fabric8/kubernetes-model-core/5.12.0.redhat-00001/kubernetes-model-core-5.12.0.redhat-00001.jar Sources jar not found: amq-streams-maven-repository/io/fabric8/kubernetes-model-certificates/5.12.0.redhat-00001/kubernetes-model-certificates-5.12.0.redhat-00001.jar Sources jar not found: amq-streams-maven-repository/io/fabric8/kubernetes-client/5.12.0.redhat-00001/kubernetes-client-5.12.0.redhat-00001.jar Sources jar not found: amq-streams-maven-repository/io/fabric8/kubernetes-model-extensions/5.12.0.redhat-00001/kubernetes-model-extensions-5.12.0.redhat-00001.jar
Going backward to check older versions, those sources were missing in AMQ Streams 2.1.0 and 2.0.0 (also missing Scala sources) as well. We didn't investigate more on releases older than 2.0.0.
Anyway, it was pretty clear that the GC-M2 check in the Jenkins pipeline wasn't implemented as by specification so it wasn't detecting the missing sources.
We should fix this and by investigating different build configs in PNC, it seems that our Kubernetes client 5.12.0 build is missing this configuration on the command line:
-Pstd-redhat-source -Pstd-redhat-javadoc
[1] https://docs.google.com/document/d/1k4d0dV50mhG5fUIbMlh-p_9-h2-WT6LbqeCgdsIuBk8/edit