Repository navigation
Closed
Labels
bugSomething isn't working
Description
# Subtest: test/debug.js
# Subtest: debug\#websocket
ok 1 - debug\#websocket
---
duration_ms: 692.207053
...
# Subtest: debug\#fetch
ok 2 - debug\#fetch
---
duration_ms: 807.024345
...
# Subtest: debug\#undici
not ok 3 - debug\#undici
---
duration_ms: 965.181717
location: '/home/runner/work/undici/undici/test/debug.js:65:1'
failureType: 'hookFailed'
error: 'The plan was not completed'
code: 'ERR_ASSERTION'
name: 'AssertionError'
expected: 10
actual: 8
operator: 'strictEqual'
stack: |-
TestContext.autoEnd (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:25:14)
TestHook.runInAsyncScope (node:async_hooks:203:9)
TestHook.run (node:internal/test_runner/test:631:25)
TestHook.run (node:internal/test_runner/test:856:18)
TestHook.run (node:internal/util:530:12)
node:internal/test_runner/test:565:20
process.processTicksAndRejections (node:internal/process/task_queues:95:5)
async node:internal/test_runner/test:564:9
async Test.runHook (node:internal/test_runner/test:563:7)
async after (node:internal/test_runner/test:591:9)
...
1..3
# tests 3
# suites 0
# pass 2
# fail 1
# cancelled 0
# skipped 0
# todo 0
# duration_ms 2472.022223
# failed 1 of 3 tests
not ok 27 - test/debug.js # time=2811.968ms
---
env: {}
file: test/debug.js
timeout: 60000
command: /opt/hostedtoolcache/node/18.19.0/x64/bin/node
args:
- --expose-gc
- test/debug.js
stdio:
- 0
- pipe
- 2
cwd: /home/runner/work/undici/undici
exitCode: 1
...
cc @metcoder95
Reacted by Carlos Fuentes
Metadata
Metadata
Assignees
Labels
bugSomething isn't working
Activity
metcoder95 commentedon Jan 9, 2024
Sorry, just saw it now; I'll check it out 👍
KhafraDev commentedon Jan 12, 2024
Just saw this -
metcoder95 commentedon Jan 12, 2024
This will be a nightmare...
metcoder95 commentedon Jan 12, 2024
Do you have the job that failed like that?
tsctx commentedon Jan 12, 2024
@metcoder95 See https://github.com/nodejs/undici/actions/runs/7497204073/job/20410443226
KhafraDev commentedon Jan 30, 2024
@metcoder95
metcoder95 commentedon Jan 30, 2024
Ah, this is getting harder; now it seems it just receives a few lines instead of all of them. I'd see what I can do to make it less stricter
KhafraDev commentedon Feb 14, 2024
@metcoder95 @Uzlopak
https://github.com/nodejs/undici/actions/runs/7905870944/job/21579434771?pr=2761
KhafraDev commentedon Feb 14, 2024
it's consistently failing on windows with node v21
Uzlopak commentedon Feb 14, 2024
I will delve into it when i am back from the gym
Uzlopak commentedon Feb 15, 2024
I could reproduce this in my local Windows installation. This is probably a bug in node 21.6.2.
I opened an issue in node core
nodejs/node#51766
I dont see, why a child_process kill() should throw.
Update dependency undici to v6 (#416)