Skip to content

update tests

update tests #44

Triggered via push August 19, 2024 21:52
Status Failure
Total duration 4m 45s
Artifacts
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

14 errors
Error while executing tests/build/new_url_directory/new_url_directory.test.mjs on [email protected]: tests/build/new_url_directory/new_url_directory.test.mjs#L1
Error: Reference leads to a directory --- reference trace --- tests/build/new_url_directory/client/main.html:15:40 12 | }); 13 | </script> 14 | <script type="module"> 15 | const directoryUrl = new URL("./src/", import.meta.url).href; ^ at redirectReference (src/plugins/directory_reference_effect/jsenv_plugin_directory_reference_effect.js:56:23) at callHook (src/plugins/plugin_controller.js:183:25) at Object.callHooks (src/plugins/plugin_controller.js:224:29) at Object.resolveReference (src/kitchen/kitchen.js:211:26) at reference.resolve (src/kitchen/url_graph/references.js:370:38) at createResolveAndFinalize (src/kitchen/url_graph/references.js:42:41) at Object.found (src/kitchen/url_graph/references.js:57:23) at onExternalReference (src/plugins/reference_analysis/js/jsenv_plugin_js_reference_analysis.js:102:44) at parseAndTransformJsReferences (src/plugins/reference_analysis/js/jsenv_plugin_js_reference_analysis.js:150:7) at js_module (src/plugins/reference_analysis/js/jsenv_plugin_js_reference_analysis.js:22:18)
Error while executing tests/dev_and_build/errors/css_background_url_not_found/css_background_url_not_found_build.test.mjs on [email protected]: tests/dev_and_build/errors/css_background_url_not_found/css_background_url_not_found_build.test.mjs#L1
FETCH_URL_CONTENT_ERROR: Failed to fetch url content tests/dev_and_build/errors/css_background_url_not_found/client/style.css:2:25 1 | body { 2 | background-image: url("./img.png"); ^ no entry on filesystem --- plugin name --- "jsenv:file_url_fetching" at createFailedToFetchUrlContentError (src/kitchen/errors.js:64:24) at createFetchUrlContentError (src/kitchen/errors.js:106:14) at Object.fetchUrlContent (src/kitchen/kitchen.js:408:13) at async src/kitchen/kitchen.js:477:11 at async Object.startCollecting (src/kitchen/url_graph/references.js:30:7) at async src/kitchen/kitchen.js:475:9 at async Object.cook (src/kitchen/kitchen.js:659:5) at async cookSelfThenDependencies (src/kitchen/kitchen.js:566:7) at async startCookingDependencies (src/kitchen/kitchen.js:600:7) at async cookSelfThenDependencies (src/kitchen/kitchen.js:567:7) at async startCookingDependencies (src/kitchen/kitchen.js:600:7) at async cookSelfThenDependencies (src/kitchen/kitchen.js:567:7) at async startCookingDependencies (src/kitchen/kitchen.js:600:7) at async cookSelfThenDependencies (src/kitchen/kitchen.js:567:7) at async startCookingDependencies (src/kitchen/kitchen.js:600:7) at async Object.cookDependencies (src/kitchen/kitchen.js:603:5) at async runBuild (src/build/build.js:361:9) at async build (src/build/build.js:698:22) at async run (tests/dev_and_build/errors/css_background_url_not_found/css_background_url_not_found_build.test.mjs:6:3) at async snapshotTests (packages/independent/snapshot/src/side_effects/snapshot_tests.js:168:27) at async tests/dev_and_build/errors/css_background_url_not_found/css_background_url_not_found_build.test.mjs:19:1
Error while executing tests/dev_and_build/errors/img_not_found/img_not_found_build.test.mjs on [email protected]: tests/dev_and_build/errors/img_not_found/img_not_found_build.test.mjs#L1
FETCH_URL_CONTENT_ERROR: Failed to fetch url content tests/dev_and_build/errors/img_not_found/client/main.html:9:10 6 | </head> 7 | 8 | <body> 9 | <img src="./img.png" /> ^ no entry on filesystem --- plugin name --- "jsenv:file_url_fetching" at createFailedToFetchUrlContentError (src/kitchen/errors.js:64:24) at createFetchUrlContentError (src/kitchen/errors.js:106:14) at Object.fetchUrlContent (src/kitchen/kitchen.js:408:13) at async src/kitchen/kitchen.js:477:11 at async Object.startCollecting (src/kitchen/url_graph/references.js:30:7) at async src/kitchen/kitchen.js:475:9 at async Object.cook (src/kitchen/kitchen.js:659:5) at async cookSelfThenDependencies (src/kitchen/kitchen.js:566:7) at async startCookingDependencies (src/kitchen/kitchen.js:600:7)
Error while executing tests/dev_and_build/errors/js_import_meta_url_not_found/js_import_meta_url_not_found_build.test.mjs on [email protected]: tests/dev_and_build/errors/js_import_meta_url_not_found/js_import_meta_url_not_found_build.test.mjs#L1
FETCH_URL_CONTENT_ERROR: Failed to fetch url content tests/dev_and_build/errors/js_import_meta_url_not_found/client/main.js:1:23 1 | const cssUrl = new URL("./style.css", import.meta.url); ^ no entry on filesystem --- plugin name --- "jsenv:file_url_fetching" at createFailedToFetchUrlContentError (src/kitchen/errors.js:64:24) at createFetchUrlContentError (src/kitchen/errors.js:106:14) at Object.fetchUrlContent (src/kitchen/kitchen.js:408:13) at async src/kitchen/kitchen.js:477:11 at async Object.startCollecting (src/kitchen/url_graph/references.js:30:7) at async src/kitchen/kitchen.js:475:9 at async Object.cook (src/kitchen/kitchen.js:659:5) at async cookSelfThenDependencies (src/kitchen/kitchen.js:566:7) at async startCookingDependencies (src/kitchen/kitchen.js:600:7) at async cookSelfThenDependencies (src/kitchen/kitchen.js:567:7) at async startCookingDependencies (src/kitchen/kitchen.js:600:7) at async cookSelfThenDependencies (src/kitchen/kitchen.js:567:7) at async startCookingDependencies (src/kitchen/kitchen.js:600:7) at async Object.cookDependencies (src/kitchen/kitchen.js:603:5) at async runBuild (src/build/build.js:361:9) at async build (src/build/build.js:698:22) at async run (tests/dev_and_build/errors/js_import_meta_url_not_found/js_import_meta_url_not_found_build.test.mjs:6:3) at async snapshotTests (packages/independent/snapshot/src/side_effects/snapshot_tests.js:168:27) at async tests/dev_and_build/errors/js_import_meta_url_not_found/js_import_meta_url_not_found_build.test.mjs:19:1
Error while executing tests/dev_and_build/errors/js_import_not_found/js_import_not_found_build.test.mjs on [email protected]: tests/dev_and_build/errors/js_import_not_found/js_import_not_found_build.test.mjs#L1
FETCH_URL_CONTENT_ERROR: Failed to fetch url content tests/dev_and_build/errors/js_import_not_found/client/intermediate.js:2:7 1 | // eslint-disable-next-line import-x/no-unresolved 2 | import "./not_found.js"; ^ no entry on filesystem --- plugin name --- "jsenv:file_url_fetching" at createFailedToFetchUrlContentError (src/kitchen/errors.js:64:24) at createFetchUrlContentError (src/kitchen/errors.js:106:14) at Object.fetchUrlContent (src/kitchen/kitchen.js:408:13) at async src/kitchen/kitchen.js:477:11 at async Object.startCollecting (src/kitchen/url_graph/references.js:30:7) at async src/kitchen/kitchen.js:475:9 at async Object.cook (src/kitchen/kitchen.js:659:5) at async cookSelfThenDependencies (src/kitchen/kitchen.js:566:7) at async startCookingDependencies (src/kitchen/kitchen.js:600:7) at async cookSelfThenDependencies (src/kitchen/kitchen.js:567:7) at async startCookingDependencies (src/kitchen/kitchen.js:600:7) at async cookSelfThenDependencies (src/kitchen/kitchen.js:567:7) at async startCookingDependencies (src/kitchen/kitchen.js:600:7) at async cookSelfThenDependencies (src/kitchen/kitchen.js:567:7) at async startCookingDependencies (src/kitchen/kitchen.js:600:7) at async Object.cookDependencies (src/kitchen/kitchen.js:603:5) at async runBuild (src/build/build.js:361:9) at async build (src/build/build.js:698:22) at async run (tests/dev_and_build/errors/js_import_not_found/js_import_not_found_build.test.mjs:6:3) at async snapshotTests (packages/independent/snapshot/src/side_effects/snapshot_tests.js:168:27) at async tests/dev_and_build/errors/js_import_not_found/js_import_not_found_build.test.mjs:19:1
Error while executing tests/dev_and_build/errors/script_module_not_found/script_module_not_found_build.test.mjs on [email protected]: tests/dev_and_build/errors/script_module_not_found/script_module_not_found_build.test.mjs#L1
FETCH_URL_CONTENT_ERROR: Failed to fetch url content tests/dev_and_build/errors/script_module_not_found/client/main.html:10:27 7 | </head> 8 | 9 | <body> 10 | <script type="module" src="./404.js"></script> ^ no entry on filesystem --- plugin name --- "jsenv:file_url_fetching" at createFailedToFetchUrlContentError (src/kitchen/errors.js:64:24) at createFetchUrlContentError (src/kitchen/errors.js:106:14) at Object.fetchUrlContent (src/kitchen/kitchen.js:408:13) at async src/kitchen/kitchen.js:477:11 at async Object.startCollecting (src/kitchen/url_graph/references.js:30:7) at async src/kitchen/kitchen.js:475:9 at async Object.cook (src/kitchen/kitchen.js:659:5) at async cookSelfThenDependencies (src/kitchen/kitchen.js:566:7) at async startCookingDependencies (src/kitchen/kitchen.js:600:7)
Error while executing tests/dev_and_build/js_module_syntax_error/js_module_syntax_error_build.test.mjs on [email protected]: tests/dev_and_build/js_module_syntax_error/js_module_syntax_error_build.test.mjs#L1
TRANSFORM_URL_CONTENT_ERROR: parse error on "js_module" tests/dev_and_build/js_module_syntax_error/client/main_syntax_error.js:4:16 1 | // above 1 2 | // above 2 3 | // above 3 4 | /* before */ --; /* after */ ^ Unexpected token (4:15) --- first reference --- tests/dev_and_build/js_module_syntax_error/client/main.html:9:27 --- plugin name --- "jsenv:js_reference_analysis" at createParseError (packages/internal/ast/src/parse_error.js:2:22) at parseJsWithAcorn (packages/internal/ast/src/js/parse_js_with_acorn.js:30:13) at getContentAst (src/kitchen/url_graph/url_content.js:88:12) at src/kitchen/url_graph/url_content.js:13:14 at Object.get [as originalContentAst] (src/kitchen/url_graph/url_content.js:78:21) at src/kitchen/url_graph/url_content.js:44:24 at Object.get [as contentAst] (src/kitchen/url_graph/url_content.js:78:21) at parseAndTransformJsReferences (src/plugins/reference_analysis/js/jsenv_plugin_js_reference_analysis.js:140:18) at js_module (src/plugins/reference_analysis/js/jsenv_plugin_js_reference_analysis.js:22:18) at callAsyncHook (src/plugins/plugin_controller.js:206:31)
Error while executing tests/dev_and_build/node_module_not_found/node_module_not_found_build.test.mjs on [email protected]: tests/dev_and_build/node_module_not_found/node_module_not_found_build.test.mjs#L1
RESOLVE_URL_ERROR: Failed to resolve url reference tests/dev_and_build/node_module_not_found/client/node_modules/foo/index.js:1:7 1 | import "not_found"; ^ An error occured during specifier resolution --- first reference in project --- tests/dev_and_build/node_module_not_found/client/main.js:1:7 --- error message --- Cannot find "not_found" imported from /home/runner/work/core/core/tests/dev_and_build/node_module_not_found/client/node_modules/foo/index.js --- plugin name --- "jsenv:node_esm_resolution" at createFailedToResolveUrlError (src/kitchen/errors.js:15:26) at createResolveUrlError (src/kitchen/errors.js:47:10) at Object.resolveReference (src/kitchen/kitchen.js:240:13) at reference.resolve (src/kitchen/url_graph/references.js:370:38) at createResolveAndFinalize (src/kitchen/url_graph/references.js:42:41) at Object.found (src/kitchen/url_graph/references.js:57:23) at onExternalReference (src/plugins/reference_analysis/js/jsenv_plugin_js_reference_analysis.js:102:44) at parseAndTransformJsReferences (src/plugins/reference_analysis/js/jsenv_plugin_js_reference_analysis.js:150:7) at js_module (src/plugins/reference_analysis/js/jsenv_plugin_js_reference_analysis.js:22:18) at callAsyncHook (src/plugins/plugin_controller.js:206:31) at Object.callAsyncHooks (src/plugins/plugin_controller.js:235:35) at async Object.transformUrlContent (src/kitchen/kitchen.js:419:7) at async src/kitchen/kitchen.js:480:11 at async Object.startCollecting (src/kitchen/url_graph/references.js:30:7) at async src/kitchen/kitchen.js:475:9 at async Object.cook (src/kitchen/kitchen.js:659:5) at async cookSelfThenDependencies (src/kitchen/kitchen.js:566:7) at async startCookingDependencies (src/kitchen/kitchen.js:600:7) at async cookSelfThenDependencies (src/kitchen/kitchen.js:567:7) at async startCookingDependencies (src/kitchen/kitchen.js:600:7) at async cookSelfThenDependencies (src/kitchen/kitchen.js:567:7) at async startCookingDependencies (src/kitchen/kitchen.js:600:7) at async Object.cookDependencies (src/kitchen/kitchen.js:603:5) at async runBuild (src/build/build.js:361:9) at async build (src/build/build.js:698:22) at async snapshotTests (packages/independent/snapshot/src/side_effects/snapshot_tests.js:168:27) at async tests/dev_and_build/node_module_not_found/node_module_not_found_build.test.mjs:5:1
test on ubuntu-22.04 and node 22.3.0
Process completed with exit code 1.
Error while executing tests/build/new_url_directory/new_url_directory.test.mjs on [email protected]: tests/build/new_url_directory/new_url_directory.test.mjs#L1
Error: Reference leads to a directory --- reference trace --- tests/build/new_url_directory/client/main.html:15:40 12 | }); 13 | </script> 14 | <script type="module"> 15 | const directoryUrl = new URL("./src/", import.meta.url).href; ^ at redirectReference (src/plugins/directory_reference_effect/jsenv_plugin_directory_reference_effect.js:56:23) at callHook (src/plugins/plugin_controller.js:183:25) at Object.callHooks (src/plugins/plugin_controller.js:224:29) at Object.resolveReference (src/kitchen/kitchen.js:211:26) at reference.resolve (src/kitchen/url_graph/references.js:370:38) at createResolveAndFinalize (src/kitchen/url_graph/references.js:42:41) at Object.found (src/kitchen/url_graph/references.js:57:23) at onExternalReference (src/plugins/reference_analysis/js/jsenv_plugin_js_reference_analysis.js:102:44) at parseAndTransformJsReferences (src/plugins/reference_analysis/js/jsenv_plugin_js_reference_analysis.js:150:7) at js_module (src/plugins/reference_analysis/js/jsenv_plugin_js_reference_analysis.js:22:18)
test on windows-2022 and node 22.3.0
The job was canceled because "ubuntu-22_04_22_3_0" failed.
test on windows-2022 and node 22.3.0
The operation was canceled.
test on macos-12 and node 22.3.0
The job was canceled because "ubuntu-22_04_22_3_0" failed.
test on macos-12 and node 22.3.0
The operation was canceled.