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

Performance Plugin 2.2 broken globbing

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • performance-plugin
    • None
    • plugin version 2.2, jenkins 2.55

      After upgrade from 2.0 to 2.2 (2.0 worked fine) plugin complains about file not found when using globbing

      ERROR: Step ‘Publish Performance test result report’ aborted due to exception: 
      java.io.FileNotFoundException: /var/lib/jenkins/workspace/notify/test-out/TEST-*.xml (No such file or directory)
      	at java.io.FileInputStream.open0(Native Method)
      	at java.io.FileInputStream.open(FileInputStream.java:195)
      	at java.io.FileInputStream.<init>(FileInputStream.java:138)
      	at java.io.FileReader.<init>(FileReader.java:72)
      	at hudson.plugins.performance.parsers.ParserDetector.detect(ParserDetector.java:21)
      	at hudson.plugins.performance.parsers.ParserFactory.getParser(ParserFactory.java:26)
      	at hudson.plugins.performance.PerformancePublisher.getParsers(PerformancePublisher.java:439)
      	at hudson.plugins.performance.PerformancePublisher.perform(PerformancePublisher.java:481)
      

       
      File exists and contains:

      /var/lib/jenkins/workspace/notify/test-out/TEST-0.xml:

      <?xml version="1.0" encoding="UTF-8"?>
      <testsuites>
      	<testsuite tests="1" failures="0" time="0.006" name="zegit.non.3dart.com/red/efigence-admin/notify.git">
      		<properties>
      			<property name="go.version" value="go1.7.3"></property>
      			<property name="coverage.statements.pct" value="4.7"></property>
      		</properties>
      		<testcase classname="notify.git" name="TestExample" time="0.000"></testcase>
      	</testsuite>
      </testsuites>
      
      

      atho it is not generated by junit but tool to convert golang test results into jmeter-compatible reports. Works fine if I expllctly set test-out/TEST-0.xml, doesn't if I set test-out/TEST-*.xml

            artem_fedorov Artem Fedorov
            xani Mariusz Gronczewski
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: