Re: swarm plugin: Cannot find tcpSlaveAgentListener

2017-03-27 Thread grayaii
lol. I googled for this and found my own answer after 6 years. lol

On Thursday, October 27, 2011 at 10:34:52 AM UTC-4, grayaii wrote:
>
> Hi,
> I'm using 1.6 of the swarm plugin and our jenkins version is 1.432.
>
> I installed the plugin on the Jenkins master, but when I try to connect the
> slave machine (windows XP) to the master, I get this error:
>
> C:\>java -jar c:\temp\swarm-client-1.6-jar-with-dependencies.jar -master
> http://[JENKINS_IP]:8080/jenkins -name ALEX_SLAVE  -executors 1 -labels
> ALEX_LABEL -password my_passWord -username my_userName
>
> Discovering Jenkins master
>
> Found 1 eligible Jenkins.
> Oct 27, 2011 10:11:30 AM hudson.remoting.jnlp.Main$CuiListener 
> INFO: Hudson agent is running in headless mode.
> Oct 27, 2011 10:11:30 AM hudson.remoting.jnlp.Main$CuiListener status
> INFO: Locating server among [http://[JENKINS_IP]:8080/jenkins]
> Oct 27, 2011 10:11:30 AM hudson.remoting.jnlp.Main$CuiListener error
> SEVERE: http://[JENKINS_IP]:8080/jenkins/tcpSlaveAgentListener/ is invalid:
> 404 Not Found
> java.lang.Exception:
> *http://[JENKINS_IP]:8080/jenkins/tcpSlaveAgentListener/ is invalid:* 404
> Not Found
> at hudson.remoting.Engine.run(Engine.java:170)
>
> Any idea why this directory does not exist? How do I get it? I checked the
> Jenkin's file system and it's not there.  Am I missing a plugin or
> something?
>
> --
> View this message in context: 
> http://jenkins.361315.n4.nabble.com/swarm-plugin-Cannot-find-tcpSlaveAgentListener-tp3944696p3944696.html
> Sent from the Jenkins users mailing list archive at Nabble.com.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/73cdfa31-4256-41bb-be44-bf5272c9210d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Loaded Classes Count grows over time: crashes Jenkins with Perm Gen

2016-08-30 Thread grayaii
I tried this tweaking the startup options, but things still grow:
JENKINS_JAVA_OPTIONS="-Djava.awt.headless=true *-Xms4096m -Xmx4096m 
-XX:MaxPermSize=1024m -XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC* 
-Dhudson.model.ParametersAction.keepUndefinedParameters=true"


We are using system groovy script and the python jenkinsapi pip module to 
do a lot of things, so I bet something changed in the way things load in 
groovy.

I just found a JIRA ticket associated with this:
https://issues.jenkins-ci.org/browse/JENKINS-33358

I ran the scripts here: 
https://wiki.jenkins-ci.org/display/JENKINS/Monitoring+Scripts and I see a 
bazillion things like this (Display heap histogram (object instances per 
class)):

sun.reflect.GeneratedMethodAccessor

sun.reflect.GeneratedSerializationConstructorAccessor


I'll see if adding this helps any:

-Dgroovy.use.classvalue=true


Alex

On Saturday, August 27, 2016 at 12:28:44 PM UTC-4, grayaii wrote:
>
> We went from Jenkins 1.651.1 to 2.7.2 and our Jenkins master kept on 
> crashing with:
> java.lang.OutOfMemoryError: PermGen space
>
> Where were not specifying -XX:MaxPermSize in our JENKINS_JAVA_OPTIONS 
> before, so I added it, and kept on increasing the value after every crash.
> We are now at 512m:
>
> JENKINS_JAVA_OPTIONS="-Djava.awt.headless=true -Xms3584m -Xmx3584m 
> -XX:MaxPermSize=512m 
> -Dhudson.model.ParametersAction.keepUndefinedParameters=true"
>
> Using the Jenkins Monitoring plugin, we see that the Loaded Classes Count 
> keeps growing without stopping:
>
>
> <https://lh3.googleusercontent.com/-KnFb1isIibc/V8G_bAUCMzI/DYk/b0XjUEGvWVM8mumIpJrTB0WEkerXBqyVwCLcB/s1600/jenkins.png>
> How do you debug this? 
> Something must be loading classes continuously.
>
>
> Any ideas how we can debug this?
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/8d0fdeb1-e30b-4912-825c-376331795e61%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Loaded Classes Count grows over time: crashes Jenkins with Perm Gen

2016-08-27 Thread grayaii
We went from Jenkins 1.651.1 to 2.7.2 and our Jenkins master kept on 
crashing with:
java.lang.OutOfMemoryError: PermGen space

Where were not specifying -XX:MaxPermSize in our JENKINS_JAVA_OPTIONS 
before, so I added it, and kept on increasing the value after every crash.
We are now at 512m:

JENKINS_JAVA_OPTIONS="-Djava.awt.headless=true -Xms3584m -Xmx3584m 
-XX:MaxPermSize=512m 
-Dhudson.model.ParametersAction.keepUndefinedParameters=true"

Using the Jenkins Monitoring plugin, we see that the Loaded Classes Count 
keeps growing without stopping:


How do you debug this? 
Something must be loading classes continuously.


Any ideas how we can debug this?

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/025b4d0c-ce5a-4163-8447-6be523629cab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins User Conference 2014

2014-03-31 Thread grayaii
BTW, for the June 18th 2014 Boston Conference, are there other technical 
meetups going on in Boston that week that you know of?
I would hate to fly up up there for just 1 day.
Just curious.

Thanks,
Alex

-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Unable to delete unicode files during workspace cleanup

2012-10-05 Thread grayaii
Hi,
We have a bunch of files with unicode character's in its name.
We use the Perforce plugin (version 1.3.7) to Clean Workspace Before Each
Build.
The job fails like so (I put the ... to hide the full path, but you get
the drift): 
java.io.IOException: Unable to delete /.../XmlParseUtilityTestFiles/��ҿ]
at hudson.Util.deleteFile(Util.java:265)
at hudson.Util.deleteRecursive(Util.java:316)
at hudson.Util.deleteContentsRecursive(Util.java:227)
at hudson.Util.deleteRecursive(Util.java:307)
at hudson.Util.deleteContentsRecursive(Util.java:227)
at hudson.Util.deleteRecursive(Util.java:307)
at hudson.Util.deleteContentsRecursive(Util.java:227)
at hudson.Util.deleteRecursive(Util.java:307)
at hudson.FilePath$9.invoke(FilePath.java:853)
at hudson.FilePath$9.invoke(FilePath.java:851)
at hudson.FilePath.act(FilePath.java:785)
at hudson.FilePath.act(FilePath.java:767)
at hudson.FilePath.deleteRecursive(FilePath.java:851)
at hudson.plugins.perforce.PerforceSCM.checkout(PerforceSCM.java:586)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1193)
at
hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:566)
at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:454)
at hudson.model.Run.run(Run.java:1389)
at hudson.matrix.MatrixBuild.run(MatrixBuild.java:220)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:230)
at hudson.model.OneOffExecutor.run(OneOffExecutor.java:66)

We use tomcat to launch Jenkins, and in our catalina.sh we have:
export LANG=en_US.UTF-8

and in our server.xml I see in the Connector (which is the default):
URIEncoding=UTF-8

And just to confirm, in our http://jenkins/jenkins/systemInfo page, we see:
file.encoding   UTF-8
java.runtime.version1.6.0_27-b07

Our Jenkins Master is: `uname -a`
Linux jenkins 2.6.18-194.el5 #1 SMP Fri Apr 2 14:58:14 EDT 2010 x86_64
x86_64 x86_64 GNU/Linux

It's almost identical to:
https://issues.jenkins-ci.org/browse/JENKINS-12610, except that the LANG env
var does not seem to fix this problem.

Any ideas what could be causing this?  It seems to only occur on the Jenkins
Master slave, not the other slaves.

Manually rm -rf works fine.

It's driving us nuts.

Thanks!



--
View this message in context: 
http://jenkins.361315.n4.nabble.com/Unable-to-delete-unicode-files-during-workspace-cleanup-tp4642320.html
Sent from the Jenkins users mailing list archive at Nabble.com.


way to determine if plugin is being used

2012-09-24 Thread grayaii
Hi,
Is there a way to figure out if a plugin is being used? (either groovy
script, CLI, api/xml, etc)
We have a bunch of plugins installed, but I don't think we are not using
half of them and I would like to uninstall them.
Thanks!



--
View this message in context: 
http://jenkins.361315.n4.nabble.com/way-to-determine-if-plugin-is-being-used-tp4641231.html
Sent from the Jenkins users mailing list archive at Nabble.com.


Re: 1 job wait for 2 others completed job before start

2012-07-30 Thread grayaii
You can take a look at the Join Plugin.  That may help you.

Also, in the job you want to run, you can examine the status (and all sort
of information!) of the other 2 jobs via:
http://[YOUR_URL]/jenkins/view/All/job/[YOUR_JOB]/api/xml

And parse whatever information you want.

But I would take a look at the Join Plugin.  It may help you out.
Good luck!



--
View this message in context: 
http://jenkins.361315.n4.nabble.com/1-job-wait-for-2-others-completed-job-before-start-tp4636466p4636474.html
Sent from the Jenkins users mailing list archive at Nabble.com.


Re: Graphic UI combination filter at run time (UI runs at Build time).

2012-07-10 Thread grayaii
I don't think there is a plugin for this.  We are also using many
multi-configuration jobs (some with 16 builds!), and if just 1 of those
builds fail, the entire job fails.

But for us, this is fine.  If one of the builds fail, the whole job *should
*fail.  

If need be, we create a single job for that individual configuration that
failed, and debug it as needed, so that we don't run all 16 jobs.

But if you do find a solution or plugin, please post! :)

--
View this message in context: 
http://jenkins.361315.n4.nabble.com/Graphic-UI-combination-filter-at-run-time-UI-runs-at-Build-time-tp4634370p4634372.html
Sent from the Jenkins users mailing list archive at Nabble.com.


Re: Jenkis with high availability

2012-06-28 Thread grayaii
We have a single Jenkins Master running on linux 64-bit machine with 6 Gigs
of ram allocated for the Jenkins VM. We have 700+ jobs and 50+ slaves (all
OS's (windows/mac/linux/freebsd/etc/), and all connected via ssh), and we
always have a build running.  Only on rare occasions is Jenkins not doing
anything.  

We have it setup to poll our SCM (snv and perforce) every hour, and if there
are changes, it kicks off the appropriate build job.  

We almost never have to reboot Jenkins.  I think the only time we need to
bring Jenkins down is when there is a fancy plugin that we want to use, and
when that happens we schedule the downtime so that the development team is
aware of it.

I developed my own slaves on demand script that I connected to our Lab
Manager, but it only gets used if there are no existing slaves that can
handle the job.

Overall, it's a pretty stable system, considering all the stuff that it's
doing!

--
View this message in context: 
http://jenkins.361315.n4.nabble.com/Jenkis-with-high-availability-tp4633085p4633132.html
Sent from the Jenkins users mailing list archive at Nabble.com.


Re: Weird exceptions at the end of every build

2012-06-28 Thread grayaii
this won't help you any, but it's not happening to us.
We have Jenkins 1.432.
Maybe it's a plugin that's causing that exception?
good luck!

--
View this message in context: 
http://jenkins.361315.n4.nabble.com/Weird-exceptions-at-the-end-of-every-build-tp4632684p4633134.html
Sent from the Jenkins users mailing list archive at Nabble.com.


Move Groups of Views Around

2012-06-14 Thread grayaii
Over time, we've amassed a rather large and complex view hierarchy in
Jenkins and we would like to clean this up.
Is there a way to move groups of views around?

For instance, we have a view structure like this:
Root
  |--ViewB
  |--ViewC
  | \--ViewD
  |--ViewE
\--ViewF
And we want it to look like this (move a group of views under another view):
Root
  |--Views
  |--ViewB
  |--ViewC
  | \--ViewD
  |--ViewE
 \--ViewF 
Is there a way to do this?
Thanks!

--
View this message in context: 
http://jenkins.361315.n4.nabble.com/Move-Groups-of-Views-Around-tp4631541.html
Sent from the Jenkins users mailing list archive at Nabble.com.


Re: Is it safe to run Reload Configuration from Disk while jobs are running.

2012-06-08 Thread grayaii
I've done it before without problems.

--
View this message in context: 
http://jenkins.361315.n4.nabble.com/Is-it-safe-to-run-Reload-Configuration-from-Disk-while-jobs-are-running-tp4630908p4630975.html
Sent from the Jenkins users mailing list archive at Nabble.com.


Re: overallLoad API always empty

2012-04-17 Thread grayaii
Sorry to revive such an old thread, but out of curiosity, has this ever been
resolved?  
I'm not sure if it's related, but the Load Statistics page of Jenkins
always shows Queue Length of zero.
I've never seen it other than 0.  We always have stuff on our queue, but
regardless if we click Short/Medium/Long, the queue length always shows
zero.

Here is a screen shot:
http://jenkins.361315.n4.nabble.com/file/n4565700/LoadStatistics.png 

Thanks!

--
View this message in context: 
http://jenkins.361315.n4.nabble.com/overallLoad-API-always-empty-tp3868685p4565700.html
Sent from the Jenkins users mailing list archive at Nabble.com.


Re: Remove job from queue via groovy

2012-04-14 Thread grayaii
Dang. Forget it. I found like 2 seconds after I posted this.
There is a doCancelQueue() function.
I don't know why I missed it. I was staring at the list of functions for so
long :)


--
View this message in context: 
http://jenkins.361315.n4.nabble.com/Remove-job-from-queue-via-groovy-tp4558034p4558047.html
Sent from the Jenkins users mailing list archive at Nabble.com.