-
Notifications
You must be signed in to change notification settings - Fork 166
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
Changes needed to Makefile for debug build & test #1001
Comments
This is in Jenkins:
For this kind of result: https://ci.nodejs.org/job/node-test-commit-linux-linked/48/nodes=ubuntu1604_sharedlibs_debug_x64/ I've now linked this up to node-test-commit, it's associated with node-test-commit-linux-linked, which, in this case is a misnomer, but "linked" is meant to be for dynamic linking tests for openssl, zlib, c-ares, etc. OpenSSL 1.1.0 is in there already, as is OpenSSL-FIPS. |
@rvagg is this still open? |
@juggernaut451 yes, I believe so, are you interested in tackling it? |
@rvagg yes I am totally interested. can you mentor me on this? |
@juggernaut451 sure, how much experience do you have with There is a variable near the top, You can see in For Lastly, There's also a bunch of other little stuff you might want to consider, like do the addons get built as debug during all of this? It's going to take a bit of tinkering. Be aware when you're playing with this that a debug build does a release & a debug build, thanks to this bit: ifeq ($(BUILDTYPE),Release)
all: out/Makefile $(NODE_EXE) ## Default target, builds node in out/Release/node.
else
all: out/Makefile $(NODE_EXE) $(NODE_G_EXE)
endif I don't know why we do that, it's been doing it for longer than I've been around so I dare not change it. Just be aware that a build will take more than twice as long since it does two builds. If you don't already have it, I'd recommend you install ccache to speed this up across multiple runs. |
working on it |
@rvagg where could I find |
@rvagg |
above issue has been resolved by |
This issue is stale because it has been open many days with no activity. It will be closed soon unless the stale label is removed or a comment is made. |
I'm making this here and not in nodejs/node cause I'll lose track of it and the people most likely to work on it are probably going to be in here anyway.
run-ci
isn't usable, it assumes release buildsbuild-ci
is usable withCONFIG_FLAGS="--debug"
test-ci
isn't usable, you have to calltools/test.py
manually.node-gyp
call and pass--debug
FYI these are relevant parts of the Debug build Jenkins script I've been playing with that works so far. It'd be nice to be able to call
run-ci
with some modifier, likeDEBUG
orBUILD_TYPE=Debug
or even a new targetrun-debug-ci
.Fails on 3 core tests, I've noted them here: nodejs/node#17016, nodejs/node#17017, nodejs/node#17018
See https://ci.nodejs.org/job/node-test-commit-linux-linked/nodes=ubuntu1604_sharedlibs_debug_x64/43/ for a current run with this config and associated failures
@nodejs/testing: I'm going to remove
addons addons-napi doctool
from the test run and add the 3 failing core tests manually to the flaky list from within jenkins so we can at least get to "flaky" status for these debug builds and then try them out attached to node-test-commit.The text was updated successfully, but these errors were encountered: