-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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
test: fix failing test in test-tick-processor #5911
Conversation
The problem in /RunInDebugContext/ regular expression. After investigating the isolate logs for this test-case, I've found nothing that satisfy this expression. Possible solution can be flag i that fixes it.
@matthewloring seems it was your change. Can you explain what exactly this regular expression checks in isolate logs? |
The goal of this test is to check whether or not C++ functions are being symbolized correctly in tick processor output. The function |
@matthewloring Mac OS X |
I am not able to reproduce this locally with OS X 10.11.4. What is the output of |
000000010074c362 T __ZN4node17ContextifyContext17RunInDebugContextERKN2v820FunctionCallbackInfoINS1_5ValueEEE UPD: I've tried again right now on the master branch, still the same error. |
If it helps, here is my isolate log for this test-case - http://pastebin.com/zE9E96KF |
Running on OS X 10.11.4 |
Happy for someone to remote into my machine to debug - as it happens every time for for me. |
Here is the output with a
|
@balupton better to paste it on pastebin, thanks. Your message is too long. |
@matthewloring I see now, what regular expression checks. Just dive in a little bit in C++ code. In that case, problem here that we don't have any C++ call from that function. Isolate log says here 0% of C++ code at all. Any suggestions, how can I fix this? |
@ghaiklor It means that V8 is unable to resolve the C++ symbol that corresponds to the |
Actually, looks like @indutny found the culprit here: #5903 (comment). I am running OS X 10.11.4 though so I'm not sure why the problem isn't reproducing for me. |
@matthewloring that's strange... may I ask you to give a try to that patch that I posted there? Does it still work after applying it? |
I'm sorry, but this PR is not a fix for the problem, as it matches JS symbol instead of a C++ one. Closing! |
@indutny thanks for fix, I can delete branch now. Just checked your patch locally, works like a charm. |
Pull Request check-list
make -j8 test
(UNIX) orvcbuild test nosign
(Windows) pass withthis change (including linting)?
Affected core subsystem(s)
test
Description of change
Fixes #5903
The problem in /RunInDebugContext/ regular expression. After investigating the isolate logs for this test-case, I've found nothing that satisfy this expression.
Possible solution can be flag
i
that fixes it.Though, I think that it's just a typo in regular expression and there is should be lower-cased first letter.