Dániel Gábor Vankó created IMPALA-14425:
-------------------------------------------
Summary: run-js-tests.sh fails intermittently with ReferenceError:
fetch is not defined
Key: IMPALA-14425
URL: https://issues.apache.org/jira/browse/IMPALA-14425
Project: IMPALA
Issue Type: Bug
Reporter: Dániel Gábor Vankó
Assignee: Surya Hebbar
On some builds run-js-tests.sh fails with the following error:
{noformat}
16:23:03 > [email protected] test
16:23:03 > JEST_JUNIT_OUTPUT_DIR="${IMPALA_JS_TEST_LOGS_DIR}"
"${IMPALA_NODEJS}" --experimental-vm-modules node_modules/jest/bin/jest.js
16:23:03
16:23:03 ReferenceError: fetch is not defined
16:23:03 at newdlocal
(/data0/jenkins/workspace/impala-cdw-master-core-s3-arm-data-cache/repos/Impala/tests/webui/js_tests/node_modules/error-ex/index.js:9:49767)
16:23:03 at Object.<anonymous>
(/data0/jenkins/workspace/impala-cdw-master-core-s3-arm-data-cache/repos/Impala/tests/webui/js_tests/node_modules/error-ex/index.js:9:2524)
16:23:03 at Module._compile (node:internal/modules/cjs/loader:1198:14)
16:23:03 at Object.Module._extensions..js
(node:internal/modules/cjs/loader:1252:10)
16:23:03 at Module.load (node:internal/modules/cjs/loader:1076:32)
16:23:03 at Function.Module._load (node:internal/modules/cjs/loader:911:12)
16:23:03 at Module.require (node:internal/modules/cjs/loader:1100:19)
16:23:03 at require (node:internal/modules/cjs/helpers:119:18)
16:23:03 at Object.<anonymous>
(/data0/jenkins/workspace/impala-cdw-master-core-s3-arm-data-cache/repos/Impala/tests/webui/js_tests/node_modules/parse-json/index.js:2:17)
16:23:03 at Module._compile (node:internal/modules/cjs/loader:1198:14)
16:23:03 ERROR in
/data/jenkins/workspace/impala-cdw-master-core-s3-arm-data-cache/repos/Impala/tests/webui/run-js-tests.sh
at line 37: NODE_PATH="${IMPALA_HOME}/www/" "$IMPALA_NODEJS" "$NPM" --prefix
"${JS_TESTS_DIR}" test
16:23:03 Generated:
/data/jenkins/workspace/impala-cdw-master-core-s3-arm-data-cache/repos/Impala/logs/extra_junit_xml_logs/generate_junitxml.buildall.run-js-tests.20250908_14_23_03.xml{noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]