Have been building without issue, and then this morning they spontaneously began to fail continuously fail with:
Fatal error: Uncaught Error: Cannot call constructor in /opt/atlassian/pipelines/agent/build/vendor/symfony/finder/Comparator/DateComparator.php:48
Hello @Jeff Greenberg
Did you find the solution? I just found your question on Google.
I have the same issue with Magento instances on Jenkins. Different projects are failing randomly from time to time.
The strange thing, I was able to reproduce the issue a couple of times on my local, but XDebug did not stop on this line no matter I had a breakpoint there.
Thank you in advance if you have any information on this issue.
Hi Jeff,
The issue could be related to changes in your source code, dependencies, or the Docker image you use for your builds.
I would suggest debugging this locally with Docker first to figure out if that's the case. If the build fails with the same error locally, then the issue is most likely not related to Pipelines, and you can debug this locally without consuming Pipelines minutes.
You can find step-by-step instructions on how to debug this locally in my reply to another question here:
It's important to use a clone of the repo at the commit with the failed build, and also use the same Docker image that you use as a build container for the failed step.
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi. The non-pipeline possibilities as the issue might make sense if failure were consistent rather than my experience of 5 succeed, 1 fails, 2 succeed, 4 fail, etc.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jeff,
You can create a ticket with the support team and provide the URL of some of the builds that fail and some of the ones that succeed, so we can look further into this issue. If there is a support ticket open, the engineer working on your case will be able to access the builds and additional logs in order to investigate.
You may still be asked to debug one of the failed builds locally, as that's usually the first step in determining if the issue is likely to be caused by pipelines or not.
You can create a ticket via https://support.atlassian.com/contact/#/, in "What can we help you with?" select "Technical issues and bugs" and then Bitbucket Cloud as product.
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.