I can't get even a supposedly simple JUnit test working on my OS X Jenkins system. Can anyone give any advice? I have a test script which just prints the following dummy JUnit XML text to $(WORKSPACE)/dummy_junit.xml:
<?xml version="1.0" encoding="UTF-8"?> <testsuites tests="3" failures="1" errors="0" time="35" name="AllTests"> <testsuite name="MathTest" tests="2" failures="1"* errors="0" time="15"> <testcase name="Addition" status="run" time="7" classname=""> <failure message="Value of: add(1, 1) Actual: 3 Expected: 2" type=""/> <failure message="Value of: add(1, -1) Actual: 1 Expected: 0" type=""/> </testcase> <testcase name="Subtraction" status="run" time="5" classname=""> </testcase> </testsuite> <testsuite name="LogicTest" tests="1" failures="0" errors="0" time="5"> <testcase name="NonContradiction" status="run" time="5" classname=""> </testcase> </testsuite> </testsuites> Running on either a slave or the master, Jenkins finds the XML file fine, but it then fails with "The plugin hasn't been performed correctly: remote file operation failed": [xUnit] [INFO] - Starting to record. [xUnit] [INFO] - Processing JUnit [xUnit] [WARNING] - Can't create the path /tmp/master/workspace/dummy_junit/generatedJUnitFiles. Maybe the directory already exists. [xUnit] [INFO] - [JUnit] - 1 test report file(s) were found with the pattern 'dummy_junit.xml' relative to '/tmp/master/workspace/dummy_junit' for the testing framework 'JUnit'. [xUnit] [ERROR] - The plugin hasn't been performed correctly: remote file operation failed: /tmp/master/workspace/dummy_junit at hudson.remoting.Channel@6deb6c9:master Build step 'Publish xUnit test result report' changed build result to FAILURE Build step 'Publish xUnit test result report' marked build as failure Finished: FAILURE I've found mention of this error in one or two previous discussions, but with no resolution. Is this likely to be something as simple as file permissions or something? Is there any way to get further debugging information out of this?