| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
Fast-track has been requested by @ShogunPanda. Please 👍 to approve. |
Sorry, something went wrong.
@ShogunPanda Could you help me understand why this pr will fix the test failure? |
Sorry, something went wrong.
|
The test is still failing in CI. If #43522 is the culprit, maybe revert (#43636) is the way to go? Looking at its CI history, it probably should not have landed: the test failed a bunch of times there, too. |
Sorry, something went wrong.
|
Unrelated side note: the commit message should start with http: fix ..., not http: fixed .... |
Sorry, something went wrong.
|
We have lot of flakiness in tests lately. Please do not revert the other PR, I'll work in the next few hours to understand why it fails. |
Sorry, something went wrong.
|
I found the issue. The problem was not in using the agent but in the fact that the server.close was called before the client could receive the response. As the request was completed closeIdleConnections would have closed it. |
Sorry, something went wrong.
Sorry, something went wrong.
|
test-gc-http-client-timeout fail with Cannot read properties of null in Server.closeIdleConnections method, see #43638 (comment). This method is introduced by you, could you help to take a look? @ShogunPanda |
Sorry, something went wrong.
@ShogunPanda After some investigation, I found this is also caused by #43522. 😹 |
Sorry, something went wrong.
|
My opinion is that after the changes we detect tests that were misbehaving on handling the socket. |
Sorry, something went wrong.
This pr causes two tests to fail, this will affect all pr. I would prefer to keep CI green. When you fixed the test, you could land #43522 again. I don't see any downside to that. could you help me to understand why we would better not revert? |
Sorry, something went wrong.
|
Because apparently CI was not detecting those tests to fail (not even locally) while somehow it is now. So I think we are in a better spot at the moment. |
Sorry, something went wrong.
|
Moreover, can you share how you detect that the PR is involved? So I can investigate how to fix it |
Sorry, something went wrong.
Ok. I will support you. |
Sorry, something went wrong.
test-stream-finishedThis test failure is root caused by @MoLow in #43623 (comment) test-gc-http-client-timeoutThe stack tell me error is happened at Server.closeIdleConnections in Server.close. I then find it is #43522 introduce Server.closeIdleConnections in Server.close. done/collected/total: 93/0/804
done/collected/total: 322/93/804
done/collected/total: 415/322/804
done/collected/total: 664/349/804
done/collected/total: 737/415/804
done/collected/total: 804/664/804
done/collected/total: 804/737/804
done/collected/total: 804/804/804
node:_http_server:498
connections[i].socket.destroy();
^
TypeError: Cannot read properties of null (reading 'destroy')
at Server.closeIdleConnections (node:_http_server:498:27)
at Server.close (node:_http_server:481:8)
at Immediate.status (/home/iojs/build/workspace/node-test-binary-armv7l/test/parallel/test-gc-http-client-timeout.js:66:14)
at process.processImmediate (node:internal/timers:471:21) |
Sorry, something went wrong.
|
Oh, you are on ARM. On MacOS I get a different error. But I suspect it is the same. Working on it. |
Sorry, something went wrong.
|
I just have noticed that the test-gc-http-client-timeout has been created out of test-gc-http-client which was moved to sequential tests because it was not reliable. Shall we do the same? |
Sorry, something went wrong.
|
Fast-track has been requested by @tniessen. Please 👍 to approve. |
Sorry, something went wrong.
wow. this tool is great. I don't know that before. |
Sorry, something went wrong.
There was a problem hiding this comment.
lgtm
Sorry, something went wrong.
Commit Queue failed- Loading data for nodejs/node/pull/43641
✔ Done loading data for nodejs/node/pull/43641
----------------------------------- PR info ------------------------------------
Title http: fix failing test (#43641)
Author Paolo Insogna (@ShogunPanda)
Branch ShogunPanda:fix-failing-test -> nodejs:main
Labels test, fast-track, needs-ci
Commits 2
- http: fix failing test
- http: moved test to sequential
Committers 1
- Paolo Insogna
PR-URL: https://github.com/nodejs/node/pull/43641
Reviewed-By: Matteo Collina
Reviewed-By: Filip Skokan
------------------------------ Generated metadata ------------------------------
PR-URL: https://github.com/nodejs/node/pull/43641
Reviewed-By: Matteo Collina
Reviewed-By: Filip Skokan
--------------------------------------------------------------------------------
ℹ This PR was created on Fri, 01 Jul 2022 09:29:46 GMT
✔ Approvals: 2
✔ - Matteo Collina (@mcollina) (TSC): https://github.com/nodejs/node/pull/43641#pullrequestreview-1026765760
✔ - Filip Skokan (@panva): https://github.com/nodejs/node/pull/43641#pullrequestreview-1026768532
ℹ This PR is being fast-tracked
✔ Last GitHub CI successful
ℹ Last Full PR CI on 2022-07-02T04:04:05Z: https://ci.nodejs.org/job/node-test-pull-request/45045/
- Querying data for job/node-test-pull-request/45045/
✔ Last Jenkins CI successful
--------------------------------------------------------------------------------
✔ No git cherry-pick in progress
✔ No git am in progress
✔ No git rebase in progress
--------------------------------------------------------------------------------
- Bringing origin/main up to date...
From https://github.com/nodejs/node
* branch main -> FETCH_HEAD
✔ origin/main is now up-to-date
- Downloading patch for 43641
From https://github.com/nodejs/node
* branch refs/pull/43641/merge -> FETCH_HEAD
✔ Fetched commits as 201460873d07..64cf037bbed1
--------------------------------------------------------------------------------
[main f57c58aa05] http: fix failing test
Author: Paolo Insogna
Date: Fri Jul 1 13:39:05 2022 +0200
1 file changed, 3 insertions(+), 1 deletion(-)
[main 344ac7b8a0] http: moved test to sequential
Author: Paolo Insogna
Date: Fri Jul 1 16:29:04 2022 +0200
1 file changed, 0 insertions(+), 0 deletions(-)
rename test/{parallel => sequential}/test-gc-http-client-timeout.js (100%)
✔ Patches applied
There are 2 commits in the PR. Attempting autorebase.
Rebasing (2/4)
https://github.com/nodejs/node/actions/runs/2602070703
|
Sorry, something went wrong.
@tniessen Could we file an issue to nodejs/build or nodejs/node to record this bug? I tried to fix it to the main branch in nodejs/build repo, but I cannot figure out where the Jenkins file of node-stress-single-test is(I think it resides in some private repo of building wg). Nonetheless, I create nodejs/build#2986 and nodejs/build#2987 to update a lot of master branch usage to main. |
Sorry, something went wrong.
|
@ShogunPanda test-gc-http-client-timeout is still flaky after move to sequential: https://ci.nodejs.org/job/node-test-commit-arm/42478/nodes=ubuntu2004-armv7l/testReport/junit/(root)/test/sequential_test_gc_http_client_timeout/ |
Sorry, something went wrong.
|
@F3n67u I'll soon file a request to @nodejs/build to get access to machine and investigate it. On macOS it does not happen |
Sorry, something went wrong.
Great. thank you. |
Sorry, something went wrong.
PR-URL: #43641 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Filip Skokan <panva.ip@gmail.com>
| Back | FazBrowse Home | New Git URL |
Fixes #43623.