EricSmekens / jsep

JavaScript Expression Parser
http://ericsmekens.github.io/jsep/
MIT License
840 stars 136 forks source link

GitHub Actions failing inconsistently #246

Closed 6utt3rfly closed 1 year ago

6utt3rfly commented 1 year ago

I've had to manually force a retry of a few github actions with the latest PR (#245 ) due to failing tests, even though all tests pass locally and pass after retrying.

Example: Attempt 1 in pnpm run default:

packages/async-await test: TimeoutError: waiting for target failed: timeout 30000ms exceeded
packages/async-await test:     at Function.waitWithTimeout (/home/runner/work/jsep/jsep/node_modules/.pnpm/puppeteer@2.1.1/node_modules/puppeteer/lib/helper.js:228:26)
packages/async-await test:     at Browser.waitForTarget (/home/runner/work/jsep/jsep/node_modules/.pnpm/puppeteer@2.1.1/node_modules/puppeteer/lib/Browser.js:214:27)
packages/async-await test:     at Browser.<anonymous> (/home/runner/work/jsep/jsep/node_modules/.pnpm/puppeteer@2.1.1/node_modules/puppeteer/lib/helper.js:112:23)
packages/async-await test:     at ChromeLauncher.launch (/home/runner/work/jsep/jsep/node_modules/.pnpm/puppeteer@2.1.1/node_modules/puppeteer/lib/Launcher.js:247:21)
packages/async-await test:     at processTicksAndRejections (node:internal/process/task_queues:96:5)
packages/async-await test:     at async runQunitPuppeteer (/home/runner/work/jsep/jsep/node_modules/.pnpm/node-qunit-puppeteer@2.1.0/node_modules/node-qunit-puppeteer/index.js:305:19)
packages/async-await test: Failed
undefined
/home/runner/work/jsep/jsep/packages/async-await:
 ERROR  @jsep-plugin/async-await@1.0.2 test: `cd ../../ && http-server -p 49649 --silent & node-qunit-puppeteer http://localhost:49649/packages/async-await/test/unit_tests.html`
Exit status 1

Attempt 2:

packages/arrow test: TimeoutError: waiting for target failed: timeout 30000ms exceeded
packages/arrow test:     at Function.waitWithTimeout (/home/runner/work/jsep/jsep/node_modules/.pnpm/puppeteer@2.1.1/node_modules/puppeteer/lib/helper.js:228:26)
packages/arrow test:     at Browser.waitForTarget (/home/runner/work/jsep/jsep/node_modules/.pnpm/puppeteer@2.1.1/node_modules/puppeteer/lib/Browser.js:214:27)
packages/arrow test:     at Browser.<anonymous> (/home/runner/work/jsep/jsep/node_modules/.pnpm/puppeteer@2.1.1/node_modules/puppeteer/lib/helper.js:112:23)
packages/arrow test:     at ChromeLauncher.launch (/home/runner/work/jsep/jsep/node_modules/.pnpm/puppeteer@2.1.1/node_modules/puppeteer/lib/Launcher.js:247:21)
packages/arrow test:     at processTicksAndRejections (node:internal/process/task_queues:96:5)
packages/arrow test:     at async runQunitPuppeteer (/home/runner/work/jsep/jsep/node_modules/.pnpm/node-qunit-puppeteer@2.1.0/node_modules/node-qunit-puppeteer/index.js:305:19)
packages/arrow test: Failed
undefined
/home/runner/work/jsep/jsep/packages/arrow:
 ERROR  @jsep-plugin/arrow@1.0.5 test: `cd ../../ && http-server -p 49649 --silent & node-qunit-puppeteer http://localhost:49649/packages/arrow/test/unit_tests.html`
Exit status 1
 ERROR  Command failed with exit code 1.
Error: Process completed with exit code 1.
github-actions[bot] commented 4 months ago

:tada: This issue has been resolved in version 1.3.9 :tada:

The release is available on:

Your semantic-release bot :package::rocket: