ldap authentication

2013-01-06 Thread Levin, Ilya
Hello,

I'm using Jenkins v 1.472 with ldap authentication, but the performance is very 
bad.
It takes about 5 min or more to authenticate a user when logging.
I tried looking at  http://server/hudson/threadDump but it doesn't tell me much.

How can I know where the spending time occurs?
Thanks for the help!




Re: ldap authentication

2013-01-06 Thread Kanstantsin Shautsou
You should look it periodically to get dynamic of processes also you can try 
modify plugin sources to print debug information and recompile.

On 06.01.2013, at 12:54, Levin, Ilya ilya.le...@hp.com wrote:

 Hello,
  
 I’m using Jenkins v 1.472 with ldap authentication, but the performance is 
 very bad.
 It takes about 5 min or more to authenticate a user when logging.
 I tried looking at  http://server/hudson/threadDump but it doesn’t tell me 
 much.
  
 How can I know where the spending time occurs?
 Thanks for the help!
  
  



Posting config.xml to master node doesn't work

2013-01-06 Thread Kannan Manickam
Hello,

Posting config.xml to the master node doesn't seem to work. Here is the 
ticket in Jira: https://issues.jenkins-ci.org/browse/JENKINS-16264

The POST action of config.xml to /computer on 'master' node doesn't work.
If I go to /computer/(master)/api page, it says that the config.xml can 
be fetched and updated but it doesn't work that way.

I just took a look at the code and it looks like the replaceBy(Node 
newNode) function on core/src/main/java/hudson/model/Computer.java uses 
the getNodes() function defined in 
core/src/main/java/jenkins/model/Jenkins.java which returns only the 
slaves and NOT the master. Is it an expected behavior? Shouldn't we be able 
to POST config.xml to master node? It has a lot of options that can be 
customized and posting the config.xml will help greatly.


-

Kannan.


RE: ldap authentication

2013-01-06 Thread Levin, Ilya
Thanks,

I didn’t quite get the first part, what do you mean by “…should look it 
periodically to get dynamic of processes…”?


From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Kanstantsin Shautsou
Sent: יום א 06 ינואר 2013 13:55
To: jenkinsci-users@googlegroups.com
Subject: Re: ldap authentication

You should look it periodically to get dynamic of processes also you can try 
modify plugin sources to print debug information and recompile.

On 06.01.2013, at 12:54, Levin, Ilya 
ilya.le...@hp.commailto:ilya.le...@hp.com wrote:


Hello,

I’m using Jenkins v 1.472 with ldap authentication, but the performance is very 
bad.
It takes about 5 min or more to authenticate a user when logging.
I tried looking at  http://server/hudson/threadDump but it doesn’t tell me much.

How can I know where the spending time occurs?
Thanks for the help!





Found NPE and Jenkins asks to report here

2013-01-06 Thread Francisco Alejandro Lozano López


I found this in the last stages of our build:


ERROR: Processing failed due to a bug in the code. Please report this to 
jenkinsci-us...@googlegroups.comjava.lang.NullPointerException 
http://stacktrace.jenkins-ci.org/search?query=java.lang.NullPointerException: 
no such build node: 
at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:68) 
http://stacktrace.jenkins-ci.org/search/?query=hudson.tasks.CommandInterpreter.performentity=method
at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:60) 
http://stacktrace.jenkins-ci.org/search/?query=hudson.tasks.CommandInterpreter.performentity=method
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) 
http://stacktrace.jenkins-ci.org/search/?query=hudson.tasks.BuildStepMonitor$1.performentity=method
at 
hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804)
 
http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractBuildExecution.performentity=method
at 
hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.build(MavenModuleSetBuild.java:818)
 
http://stacktrace.jenkins-ci.org/search/?query=hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.buildentity=method
at 
hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:769)
 
http://stacktrace.jenkins-ci.org/search/?query=hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRunentity=method
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:586) 
http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractBuildExecution.runentity=method
at hudson.model.Run.execute(Run.java:1543) 
http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Run.executeentity=method
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:477) 
http://stacktrace.jenkins-ci.org/search/?query=hudson.maven.MavenModuleSetBuild.runentity=method
at hudson.model.ResourceController.execute(ResourceController.java:88) 
http://stacktrace.jenkins-ci.org/search/?query=hudson.model.ResourceController.executeentity=method
at hudson.model.Executor.run(Executor.java:236) 
http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Executor.runentity=method


I hope it helps...