-
Notifications
You must be signed in to change notification settings - Fork 46
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
ERROR ThreadId(01) pact_ffi::mock_server::handles: Failed to parse the value: expected value at line 1 column 1 #408
Comments
hmm I've tried on the latest version, I'd suggest providing a Minimal, Reproducible Example from this this template that's already hooked up to CI. Make it fail with the error you have, and then we can fix it. |
Hi @mefellows thank you for checking this. That's rather strange. I did reproduce this on another windows PC which even did not have Node before that. But, I'm terribly sorry, that I was not clear enough - tests are indeed passing. Its just whole log is with those errors(we have a lot pacts :) ) |
We are seeing this also. |
Can you both please share the output of this:
|
I believe it's this line of code that's firing: https://github.com/pact-foundation/pact-reference/blame/712bc797ecbd3bbf843c1d6ae97b57d2981f5cbb/rust/pact_ffi/src/mock_server/handles.rs#L1003 It's been updated to a This function is called on essentially every place that can have a matcher, and if no matcher is given (e.g. it's just a string) I think the warning is printed. That might be overly excitable. TL;DR - I don't think it's actually a problem, but would be good to know if you're tests are still behaving as you'd expect. |
Facing the same problem, posting the output too
|
Yes, the tests pass… there is just noise in the logs that cause confusion (we have many developers working in this repo). So it sounds like we should update our version of pact when the next release is out?
|
Thanks folks - I think when we release the next version of the core (that pulls in the linked code above) this would change to a @uglyog is |
Hello everyone! We are experiencing a multitude of log entries like the ones below on our CI and locally across all developers. We would like to know if there's something we need to fix (what and where?), or if these are merely debug logs. If it's the second, we would appreciate guidance on how to disable them. Please keep us updated about any changes regarding this issue. Also, 'just ignore them, even if you get a thousand in your CI report' isn't a strategy we'd prefer to follow. :)
|
As per above, these are not errors and can be ignored. |
Software versions
Issue Checklist
Please confirm the following:
Expected behaviour
No errors
Actual behaviour
Multiple error messages like:
ERROR ThreadId(01) pact_ffi::mock_server::handles: Failed to parse the value: expected value at line 1 column 1
Steps to reproduce
git clone https://github.com/pact-foundation/pact-js.git
Open ./pact-js/examples/typescript/package.json and change
"@pact-foundation/pact": "file:../../dist/",
to
"@pact-foundation/pact": "^12.1.3",
or
"@pact-foundation/pact": "^12.3.0",
(it started showing this errors starting 12.1.3)
From ./pact-js/examples/typescript/
run npm install
Open ./pact-js/examples/typescript/test/get-dog.spec.ts
Change log level to 'error' and add pactfileWriteMode: 'merge' into Pact configuration:
From ./pact-js/examples/typescript run:
npm run test
See error messages in console
Thank you
The text was updated successfully, but these errors were encountered: