-
Bug
-
Resolution: Fixed
-
Blocker
-
None
-
Jenkins 2.46 LTS on RHEL
Since updating from 2.1 to 2.2, glob lookups are failing for me.
For example, in the "Publish performance test result report" box, in the JMeter "Report files" field, I have it configured to include "*/results/.jtl"
This has worked for years
However, as of the 2.2 update, I'm now getting this:
ERROR: Step ‘Publish Performance test result report’ aborted due to exception: [java.io.FileNotFoundException|http://stacktrace.jenkins-ci.org/search?query=java.io.FileNotFoundException] : /var/lib/jenkins/workspace/job-name/HOST/[redacted]/**/results/*.jtl (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) 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.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:720) at hudson.model.Build$BuildExecution.post2(Build.java:186) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:665) at hudson.model.Run.execute(Run.java:1753) at hudson.matrix.MatrixRun.run(MatrixRun.java:146) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:405)
If I downgrade the plugin, it starts working as expected
FWIW, this is on a Matrix style job.
If I set the "Report files" field to include a specific file name, rather than glob-style, it works.
So it looks like something in the latest release broke glob lookups, at least on Matrix jobs (I have not tested a non-matrix job)
- is duplicated by
-
JENKINS-43505 Performance plugin don't work with my JTL file
-
- Resolved
-
[JENKINS-43503] Performance plugin 2.2 breaks glob file finding
Assignee | Original: Andrey Pokhilko [ undera ] | New: Artem Fedorov [ artem_fedorov ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Link |
New:
This issue is duplicated by |
For me too. The file (jtl) exist but I have this message :
c:\Jenkins\workspace\PerformanceTestError>exit 0 ERROR: Step ‘Publish Performance test result report’ aborted due to exception:
java.io.FileNotFoundException
: c:\Jenkins\workspace\PerformanceTestError\Output\results\results.jtl (The system cannot find the path specified) at java.io.FileInputStream.open0(Native Method) at java.io.FileInputStream.open(Unknown Source) at java.io.FileInputStream.<init>(Unknown Source) at java.io.FileReader.<init>(Unknown Source) 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) at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:81) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:720) at hudson.model.Build$BuildExecution.post2(Build.java:186) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:665) at hudson.model.Run.execute(Run.java:1758) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:405)