Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running clinic flame -- node --test gives ERR_INVALID_FD_TYPE #476

Open
jmikedupont2 opened this issue Sep 28, 2024 · 0 comments
Open

Running clinic flame -- node --test gives ERR_INVALID_FD_TYPE #476

jmikedupont2 opened this issue Sep 28, 2024 · 0 comments

Comments

@jmikedupont2
Copy link

Bug report

see the reproducible test here
https://github.com/meta-introspector/o1js/actions/runs/11073869146/job/30771404964

results='run clinic flame -- node --test /app/dist/node/lib/util/base58.unit-test.js

TAP version 13
unit-tests-local-1  | # node:net:182
unit-tests-local-1  | #   throw new ERR_INVALID_FD_TYPE(type);
unit-tests-local-1  | #   ^
unit-tests-local-1  | # TypeError [ERR_INVALID_FD_TYPE]: Unsupported fd type: UNKNOWN
unit-tests-local-1  | #     at createHandle (node:net:182:9)
unit-tests-local-1  | #     at new Socket (node:net:421:20)
unit-tests-local-1  | #     at Object.<anonymous> (/pnpm/global/5/.pnpm/0x@5.7.0/node_modules/0x/lib/preload/redir-std\
out.js:11:18)
unit-tests-local-1  | #     at Module._compile (node:internal/modules/cjs/loader:1469:14)
unit-tests-local-1  | #     at Module._extensions..js (node:internal/modules/cjs/loader:1548:10)
unit-tests-local-1  | #     at Module.load (node:internal/modules/cjs/loader:1288:32)
unit-tests-local-1  | #     at Module._load (node:internal/modules/cjs/loader:1104:12)
unit-tests-local-1  | #     at internalRequire (node:internal/modules/cjs/loader:213:19)
unit-tests-local-1  | #     at Module._preloadModules (node:internal/modules/cjs/loader:1695:5)
unit-tests-local-1  | #     at loadPreloadModules (node:internal/process/pre_execution:730:5)
unit-tests-local-1  | #     at setupUserModules (node:internal/process/pre_execution:207:5)
unit-tests-local-1  | #     at prepareExecution (node:internal/process/pre_execution:160:5)
unit-tests-local-1  | #     at prepareMainThreadExecution (node:internal/process/pre_execution:55:10)
unit-tests-local-1  | #     at node:internal/main/run_main_module:11:19 {
unit-tests-local-1  | #   code: '\''ERR_INVALID_FD_TYPE'\''

Current Behavior

Crashing with --test

Steps to Reproduce (for bugs)

  1. see https://github.com/meta-introspector/o1js/actions/runs/11073869146/job/30771404964
  2. run make or clinic flame -- node --test /app/dist/node/lib/util/base58.unit-test.js

Environment

node v18.17.0
clinic v13.0.0
clinic doctor v11.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant