Buck fails during parsing of test xml files
See original GitHub issueSeeing this stacktrace randomly when running tests
java.nio.channels.ClosedByInterruptException
at java.nio.channels.spi.AbstractInterruptibleChannel.end(AbstractInterruptibleChannel.java:202)
at sun.nio.ch.FileChannelImpl.size(FileChannelImpl.java:315)
at java.nio.file.Files.readAllBytes(Files.java:3154)
at com.facebook.buck.test.XmlTestResultParser.parse(XmlTestResultParser.java:125)
at com.facebook.buck.jvm.java.JavaTest.lambda$0(JavaTest.java:448)
at com.facebook.buck.cli.TestRunning$4.call(TestRunning.java:537)
at com.facebook.buck.cli.TestRunning$4.call(TestRunning.java:1)
at com.facebook.buck.cli.TestRunning.lambda$1(TestRunning.java:811)
at com.facebook.buck.util.concurrent.WeightedListeningExecutorService.lambda$0(WeightedListeningExecutorService.java:78)
at com.google.common.util.concurrent.AbstractTransformFuture$AsyncTransformFuture.doTransform(AbstractTransformFuture.java:211)
at com.google.common.util.concurrent.AbstractTransformFuture$AsyncTransformFuture.doTransform(AbstractTransformFuture.java:200)
at com.google.common.util.concurrent.AbstractTransformFuture.run(AbstractTransformFuture.java:130)
at com.google.common.util.concurrent.MoreExecutors$5$1.run(MoreExecutors.java:952)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:748)
Seems to be happening after we picked up https://github.com/facebook/buck/commit/886fa842cf6589fb5b1942d61fa0343582740da9 recently
Issue Analytics
- State:
- Created 6 years ago
- Comments:23 (19 by maintainers)
Top Results From Across the Web
It is not clear why test reports cannot be parsed - GitLab
Summary. There is very little information available when test reports cannot be parsed by GitLab for some reason. For example, https://gitlab. ...
Read more >Problem in parsing test execution report - SonarQube
I copy/pasted your example into a file and tried to analyze with it. And got the same error. When I added the missing...
Read more >Buck: .buckconfig
Changes to Buck's configuration can—temporarily—degrade Buck's performance because of how they affect Buck's parsing and caching behavior. If you change the ...
Read more >Build fails on Bamboo server while parsing Test.XML file
The cause of the error is not very clear, but it seems the Test.xml file for the test Parsing is modified even before...
Read more >XML Parser Error Codes - IBM
If the XML parser detects an error in the XML document during parsing, message RNX0351 will be issued. From the message, you can...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@bertmaher It is interesting that you mentioned nailgun.
I looked at the logs in
buck-out/log
and found this when the exception happenedThe nailgun update had only fixes related to multithread safety, there were no changes in logic. I’ll double check them though