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

Bug 1148865

Summary: Cloning a repository via REST API doesn't finish on BPM cluster
Product: [Retired] JBoss BPMS Platform 6 Reporter: Radovan Synek <rsynek>
Component: Business CentralAssignee: Marco Rietveld <mrietvel>
Status: CLOSED EOL QA Contact: Radovan Synek <rsynek>
Severity: high Docs Contact:
Priority: high    
Version: 6.1.0CC: kverlaen, porcelli
Target Milestone: ER2Keywords: TestBlocker
Target Release: 6.1.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-27 20:06:13 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 based reproducer none

Description Radovan Synek 2014-10-02 14:45:34 UTC
Having a BPM cluster with two EAP nodes, cloning a repository via REST API does not finish. The corresponding job remains in "ACCEPTED" state, meanwhile client fails with timeout - please see the attached reproducer.

Server logs contain no error message.

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

Steps to Reproduce:
1. setup clean BPM cluster with two nodes
2. run attached reproducer - mvn test

Comment 1 Radovan Synek 2014-10-02 14:46:47 UTC
Created attachment 943406 [details]
maven based reproducer

Comment 2 Maciej Swiderski 2014-10-28 18:49:15 UTC
Radek,

after some "ping pong" for assignee of this task I tried to reproduce it and it looks like the cause of it is the size of repository you try to clone. It will eventually clone it and the job status will be SUCCESS but it does take some time.

when you try to clone smaller one e.g. https://github.com/guvnorngtestuser1/guvnorng-playground.git then it does finish much faster.

Though while doing these tests I ran into issues with social events causing lots of synchronizations between cluster members this assigned to Eder/Alex.

Comment 4 Radovan Synek 2014-10-30 18:07:04 UTC
Additional attempt ended up in "ACCEPTED" state while cloning the repository. Likely the issue does not occur any time.

Comment 5 Maciej Swiderski 2014-10-31 10:30:35 UTC
Radek, that's very valuable information that opened my eyes, since we use jbpm executor for async jobs it's distributed across all cluster members and that's why sometimes you get the proper status and sometimes not as the job statues is kept in memory only. I'll work on this to provide reliable approach.

@Alex, I take this one and will create new one for the social issues in cluster.

Comment 7 Radovan Synek 2014-12-03 18:00:55 UTC
Verified with BPMS-6.1.0.ER2