You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[11.x] test-require-deps-deprecation fails on --without-ssl builds #26480
I would like to ignore that test for now as it does not seem critical to block the release. Any other opinions? @nodejs/releasers @nodejs/tsc
We have only just enabled the --without-ssl builds in the last week: nodejs/build#1574
The test in question doesn't exist in master (removed in #25138 which is semver-major). I kicked off https://ci.nodejs.org/job/node-test-commit-linux-containered/11117/ against v11.x (i.e. 11.10.1) and the test failed there so it's not a new regression in this proposed release so I'm okay with ignoring this for now but we do need to address it so the builds pass for the next 11.x release.
changed the title [-][11.x] test-require-deps-deprecation fails `--with-ssl`[/-][+][11.x] test-require-deps-deprecation fails on `--without-ssl` builds[/+]on Mar 6, 2019
-bash-4.2$ ./node
> require('node-inspect/lib/_inspect')Thrown:Error [ERR_NO_CRYPTO]: Node.js is not compiled with OpenSSL crypto support at assertCrypto (internal/util.js:101:11) at crypto.js:31:1 at NativeModule.compile (internal/bootstrap/loaders.js:341:5) at Function.NativeModule.require (internal/bootstrap/loaders.js:213:16) at NativeModule.requireForDeps (internal/bootstrap/loaders.js:228:23) at internal/deps/node-inspect/lib/internal/inspect_client.js:24:16 at NativeModule.compile (internal/bootstrap/loaders.js:341:5) at Function.NativeModule.require (internal/bootstrap/loaders.js:213:16) at NativeModule.requireForDeps (internal/bootstrap/loaders.js:228:23)
> (node:3877) [DEP0084] DeprecationWarning: Requiring Node.js-bundled 'node-inspect/lib/_inspect' module is deprecated. Please install the necessary module locally.
> .exit
After we get an extra second deprecation warning which then causes the test to fail because the test is expecting a 1:1 mapping between the list of modules in it and warnings:
-bash-4.2$ ./node
> require('node-inspect/lib/_inspect')Thrown:Error [ERR_NO_CRYPTO]: Node.js is not compiled with OpenSSL crypto support at assertCrypto (internal/util.js:101:11) at crypto.js:31:1 at NativeModule.compile (internal/bootstrap/loaders.js:317:5) at Function.NativeModule.require (internal/bootstrap/loaders.js:220:7) at NativeModule.requireWithFallbackInDeps (internal/bootstrap/loaders.js:239:23) at internal/deps/node-inspect/lib/internal/inspect_client.js:24:16 at NativeModule.compile (internal/bootstrap/loaders.js:317:5) at NativeModule.require (internal/bootstrap/loaders.js:220:7)
> (node:5615) [DEP0084] DeprecationWarning: Requiring Node.js-bundled 'node-inspect/lib/_inspect' module is deprecated. Please install the necessary module locally.(node:5615) [DEP0084] DeprecationWarning: Requiring Node.js-bundled 'node-inspect/lib/internal/inspect_client' module is deprecated. Please install the necessary module locally..exit-bash-4.2$
Activity
[-][11.x] test-require-deps-deprecation fails `--with-ssl`[/-][+][11.x] test-require-deps-deprecation fails on `--without-ssl` builds[/+]richardlau commentedon Mar 6, 2019
So for the
--without-sslbuilds, parallel/test-require-deps-deprecation:master(removed in lib: remove unintended access to deps/ #25138 which is semver-major)BridgeAR commentedon Mar 6, 2019
I was not able to reproduce the issue locally. I suggest we just remove the tests in v11. Any objections?
richardlau commentedon Mar 6, 2019
It does reproduce for me.
danbev commentedon Mar 7, 2019
Regarding the
--without-sslissue, perhaps we can add a crypto check:patch
richardlau commentedon Mar 7, 2019
For posterity,
git bisectpoints to b280d90 being the first bad commit.richardlau commentedon Mar 7, 2019
Prior to b280d90:
After we get an extra second deprecation warning which then causes the test to fail because the test is expecting a 1:1 mapping between the list of modules in it and warnings:
node/test/parallel/test-require-deps-deprecation.js
Lines 6 to 20 in 3c277d7
node/test/parallel/test-require-deps-deprecation.js
Lines 29 to 32 in 3c277d7
Of the modules in the list only
node-inspect/lib/_inspectappears to be affected. The test passes if that module is removed from the list.test: fix test by removing node-inspect/lib/_inspect
test: fix test by removing node-inspect/lib/_inspect
test: fix test by removing node-inspect/lib/_inspect
test: fix test by removing node-inspect/lib/_inspect