Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DBACLD-164346] Bump smack jar version from 3.1.0 to 4.0.2 #2542

Open
wants to merge 2 commits into
base: 7.67.x-blue
Choose a base branch
from

Conversation

abhijithumbe
Copy link

@abhijithumbe abhijithumbe commented Jan 24, 2025

@akumar074
Copy link
Member

Jenkins run fdb

@akumar074
Copy link
Member

Jenkins retest this

@yesamer yesamer requested review from baldimir and yesamer January 28, 2025 07:00
@yesamer
Copy link
Member

yesamer commented Jan 28, 2025

Jenkins run fdb

@yesamer
Copy link
Member

yesamer commented Jan 29, 2025

Failure reason: (in jbpm repo)

[2025-01-28T18:13:46.001Z] [INFO] jBPM :: Distribution ............................... FAILURE [  2.737 s]
[2025-01-28T18:13:46.001Z] [INFO] jBPM :: Installer .................................. SKIPPED
[2025-01-28T18:13:46.001Z] [INFO] ------------------------------------------------------------------------
[2025-01-28T18:13:46.001Z] [INFO] BUILD FAILURE
[2025-01-28T18:13:46.001Z] [INFO] ------------------------------------------------------------------------
[2025-01-28T18:13:46.001Z] [INFO] Total time:  01:15 h
[2025-01-28T18:13:46.001Z] [INFO] Finished at: 2025-01-28T13:13:45-05:00
[2025-01-28T18:13:46.001Z] [INFO] ------------------------------------------------------------------------
[2025-01-28T18:13:46.256Z] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.0.1:javadoc (javadoc-javadoc) on project jbpm-distribution: Execution javadoc-javadoc of goal org.apache.maven.plugins:maven-javadoc-plugin:3.0.1:javadoc failed: version can neither be null, empty nor blank -> [Help 1]
[2025-01-28T18:13:46.256Z] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.0.1:javadoc (javadoc-javadoc) on project jbpm-distribution: Execution javadoc-javadoc of goal org.apache.maven.plugins:maven-javadoc-plugin:3.0.1:javadoc failed: version can neither be null, empty nor blank
[2025-01-28T18:13:46.256Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
[2025-01-28T18:13:46.256Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
[2025-01-28T18:13:46.256Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
[2025-01-28T18:13:46.256Z]     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
[2025-01-28T18:13:46.256Z]     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
[2025-01-28T18:13:46.256Z]     at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
[2025-01-28T18:13:46.256Z]     at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
[2025-01-28T18:13:46.256Z]     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
[2025-01-28T18:13:46.256Z]     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
[2025-01-28T18:13:46.256Z]     at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
[2025-01-28T18:13:46.256Z]     at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
[2025-01-28T18:13:46.256Z]     at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
[2025-01-28T18:13:46.256Z]     at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
[2025-01-28T18:13:46.256Z]     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
[2025-01-28T18:13:46.256Z]     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
[2025-01-28T18:13:46.256Z]     at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
[2025-01-28T18:13:46.256Z]     at java.lang.reflect.Method.invoke (Method.java:566)
[2025-01-28T18:13:46.256Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
[2025-01-28T18:13:46.256Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
[2025-01-28T18:13:46.256Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
[2025-01-28T18:13:46.256Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
[2025-01-28T18:13:46.256Z] Caused by: org.apache.maven.plugin.PluginExecutionException: Execution javadoc-javadoc of goal org.apache.maven.plugins:maven-javadoc-plugin:3.0.1:javadoc failed: version can neither be null, empty nor blank
[2025-01-28T18:13:46.256Z]     at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:148)
[2025-01-28T18:13:46.256Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
[2025-01-28T18:13:46.256Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
[2025-01-28T18:13:46.256Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
[2025-01-28T18:13:46.256Z]     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
[2025-01-28T18:13:46.256Z]     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
[2025-01-28T18:13:46.256Z]     at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
[2025-01-28T18:13:46.256Z]     at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
[2025-01-28T18:13:46.256Z]     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
[2025-01-28T18:13:46.256Z]     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
[2025-01-28T18:13:46.256Z]     at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
[2025-01-28T18:13:46.256Z]     at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
[2025-01-28T18:13:46.256Z]     at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
[2025-01-28T18:13:46.256Z]     at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
[2025-01-28T18:13:46.256Z]     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
[2025-01-28T18:13:46.256Z]     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
[2025-01-28T18:13:46.256Z]     at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
[2025-01-28T18:13:46.256Z]     at java.lang.reflect.Method.invoke (Method.java:566)
[2025-01-28T18:13:46.256Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
[2025-01-28T18:13:46.256Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
[2025-01-28T18:13:46.256Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
[2025-01-28T18:13:46.256Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
[2025-01-28T18:13:46.256Z] Caused by: java.lang.IllegalArgumentException: version can neither be null, empty nor blank
[2025-01-28T18:13:46.256Z]     at org.apache.commons.lang3.Validate.notBlank (Validate.java:454)
[2025-01-28T18:13:46.256Z]     at org.apache.maven.artifact.ArtifactUtils.notBlank (ArtifactUtils.java:107)
[2025-01-28T18:13:46.256Z]     at org.apache.maven.artifact.ArtifactUtils.key (ArtifactUtils.java:97)
[2025-01-28T18:13:46.256Z]     at org.apache.maven.ReactorReader.findArtifact (ReactorReader.java:101)
[2025-01-28T18:13:46.256Z]     at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve (DefaultArtifactResolver.java:306)
[2025-01-28T18:13:46.256Z]     at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts (DefaultArtifactResolver.java:229)
[2025-01-28T18:13:46.256Z]     at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact (DefaultArtifactResolver.java:207)
[2025-01-28T18:13:46.256Z]     at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom (DefaultArtifactDescriptorReader.java:240)
[2025-01-28T18:13:46.256Z]     at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.readArtifactDescriptor (DefaultArtifactDescriptorReader.java:171)
[2025-01-28T18:13:46.256Z]     at org.eclipse.aether.internal.impl.DefaultRepositorySystem.readArtifactDescriptor (DefaultRepositorySystem.java:255)
[2025-01-28T18:13:46.256Z]     at org.apache.maven.shared.artifact.resolve.internal.Maven31ArtifactResolver.resolveArtifact (Maven31ArtifactResolver.java:103)
[2025-01-28T18:13:46.256Z]     at org.apache.maven.shared.artifact.resolve.internal.Maven31ArtifactResolver.resolveArtifact (Maven31ArtifactResolver.java:80)
[2025-01-28T18:13:46.256Z]     at org.apache.maven.shared.artifact.resolve.internal.DefaultArtifactResolver.resolveArtifact (DefaultArtifactResolver.java:73)
[2025-01-28T18:13:46.256Z]     at org.apache.maven.plugins.javadoc.AbstractJavadocMojo.resolveDependency (AbstractJavadocMojo.java:2705)
[2025-01-28T18:13:46.256Z]     at org.apache.maven.plugins.javadoc.AbstractJavadocMojo.getPathElements (AbstractJavadocMojo.java:2674)
[2025-01-28T18:13:46.256Z]     at org.apache.maven.plugins.javadoc.AbstractJavadocMojo.addJavadocOptions (AbstractJavadocMojo.java:4719)
[2025-01-28T18:13:46.256Z]     at org.apache.maven.plugins.javadoc.AbstractJavadocMojo.executeReport (AbstractJavadocMojo.java:2069)
[2025-01-28T18:13:46.256Z]     at org.apache.maven.plugins.javadoc.JavadocReport.generate (JavadocReport.java:134)
[2025-01-28T18:13:46.256Z]     at org.apache.maven.plugins.javadoc.JavadocReport.doExecute (JavadocReport.java:329)
[2025-01-28T18:13:46.256Z]     at org.apache.maven.plugins.javadoc.AbstractJavadocMojo.execute (AbstractJavadocMojo.java:1912)
[2025-01-28T18:13:46.256Z]     at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
[2025-01-28T18:13:46.256Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
[2025-01-28T18:13:46.256Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
[2025-01-28T18:13:46.256Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
[2025-01-28T18:13:46.256Z]     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
[2025-01-28T18:13:46.256Z]     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
[2025-01-28T18:13:46.256Z]     at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
[2025-01-28T18:13:46.256Z]     at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
[2025-01-28T18:13:46.256Z]     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
[2025-01-28T18:13:46.256Z]     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
[2025-01-28T18:13:46.256Z]     at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
[2025-01-28T18:13:46.256Z]     at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
[2025-01-28T18:13:46.256Z]     at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
[2025-01-28T18:13:46.256Z]     at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
[2025-01-28T18:13:46.256Z]     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
[2025-01-28T18:13:46.256Z]     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
[2025-01-28T18:13:46.256Z]     at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
[2025-01-28T18:13:46.256Z]     at java.lang.reflect.Method.invoke (Method.java:566)
[2025-01-28T18:13:46.256Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
[2025-01-28T18:13:46.257Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
[2025-01-28T18:13:46.257Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
[2025-01-28T18:13:46.257Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
[2025-01-28T18:13:46.257Z] [ERROR] 
[2025-01-28T18:13:46.257Z] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
[2025-01-28T18:13:46.257Z] [ERROR] 
[2025-01-28T18:13:46.257Z] [ERROR] For more information about the errors and possible solutions, please read the following articles:
[2025-01-28T18:13:46.257Z] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
[2025-01-28T18:13:46.257Z] [ERROR] 
[2025-01-28T18:13:46.257Z] [ERROR] After correcting the problems, you can resume the build with the command
[2025-01-28T18:13:46.257Z] [ERROR]   mvn <args> -rf :jbpm-distribution
[2025-01-28T18:13:46.257Z] [INFO] kiegroup/jbpm failed. Won't execute remaining commands and projects
[2025-01-28T18:13:46.257Z] [INFO] Execution summary for kiegroup/jbpm

@yesamer
Copy link
Member

yesamer commented Jan 29, 2025

Jenkins run fdb

@baldimir
Copy link
Member

jenkins run cdb

@yesamer
Copy link
Member

yesamer commented Jan 29, 2025

@abhijithumbe It failed again for the same reason. Maybe the maven command is executed with a parameter that leads to the failure

mvn dependency:tree -Dmaven.wagon.httpconnectionManager.ttlSeconds=25 -Dmaven.wagon.http.retryHandler.count=3 -e -nsu clean install -Dfull -Pbusiness-central,wildfly,sourcemaps,no-showcase -Dcontainer=wildfly -Dcontainer.profile=wildfly -Dintegration-tests=true -Dcargo.ignore.failures=true -Dmaven.test.failure.ignore=true -Dmaven.test.redirectTestOutputToFile=true -Dgwt.compiler.localWorkers=1 -Dwebdriver.firefox.bin=/opt/tools/firefox-91esr/firefox-bin -Dgwt.skipCompilation=true -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B -s /home/jenkins/workspace/KIE/7.67.x-blue/fdb/droolsjbpm-build-bootstrap-7.67.x-blue.fdb@tmp/config9041769461443213129tmp -Dmaven.wagon.http.ssl.insecure=true :

I would try to run it locally using one of those in your local (eg the profile one --> -Pbusiness-central,wildfly,sourcemaps,no-showcase)

@abhijithumbe
Copy link
Author

abhijithumbe commented Jan 30, 2025

@yesamer Tried to build using command mvn clean install -Dfull -Pbusiness-central,wildfly,sourcemaps,no-showcase but for me build is working fine

abhijithumbe@Abhijits-MacBook-Pro jbpm-distribution % mvn clean install -Dfull -Pbusiness-central,wildfly,sourcemaps,no-showcase . . . . [INFO] Installing /Users/abhijithumbe/SourceCode/jbpm/jbpm-distribution/pom.xml to /Users/abhijithumbe/.m2/repository/org/jbpm/jbpm-distribution/7.67.2-SNAPSHOT/jbpm-distribution-7.67.2-SNAPSHOT.pom [INFO] Installing /Users/abhijithumbe/SourceCode/jbpm/jbpm-distribution/target/jbpm-7.67.2-SNAPSHOT-bin.zip to /Users/abhijithumbe/.m2/repository/org/jbpm/jbpm-distribution/7.67.2-SNAPSHOT/jbpm-distribution-7.67.2-SNAPSHOT-bin.zip [INFO] Installing /Users/abhijithumbe/SourceCode/jbpm/jbpm-distribution/target/jbpm-7.67.2-SNAPSHOT-src.zip to /Users/abhijithumbe/.m2/repository/org/jbpm/jbpm-distribution/7.67.2-SNAPSHOT/jbpm-distribution-7.67.2-SNAPSHOT-src.zip [INFO] Installing /Users/abhijithumbe/SourceCode/jbpm/jbpm-distribution/target/jbpm-7.67.2-SNAPSHOT-bin-src-docs-examples.zip to /Users/abhijithumbe/.m2/repository/org/jbpm/jbpm-distribution/7.67.2-SNAPSHOT/jbpm-distribution-7.67.2-SNAPSHOT-bin-src-docs-examples.zip [INFO] Installing /Users/abhijithumbe/SourceCode/jbpm/jbpm-distribution/target/jbpm-7.67.2-SNAPSHOT-examples.zip to /Users/abhijithumbe/.m2/repository/org/jbpm/jbpm-distribution/7.67.2-SNAPSHOT/jbpm-distribution-7.67.2-SNAPSHOT-examples.zip [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 59.711 s [INFO] Finished at: 2025-01-30T11:59:25+05:30 [INFO] ------------------------------------------------------------------------ [WARNING] The requested profile "business-central" could not be activated because it does not exist. [WARNING] The requested profile "wildfly" could not be activated because it does not exist. [WARNING] The requested profile "sourcemaps" could not be activated because it does not exist. [WARNING] The requested profile "no-showcase" could not be activated because it does not exist. abhijithumbe@Abhijits-MacBook-Pro jbpm-distribution %

Looking at the warn it seems these profiles are not available in parent/project pom. I followed the below build sequence:

  1. Build droolsjbpm-build-bootstrap (mvn clean install)
  2. Build jbpm/jbpm-distribution using command mvn clean install -Dfull -Pbusiness-central,wildfly,sourcemaps,no-showcase
  3. Build jbpm-work-items/jabber-workitem using command mvn clean install

Envionment:
JDK: Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.23+7-LTS-222, mixed mode)
mvn: Apache Maven 3.9.9
MacOs/ RHEL 8

@yesamer
Copy link
Member

yesamer commented Jan 30, 2025

Thank you for your investigation @abhijithumbe.
At this moment, I don't have any other suggestion but indeed we can't merge it as the CI fails.
//cc @baldimir

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants