-
-
Notifications
You must be signed in to change notification settings - Fork 110
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
Softawere - power_data.json is truncated #322
Comments
Possibly linked to issue #359 ? |
Hi ! Thank you for documenting this issue, as said in #359 I tried a PR including a different initialization of the BufWriter, setting the size of the buffer. Output of json exporter changes a bit too, as we ensure there is an opening '[', also ',' separators between host reports and an ending ']' when it is finished. Let me know if you can try this branch before it makes it to dev, I'd love to hear feedbacks. |
Hello, it seems that the ']' is still missing ! One should be careful to delete it at the concatenation ! |
It does, when there is no timeout and the collection is not finished. As discussed in your case this is up to boagent to manage this output properly. Let's discuss about it in boagent or softawere issues :) |
Bug description
I try to install Softawere following the documentation on a private physical Ubuntu server. I get an error in the boagent while reading the power_data.json file exported by Scaphandre, cf https://gitlab.com/softawere-hackathon/softawere/-/issues/16
To Reproduce
The json file is truncated, is it a bug ?
Environment
Ubuntu 20.04.6 LTS (GNU/Linux 5.4.0-149-generic x86_64)
The text was updated successfully, but these errors were encountered: