Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jenkins: Performance trend is empty #2792

Closed
lalkhum opened this issue Aug 21, 2015 · 16 comments
Closed

Jenkins: Performance trend is empty #2792

lalkhum opened this issue Aug 21, 2015 · 16 comments

Comments

@lalkhum
Copy link

lalkhum commented Aug 21, 2015

I use gatling as my load test tool and I have problem viewing the performance trend.

The error is as follows.

Uncaught TypeError: Cannot read property 'CategoryAxisRenderer' of undefined

I wonder if someone also has come across this issue?

@slandelle slandelle changed the title Performance trend is empty Jenkins: Performance trend is empty Aug 23, 2015
@gempesaw
Copy link

I think I'm seeing the same issue.

Jenkins ver. 1.565.2
Jenkins Gatling Plugin 1.1.1

When clicking on Gatling in the left sidebar of the Project page, it shows the Performance Trend page but there are no graphs visible on the page, along with a few console errors.

Performance Trend

@gsmachado
Copy link

Hello guys,

First, thanks for this very nice plugin! :-)

I'm facing the exact same problem with the following versions:

  • Jenkins: 1.628, running on Windows
  • Gatling plugin: 1.1.1

I'm trying to visualize the performance trend with Firefox 41.0.1 and Chrome 45.0.2454.

The error shown in Firefox is attached.

Let us know about a possible workaround, since this is affecting all the major new versions.

bug-jenkins-gatling-plugin

@esramirez
Copy link

having similar issue with firefox and chrome.
The gatling jenkins plugin version is: 1.1.1
Jenkins version is: 1.596

@gsmachado
Copy link

@slandelle can you give us any hints on why is this happening? Maybe you can enlighten us, and then, I could hack around a bit to come up with a fix (or, at least, try to). :-)

@slandelle
Copy link
Member

I'd say that, once again, the Jenkins people broke compatibility...
Maybe something like jQuery version.

@esramirez
Copy link

I am working on integrating Gatling to our CI process and would be great to see this bug get addressed. If there is anything i can do to help please let me know.

@slandelle
Copy link
Member

@esramirez We're pretty busy here, sorry. Please consider contributing. Or if you can't and are really in a rush, you can also consider our support offer.

@gempesaw
Copy link

I've started digging in to this to figure out what's wrong, and so far I actually haven't been able to reproduce on a clean install of jenkins.

docker pull jenkins:1.565.2
docker run -p 8080:8080 jenkins:1.565.2

# open up jenkins on 8080, 
# install gatling plugin
# install github plugin
# install maven in jenkins system preferences
# create maven project, add git repo https://github.com/gatling/gatling-maven-plugin-demo
# add post build step for gatling
# "build now"

and it worked swimmingly for the most recent version of Jenkins as well as the specific version where I was seeing the error. So, I'm pretty confused as to what else could be causing the issue. I've asked our SiteOps people for a list of installed plugins to see if there's some unexpected conflict there.

In my case, I've found that the issue is that jQuery.jqPlot is entirely undefined, so of course none of the graphs will appear since the jqPlot library isn't available to do its job, but as mentioned, I'm not sure why this is happening, or how to fix it.

@esramirez
Copy link

i am also using jenkins 1.56.2 but i noticed there is a new version, 1.635. Have you tried it yet?

@gsmachado
Copy link

The issue remains with Jenkins 1.635.

@gsmachado
Copy link

@gempesaw, the funny thing is: the "Mean response time trend" works fine, which also uses the jqPlot object (as far as I've could see).

@gempesaw
Copy link

I'd say that, once again, the Jenkins people broke compatibility...
Maybe something like jQuery version.

Oh, I see, slandelle's comment was actually exactly the issue, I just didn't understand it! Installing the jQuery plugin along with the gatling plugin makes the problem occur immediately. Uninstalling the jQuery plugin makes the issue go away. Still not sure how to fix it yet.

I verified that with 1.596 and 1.635 but it seems pretty evident that the plugin conflict is the issue, not the Jenkins version.

@gsmachado
Copy link

Hello all,

It's an incompatibility with the jQuery Jenkins plugin (https://wiki.jenkins-ci.org/display/JENKINS/jQuery+Plugin).

@gsmachado
Copy link

Oh, yes, it seems we posted/found at the same time. :-) Good. 👍

@esramirez
Copy link

the workaround worked for me! thanks alot

@slandelle
Copy link
Member

Closed by jenkinsci/gatling-plugin#11

@slandelle slandelle added this to the 2.2.0 milestone Jan 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

5 participants