History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-4070
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Robin Shen
Reporter: Nitin Turkar
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
QuickBuild

Git clone takes longer in QB

Created: 25/Jan/24 06:46 AM   Updated: 02/Dec/24 01:26 PM
Component/s: None
Affects Version/s: 12.0.12
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
Hi Robin,

We have configured GitHub repository under Repositories section. When we trigger the build, it starts the clone process on worker node and takes around 7 minutes to complete the clone. But when the same clone command is directly tried on same worker node, it takes less than 2 minutes.

Could you please advise what can be the issue? Please let me know if you want additional information.

Thanks & Regards,
Nitin

 All   Comments   Work Log   Change History      Sort Order:
Nitin Turkar [25/Jan/24 06:49 AM]
Hi Robin, Apologies, by mistake i selected the wrong version. The correct version is 12.0.12. Thanks

Robin Shen [26/Jan/24 12:23 AM]
QB runs several git commands during build, including repository clone (in bare mode), branch/tag fetching, log command, code checkout, etc. To find out which stage takes most of the time, please edit "conf/log4j2.xml" to add below log statement on the node running master step of your build:

<Logger name="com.pmease.quickbuild.execution" level="DEBUG" />

Also edit general setting of the configuration to use DEBUG log level, then run the build again, and check both the agent log of the node running master step, and the build log for various git command being executed.