Skip to content

Fix sloppily written test #1091

Fix sloppily written test

Fix sloppily written test #1091

Triggered via pull request May 10, 2024 09:04
Status Failure
Total duration 52m 35s
Billable time 2h 6m
Artifacts 25

ci.yml

on: pull_request
Build linux-aarch64  /  ...  /  Build & Link
33m 7s
Build linux-aarch64 / Build Linux / Build & Link
Build linux-x64-baseline  /  ...  /  Build & Link
15m 50s
Build linux-x64-baseline / Build Linux / Build & Link
Build linux-x64  /  ...  /  Build & Link
15m 47s
Build linux-x64 / Build Linux / Build & Link
Build darwin-aarch64  /  Link
4m 43s
Build darwin-aarch64 / Link
Build darwin-x64-baseline  /  Link
10m 13s
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
6m 53s
Build windows-x64-baseline / Link
Build windows-x64  /  Link
4m 59s
Build windows-x64 / Link
Test linux-aarch64  /  Tests
16m 13s
Test linux-aarch64 / Tests
Test linux-aarch64  /  Node.js Tests
0s
Test linux-aarch64 / Node.js Tests
Test linux-x64-baseline  /  Tests
9m 49s
Test linux-x64-baseline / Tests
Test linux-x64-baseline  /  Node.js Tests
0s
Test linux-x64-baseline / Node.js Tests
Test linux-x64  /  Tests
9m 55s
Test linux-x64 / Tests
Test linux-x64  /  Node.js Tests
0s
Test linux-x64 / Node.js Tests
Test darwin-aarch64  /  Tests
10m 31s
Test darwin-aarch64 / Tests
Test darwin-aarch64  /  Node.js Tests
0s
Test darwin-aarch64 / Node.js Tests
Test darwin-x64-baseline  /  Tests
14m 52s
Test darwin-x64-baseline / Tests
Test darwin-x64-baseline  /  Node.js Tests
0s
Test darwin-x64-baseline / Node.js Tests
Test darwin-x64  /  Tests
14m 54s
Test darwin-x64 / Tests
Test darwin-x64  /  Node.js Tests
0s
Test darwin-x64 / Node.js Tests
Test windows-x64-baseline  /  Tests
9m 39s
Test windows-x64-baseline / Tests
Test windows-x64-baseline  /  Node.js Tests
0s
Test windows-x64-baseline / Node.js Tests
Cleanup
4s
Cleanup
Test windows-x64  /  Tests
12m 19s
Test windows-x64 / Tests
Test windows-x64  /  Node.js Tests
0s
Test windows-x64 / Node.js Tests
Fit to window
Zoom out
Zoom in

Annotations

41 errors and 4 warnings
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:492:23)
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:492:23)
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, + 1, + 1, + 1, 0, + 1, + 1, + 1 - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0 ] - Expected - 10 + Received + 10 at C:\a\bun\bun\test\cli\install\bunx.test.ts:88:3
error: Test "should execute from current working directory" timed out after 5000ms
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
ENOENT: No such file or directory: test\cli\install\bunx.test.ts#L207
at C:\a\bun\bun\test\cli\install\bunx.test.ts:207:38
error: expect(received).not.toContain(expected): test\cli\install\bunx.test.ts#L261
Expected to not contain: "error:" Received: " Resolving dependencies\nerror: ENOENT extracting tarball for cowsay\n Resolved, downloaded and extracted [2]\nerror: cowsay@github:piuccio/cowsay failed to resolve\n" at C:\a\bun\bun\test\cli\install\bunx.test.ts:261:3
error: Test "install and use estrella" timed out after 5000ms
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: Failed to install dependencies: test\integration\next-pages\test\dev-server-ssr-100.test.ts#L97
at C:\a\bun\bun\test\integration\next-pages\test\dev-server-ssr-100.test.ts:97:11 at C:\a\bun\bun\test\integration\next-pages\test\dev-server-ssr-100.test.ts:86:11
error: Failed to install dependencies: test\integration\next-pages\test\next-build.test.ts#L35
at C:\a\bun\bun\test\integration\next-pages\test\next-build.test.ts:35:11
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#L223
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+423ed44c1 (Windows x64 baseline)\n" at C:\a\bun\bun\test\js\bun\shell\test_builder.ts:223:11 at doChecks (C:\a\bun\bun\test\js\bun\shell\test_builder.ts:217:20) at C:\a\bun\bun\test\js\bun\shell\test_builder.ts:266:15
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.
Test darwin-aarch64 / Tests
Process completed with exit code 1.
error: Test "dependency on workspace without version in package.json" timed out after 5000ms: test/cli/install/bun-workspaces.test.ts#L117
at /opt/namespace/githubrunner/work/bun/bun/test/cli/install/bun-workspaces.test.ts:117:34
error: expect(received).not.toMatchSnapshot(): test/cli/install/bun-workspaces.test.ts#L125
Matcher error: Snapshot matchers cannot be used outside of a test at /opt/namespace/githubrunner/work/bun/bun/test/cli/install/bun-workspaces.test.ts:125:5
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:492:23)
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, + 1, 0, 0, 0, + 1, 0, + 1, 0, 0, + 1, + 1 - 0, - 0, - 0, - 0, - 0, - 0 ] - Expected - 6 + Received + 6 at C:\a\bun\bun\test\cli\install\bunx.test.ts:88:3
error: Test "install and use estrella" timed out after 5000ms
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: Failed to install dependencies: test\integration\next-pages\test\next-build.test.ts#L35
at C:\a\bun\bun\test\integration\next-pages\test\next-build.test.ts:35:11
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#L223
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+423ed44c1 (Windows x64)\n" at C:\a\bun\bun\test\js\bun\shell\test_builder.ts:223:11 at doChecks (C:\a\bun\bun\test\js\bun\shell\test_builder.ts:217:20) at C:\a\bun\bun\test\js\bun\shell\test_builder.ts:266:15
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: This test passed. Ignore the error message
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).toContain(expected): test/cli/install/registry/bun-install-registry.test.ts#L5648
Expected to contain: "No version matching \">=4.3.0\" found for specifier \"prereleases-3\"" Received: "bun install v1.1.8-canary.1 (423ed44c)\n Resolving dependencies\n Resolved, downloaded and extracted [2]\nerror: No version matching \"<5.0.0-alpha.150\" 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:492:23)
error: expect(received).toBe(expected): test/js/web/fetch/fetch.tls.test.ts#L50
Expected: true Received: false at /Users/runner/work/bun/bun/test/js/web/fetch/fetch.tls.test.ts:50:5
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:492: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.
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:492: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
Test linux-aarch64 / Tests
Process completed with exit code 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 / 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.2 MB
bun-darwin-aarch64-profile
18.6 MB
bun-darwin-aarch64-tests
17.4 KB
bun-darwin-x64
18.7 MB
bun-darwin-x64-baseline
18.7 MB
bun-darwin-x64-baseline-profile
20.7 MB
bun-darwin-x64-baseline-tests
14.6 KB
bun-darwin-x64-profile
20.8 MB
bun-darwin-x64-tests
24.1 KB
bun-feature-data
475 Bytes
bun-linux-aarch64
32 MB
bun-linux-aarch64-profile
62.2 MB
bun-linux-aarch64-tests
7.19 KB
bun-linux-x64
33.3 MB
bun-linux-x64-baseline
33.2 MB
bun-linux-x64-baseline-profile
62.4 MB
bun-linux-x64-baseline-tests
4.73 KB
bun-linux-x64-profile
62.5 MB
bun-linux-x64-tests
4.72 KB
bun-windows-x64
33.6 MB
bun-windows-x64-baseline
33.5 MB
bun-windows-x64-baseline-profile
96.4 MB
bun-windows-x64-baseline-tests
45.7 KB
bun-windows-x64-profile
96.5 MB
bun-windows-x64-tests
62.3 KB