Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1056195

Summary: KIE-CI attempts to download a KieModule, which is being built, from a Maven repo
Product: [Retired] JBoss BRMS Platform 6 Reporter: Marek Winkler <mwinkler>
Component: BREAssignee: Mario Fusco <mfusco>
Status: CLOSED CURRENTRELEASE QA Contact: Marek Winkler <mwinkler>
Severity: high Docs Contact:
Priority: high    
Version: 6.0.0CC: etirelli
Target Milestone: ER1Keywords: Regression
Target Release: 6.0.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-06 19:58:55 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Maven project with reproducer none

Description Marek Winkler 2014-01-21 16:39:56 UTC
Created attachment 853360 [details]
Maven project with reproducer

Description of problem:

KIE-CI attempts to download a KieModule from a Maven repo while this KieModule is being built using KieBuilder.buildAll(). This results in long delays (several seconds) when building a KieModule when KIE-CI is on the classpath.

Please see the attached maven project with reproducer for details.

Although this behaviour seems to be present in ER7 as well, change of wagon provider to http-wagon has probably increased the delay.

Version-Release number of selected component (if applicable):

BRMS 6.0.0.CR1

Steps to Reproduce:

Unzip attached maven project and run mvn clean install. Comment kie-ci dependency in pom.xml for comparison.

Actual results:

Building 10 KieModules (and executing a trivial rule) takes about 60 seconds.

In ER7, the same test takes about 38 seconds.

Expected results:

Building 10 KieModules (and executing a trivial rule) takes similar time to the situation when kie-ci dependency is removed from the reproducer project - roughly 1.5 seconds.

Comment 1 Mario Fusco 2014-01-21 18:50:42 UTC
Fixed by https://github.com/droolsjbpm/drools/commit/ff4f9415a

Comment 2 Marek Winkler 2014-02-21 17:11:43 UTC
Verified on BRMS 6.0.1 ER1.