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

NeoLoad plugin attempts to parse archived XML files

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • neoload-jenkins-plugin
    • None
    • Jenkins 2.7.4
      Neoload plugin 2.0.1

      I am not sure when exactly this happens, but my jenkins.log gets pretty much flooded by something like this:

      [Fatal Error] dashBoard_*.xml:9:12: Attribute name "_ping" associated with an element type "GET" must be followed by the ' = ' character.
      Feb 07, 2017 7:55:15 AM com.neotys.nl.controller.report.transform.NeoLoadReportDoc <init>
      WARNING: Error reading xml file. Attribute name "_ping" associated with an element type "GET" must be followed by the ' = ' character.
      org.xml.sax.SAXParseException; systemId: file:///var/lib/jenkins/jobs/COSMOS-CI-PERF-ew1-perftest-ping/builds/5/archive/dashBoard_*.xml; lineNumber: 9; columnNumber: 12; Attribute name "_ping" associated with an element type "GET" must be followed by the ' = ' character.
              at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:257)
              at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:339)
              at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:177)
              at org.jenkinsci.plugins.neoload.integration.supporting.XMLUtilities.readXmlFile(XMLUtilities.java:226)
              at com.neotys.nl.controller.report.transform.NeoLoadReportDoc.<init>(NeoLoadReportDoc.java:102)
              at org.jenkinsci.plugins.neoload.integration.ProjectSpecificAction.findXMLResultsFile(ProjectSpecificAction.java:428)
              at org.jenkinsci.plugins.neoload.integration.ProjectSpecificAction.refreshGraphData(ProjectSpecificAction.java:171)
              at org.jenkinsci.plugins.neoload.integration.ProjectSpecificAction.<init>(ProjectSpecificAction.java:109)
              at org.jenkinsci.plugins.neoload.integration.ProjectSpecificActionFactory.createFor(ProjectSpecificActionFactory.java:53)
              at hudson.model.AbstractProject.createTransientActions(AbstractProject.java:766)
              at hudson.model.Project.createTransientActions(Project.java:241)
              at hudson.model.AbstractProject.updateTransientActions(AbstractProject.java:755)
              at hudson.model.AbstractProject.addProperty(AbstractProject.java:786)
              at hudson.plugins.disk_usage.DiskUsageUtil.addProperty(DiskUsageUtil.java:58)
              at hudson.plugins.disk_usage.BuildDiskUsageAction.<init>(BuildDiskUsageAction.java:38)
              at hudson.plugins.disk_usage.DiskUsageBuildActionFactory.createFor(DiskUsageBuildActionFactory.java:31)
              at hudson.plugins.disk_usage.DiskUsageBuildActionFactory.createFor(DiskUsageBuildActionFactory.java:21)
              at hudson.model.Actionable.createFor(Actionable.java:107)
              at hudson.model.Actionable.getAllActions(Actionable.java:98)
              at hudson.model.Run.onLoad(Run.java:346)
              at hudson.model.RunMap.retrieve(RunMap.java:224)
              at hudson.model.RunMap.retrieve(RunMap.java:56)
              at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:487)
              at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:469)
              at jenkins.model.lazy.AbstractLazyLoadRunMap.getByNumber(AbstractLazyLoadRunMap.java:367)
              at jenkins.model.lazy.AbstractLazyLoadRunMap.search(AbstractLazyLoadRunMap.java:332)
              at jenkins.model.lazy.AbstractLazyLoadRunMap.newestBuild(AbstractLazyLoadRunMap.java:274)
              at jenkins.model.lazy.LazyLoadRunMapEntrySet$1.<init>(LazyLoadRunMapEntrySet.java:65)
              at jenkins.model.lazy.LazyLoadRunMapEntrySet.iterator(LazyLoadRunMapEntrySet.java:63)
              at java.util.AbstractMap$2$1.<init>(AbstractMap.java:411)
              at java.util.AbstractMap$2.iterator(AbstractMap.java:410)
              at hudson.util.RunList.iterator(RunList.java:97)
              at org.jenkinsci.plugins.neoload.integration.ProjectSpecificAction.refreshGraphData(ProjectSpecificAction.java:170)
              at org.jenkinsci.plugins.neoload.integration.ProjectSpecificAction.<init>(ProjectSpecificAction.java:109)
              at org.jenkinsci.plugins.neoload.integration.ProjectSpecificActionFactory.createFor(ProjectSpecificActionFactory.java:53)
              at hudson.model.AbstractProject.createTransientActions(AbstractProject.java:766)
              at hudson.model.Project.createTransientActions(Project.java:241)
              at hudson.model.AbstractProject.updateTransientActions(AbstractProject.java:755)
              at hudson.model.AbstractProject.onLoad(AbstractProject.java:339)
              at hudson.model.Project.onLoad(Project.java:98)
              at hudson.model.AbstractItem$2.call(AbstractItem.java:692)
              at hudson.model.AbstractItem$2.call(AbstractItem.java:690)
              at hudson.model.Items.whileUpdatingByXml(Items.java:96)
              at hudson.model.AbstractItem.updateByXml(AbstractItem.java:690)
              at javaposse.jobdsl.plugin.JenkinsJobManagement.updateExistingItem(JenkinsJobManagement.java:505)
              at javaposse.jobdsl.plugin.JenkinsJobManagement.createOrUpdateConfig(JenkinsJobManagement.java:160)
              at javaposse.jobdsl.dsl.JobManagement$createOrUpdateConfig$3.call(Unknown Source)
              at javaposse.jobdsl.plugin.InterruptibleJobManagement.createOrUpdateConfig(InterruptibleJobManagement.groovy:37)
              at javaposse.jobdsl.dsl.JobManagement$createOrUpdateConfig$3.call(Unknown Source)
              at javaposse.jobdsl.dsl.DslScriptLoader$_extractGeneratedJobs_closure4.doCall(DslScriptLoader.groovy:194)
              at sun.reflect.GeneratedMethodAccessor5742.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:498)
              at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
              at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
              at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:294)
              at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1024)
              at groovy.lang.Closure.call(Closure.java:414)
              at groovy.lang.Closure.call(Closure.java:430)
              at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2030)
              at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2015)
              at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2056)
              at org.codehaus.groovy.runtime.dgm$162.invoke(Unknown Source)
              at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:274)
              at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:56)
              at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)
              at javaposse.jobdsl.dsl.DslScriptLoader.extractGeneratedJobs(DslScriptLoader.groovy:185)
              at javaposse.jobdsl.dsl.DslScriptLoader.this$2$extractGeneratedJobs(DslScriptLoader.groovy)
              at sun.reflect.GeneratedMethodAccessor5802.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:498)
              at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
              at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
              at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:384)
              at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1024)
              at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:69)
              at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:174)
              at javaposse.jobdsl.dsl.DslScriptLoader$_runScriptsWithClassLoader_closure1.doCall(DslScriptLoader.groovy:84)
              at sun.reflect.GeneratedMethodAccessor5786.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:498)
              at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
              at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
              at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:294)
              at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1024)
              at groovy.lang.Closure.call(Closure.java:414)
              at groovy.lang.Closure.call(Closure.java:430)
              at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2030)
              at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2015)
              at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2068)
              at org.codehaus.groovy.runtime.dgm$164.invoke(Unknown Source)
              at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:274)
              at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:56)
              at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)
              at javaposse.jobdsl.dsl.DslScriptLoader.runScriptsWithClassLoader(DslScriptLoader.groovy:68)
              at javaposse.jobdsl.dsl.DslScriptLoader.this$2$runScriptsWithClassLoader(DslScriptLoader.groovy)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:498)
              at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:210)
              at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:59)
              at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:182)
              at javaposse.jobdsl.dsl.DslScriptLoader.runScripts(DslScriptLoader.groovy:44)
              at javaposse.jobdsl.plugin.ExecuteDslScripts.perform(ExecuteDslScripts.java:352)
              at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:78)
              at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
              at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
              at hudson.model.Build$BuildExecution.build(Build.java:205)
              at hudson.model.Build$BuildExecution.doRun(Build.java:162)
              at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)
              at hudson.model.Run.execute(Run.java:1741)
              at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
              at hudson.model.ResourceController.execute(ResourceController.java:98)
              at hudson.model.Executor.run(Executor.java:410)
      

      That dashBoard_*.xml file is generated by Performance plugin, and there is JENKINS-27244 bug that it gets accidentally archived.

      It seems like NeoLoad plugin wants to parse it? This fails, because it's not-your-proper-XML (see JENKINS-27244).

      Any pointers why NeoLoad plugin would do that, or am I mistaken here? I am not even using Neoload plugin in my job.

            neotyspluginsupport Neotys Dev
            tuukkamustonen Tuukka Mustonen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: