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

[7.67.x-blue] [JBPM-10242] Allow the possibility of disabling linear search for removeJob and getTimerByName operations #2443

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

Conversation

github-actions[bot]
Copy link

@github-actions github-actions bot commented Oct 2, 2024

Backport: #2441

Note: CI is not automatically triggered on backported PRs, please comment 'ok to test' to launch Jenkins jobs

Fix https://issues.redhat.com/browse/JBPM-10242

…oveJob and getTimerByName operations (#2441)

* Try to cancel timer always, and only search if timer cancellation fails

* Skipping list search completely if !searchIfFailed

* [JBPM-10242] Always skipping linear search

Unless explicilty stated with property org.jbpm.ejb.timer.linear.search

* [JBPM-10242] Disable linear search on condition

Setting org.jbpm.ejb.timer.disable.linear.search and
org.jbpm.ejb.timer.disable.linear.remove to true

* [JBPM-10242] Fixing integration tests

---------

Co-authored-by: krisv <[email protected]>
@gmunozfe
Copy link
Member

gmunozfe commented Oct 3, 2024

jenkins test this

@gmunozfe
Copy link
Member

gmunozfe commented Oct 3, 2024

jenkins do fdb

@gmunozfe gmunozfe self-requested a review October 3, 2024 06:42
@mareknovotny
Copy link
Member

compiler errors

[2024-10-03T07:15:43.284Z] [INFO] jBPM :: KIE Services ............................... FAILURE [  9.896 s]
[2024-10-03T07:15:43.284Z] [INFO] jBPM :: Executor Service ........................... SKIPPED
[2024-10-03T07:15:43.284Z] [INFO] jBPM :: CMMN ....................................... SKIPPED
[2024-10-03T07:15:43.284Z] [INFO] jBPM :: Document Service ........................... SKIPPED
[2024-10-03T07:15:43.284Z] [INFO] jBPM :: Case Management Impl ....................... SKIPPED
[2024-10-03T07:15:43.284Z] [INFO] jBPM :: DB Scripts resources ....................... SKIPPED
[2024-10-03T07:15:43.284Z] [INFO] jBPM :: BPMN2 EMF Extension Model .................. SKIPPED
[2024-10-03T07:15:43.284Z] [INFO] WorkItems .......................................... SKIPPED
[2024-10-03T07:15:43.284Z] [INFO] Template Resources ................................. SKIPPED
[2024-10-03T07:15:43.284Z] [INFO] Core ............................................... SKIPPED
[2024-10-03T07:15:43.284Z] [INFO] WebService ......................................... SKIPPED
[2024-10-03T07:15:43.284Z] [INFO] BPMN2 .............................................. SKIPPED
[2024-10-03T07:15:43.284Z] [INFO] Email .............................................. SKIPPED
[2024-10-03T07:15:43.284Z] [INFO] JMS ................................................ SKIPPED
[2024-10-03T07:15:43.284Z] [INFO] REST ............................................... SKIPPED
[2024-10-03T07:15:43.284Z] [INFO] Archetype .......................................... SKIPPED
[2024-10-03T07:15:43.284Z] [INFO] Archetype .......................................... SKIPPED
[2024-10-03T07:15:43.284Z] [INFO] jBPM :: CDI Services ............................... SKIPPED
[2024-10-03T07:15:43.284Z] [INFO] jBPM :: EJB Services ............................... SKIPPED
[2024-10-03T07:15:43.284Z] [INFO] jBPM :: EJB Services API ........................... SKIPPED
[2024-10-03T07:15:43.284Z] [INFO] jBPM :: EJB Timer .................................. SKIPPED
[2024-10-03T07:15:43.284Z] [INFO] jBPM :: Executor Service EJB add-ons ............... SKIPPED
[2024-10-03T07:15:43.284Z] [INFO] jBPM :: EJB Services Implementation ................ SKIPPED
[2024-10-03T07:15:43.284Z] [INFO] jBPM :: EJB Services Client ........................ SKIPPED
[2024-10-03T07:15:43.284Z] [INFO] jBPM :: Executor Service CDI add-ons ............... SKIPPED
[2024-10-03T07:15:43.284Z] [INFO] jBPM :: Test Coverage .............................. SKIPPED
[2024-10-03T07:15:43.284Z] [INFO] jBPM :: Examples ................................... SKIPPED
[2024-10-03T07:15:43.284Z] [INFO] jBPM :: Container Test ............................. SKIPPED
[2024-10-03T07:15:43.284Z] [INFO] jBPM :: In Container Test .......................... SKIPPED
[2024-10-03T07:15:43.284Z] [INFO] jBPM :: Container Test Integration Dependencies .... SKIPPED
[2024-10-03T07:15:43.284Z] [INFO] jBPM :: Container Test IDEPS Hibernate Core ........ SKIPPED
[2024-10-03T07:15:43.284Z] [INFO] jBPM :: Container Test IDEPS jBPM .................. SKIPPED
[2024-10-03T07:15:43.284Z] [INFO] jBPM :: Container Test IDEPS jBPM EJB Services ..... SKIPPED
[2024-10-03T07:15:43.284Z] [INFO] jBPM :: Container Test IDEPS jBPM Persistence ...... SKIPPED
[2024-10-03T07:15:43.284Z] [INFO] jBPM :: Container Test IDEPS REST .................. SKIPPED
[2024-10-03T07:15:43.284Z] [INFO] jBPM :: Container Test Shrinkwrap WAR Profiles ..... SKIPPED
[2024-10-03T07:15:43.284Z] [INFO] jBPM :: Container Test Suite ....................... SKIPPED
[2024-10-03T07:15:43.284Z] [INFO] jBPM :: jBPM Remote EJB tests and resources ........ SKIPPED
[2024-10-03T07:15:43.284Z] [INFO] jbpm-remote-ejb-test-domain ........................ SKIPPED
[2024-10-03T07:15:43.284Z] [INFO] test-kjar-parent ................................... SKIPPED
[2024-10-03T07:15:43.284Z] [INFO] test-kjar-bpmn-build ............................... SKIPPED
[2024-10-03T07:15:43.284Z] [INFO] test-kjar-evaluation ............................... SKIPPED
[2024-10-03T07:15:43.284Z] [INFO] kjar sources - integration ......................... SKIPPED
[2024-10-03T07:15:43.284Z] [INFO] jBPM :: EJB Services WAR Test Application .......... SKIPPED
[2024-10-03T07:15:43.284Z] [INFO] jBPM :: jBPM Remote EJB Test Suite ................. SKIPPED
[2024-10-03T07:15:43.284Z] [INFO] jBPM :: Event Emitters ............................. SKIPPED
[2024-10-03T07:15:43.284Z] [INFO] jBPM :: Event Emitters :: ElasticSearch ............ SKIPPED
[2024-10-03T07:15:43.284Z] [INFO] jBPM :: Event Emitters :: Kafka .................... SKIPPED
[2024-10-03T07:15:43.284Z] [INFO] jBPM :: XES Exporter ............................... SKIPPED
[2024-10-03T07:15:43.284Z] [INFO] jBPM :: Distribution ............................... SKIPPED
[2024-10-03T07:15:43.284Z] [INFO] jBPM :: Installer .................................. SKIPPED
[2024-10-03T07:15:43.284Z] [INFO] ------------------------------------------------------------------------
[2024-10-03T07:15:43.284Z] [INFO] BUILD FAILURE
[2024-10-03T07:15:43.284Z] [INFO] ------------------------------------------------------------------------
[2024-10-03T07:15:43.284Z] [INFO] Total time:  26:28 min
[2024-10-03T07:15:43.284Z] [INFO] Finished at: 2024-10-03T03:15:42-04:00
[2024-10-03T07:15:43.284Z] [INFO] ------------------------------------------------------------------------
[2024-10-03T07:15:43.284Z] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:testCompile (default-testCompile) on project jbpm-kie-services: Compilation failure: Compilation failure: 
[2024-10-03T07:15:43.284Z] [ERROR] /home/jenkins/workspace/KIE/7.67.x-blue/pullrequest/jbpm-7.67.x-blue.pr/bc/kiegroup_jbpm/jbpm-services/jbpm-kie-services/src/test/java/org/jbpm/kie/services/impl/audit/ServicesAwareAuditEventBuilderTest.java:[65,31] variable TEST_DATE is already defined in class org.jbpm.kie.services.impl.audit.ServicesAwareAuditEventBuilderTest
[2024-10-03T07:15:43.284Z] [ERROR] /home/jenkins/workspace/KIE/7.67.x-blue/pullrequest/jbpm-7.67.x-blue.pr/bc/kiegroup_jbpm/jbpm-services/jbpm-kie-services/src/test/java/org/jbpm/kie/services/impl/audit/ServicesAwareAuditEventBuilderTest.java:[67,33] variable TEST_DEPLOYMENT_UNIT is already defined in class org.jbpm.kie.services.impl.audit.ServicesAwareAuditEventBuilderTest
[2024-10-03T07:15:43.284Z] [ERROR] /home/jenkins/workspace/KIE/7.67.x-blue/pullrequest/jbpm-7.67.x-blue.pr/bc/kiegroup_jbpm/jbpm-services/jbpm-kie-services/src/test/java/org/jbpm/kie/services/impl/audit/ServicesAwareAuditEventBuilderTest.java:[154,17] method testBuildProcessDataChangedEventImpl() is already defined in class org.jbpm.kie.services.impl.audit.ServicesAwareAuditEventBuilderTest
[2024-10-03T07:15:43.284Z] [ERROR] -> [Help 1]
[2024-10-03T07:15:43.284Z] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:testCompile (default-testCompile) on project jbpm-kie-services: Compilation failure
[2024-10-03T07:15:43.284Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
[2024-10-03T07:15:43.284Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
[2024-10-03T07:15:43.284Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
[2024-10-03T07:15:43.284Z]     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
[2024-10-03T07:15:43.284Z]     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
[2024-10-03T07:15:43.284Z]     at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
[2024-10-03T07:15:43.284Z]     at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
[2024-10-03T07:15:43.284Z]     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
[2024-10-03T07:15:43.284Z]     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
[2024-10-03T07:15:43.284Z]     at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
[2024-10-03T07:15:43.285Z]     at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
[2024-10-03T07:15:43.285Z]     at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
[2024-10-03T07:15:43.285Z]     at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
[2024-10-03T07:15:43.285Z]     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
[2024-10-03T07:15:43.285Z]     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
[2024-10-03T07:15:43.285Z]     at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
[2024-10-03T07:15:43.285Z]     at java.lang.reflect.Method.invoke (Method.java:566)
[2024-10-03T07:15:43.285Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
[2024-10-03T07:15:43.285Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
[2024-10-03T07:15:43.285Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
[2024-10-03T07:15:43.285Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
[2024-10-03T07:15:43.285Z] Caused by: org.apache.maven.plugin.compiler.CompilationFailureException: Compilation failure
[2024-10-03T07:15:43.285Z]     at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute (AbstractCompilerMojo.java:1220)
[2024-10-03T07:15:43.285Z]     at org.apache.maven.plugin.compiler.TestCompilerMojo.execute (TestCompilerMojo.java:180)
[2024-10-03T07:15:43.285Z]     at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
[2024-10-03T07:15:43.285Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
[2024-10-03T07:15:43.285Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
[2024-10-03T07:15:43.285Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
[2024-10-03T07:15:43.285Z]     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
[2024-10-03T07:15:43.285Z]     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
[2024-10-03T07:15:43.285Z]     at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
[2024-10-03T07:15:43.285Z]     at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
[2024-10-03T07:15:43.285Z]     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
[2024-10-03T07:15:43.285Z]     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
[2024-10-03T07:15:43.285Z]     at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
[2024-10-03T07:15:43.285Z]     at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
[2024-10-03T07:15:43.285Z]     at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
[2024-10-03T07:15:43.285Z]     at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
[2024-10-03T07:15:43.285Z]     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
[2024-10-03T07:15:43.285Z]     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
[2024-10-03T07:15:43.285Z]     at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
[2024-10-03T07:15:43.285Z]     at java.lang.reflect.Method.invoke (Method.java:566)
[2024-10-03T07:15:43.285Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
[2024-10-03T07:15:43.285Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
[2024-10-03T07:15:43.285Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
[2024-10-03T07:15:43.285Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)

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

Successfully merging this pull request may close these issues.

3 participants