I'm taking a shot in the dark here. I apologize in advance for being vague. We are getting the following error:
/usr/bin/env: bad interpreter: Text file busy
when some cpplint tests are run using `py_test` [1].
One of the ways that this problem can happen is when an executable file is open in writing mode while it's executed.
Bazel seems to be using a template to create a Python executable script which is run in order to run Python tests [2] [3].
I suspect that the Python script might be getting executed before it is closed and causing the error.
The error is very infrequent and non-deterministic. I have not been able to reproduce it by repeated running the related tests on my machine from our source code, or by creating a separate example with 10000 `py_test`s
Any help would be appreciated.
--
You received this message because you are subscribed to the Google Groups "bazel-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bazel-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bazel-discuss/4d388fad-fed2-4f27-bda6-c353623b8013%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/bazel-discuss/CAP01z6Kdp4CzNmxLoyKOWjBCO9xLC6VZHbig4Red-%3DkG7aoHag%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to bazel-discuss+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bazel-discuss/4d388fad-fed2-4f27-bda6-c353623b8013%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "bazel-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bazel-discuss+unsubscribe@googlegroups.com.