Skip to content

fix: which should use cwd if given a relative filepath #13530

fix: which should use cwd if given a relative filepath

fix: which should use cwd if given a relative filepath #13530

Triggered via pull request March 31, 2024 23:06
Status Failure
Total duration 31m 18s
Artifacts 4

bun-linux-build.yml

on: pull_request
Matrix: linux
Matrix: linux-test
Fit to window
Zoom out
Zoom in

Annotations

22 errors
Tests linux-x64-baseline
Process completed with exit code 1.
error: expect(received).toContain(expected): test/cli/install/registry/bun-install-registry.test.ts#L4611
Expected to contain: "No packages! Deleted empty lockfile" Received: "bun install v1.0.36 (55cb2acf)\n1 | #!/usr/bin/env node\n2 | \n3 | const child_process = require(\"child_process\");\n4 | child_process.spawnSync(\"bun\", [\"x\", \"node-gyp\", ...process.argv.slice(2)], { stdio: \"inherit\" });\n ^\nTypeError: Executable not found in $PATH: \"bun\"\n code: \"ERR_INVALID_ARG_TYPE\"\n\n at node:child_process:164:47\n at /home/runner/work/_temp/bun-test-tmp-ezno_-1764457538_d15l/.17c1fcff1e52b079-00000001.node-gyp/node-gyp:4:1\n\nerror: preinstall script from \"foo\" exited with 1\n" at /home/runner/work/bun/bun/test/cli/install/registry/bun-install-registry.test.ts:4611:7
error: expect(received).toContain(expected): test/cli/install/registry/bun-install-registry.test.ts#L4611
Expected to contain: "No packages! Deleted empty lockfile" Received: "bun install v1.0.36 (55cb2acf)\n1 | #!/usr/bin/env node\n2 | \n3 | const child_process = require(\"child_process\");\n4 | child_process.spawnSync(\"bun\", [\"x\", \"node-gyp\", ...process.argv.slice(2)], { stdio: \"inherit\" });\n ^\nTypeError: Executable not found in $PATH: \"bun\"\n code: \"ERR_INVALID_ARG_TYPE\"\n\n at node:child_process:164:47\n at /home/runner/work/_temp/bun-test-tmp-ezno_-1764457538_d15l/.17c1fd01088f38b9-00000001.node-gyp/node-gyp:4:1\n\nerror: preinstall script from \"foo\" exited with 1\n" at /home/runner/work/bun/bun/test/cli/install/registry/bun-install-registry.test.ts:4611:7
error: Oops: test/js/bun/http/async-iterator-stream.test.ts#L38
at /home/runner/work/bun/bun/test/js/bun/http/async-iterator-stream.test.ts:38:19 at pull (:14:29) at readDirectStream (:1:21)
error: expect(received).toContain(expected): test/cli/install/registry/bun-install-registry.test.ts#L4611
Expected to contain: "No packages! Deleted empty lockfile" Received: "bun install v1.0.36 (55cb2acf)\n1 | #!/usr/bin/env node\n2 | \n3 | const child_process = require(\"child_process\");\n4 | child_process.spawnSync(\"bun\", [\"x\", \"node-gyp\", ...process.argv.slice(2)], { stdio: \"inherit\" });\n ^\nTypeError: Executable not found in $PATH: \"bun\"\n code: \"ERR_INVALID_ARG_TYPE\"\n\n at node:child_process:164:47\n at /home/runner/work/_temp/bun-test-tmp-kxh5_-1764457440_kzt8/.17c1fcff1ddef6fb-00000001.node-gyp/node-gyp:4:1\n\nerror: preinstall script from \"foo\" exited with 1\n" at /home/runner/work/bun/bun/test/cli/install/registry/bun-install-registry.test.ts:4611:7
error: FAIL: test/js/bun/http/serve.test.ts#L351
at /home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:351:25 at pull (/home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:348:40) at promiseInvokeOrNoopMethodNoCatch (:1:21) at promiseInvokeOrNoopMethod (:1:21) at readableStreamDefaultControllerCallPullIfNeeded (:1:21)
error: expect(received).toContain(expected): test/cli/install/registry/bun-install-registry.test.ts#L4611
Expected to contain: "No packages! Deleted empty lockfile" Received: "bun install v1.0.36 (55cb2acf)\n1 | #!/usr/bin/env node\n2 | \n3 | const child_process = require(\"child_process\");\n4 | child_process.spawnSync(\"bun\", [\"x\", \"node-gyp\", ...process.argv.slice(2)], { stdio: \"inherit\" });\n ^\nTypeError: Executable not found in $PATH: \"bun\"\n code: \"ERR_INVALID_ARG_TYPE\"\n\n at node:child_process:164:47\n at /home/runner/work/_temp/bun-test-tmp-kxh5_-1764457440_kzt8/.17c1fd0103fab5bf-00000001.node-gyp/node-gyp:4:1\n\nerror: preinstall script from \"foo\" exited with 1\n" at /home/runner/work/bun/bun/test/cli/install/registry/bun-install-registry.test.ts:4611:7
error: FAIL: test/js/bun/http/serve.test.ts#L351
at /home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:351:25 at pull (/home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:348:40) at promiseInvokeOrNoopMethodNoCatch (:1:21) at promiseInvokeOrNoopMethod (:1:21) at readableStreamDefaultControllerCallPullIfNeeded (:1:21)
error: Oops: test/js/bun/http/async-iterator-stream.test.ts#L38
at /home/runner/work/bun/bun/test/js/bun/http/async-iterator-stream.test.ts:38:19 at pull (:14:29) at readDirectStream (:1:21)
error: FAIL: test/js/bun/http/serve.test.ts#L351
at /home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:351:25 at pull (/home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:348:40) at promiseInvokeOrNoopMethodNoCatch (:1:21) at promiseInvokeOrNoopMethod (:1:21) at readableStreamDefaultControllerCallPullIfNeeded (:1:21)
error: FAIL: test/js/bun/http/serve.test.ts#L351
at /home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:351:25 at pull (/home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:348:40) at promiseInvokeOrNoopMethodNoCatch (:1:21) at promiseInvokeOrNoopMethod (:1:21) at readableStreamDefaultControllerCallPullIfNeeded (:1:21)
error: FAIL: test/js/bun/http/serve.test.ts#L351
at /home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:351:25 at pull (/home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:348:40) at promiseInvokeOrNoopMethodNoCatch (:1:21) at promiseInvokeOrNoopMethod (:1:21) at readableStreamDefaultControllerCallPullIfNeeded (:1:21)
error: FAIL: test/js/bun/http/serve.test.ts#L351
at /home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:351:25 at pull (/home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:348:40) at promiseInvokeOrNoopMethodNoCatch (:1:21) at promiseInvokeOrNoopMethod (:1:21) at readableStreamDefaultControllerCallPullIfNeeded (:1:21)
error: FAIL: test/js/bun/http/serve.test.ts#L351
at /home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:351:25 at pull (/home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:348:40) at promiseInvokeOrNoopMethodNoCatch (:1:21) at promiseInvokeOrNoopMethod (:1:21) at readableStreamDefaultControllerCallPullIfNeeded (:1:21)
error: TestPassed: test/js/bun/http/serve.test.ts#L314
at pull (/home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:314:25) at promiseInvokeOrNoopMethodNoCatch (:1:21) at promiseInvokeOrNoopMethod (:1:21) at readableStreamDefaultControllerCallPullIfNeeded (:1:21)
error: FAIL: test/js/bun/http/serve.test.ts#L351
at /home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:351:25 at pull (/home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:348:40) at promiseInvokeOrNoopMethodNoCatch (:1:21) at promiseInvokeOrNoopMethod (:1:21) at readableStreamDefaultControllerCallPullIfNeeded (:1:21)
error: test/js/bun/http/serve.test.ts#L1433
at /home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:1433:15 at error (/home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:1427:20)
error: TestPassed: test/js/bun/http/serve.test.ts#L314
at pull (/home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:314:25) at promiseInvokeOrNoopMethodNoCatch (:1:21) at promiseInvokeOrNoopMethod (:1:21) at readableStreamDefaultControllerCallPullIfNeeded (:1:21)
error: test/js/bun/http/serve.test.ts#L1438
at /home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:1438:15
error: test/js/bun/http/serve.test.ts#L1433
at /home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:1433:15 at error (/home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:1427:20)
error: test/js/bun/http/serve.test.ts#L1438
at /home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:1438:15
Tests linux-x64
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size
bun-linux-x64 Expired
33.4 MB
bun-linux-x64-baseline Expired
33.4 MB
bun-linux-x64-baseline-profile Expired
61.1 MB
bun-linux-x64-profile Expired
61.2 MB