Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-14117

The plugin hasn't been performed correctly: remote file operation failed

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Component/s: xunit-plugin
    • Labels:
    • Environment:
      Jenkins 1.469
      Linux master
      Windows 7 slaves
    • Similar Issues:

      Description

      We got always this error!
      Seems the same like http://issues.hudson-ci.org/browse/HUDSON-7081
      We can reproduce it.

      monospaced
      ========== Build: 1 succeeded, 0 failed, 1 up-to-date, 0 skipped ==========
      [G_master_xUnit_test] $ cmd /c call D:\TEMP\hudson426846465795215396.bat
      [xUnit] [INFO] - Starting to record.
      [xUnit] [INFO] - Processing BoostTest-1.x (default)
      [xUnit] [WARNING] - Can't create the path d:_HUDSON\workspace\G_master_xUnit_test\generatedJUnitFiles. Maybe the directory already exists.
      [xUnit] [INFO] - [BoostTest-1.x (default)] - 30 test report file(s) were found with the pattern 'build/bin/x64/DEBUG/Test*.xml' relative to 'd:_HUDSON\workspace\G_master_xUnit_test' for the testing framework 'BoostTest-1.x (default)'.
      [xUnit] [ERROR] - There is at least one problem. Check the Jenkins system log for more information. (if you don't have configured yet the system log before, you have to rebuild).
      [xUnit] [INFO] - Processing BoostTest-1.x (default)
      [xUnit] [WARNING] - Can't create the path d:_HUDSON\workspace\G_master_xUnit_test\generatedJUnitFiles. Maybe the directory already exists.
      [xUnit] [INFO] - [BoostTest-1.x (default)] - No test report file(s) were found with the pattern 'build/bin/x64/Release/Test*.xml' relative to 'd:_HUDSON\workspace\G_master_xUnit_test' for the testing framework 'BoostTest-1.x (default)'. Did you enter a pattern relative to the correct directory? Did you generate the result report(s) for 'BoostTest-1.x (default)'?
      [xUnit] [ERROR] - No test reports found for the metric 'BoostTest' with the resolved pattern 'build/bin/x64/Release/Test*.xml'. Configuration error?.
      [xUnit] [ERROR] - The plugin hasn't been performed correctly: remote file operation failed: d:/_HUDSON/workspace/G_master_xUnit_test at hudson.remoting.Channel@693ed7e2:MUCBPC002
      Build step 'Publish xUnit test result report' changed build result to FAILURE
      Build step 'Publish xUnit test result report' marked build as failure
      monospaced

        Attachments

          Activity

          Hide
          thomas_oeding Thomas Oeding added a comment -

          fixed in 1.78

          Show
          thomas_oeding Thomas Oeding added a comment - fixed in 1.78
          Hide
          ajpurkiss ajpurkiss added a comment -

          With 1.101 this issue seems to have returned, it only happens once in a while

          [xUnit] [INFO] - Starting to record.
          [xUnit] [INFO] - Processing JUnit
          [xUnit] [INFO] - [JUnit] - 230 test report file(s) were found with the pattern '*/build/test-results//.xml' relative to '/home/builduser/jenkins/workspace/XXXXXXX' for the testing framework 'JUnit'.
          [xUnit] [ERROR] - The plugin hasn't been performed correctly: remote file operation failed: /home/builduser/jenkins/workspace/XXXXXXX at hudson.remoting.Channel@18ef946:xxxxxxxx: java.io.IOException: Remote call on xxxxxxxxx failed
          Build step 'Process xUnit test result report' changed build result to FAILURE

          Show
          ajpurkiss ajpurkiss added a comment - With 1.101 this issue seems to have returned, it only happens once in a while [xUnit] [INFO] - Starting to record. [xUnit] [INFO] - Processing JUnit [xUnit] [INFO] - [JUnit] - 230 test report file(s) were found with the pattern '* /build/test-results/ / .xml' relative to '/home/builduser/jenkins/workspace/XXXXXXX' for the testing framework 'JUnit'. [xUnit] [ERROR] - The plugin hasn't been performed correctly: remote file operation failed: /home/builduser/jenkins/workspace/XXXXXXX at hudson.remoting.Channel@18ef946:xxxxxxxx: java.io.IOException: Remote call on xxxxxxxxx failed Build step 'Process xUnit test result report' changed build result to FAILURE
          Hide
          directhex Jo Shields added a comment -

          Same here: https://jenkins-master-2.cloudapp.net/job/test-monodevelop-mainline/label=ubuntu-1404-amd64/3146/console

          I can definitely see that file exists at that path & contains data.

          Show
          directhex Jo Shields added a comment - Same here: https://jenkins-master-2.cloudapp.net/job/test-monodevelop-mainline/label=ubuntu-1404-amd64/3146/console I can definitely see that file exists at that path & contains data.
          Hide
          bernicc Bernard Ladenthin added a comment - - edited

          Same here.

          First it looks from an upgrade from <org.jenkinsci.plugins.xunit.XUnitBuilder plugin="xunit@1.96"> to <org.jenkinsci.plugins.xunit.XUnitBuilder plugin="xunit@1.101">

          The slave is a Windows 7 x64 Machine.

          [xUnit] [INFO] - Starting to record.
          [xUnit] [INFO] - Processing JUnit
          [xUnit] [INFO] - [JUnit] - 1 test report file(s) were found with the pattern 'surefire-reports/TEST-*.xml' relative to 'J:\JenkinsSlave\workspace\S970 STester STest' for the testing framework 'JUnit'.
          [xUnit] [ERROR] - The plugin hasn't been performed correctly: remote file operation failed: J:\JenkinsSlave\workspace\S970 STester STest at hudson.remoting.Channel@ea9617:ST-SikuliTester: java.io.IOException: java.io.IOException: Failed to read J:\JenkinsSlave\workspace\S970 STester STest\generatedJUnitFiles\JUnit\TEST--346453655.xml
          Build step 'Process xUnit test result report' changed build result to FAILURE
          

          A deeper analysis:
          After i've deleted the local repository, now the Test-*.xml files contain in the second line a comma in the xml.

          The 2,052.575 produces the error.

          <?xml version="1.0" encoding="UTF-8"?>
          <testsuite name="de.S" time="2,052.575" tests="9" errors="0" skipped="0" failures="0">

          Show
          bernicc Bernard Ladenthin added a comment - - edited Same here. First it looks from an upgrade from <org.jenkinsci.plugins.xunit.XUnitBuilder plugin="xunit@1.96"> to <org.jenkinsci.plugins.xunit.XUnitBuilder plugin="xunit@1.101"> The slave is a Windows 7 x64 Machine. [xUnit] [INFO] - Starting to record. [xUnit] [INFO] - Processing JUnit [xUnit] [INFO] - [JUnit] - 1 test report file(s) were found with the pattern 'surefire-reports/TEST-*.xml' relative to 'J:\JenkinsSlave\workspace\S970 STester STest' for the testing framework 'JUnit'. [xUnit] [ERROR] - The plugin hasn't been performed correctly: remote file operation failed: J:\JenkinsSlave\workspace\S970 STester STest at hudson.remoting.Channel@ea9617:ST-SikuliTester: java.io.IOException: java.io.IOException: Failed to read J:\JenkinsSlave\workspace\S970 STester STest\generatedJUnitFiles\JUnit\TEST--346453655.xml Build step 'Process xUnit test result report' changed build result to FAILURE A deeper analysis: After i've deleted the local repository, now the Test-*.xml files contain in the second line a comma in the xml. The 2,052.575 produces the error. <?xml version="1.0" encoding="UTF-8"?> <testsuite name="de.S" time="2,052.575" tests="9" errors="0" skipped="0" failures="0">
          Hide
          nfalco Nikolas Falco added a comment -

          Please try with lastest version of Jenkins and the plugin, i could not reproduce this scenario.

          Show
          nfalco Nikolas Falco added a comment - Please try with lastest version of Jenkins and the plugin, i could not reproduce this scenario.

            People

            • Assignee:
              nfalco Nikolas Falco
              Reporter:
              thomas_oeding Thomas Oeding
            • Votes:
              5 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: