Good morning,
Hoping to get some help here. We have a custom pipeline that builds a parent Maven module, waits for the artifact to be uploaded, and then runs parallel steps to build child Maven modules.
It has been working fine for years, and suddenly stopped working with failures last weekend. I looks like it no longer is waiting for (or is unable to detect) the status of the parent build status:
Currently the output of the failure is:
<span>Status: Downloaded newer image for bitbucketpipelines/trigger-pipeline:4.3.1</span>
<span>WARNING: New version available: atlassian/trigger-pipeline '4.3.1' to '5.5.1'</span>
<span>✔ Build started successfully. Build number: 9832.</span>
<span>Follow build logs at the following URL: <a href="https://bitbucket.org/pointchain/microservices-clients/addon/pipelines/home#!/results/9832" rel="noopener noreferrer" target="_blank">https://bitbucket.org/XXXXXXXXX/microservices-clients/addon/pipelines/home#!/results/9832</a></span>
<span>INFO: Waiting for pipeline to finish</span>
<span>INFO: Attempt number 1: Getting build info.</span>
<span>Traceback (most recent call last):</span>
<span>File "/usr/bin/main.py", line 192, in <module></span>
<span>pipe.run()</span>
<span>File "/usr/bin/main.py", line 172, in run</span>
<span>success, message = self._check_build(build_number, auth)</span>
<span>TypeError: cannot unpack non-iterable NoneType object</span>
Previously, the build output looked like:
<span>Status: Downloaded newer image for bitbucketpipelines/trigger-pipeline:4.3.1</span>
<span>WARNING: New version available: atlassian/trigger-pipeline '4.3.1' to '5.5.1'</span>
<span>✔ Build started successfully. Build number: 9801.</span>
<span>Follow build logs at the following URL: <a href="https://bitbucket.org/pointchain/microservices-clients/addon/pipelines/home#!/results/9801" rel="noopener noreferrer" target="_blank">https://bitbucket.org/pointchain/</a><a href="https://bitbucket.org/pointchain/microservices-clients/addon/pipelines/home#!/results/9832" rel="noopener noreferrer" target="_blank">XXXXXXXXX</a>/addon/pipelines/home#!/results/9801</span>
<span>INFO: Waiting for pipeline to finish</span>
<span>INFO: Attempt number 1: Getting build info.</span>
<span>INFO: Build number 9801 for XXXXXXXXX is PENDING, waiting for pipeline to finish...</span>
<span>INFO: Attempt number 2: Getting build info.</span>
<span>INFO: Build number 9801 for XXXXXXXXX is IN_PROGRESS, waiting for pipeline to finish...</span>
<span>INFO: Build number 9801 for XXXXXXXXX is IN_PROGRESS, waiting for pipeline to finish...</span>
<span>INFO: Attempt number 26: Getting build info.</span>
<span>✔ Build number 9801 for XXXXXXXXX@YYYYYYYYYYY finished successfully.</span>
<span>✔ Pipe finished successfully.</span>