xenon-middleware / xenon

A middleware abstraction library that provides a simple programming interface to various compute and storage resources.
http://xenon-middleware.github.io/xenon/
Apache License 2.0
34 stars 17 forks source link

Interactive job: sometimes output to stdout is repeated, sometimes skipped. #599

Closed jhidding closed 6 years ago

jhidding commented 6 years ago

I found this bug from using PyXenon, but I don't know where in the Xenon stack this bug resides (either Xenon or Xenon-GRPC). A way to test this could be by running cat interactively on Moby-Dick a thousand times and diffing the results.

jhidding commented 6 years ago

Further analysis shows that the error is triggered when output happens to both stderr and stdout. Sometimes when output is expected at stdout, I receive output on stderr containing the last chunk that was sent to stderr. The output that was sent to stdout is then dropped. This leads me to suspect that this is a bug in Xenon-GRPC rather than Xenon itself.

jhidding commented 6 years ago

fixed in xenon-grpc