Two way lock resolving in wait precondition (artifact + buildPromotion)