My test pipeline suddenly started failing without any apparent changes, and it has continued to fail since then. The pipeline previously succeeded with the same commit, but now it's failing during execution. Is there something that might be wrong or updated in the Bitbucket pipeline recently?
It also happened last month but got resolved after i upgrade my plan to standard, but now it getting the same error vs last month. mostly error just
<span>Uncaught UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "#<Object>".</span>
But this error is unlikely to happen and i never got this even with the same commit and configuration before or when i ran the same test on my local machine
Here's the test script I have in my Bitbucket pipeline:
image: node:16.17.0
definitions:
services:
mysql:
image: mysql:5.7.17
variables:
MYSQL_DATABASE: [hidden]
MYSQL_ROOT_PASSWORD: [hidden]
memory: 6144
docker:
memory: 3072
steps:
- step: &TestScript
size: 2x
name: Test
caches:
- node
script:
- apt-get update && apt-get install -y default-mysql-client
- @sql_mode,"ONLY_FULL_GROUP_BY",""));'
- npm install
- npm run db:test:sync
- npm run db:test:seed
- npm test
services:
- mysql
Is there any assistance or insights regarding the issues I'm encountering with this setup?