2
votes

I am facing following error when running Performance Plugin on Jenkins for JMeter tests (I have source file setting on Performance Plugin set to **/*.jtl).

Performance: Percentage of errors greater or equal than 1% sets the build as unstable Performance: Percentage of errors greater or equal than 1% sets the build as failure ERROR: Exception while determining absolute error/unstable threshold evaluation java.io.IOException: The filename, directory name, or volume label syntax is incorrect at java.io.WinNTFileSystem.createFileExclusively(Native Method) at java.io.File.createNewFile(Unknown Source) at hudson.plugins.performance.PerformancePublisher.perform(PerformancePublisher.java:581) 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:185) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:665) at hudson.model.Run.execute(Run.java:1745) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:401)

I was wondering if anybody has encountered this issue or better resolved it.

2
Run procmon with a filter on errors and see at which file this failsMarged
@Marged - thanks a lot looking at my issue. I have my JENKINS_HOME set to C:\Jenkins. Had a look at the console logs again and saw that it is looking for the jtl at : Performance: Parsing JMeter report file 'C:\Program Files (x86)\Jenkins\jobs\PERF - JOB\builds\37\performance-reports\JMeter\1808-1031-MYPERFORMANCEBenchmark.jtl'. How can I make him look at the workspace for the required file?JavaMan

2 Answers

1
votes

I don't know which version of plugin you are using but you may be facing this issue:

1
votes

The issue I was facing was related to running JMeter build job on Jenkins Node instead of Jenkins Master. I resolved the issue after upgrading to Performance Plugin version 3.3 (which had Pull request #97 merged). Thanks all for responding to my question and especially @UBIK LOAD PACK for pointers.