You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently we run a larger testsuite from maven and used hoverfly to simulate request. Lately we switched from sequential task execution to parallel execution with surefire and fork mode. This mean we are starting up to 4 JVM processes and run those simultaneously. After the switch ones or twice a day a test run fails with the mentioned error below. It seems that two JVM trying to access the same hoverfly file.
Steps to reproduce the issue
Run multiple hoverfly test with surefire fork mode more then 2.
Observed result
Hoverfly Java and Hoverfly error messages seen (If none, say none)
java.lang.IllegalStateException: Could not start Hoverfly process
Caused by: org.zeroturnaround.exec.ProcessInitException: Could not execute [/tmp/hoverfly.8441131355742916126/hoverfly_linux_amd64, -pp, 34205, -ap, 45433, -logs, json] in /tmp/hoverfly.8441131355742916126. Error=26, Text file busy
Caused by: java.io.IOException: Cannot run program "/tmp/hoverfly.8441131355742916126/hoverfly_linux_amd64" (in directory "/tmp/hoverfly.8441131355742916126"): error=26, Text file busy
Caused by: java.io.IOException: error=26, Text file busy
Description of the bug
Currently we run a larger testsuite from maven and used hoverfly to simulate request. Lately we switched from sequential task execution to parallel execution with surefire and fork mode. This mean we are starting up to 4 JVM processes and run those simultaneously. After the switch ones or twice a day a test run fails with the mentioned error below. It seems that two JVM trying to access the same hoverfly file.
Steps to reproduce the issue
Run multiple hoverfly test with surefire fork mode more then 2.
Observed result
Hoverfly Java and Hoverfly error messages seen (If none, say none)
Expected result
Two JVM do not share the same hoverfly binary.
Additional relevant information
If not indicated above:
The text was updated successfully, but these errors were encountered: