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

Job runs succesfully but getting the following error in Jenkins console = Fatal Error :5:1: XML document structures must start and end within the same entity

    XMLWordPrintable

Details

    Description

      D:\workspace_NewOpenUI\NewOpenUI>gradle runSingleTest -DtestName=DisconnectPSTNServiceTest -DtestEnv=sit1 -Dsmart_stub=on
      :compileJava
      :processResources
      :classes
      :compileTestJava
      :processTestResources
      :testClasses
      :runSingleTest[Fatal Error] :5:1: XML document structures must start and end within the same entity.
      FAILED

      FAILURE: Build failed with an exception.

      • What went wrong:
        Execution failed for task ':runSingleTest'.
        > Could not load test results from 'D:\workspace_NewOpenUI\NewOpenUI\build\test-results\TEST-com.ccb.specs.rcrm.openui.o2a.pstn.DisconnectPSTNServiceTest.xml'.
      • Try:
        Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

      BUILD FAILED

      Total time: 24 mins 44.723 secs
      Build step 'Execute Windows batch command' marked build as failure
      Archiving artifacts
      [ConcordionPresenter] Archiving test report...
      [ConcordionPresenter] Archiving report from D:\workspace_NewOpenUI\NewOpenUI\build\reports\concordion to D:\Users\d768571\.jenkins\jobs\DisconnectPSTNServiceTest\builds\2015-06-03_23-23-40\concordion
      [ConcordionPresenter] Report successfully archived!
      Recording test results
      Finished: FAILURE

      Attachments

        Activity

          hcguersoy hcguersoy added a comment -

          Hi,

          I don't see any relation to the artifact promotion plugin.
          Sounds like a broken XML file which is needed by the JUnit plugin - you should check the files created by your gradle run.

          hcguersoy hcguersoy added a comment - Hi, I don't see any relation to the artifact promotion plugin. Sounds like a broken XML file which is needed by the JUnit plugin - you should check the files created by your gradle run.

          People

            hcguersoy hcguersoy
            kaavya_priya Kaavya Priya
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: