-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[Metricbeat] migrate nginx module to ReporterV2 error #11414
[Metricbeat] migrate nginx module to ReporterV2 error #11414
Conversation
Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually? |
jenkins, test this |
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.
I think the CI failure is related. In [fail] 0.10% test_cmd.TestCommands.test_modules_test_error
we use the nginx module to test the error output. With this change, it's logged now on the Info level (which I think is fine and expected) but we need to adjust the tests there.
@ruflin Do we need to change whatever test harness is using the nginx moule? |
beats/metricbeat/tests/system/test_cmd.py Line 141 in 6bff9a6
Did we just hard-code expected error values into the testing framework? The error body that's returned also seems completely different, but I could be reading the CI logs wrong. |
@fearful-symmetry Yes, we need to adjust these tests. For the hardcoded errors: Yes, they are there :-) I think the issue is that now the errors are on the INFO level and not ERROR level anymore. |
Ah, it looks like it's not a log level problem, just the addition of
and our new output from travis is:
So the problem is just the @berfinsari I think the solution is just to update |
@berfinsari Do you still want to work on this? |
Ping @berfinsari 🙂 Don't feel pressed. It's perfectly ok if you don't have time now, anyone else can continue with this 😉 |
Merged already in #13518 Thanks for the help anyways, @berfinsari 🙂 |
See #11374 and #10727