-
Notifications
You must be signed in to change notification settings - Fork 77
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
Socket test failing in Beats #73
Comments
@andrewkroh is probably the better person here to give some feedback. |
Which test is failing? Can you provide the output? The endianness is hardcoded in a few places IRRC. The endianness could be extracted to a variable and populated based on the detected endianness of the machine. |
While executing
If I modify the |
@andrewkroh, could you please have a look at the above? |
Oh, so it's a test in Metricbeat. I think that package should have a variable like
and update all hard-coded places to use the variable. Then have an init() function that detects the endian.
WDYT? |
@andrewkroh, ya this looks good. |
Can this change be merged? @andrewkroh, the above patch works fine on little and big endian. |
@andrewkroh As you suggested in your comment, we have worked on adding big endian support for gosigar. |
As #100 is merged, Can you please update beats source code to have latest commit of gosigar? This will fix the issues with big endian. |
@andrewkroh Should we do a gosigar release? |
@andrewkroh @ruflin Can Beats use latest stable of gosigar ? This will fix the issues with big endian. |
It looks like v0.9.0 is being used by Beats on master and 6.3 branches. See vendor.json. v0.9.0 includes the endian changes. |
Thanks. Will wait for 6.3 tag |
While building Beats on a Big Endian system, one of the socket related test fails which uses Go sigar code
sys/linux/inetdiag.go
. Will it be possible to add Big Endian support in Go sigar ?The text was updated successfully, but these errors were encountered: