- Notifications
You must be signed in to change notification settings - Fork9
Bump nock from 13.5.6 to 14.0.0#452
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Bumps [nock](https://github.com/nock/nock) from 13.5.6 to 14.0.0.- [Release notes](https://github.com/nock/nock/releases)- [Changelog](https://github.com/nock/nock/blob/main/CHANGELOG.md)- [Commits](nock/nock@v13.5.6...v14.0.0)---updated-dependencies:- dependency-name: nock dependency-type: direct:development update-type: version-update:semver-major...Signed-off-by: dependabot[bot] <support@github.com>
per1234 left a comment• edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
This seems to cause a regression in the tests:
(node:1927) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 connect listeners added to [MockHttpSocket]. MaxListeners is 10. Use emitter.setMaxListeners() to increase limit(Use `node --trace-warnings ...` to show where the warning was created)abortedWaiting 16 seconds before trying again(node:1927) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 connect listeners added to [MockHttpSocket]. MaxListeners is 10. Use emitter.setMaxListeners() to increase limitabortedWaiting 15 seconds before trying again(node:1927) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 connect listeners added to [MockHttpSocket]. MaxListeners is 10. Use emitter.setMaxListeners() to increase limitabortedWaiting 20 seconds before trying again(node:1927) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 connect listeners added to [MockHttpSocket]. MaxListeners is 10. Use emitter.setMaxListeners() to increase limit(node:1927) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 connect listeners added to [MockHttpSocket]. MaxListeners is 10. Use emitter.setMaxListeners() to increase limitabortedWaiting 14 seconds before trying again(node:1927) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 connect listeners added to [MockHttpSocket]. MaxListeners is 10. Use emitter.setMaxListeners() to increase limitabortedWaiting 19 seconds before trying again(node:1927) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 connect listeners added to [MockHttpSocket]. MaxListeners is 10. Use emitter.setMaxListeners() to increase limitabortedWaiting 14 seconds before trying again(node:1927) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 connect listeners added to [MockHttpSocket]. MaxListeners is 10. Use emitter.setMaxListeners() to increase limitFAIL __tests__/main.test.ts (62.9[38](https://github.com/arduino/arduino-lint-action/actions/runs/12980463142/job/36200807004?pr=452#step:5:39) s) installer tests ✕ Downloads version of arduino-lint if no matching version is installed (20008 ms) Gets the latest release of arduino-lint ✕ Gets the latest version of arduino-lint 1.0.0 using 1.0 and no matching version is installed (20002 ms) ✕ Gets latest version of the 1 major series using 1.x and no matching version is installed (20002 ms) ● installer tests › Downloads version of arduino-lint if no matching version is installed thrown: "Exceeded timeout of 20000 ms for a test. Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout." 59 | }); 60 | > 61 | it("Downloads version of arduino-lint if no matching version is installed", async () => { | ^ 62 | const toolPath = await installer.getArduinoLint("1.0.0"); 63 | const bindir = path.join(toolDir, "arduino-lint", "1.0.0", os.arch()); 64 | at __tests__/main.test.ts:61:3 at Object.<anonymous> (__tests__/main.test.ts:38:1) ● installer tests › Gets the latest release of arduino-lint › Gets the latest version of arduino-lint 1.0.0 using 1.0 and no matching version is installed thrown: "Exceeded timeout of 20000 ms for a test. Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout." 90 | }); 91 | > 92 | it("Gets the latest version of arduino-lint 1.0.0 using 1.0 and no matching version is installed", async () => { | ^ 93 | await installer.getArduinoLint("1.0"); 94 | const bindir = path.join(toolDir, "arduino-lint", "1.0.0", os.arch()); 95 | at __tests__/main.test.ts:92:5 at __tests__/main.test.ts:75:3 at Object.<anonymous> (__tests__/main.test.ts:38:1) ● installer tests › Gets the latest release of arduino-lint › Gets latest version of the 1 major series using 1.x and no matching version is installed thrown: "Exceeded timeout of 20000 ms for a test. Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout." 102 | }, 20000); 103 | > 104 | it("Gets latest version of the 1 major series using 1.x and no matching version is installed", async () => { | ^ 105 | await installer.getArduinoLint("1.x"); 106 | const bindir = path.join(toolDir, "arduino-lint", "1.0.0", os.arch()); 107 | at __tests__/main.test.ts:104:5 at __tests__/main.test.ts:75:3 at Object.<anonymous> (__tests__/main.test.ts:38:1)
The fault is consistently repeatable and did not occur when I triggered a workflow run from themain
branch, so this is not caused by a transient network outage.
I tried increasing the test timeout duration to600000
and after that the tests still failed, except this time throwing a different exception:
thrown: "Failed to download version 1.0.0: Error: aborted"
The breaking changes that caused the major version bump of Nock are described in the release notes as:
- drop support for Node < 18
This project uses Node 20, so that is not relevant. In addition, I see this:
- drop support for delayConnection
However, that is only a deprecation and it is not used in this project anyway.
I ran the tests withNODE_DEBUG
set tonock:*
and the Node.js--trace-warnings
flag to get more information, but I don't see anything interesting:
NOCK:BACK 1923: New nock back mode: dryrunNOCK:RECORDER 1923: 0 restoring all the overridden http/https propertiesNOCK:INTERCEPT 1923: restoring overridden ClientRequestNOCK:INTERCEPT 1923: - ClientRequest was not overriddenNOCK:INTERCEPT 1923: Overriding ClientRequestNOCK:INTERCEPT 1923: ClientRequest overriddenNOCK:COMMON 1923: options.hostname in the end: "api.github.com"NOCK:COMMON 1923: options.host in the end: "api.github.com:443"NOCK:INTERCEPT 1923: interceptors for "api.github.com:443"NOCK:INTERCEPT 1923: filtering interceptors for basepath https://api.github.com:443NOCK:COMMON 1923: options.host: api.github.com:443NOCK:COMMON 1923: options.hostname in the end: "api.github.com"NOCK:COMMON 1923: options.host in the end: "api.github.com:443"NOCK:INTERCEPT 1923: Net connect enabled for api.github.com:443NOCK:COMMON 1923: options.hostname in the end: "github.com"NOCK:COMMON 1923: options.host in the end: "github.com:443"NOCK:INTERCEPT 1923: interceptors for "github.com:443"NOCK:INTERCEPT 1923: filtering interceptors for basepath https://github.com:443NOCK:COMMON 1923: options.host: github.com:443NOCK:COMMON 1923: options.hostname in the end: "github.com"NOCK:COMMON 1923: options.host in the end: "github.com:443"NOCK:INTERCEPT 1923: Net connect enabled for github.com:443NOCK:COMMON 1923: options.hostname in the end: "objects.githubusercontent.com"NOCK:COMMON 1923: options.host in the end: "objects.githubusercontent.com:443"NOCK:INTERCEPT 1923: interceptors for "objects.githubusercontent.com:443"NOCK:INTERCEPT 1923: filtering interceptors for basepath https://objects.githubusercontent.com:443NOCK:COMMON 1923: options.host: objects.githubusercontent.com:443NOCK:COMMON 1923: options.hostname in the end: "objects.githubusercontent.com"NOCK:COMMON 1923: options.host in the end: "objects.githubusercontent.com:443"NOCK:INTERCEPT 1923: Net connect enabled for objects.githubusercontent.com:443(node:1923) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 connect listeners added to [MockHttpSocket]. MaxListeners is 10. Use emitter.setMaxListeners() to increase limit at genericNodeError (node:internal/errors:984:15) at wrappedFn (node:internal/errors:538:14) at _addListener (node:events:592:17) at MockHttpSocket.addListener (node:events:610:10) at MockHttpSocket.Readable.on (node:internal/streams/readable:1128:35) at MockHttpSocket.once (node:events:654:8) at MockHttpSocket.Socket._read (node:net:720:10) at MockHttpSocket.Readable.read (node:internal/streams/readable:739:12) at MockHttpSocket.Socket.read (node:net:777:39) at maybeReadMore_ (node:internal/streams/readable:893:12) at processTicksAndRejections (node:internal/process/task_queues:82:21)abortedWaiting 10 seconds before trying againNOCK:COMMON 1923: options.hostname in the end: "github.com"NOCK:COMMON 1923: options.host in the end: "github.com:443"NOCK:INTERCEPT 1923: interceptors for "github.com:443"NOCK:INTERCEPT 1923: filtering interceptors for basepath https://github.com:443NOCK:COMMON 1923: options.host: github.com:443NOCK:COMMON 1923: options.hostname in the end: "github.com"NOCK:COMMON 1923: options.host in the end: "github.com:443"NOCK:INTERCEPT 1923: Net connect enabled for github.com:443NOCK:COMMON 1923: options.hostname in the end: "objects.githubusercontent.com"NOCK:COMMON 1923: options.host in the end: "objects.githubusercontent.com:443"NOCK:INTERCEPT 1923: interceptors for "objects.githubusercontent.com:443"NOCK:INTERCEPT 1923: filtering interceptors for basepath https://objects.githubusercontent.com:443NOCK:COMMON 1923: options.host: objects.githubusercontent.com:443NOCK:COMMON 1923: options.hostname in the end: "objects.githubusercontent.com"NOCK:COMMON 1923: options.host in the end: "objects.githubusercontent.com:443"NOCK:INTERCEPT 1923: Net connect enabled for objects.githubusercontent.com:443(node:1923) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 connect listeners added to [MockHttpSocket]. MaxListeners is 10. Use emitter.setMaxListeners() to increase limit at genericNodeError (node:internal/errors:984:15) at wrappedFn (node:internal/errors:538:14) at _addListener (node:events:592:17) at MockHttpSocket.addListener (node:events:610:10) at MockHttpSocket.Readable.on (node:internal/streams/readable:1128:35) at MockHttpSocket.once (node:events:654:8) at MockHttpSocket.Socket._read (node:net:720:10) at MockHttpSocket.Readable.read (node:internal/streams/readable:739:12) at MockHttpSocket.Socket.read (node:net:777:39) at maybeReadMore_ (node:internal/streams/readable:893:12) at processTicksAndRejections (node:internal/process/task_queues:82:21)abortedWaiting 12 seconds before trying againNOCK:COMMON 1923: options.hostname in the end: "github.com"NOCK:COMMON 1923: options.host in the end: "github.com:443"NOCK:INTERCEPT 1923: interceptors for "github.com:443"NOCK:INTERCEPT 1923: filtering interceptors for basepath https://github.com:443NOCK:COMMON 1923: options.host: github.com:443NOCK:COMMON 1923: options.hostname in the end: "github.com"NOCK:COMMON 1923: options.host in the end: "github.com:443"NOCK:INTERCEPT 1923: Net connect enabled for github.com:443NOCK:COMMON 1923: options.hostname in the end: "objects.githubusercontent.com"NOCK:COMMON 1923: options.host in the end: "objects.githubusercontent.com:443"NOCK:INTERCEPT 1923: interceptors for "objects.githubusercontent.com:443"NOCK:INTERCEPT 1923: filtering interceptors for basepath https://objects.githubusercontent.com:443NOCK:COMMON 1923: options.host: objects.githubusercontent.com:443NOCK:COMMON 1923: options.hostname in the end: "objects.githubusercontent.com"NOCK:COMMON 1923: options.host in the end: "objects.githubusercontent.com:443"NOCK:INTERCEPT 1923: Net connect enabled for objects.githubusercontent.com:443(node:1923) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 connect listeners added to [MockHttpSocket]. MaxListeners is 10. Use emitter.setMaxListeners() to increase limit at genericNodeError (node:internal/errors:984:15) at wrappedFn (node:internal/errors:538:14) at _addListener (node:events:592:17) at MockHttpSocket.addListener (node:events:610:10) at MockHttpSocket.Readable.on (node:internal/streams/readable:1128:35) at MockHttpSocket.once (node:events:654:8) at MockHttpSocket.Socket._read (node:net:720:10) at MockHttpSocket.Readable.read (node:internal/streams/readable:739:12) at MockHttpSocket.Socket.read (node:net:777:39) at maybeReadMore_ (node:internal/streams/readable:893:12) at processTicksAndRejections (node:internal/process/task_queues:82:21)NOCK:SCOPE:API.GITHUB.COM 1923: reply.headers: {}NOCK:SCOPE:API.GITHUB.COM 1923: reply.rawHeaders: []NOCK:COMMON 1923: options.hostname in the end: "api.github.com"NOCK:COMMON 1923: options.host in the end: "api.github.com:443"NOCK:INTERCEPT 1923: interceptors for "api.github.com:443"NOCK:INTERCEPT 1923: filtering interceptors for basepath https://api.github.com:443NOCK:INTERCEPT 1923: matched base path (1 interceptor)NOCK:COMMON 1923: options.host: api.github.comNOCK:COMMON 1923: options.hostname in the end: "api.github.com"NOCK:COMMON 1923: options.host in the end: "api.github.com:443"NOCK:INTERCEPT 1923: interceptors for "api.github.com:443"NOCK:INTERCEPT 1923: filtering interceptors for basepath https://api.github.com:443NOCK:INTERCEPT 1923: matched base path (1 interceptor)NOCK:INTERCEPT 1923: using 1 interceptorsNOCK:REQUEST_OVERRIDER 1923: request writeNOCK:REQUEST_OVERRIDER 1923: request endNOCK:REQUEST_OVERRIDER 1923: endingNOCK:SCOPE:API.GITHUB.COM 1923: attempting match {"protocol":"https:","hostname":"api.github.com","hash":"","search":"","pathname":"/repos/arduino/arduino-lint/git/refs/tags","path":"/repos/arduino/arduino-lint/git/refs/tags","href":"https://api.github.com/repos/arduino/arduino-lint/git/refs/tags","method":"GET","host":"api.github.com:443","port":443,"proto":"https","headers":{"accept":"application/json","authorization":"Basic UEFUOg==","connection":"close","user-agent":"arduino-lint-action"}}, body = ""NOCK:SCOPE:API.GITHUB.COM 1923: query matching skippedNOCK:SCOPE:API.GITHUB.COM 1923: matching https://api.github.com:443/repos/arduino/arduino-lint/git/refs/tags to GET https://api.github.com:443/repos/arduino/arduino-lint/git/refs/tags: trueNOCK:SCOPE:API.GITHUB.COM 1923: interceptor identified, starting mockingNOCK:SCOPE:API.GITHUB.COM 1923: response.rawHeaders: []NOCK:SCOPE:API.GITHUB.COM 1923: emitting responseNOCK:COMMON 1923: options.hostname in the end: "github.com"NOCK:COMMON 1923: options.host in the end: "github.com:443"NOCK:INTERCEPT 1923: interceptors for "github.com:443"NOCK:INTERCEPT 1923: filtering interceptors for basepath https://github.com:443NOCK:COMMON 1923: options.host: github.com:443NOCK:COMMON 1923: options.hostname in the end: "github.com"NOCK:COMMON 1923: options.host in the end: "github.com:443"NOCK:INTERCEPT 1923: Net connect enabled for github.com:443NOCK:COMMON 1923: options.hostname in the end: "objects.githubusercontent.com"NOCK:COMMON 1923: options.host in the end: "objects.githubusercontent.com:443"NOCK:INTERCEPT 1923: interceptors for "objects.githubusercontent.com:443"NOCK:INTERCEPT 1923: filtering interceptors for basepath https://objects.githubusercontent.com:443NOCK:COMMON 1923: options.host: objects.githubusercontent.com:443NOCK:COMMON 1923: options.hostname in the end: "objects.githubusercontent.com"NOCK:COMMON 1923: options.host in the end: "objects.githubusercontent.com:443"NOCK:INTERCEPT 1923: Net connect enabled for objects.githubusercontent.com:443(node:1923) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 connect listeners added to [MockHttpSocket]. MaxListeners is 10. Use emitter.setMaxListeners() to increase limit at genericNodeError (node:internal/errors:984:15) at wrappedFn (node:internal/errors:538:14) at _addListener (node:events:592:17) at MockHttpSocket.addListener (node:events:610:10) at MockHttpSocket.Readable.on (node:internal/streams/readable:1128:35) at MockHttpSocket.once (node:events:654:8) at MockHttpSocket.Socket._read (node:net:720:10) at MockHttpSocket.Readable.read (node:internal/streams/readable:739:12) at MockHttpSocket.Socket.read (node:net:777:39) at maybeReadMore_ (node:internal/streams/readable:893:12) at processTicksAndRejections (node:internal/process/task_queues:82:21)abortedWaiting 14 seconds before trying againNOCK:COMMON 1923: options.hostname in the end: "github.com"NOCK:COMMON 1923: options.host in the end: "github.com:443"NOCK:INTERCEPT 1923: interceptors for "github.com:443"NOCK:INTERCEPT 1923: filtering interceptors for basepath https://github.com:443NOCK:COMMON 1923: options.host: github.com:443NOCK:COMMON 1923: options.hostname in the end: "github.com"NOCK:COMMON 1923: options.host in the end: "github.com:443"NOCK:INTERCEPT 1923: Net connect enabled for github.com:443NOCK:COMMON 1923: options.hostname in the end: "objects.githubusercontent.com"NOCK:COMMON 1923: options.host in the end: "objects.githubusercontent.com:443"NOCK:INTERCEPT 1923: interceptors for "objects.githubusercontent.com:443"NOCK:INTERCEPT 1923: filtering interceptors for basepath https://objects.githubusercontent.com:443NOCK:COMMON 1923: options.host: objects.githubusercontent.com:443NOCK:COMMON 1923: options.hostname in the end: "objects.githubusercontent.com"NOCK:COMMON 1923: options.host in the end: "objects.githubusercontent.com:443"NOCK:INTERCEPT 1923: Net connect enabled for objects.githubusercontent.com:443(node:1923) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 connect listeners added to [MockHttpSocket]. MaxListeners is 10. Use emitter.setMaxListeners() to increase limit at genericNodeError (node:internal/errors:984:15) at wrappedFn (node:internal/errors:538:14) at _addListener (node:events:592:17) at MockHttpSocket.addListener (node:events:610:10) at MockHttpSocket.Readable.on (node:internal/streams/readable:1128:35) at MockHttpSocket.once (node:events:654:8) at MockHttpSocket.Socket._read (node:net:720:10) at MockHttpSocket.Readable.read (node:internal/streams/readable:739:12) at MockHttpSocket.Socket.read (node:net:777:39) at flow (node:internal/streams/readable:1283:53) at resume_ (node:internal/streams/readable:1[26](https://github.com/per1234/arduino-lint-action/actions/runs/12986430712/job/36213242893#step:5:27)2:3) at processTicksAndRejections (node:internal/process/task_queues:82:21)abortedWaiting 14 seconds before trying againNOCK:COMMON 1923: options.hostname in the end: "github.com"NOCK:COMMON 1923: options.host in the end: "github.com:443"NOCK:INTERCEPT 1923: interceptors for "github.com:443"NOCK:INTERCEPT 1923: filtering interceptors for basepath https://github.com:443NOCK:COMMON 1923: options.host: github.com:443NOCK:COMMON 1923: options.hostname in the end: "github.com"NOCK:COMMON 1923: options.host in the end: "github.com:443"NOCK:INTERCEPT 1923: Net connect enabled for github.com:443NOCK:COMMON 1923: options.hostname in the end: "objects.githubusercontent.com"NOCK:COMMON 1923: options.host in the end: "objects.githubusercontent.com:443"NOCK:INTERCEPT 1923: interceptors for "objects.githubusercontent.com:443"NOCK:INTERCEPT 1923: filtering interceptors for basepath https://objects.githubusercontent.com:443NOCK:COMMON 1923: options.host: objects.githubusercontent.com:443NOCK:COMMON 1923: options.hostname in the end: "objects.githubusercontent.com"NOCK:COMMON 1923: options.host in the end: "objects.githubusercontent.com:443"NOCK:INTERCEPT 1923: Net connect enabled for objects.githubusercontent.com:443(node:1923) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 connect listeners added to [MockHttpSocket]. MaxListeners is 10. Use emitter.setMaxListeners() to increase limit at genericNodeError (node:internal/errors:984:15) at wrappedFn (node:internal/errors:538:14) at _addListener (node:events:592:17) at MockHttpSocket.addListener (node:events:610:10) at MockHttpSocket.Readable.on (node:internal/streams/readable:11[28](https://github.com/per1234/arduino-lint-action/actions/runs/12986430712/job/36213242893#step:5:29):35) at MockHttpSocket.once (node:events:654:8) at MockHttpSocket.Socket._read (node:net:720:10) at MockHttpSocket.Readable.read (node:internal/streams/readable:739:12) at MockHttpSocket.Socket.read (node:net:777:39) at maybeReadMore_ (node:internal/streams/readable:893:12) at processTicksAndRejections (node:internal/process/task_queues:82:21)NOCK:SCOPE:API.GITHUB.COM 1923: reply.headers: {}NOCK:SCOPE:API.GITHUB.COM 1923: reply.rawHeaders: []NOCK:COMMON 1923: options.hostname in the end: "api.github.com"NOCK:COMMON 1923: options.host in the end: "api.github.com:443"NOCK:INTERCEPT 1923: interceptors for "api.github.com:443"NOCK:INTERCEPT 1923: filtering interceptors for basepath https://api.github.com:443NOCK:INTERCEPT 1923: matched base path (1 interceptor)NOCK:COMMON 1923: options.host: api.github.comNOCK:COMMON 1923: options.hostname in the end: "api.github.com"NOCK:COMMON 1923: options.host in the end: "api.github.com:443"NOCK:INTERCEPT 1923: interceptors for "api.github.com:443"NOCK:INTERCEPT 1923: filtering interceptors for basepath https://api.github.com:443NOCK:INTERCEPT 1923: matched base path (1 interceptor)NOCK:INTERCEPT 1923: using 1 interceptorsNOCK:REQUEST_OVERRIDER 1923: request writeNOCK:REQUEST_OVERRIDER 1923: request endNOCK:REQUEST_OVERRIDER 1923: endingNOCK:SCOPE:API.GITHUB.COM 1923: attempting match {"protocol":"https:","hostname":"api.github.com","hash":"","search":"","pathname":"/repos/arduino/arduino-lint/git/refs/tags","path":"/repos/arduino/arduino-lint/git/refs/tags","href":"https://api.github.com/repos/arduino/arduino-lint/git/refs/tags","method":"GET","host":"api.github.com:443","port":443,"proto":"https","headers":{"accept":"application/json","authorization":"Basic UEFUOg==","connection":"close","user-agent":"arduino-lint-action"}}, body = ""NOCK:SCOPE:API.GITHUB.COM 1923: query matching skippedNOCK:SCOPE:API.GITHUB.COM 1923: matching https://api.github.com:443/repos/arduino/arduino-lint/git/refs/tags to GET https://api.github.com:443/repos/arduino/arduino-lint/git/refs/tags: trueNOCK:SCOPE:API.GITHUB.COM 1923: interceptor identified, starting mockingNOCK:SCOPE:API.GITHUB.COM 1923: response.rawHeaders: []NOCK:SCOPE:API.GITHUB.COM 1923: emitting responseNOCK:COMMON 1923: options.hostname in the end: "github.com"NOCK:COMMON 1923: options.host in the end: "github.com:443"NOCK:INTERCEPT 1923: interceptors for "github.com:443"NOCK:INTERCEPT 1923: filtering interceptors for basepath https://github.com:443NOCK:COMMON 1923: options.host: github.com:443NOCK:COMMON 1923: options.hostname in the end: "github.com"NOCK:COMMON 1923: options.host in the end: "github.com:443"NOCK:INTERCEPT 1923: Net connect enabled for github.com:443NOCK:COMMON 1923: options.hostname in the end: "objects.githubusercontent.com"NOCK:COMMON 1923: options.host in the end: "objects.githubusercontent.com:443"NOCK:INTERCEPT 1923: interceptors for "objects.githubusercontent.com:443"NOCK:INTERCEPT 1923: filtering interceptors for basepath https://objects.githubusercontent.com:443NOCK:COMMON 1923: options.host: objects.githubusercontent.com:443NOCK:COMMON 1923: options.hostname in the end: "objects.githubusercontent.com"NOCK:COMMON 1923: options.host in the end: "objects.githubusercontent.com:443"NOCK:INTERCEPT 1923: Net connect enabled for objects.githubusercontent.com:443(node:1923) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 connect listeners added to [MockHttpSocket]. MaxListeners is 10. Use emitter.setMaxListeners() to increase limit at genericNodeError (node:internal/errors:984:15) at wrappedFn (node:internal/errors:538:14) at _addListener (node:events:592:17) at MockHttpSocket.addListener (node:events:610:10) at MockHttpSocket.Readable.on (node:internal/streams/readable:1128:35) at MockHttpSocket.once (node:events:654:8) at MockHttpSocket.Socket._read (node:net:720:10) at MockHttpSocket.Readable.read (node:internal/streams/readable:739:12) at MockHttpSocket.Socket.read (node:net:777:39) at maybeReadMore_ (node:internal/streams/readable:893:12) at processTicksAndRejections (node:internal/process/task_queues:82:21)abortedWaiting 12 seconds before trying againNOCK:COMMON 1923: options.hostname in the end: "github.com"NOCK:COMMON 1923: options.host in the end: "github.com:443"NOCK:INTERCEPT 1923: interceptors for "github.com:443"NOCK:INTERCEPT 1923: filtering interceptors for basepath https://github.com:443NOCK:COMMON 1923: options.host: github.com:443NOCK:COMMON 1923: options.hostname in the end: "github.com"NOCK:COMMON 1923: options.host in the end: "github.com:443"NOCK:INTERCEPT 1923: Net connect enabled for github.com:443NOCK:COMMON 1923: options.hostname in the end: "objects.githubusercontent.com"NOCK:COMMON 1923: options.host in the end: "objects.githubusercontent.com:443"NOCK:INTERCEPT 1923: interceptors for "objects.githubusercontent.com:443"NOCK:INTERCEPT 1923: filtering interceptors for basepath https://objects.githubusercontent.com:443NOCK:COMMON 1923: options.host: objects.githubusercontent.com:443NOCK:COMMON 1923: options.hostname in the end: "objects.githubusercontent.com"NOCK:COMMON 1923: options.host in the end: "objects.githubusercontent.com:443"NOCK:INTERCEPT 1923: Net connect enabled for objects.githubusercontent.com:443(node:1923) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 connect listeners added to [MockHttpSocket]. MaxListeners is 10. Use emitter.setMaxListeners() to increase limit at genericNodeError (node:internal/errors:984:15) at wrappedFn (node:internal/errors:538:14) at _addListener (node:events:592:17) at MockHttpSocket.addListener (node:events:610:10) at MockHttpSocket.Readable.on (node:internal/streams/readable:1128:35) at MockHttpSocket.once (node:events:654:8) at MockHttpSocket.Socket._read (node:net:720:10) at MockHttpSocket.Readable.read (node:internal/streams/readable:739:12) at MockHttpSocket.Socket.read (node:net:777:39) at maybeReadMore_ (node:internal/streams/readable:893:12) at processTicksAndRejections (node:internal/process/task_queues:82:21)abortedWaiting 13 seconds before trying againNOCK:COMMON 1923: options.hostname in the end: "github.com"NOCK:COMMON 1923: options.host in the end: "github.com:443"NOCK:INTERCEPT 1923: interceptors for "github.com:443"NOCK:INTERCEPT 1923: filtering interceptors for basepath https://github.com:443NOCK:COMMON 1923: options.host: github.com:443NOCK:COMMON 1923: options.hostname in the end: "github.com"NOCK:COMMON 1923: options.host in the end: "github.com:443"NOCK:INTERCEPT 1923: Net connect enabled for github.com:443NOCK:COMMON 1923: options.hostname in the end: "objects.githubusercontent.com"NOCK:COMMON 1923: options.host in the end: "objects.githubusercontent.com:443"NOCK:INTERCEPT 1923: interceptors for "objects.githubusercontent.com:443"NOCK:INTERCEPT 1923: filtering interceptors for basepath https://objects.githubusercontent.com:443NOCK:COMMON 1923: options.host: objects.githubusercontent.com:443NOCK:COMMON 1923: options.hostname in the end: "objects.githubusercontent.com"NOCK:COMMON 1923: options.host in the end: "objects.githubusercontent.com:443"NOCK:INTERCEPT 1923: Net connect enabled for objects.githubusercontent.com:443(node:1923) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 connect listeners added to [MockHttpSocket]. MaxListeners is 10. Use emitter.setMaxListeners() to increase limit at genericNodeError (node:internal/errors:984:15) at wrappedFn (node:internal/errors:538:14) at _addListener (node:events:592:17) at MockHttpSocket.addListener (node:events:610:10) at MockHttpSocket.Readable.on (node:internal/streams/readable:1128:35) at MockHttpSocket.once (node:events:654:8) at MockHttpSocket.Socket._read (node:net:720:10) at MockHttpSocket.Readable.read (node:internal/streams/readable:739:12) at MockHttpSocket.Socket.read (node:net:777:39) at maybeReadMore_ (node:internal/streams/readable:893:12) at processTicksAndRejections (node:internal/process/task_queues:82:21)FAIL __tests__/main.test.ts (80.162 s) installer tests ✕ Downloads version of arduino-lint if no matching version is installed (2[29](https://github.com/per1234/arduino-lint-action/actions/runs/12986430712/job/36213242893#step:5:30)13 ms) Gets the latest release of arduino-lint ✕ Gets the latest version of arduino-lint 1.0.0 using 1.0 and no matching version is installed (28755 ms) ✕ Gets latest version of the 1 major series using 1.x and no matching version is installed (25614 ms) ● installer tests › Downloads version of arduino-lint if no matching version is installed thrown: "Failed to download version 1.0.0: Error: aborted" 59 | }); 60 | > 61 | it("Downloads version of arduino-lint if no matching version is installed", async () => { | ^ 62 | const toolPath = await installer.getArduinoLint("1.0.0"); 63 | const bindir = path.join(toolDir, "arduino-lint", "1.0.0", os.arch()); 64 | at __tests__/main.test.ts:61:3 at Object.<anonymous> (__tests__/main.test.ts:[38](https://github.com/per1234/arduino-lint-action/actions/runs/12986430712/job/36213242893#step:5:39):1)
I don't have time to investigate this further so for now I will put this on hold. Hopefully a solution might appear (e.g., via a new release with a bug fix, or a discussion in the Nock issue tracker) as more people update to the new version of Nock.
Update: this issue looks relevant:nock/nock#2830
Superseded by#456. |
Bumpsnock from 13.5.6 to 14.0.0.
Release notes
Sourced fromnock's releases.
Commits
ef3f158
feat: support for nativefetch
(#2813)c8b2b22
Fix: GitHub workflow script injection (#2805)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)