Team Build bldz failed to obtain build lock
search cancel

Team Build bldz failed to obtain build lock

book

Article ID: 447873

calendar_today

Updated On:

Products

Endevor Team Build

Issue/Introduction

Builds are stuck with the below error:

 
bldz 
error: : failed to obtain build lock, another build is in progress

 

Environment

All supported Endevor release

Team Build

Cause

This issue occurs when multiple bldz commands are issued against the same USS directory simultaneously.

Resolution

To resolve this, when running different types of builds or builds for different changes, configure a unique remote location for each change, or run the builds sequentially.

Below is a sample configuration for scenarios where multiple users need to run bldz at the same time (use syncz_vars.yml to set unique remote location for each user): 

syncz.yml
sync:
  - id: src
    remote: ((.remotedir))/hello_project

syncz_vars.yml
user: userid
remotedir: /u/userid