Skip to content

Add assertion that count() was called before allocate() in lockfile stringbuilder #961

Add assertion that count() was called before allocate() in lockfile stringbuilder

Add assertion that count() was called before allocate() in lockfile stringbuilder #961

Triggered via pull request May 7, 2024 21:17
Status Failure
Total duration 53m 44s
Billable time 2h 27m
Artifacts 27

ci.yml

on: pull_request
Build linux-aarch64  /  ...  /  Build & Link
37m 4s
Build linux-aarch64 / Build Linux / Build & Link
Build linux-x64-baseline  /  ...  /  Build & Link
16m 56s
Build linux-x64-baseline / Build Linux / Build & Link
Build linux-x64  /  ...  /  Build & Link
15m 23s
Build linux-x64 / Build Linux / Build & Link
Build darwin-aarch64  /  Link
4m 49s
Build darwin-aarch64 / Link
Build darwin-x64-baseline  /  Link
10m 29s
Build darwin-x64-baseline / Link
Build linux-aarch64  /  On Failure
0s
Build linux-aarch64 / On Failure
Build linux-x64-baseline  /  On Failure
0s
Build linux-x64-baseline / On Failure
Build linux-x64  /  On Failure
0s
Build linux-x64 / On Failure
Build windows-x64-baseline  /  Link
8m 12s
Build windows-x64-baseline / Link
Build windows-x64  /  Link
5m 7s
Build windows-x64 / Link
Test linux-aarch64  /  Tests
15m 42s
Test linux-aarch64 / Tests
Test linux-aarch64  /  Node.js Tests
13m 8s
Test linux-aarch64 / Node.js Tests
Test linux-x64-baseline  /  Tests
9m 52s
Test linux-x64-baseline / Tests
Test linux-x64-baseline  /  Node.js Tests
13m 24s
Test linux-x64-baseline / Node.js Tests
Test linux-x64  /  Tests
11m 53s
Test linux-x64 / Tests
Test linux-x64  /  Node.js Tests
15m 2s
Test linux-x64 / Node.js Tests
Test darwin-aarch64  /  Tests
10m 1s
Test darwin-aarch64 / Tests
Test darwin-aarch64  /  Node.js Tests
3m 9s
Test darwin-aarch64 / Node.js Tests
Test darwin-x64-baseline  /  Tests
14m 56s
Test darwin-x64-baseline / Tests
Test darwin-x64-baseline  /  Node.js Tests
4m 15s
Test darwin-x64-baseline / Node.js Tests
Test darwin-x64  /  Tests
14m 48s
Test darwin-x64 / Tests
Test darwin-x64  /  Node.js Tests
3m 21s
Test darwin-x64 / Node.js Tests
Test windows-x64-baseline  /  Tests
9m 10s
Test windows-x64-baseline / Tests
Test windows-x64-baseline  /  Node.js Tests
1m 35s
Test windows-x64-baseline / Node.js Tests
Cleanup
8s
Cleanup
Test windows-x64  /  Tests
9m 46s
Test windows-x64 / Tests
Test windows-x64  /  Node.js Tests
3m 34s
Test windows-x64 / Node.js Tests
Fit to window
Zoom out
Zoom in

Annotations

60 errors and 5 warnings
Test darwin-x64 / Node.js Tests
The runner has received a shutdown signal. This can happen when the runner service is stopped, or a manually started runner is canceled.
Test darwin-x64 / Node.js Tests
The operation was canceled.
Test darwin-x64-baseline / Node.js Tests
The runner has received a shutdown signal. This can happen when the runner service is stopped, or a manually started runner is canceled.
Test darwin-x64-baseline / Node.js Tests
The operation was canceled.
error: expect(received).toStrictEqual(expected): test/js/node/child_process/child_process-node.test.js#L234
Expected: true Received: false at /home/runner/work/bun/bun/test/js/node/child_process/child_process-node.test.js:234:7 at /home/runner/work/bun/bun/test/js/node/child_process/child_process-node.test.js:201:17 at /home/runner/work/bun/bun/test/js/node/child_process/child_process-node.test.js:199:52 at exitHandler (node:child_process:69:45) at emit (node:events:161:95) at #maybeClose (node:child_process:791:27) at #handleOnExit (node:child_process:587:31)
error: throw an error here.: test/js/node/http/node-http.test.ts#L988
at /home/runner/work/bun/bun/test/js/node/http/node-http.test.ts:988:13 at emit (node:events:161:95) at fetch (node:http:483:23)
Test linux-x64-baseline / Tests
1 files with failing tests
Test linux-x64-baseline / Tests
Process completed with exit code 1.
Test linux-x64-baseline / Tests
Process completed with exit code 1.
error: Socket connect error: test/harness.ts#L388
at connectError (/home/runner/work/bun/bun/test/harness.ts:388:57) at /home/runner/work/bun/bun/test/harness.ts:416:3 at describeWithContainer (/home/runner/work/bun/bun/test/harness.ts:402:3) at /home/runner/work/bun/bun/test/integration/mysql2/mysql2.test.ts:43:3
ECONNREFUSED: Failed to connect: test/harness.ts#L416
at /home/runner/work/bun/bun/test/harness.ts:416:3 at describeWithContainer (/home/runner/work/bun/bun/test/harness.ts:402:3) at /home/runner/work/bun/bun/test/integration/mysql2/mysql2.test.ts:43:3
error: Socket connect error: test/harness.ts#L388
at connectError (/home/runner/work/bun/bun/test/harness.ts:388:57) at /home/runner/work/bun/bun/test/harness.ts:416:3 at describeWithContainer (/home/runner/work/bun/bun/test/harness.ts:402:3) at /home/runner/work/bun/bun/test/integration/mysql2/mysql2.test.ts:43:3
ECONNREFUSED: Failed to connect: test/harness.ts#L416
at /home/runner/work/bun/bun/test/harness.ts:416:3 at describeWithContainer (/home/runner/work/bun/bun/test/harness.ts:402:3) at /home/runner/work/bun/bun/test/integration/mysql2/mysql2.test.ts:43:3
error: Socket connect error: test/harness.ts#L388
at connectError (/home/runner/work/bun/bun/test/harness.ts:388:57) at /home/runner/work/bun/bun/test/harness.ts:416:3 at describeWithContainer (/home/runner/work/bun/bun/test/harness.ts:402:3) at /home/runner/work/bun/bun/test/integration/mysql2/mysql2.test.ts:43:3
ECONNREFUSED: Failed to connect: test/harness.ts#L416
at /home/runner/work/bun/bun/test/harness.ts:416:3 at describeWithContainer (/home/runner/work/bun/bun/test/harness.ts:402:3) at /home/runner/work/bun/bun/test/integration/mysql2/mysql2.test.ts:43:3
error: Socket connect error: test/harness.ts#L388
at connectError (/home/runner/work/bun/bun/test/harness.ts:388:57) at /home/runner/work/bun/bun/test/harness.ts:416:3 at describeWithContainer (/home/runner/work/bun/bun/test/harness.ts:402:3) at /home/runner/work/bun/bun/test/integration/mysql2/mysql2.test.ts:43:3
ECONNREFUSED: Failed to connect: test/harness.ts#L416
at /home/runner/work/bun/bun/test/harness.ts:416:3 at describeWithContainer (/home/runner/work/bun/bun/test/harness.ts:402:3) at /home/runner/work/bun/bun/test/integration/mysql2/mysql2.test.ts:43:3
Test linux-x64 / Tests
Process completed with exit code 1.
Test linux-x64-baseline / Node.js Tests
The self-hosted runner: nsc-runner-11tm982ogp1am lost communication with the server. Verify the machine is running and has a healthy network connection. Anything in your workflow that terminates the runner process, starves it for CPU/Memory, or blocks its network access can cause this error.
Test linux-x64 / Node.js Tests
The self-hosted runner: nsc-runner-djkqhe6ff3pt8 lost communication with the server. Verify the machine is running and has a healthy network connection. Anything in your workflow that terminates the runner process, starves it for CPU/Memory, or blocks its network access can cause this error.
error: expect(received).toEqual(expected): test\cli\install\bunx.test.ts#L88
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 1, + 1, 0, + 1, + 1, 0, 0, + 1, + 1, + 1, + 1, + 1 - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0 ] - Expected - 9 + Received + 9 at C:\a\bun\bun\test\cli\install\bunx.test.ts:88:3
error: expect(received).toBeLessThan(expected): test\cli\install\registry\bun-install-registry.test.ts#L4894
Expected: < 750000 Received: 937500n at C:\a\bun\bun\test\cli\install\registry\bun-install-registry.test.ts:4894:9
error: expect(received).toBe(expected): test\integration\next-pages\test\next-build.test.ts#L121
Expected: 0 Received: 1 at C:\a\bun\bun\test\integration\next-pages\test\next-build.test.ts:121:3
error: Test "hot reloading works on the client (+ tailwind hmr)" timed out after 30000ms
at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at
error: expect(received).toInclude(expected): test\js\bun\shell\test_builder.ts#L227
Expected to include: "[eval]:6" Received: "bun: command not found: somecommandthatdoesnotexist\n1 | import { $ } from 'bun'\n2 | \n3 | $.throws(true)\n4 | \n5 | async function someFunction() {\n ^\nShellError: Failed with exit code 1\n info: {\n \"exitCode\": 1,\n \"stderr\": \"bun: command not found: somecommandthatdoesnotexist\\n\",\n \"stdout\": \"\"\n}\n\n at new ShellError (:12:16)\n at new ShellPromise (:64:16)\n at BunShell (:184:35)\n at C:\\a\\bun\\bun\\[eval]:5:12\n at someFunction (C:\\a\\bun\\bun\\[eval]:3:18)\n at module code (C:\\a\\bun\\bun\\[eval]:9:11)\n\nBun v1.1.8-canary.1+ca919dcee (Windows x64 baseline)\n" at C:\a\bun\bun\test\js\bun\shell\test_builder.ts:227:11
error: expect(received).toBe(expected): test\js\bun\spawn\spawn.test.ts#L797
Expected: null Received: 1 at C:\a\bun\bun\test\js\bun\spawn\spawn.test.ts:797:3
error: Test "ssr works for 100-ish requests" timed out after 100000ms
at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at
error: error
at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at
error: error
at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at
error: error
at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at
Test windows-x64-baseline / Tests
Process completed with exit code 1.
error: expect(received).toContain(expected): test/cli/install/registry/bun-install-registry.test.ts#L5648
Expected to contain: "No version matching \"~5.0.0-alpha.1000\" found for specifier \"prereleases-3\"" Received: "bun install v1.1.8-canary.1 (ca919dce)\n Resolving dependencies\n Resolved, downloaded and extracted [2]\nerror: No version matching \">5.0.0-alpha.1000\" found for specifier \"prereleases-3\" (but package exists)\n" at /Users/runner/work/bun/bun/test/cli/install/registry/bun-install-registry.test.ts:5648:9
error: throw an error here.: test/js/node/http/node-http.test.ts#L988
at /Users/runner/work/bun/bun/test/js/node/http/node-http.test.ts:988:13 at emit (node:events:161:95) at fetch (node:http:483:23)
TypeError: The "file" argument must be of type string. Received undefined: node:child_process#L20511
at node:child_process:531:69 at node:child_process:490:57 at node:child_process:315:75 at node:child_process:2:41 at /Users/runner/work/bun/bun/test/js/web/websocket/autobahn.test.ts:39:12 at /Users/runner/work/bun/bun/test/js/web/websocket/autobahn.test.ts:20:44 at /Users/runner/work/bun/bun/test/js/web/websocket/autobahn.test.ts:20:1
Test darwin-x64 / Tests
Process completed with exit code 1.
error: throw an error here.: test/js/node/http/node-http.test.ts#L988
at /Users/runner/work/bun/bun/test/js/node/http/node-http.test.ts:988:13 at emit (node:events:161:95) at fetch (node:http:483:23)
TypeError: The "file" argument must be of type string. Received undefined: node:child_process#L20511
at node:child_process:531:69 at node:child_process:490:57 at node:child_process:315:75 at node:child_process:2:41 at /Users/runner/work/bun/bun/test/js/web/websocket/autobahn.test.ts:39:12 at /Users/runner/work/bun/bun/test/js/web/websocket/autobahn.test.ts:20:44 at /Users/runner/work/bun/bun/test/js/web/websocket/autobahn.test.ts:20:1
TypeError: The "file" argument must be of type string. Received undefined: node:child_process#L20511
at node:child_process:531:69 at node:child_process:490:57 at node:child_process:315:75 at node:child_process:2:41 at /Users/runner/work/bun/bun/test/js/web/websocket/autobahn.test.ts:39:12 at /Users/runner/work/bun/bun/test/js/web/websocket/autobahn.test.ts:20:44 at /Users/runner/work/bun/bun/test/js/web/websocket/autobahn.test.ts:20:1
Test darwin-x64-baseline / Tests
1 files with failing tests
Test darwin-x64-baseline / Tests
Process completed with exit code 1.
Test windows-x64 / Tests
Process completed with exit code 1.
error: expect(received).toEqual(expected): test\cli\install\bunx.test.ts#L88
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 1, 0, 0, + 1, + 1, + 1, + 1, + 1, + 1, + 1, 0, + 1 - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0 ] - Expected - 9 + Received + 9 at C:\a\bun\bun\test\cli\install\bunx.test.ts:88:3
error: expect(received).toBe(expected): test\integration\next-pages\test\next-build.test.ts#L121
Expected: 0 Received: 1 at C:\a\bun\bun\test\integration\next-pages\test\next-build.test.ts:121:3
error: Test "hot reloading works on the client (+ tailwind hmr)" timed out after 30000ms
at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at
error: expect(received).toInclude(expected): test\js\bun\shell\test_builder.ts#L227
Expected to include: "[eval]:6" Received: "bun: command not found: somecommandthatdoesnotexist\n1 | import { $ } from 'bun'\n2 | \n3 | $.throws(true)\n4 | \n5 | async function someFunction() {\n ^\nShellError: Failed with exit code 1\n info: {\n \"exitCode\": 1,\n \"stderr\": \"bun: command not found: somecommandthatdoesnotexist\\n\",\n \"stdout\": \"\"\n}\n\n at new ShellError (:12:16)\n at new ShellPromise (:64:16)\n at BunShell (:184:35)\n at C:\\a\\bun\\bun\\[eval]:5:12\n at someFunction (C:\\a\\bun\\bun\\[eval]:3:18)\n at module code (C:\\a\\bun\\bun\\[eval]:9:11)\n\nBun v1.1.8-canary.1+ca919dcee (Windows x64)\n" at C:\a\bun\bun\test\js\bun\shell\test_builder.ts:227:11
error: Test "ssr works for 100-ish requests" timed out after 100000ms
at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at
error: error
at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at
error: error
at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at
error: error
at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at
error: error
at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at
error: expect(received).toBe(expected): test\js\bun\spawn\spawn.test.ts#L797
Expected: null Received: 1 at C:\a\bun\bun\test\js\bun\spawn\spawn.test.ts:797:3
Test darwin-aarch64 / Node.js Tests
The runner has received a shutdown signal. This can happen when the runner service is stopped, or a manually started runner is canceled.
Test darwin-aarch64 / Node.js Tests
The operation was canceled.
Test darwin-aarch64 / Tests
Process completed with exit code 1.
error: throw an error here.: test/js/node/http/node-http.test.ts#L988
at /opt/namespace/githubrunner/work/bun/bun/test/js/node/http/node-http.test.ts:988:13 at emit (node:events:161:95) at fetch (node:http:483:23)
error: Autobahn WebSocket not detected: test/js/web/websocket/autobahn.test.ts#L82
at /opt/namespace/githubrunner/work/bun/bun/test/js/web/websocket/autobahn.test.ts:82:11 at /opt/namespace/githubrunner/work/bun/bun/test/js/web/websocket/autobahn.test.ts:20:1
Test linux-aarch64 / Node.js Tests
The self-hosted runner: nsc-runner-roekgv1svt8d4 lost communication with the server. Verify the machine is running and has a healthy network connection. Anything in your workflow that terminates the runner process, starves it for CPU/Memory, or blocks its network access can cause this error.
error: throw an error here.: test/js/node/http/node-http.test.ts#L988
at /home/runner/work/bun/bun/test/js/node/http/node-http.test.ts:988:13 at emit (node:events:161:95) at fetch (node:http:483:23)
error: Autobahn WebSocket not detected: test/js/web/websocket/autobahn.test.ts#L82
at /home/runner/work/bun/bun/test/js/web/websocket/autobahn.test.ts:82:11 at /home/runner/work/bun/bun/test/js/web/websocket/autobahn.test.ts:20:1
error: Autobahn WebSocket not detected: test/js/web/websocket/autobahn.test.ts#L82
at /home/runner/work/bun/bun/test/js/web/websocket/autobahn.test.ts:82:11 at /home/runner/work/bun/bun/test/js/web/websocket/autobahn.test.ts:20:1
Format / Format
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: goto-bus-stop/setup-zig@c7b6cdd3adba8f8b96984640ff172c37c93f73ee. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build darwin-aarch64 / Build C++
openssl@1.1 has been deprecated because it is not supported upstream!
Build darwin-aarch64 / Link
openssl@1.1 has been deprecated because it is not supported upstream!
Test darwin-aarch64 / Node.js Tests
This job failure may be caused by using an out of date self-hosted runner. You are currently using runner version 2.316.0. Please update to the latest version 2.316.1
Test darwin-aarch64 / Tests
This job failure may be caused by using an out of date self-hosted runner. You are currently using runner version 2.316.0. Please update to the latest version 2.316.1

Artifacts

Produced during runtime
Name Size
bun-darwin-aarch64
17.1 MB
bun-darwin-aarch64-profile
18.6 MB
bun-darwin-aarch64-tests
16 KB
bun-darwin-x64
18.7 MB
bun-darwin-x64-baseline
18.6 MB
bun-darwin-x64-baseline-profile
20.7 MB
bun-darwin-x64-baseline-tests
14.5 KB
bun-darwin-x64-profile
20.7 MB
bun-darwin-x64-tests
22.4 KB
bun-feature-data
389 Bytes
bun-linux-aarch64
31.3 MB
bun-linux-aarch64-profile
61.4 MB
bun-linux-aarch64-tests
4.7 KB
bun-linux-x64
32.6 MB
bun-linux-x64-baseline
32.6 MB
bun-linux-x64-baseline-profile
61.7 MB
bun-linux-x64-baseline-tests
7.51 KB
bun-linux-x64-profile
61.8 MB
bun-linux-x64-tests
6.61 KB
bun-windows-x64
32 MB
bun-windows-x64-baseline
31.9 MB
bun-windows-x64-baseline-node-tests
32.4 KB
bun-windows-x64-baseline-profile
90.9 MB
bun-windows-x64-baseline-tests
69 KB
bun-windows-x64-node-tests
32.4 KB
bun-windows-x64-profile
91 MB
bun-windows-x64-tests
65.3 KB