Hello Cletus D'Souza,
I am trying to set up CI using Hudson for our projects. We use MKS Integrity as our source control . Some how, Hudson was not able to connect to our MKS server to check out source code , Do you see any issue with my configuration set up. This issue with MKS Production server Only, I don’t see any issue with our MKS test server.
Thanks,
Jagan Kalluri
Build and Release Engineer
Travelex Global Business Payments
Email: Jagan....@Travelex.com
Phone: +1 (202) 408 1200 Ext: 6372
http://travelexbusiness.com/na
Twitter: www.twitter.com/travelexfx
Winner Innovation of the Year 2010
Financial-i Leaders in Innovation Awards
Thanks D’souza,
I don’t see any difference between Prod and Stage except below two lines in red color.
Thanks,
Jagan Kalluri
Build and Release Engineer
Travelex Global Business Payments
Email: Jagan....@Travelex.com
Phone: +1 (202) 408 1200 Ext: 6372
http://travelexbusiness.com/na
Twitter: www.twitter.com/travelexfx
Winner Innovation of the Year 2010
Financial-i Leaders in Innovation Awards
From: Cletus D'Souza [mailto:cletus...@hotmail.com]
Sent: Wednesday, November 23, 2011 3:03 PM
To: Kalluri, Jagan
Cc: jenkins...@googlegroups.com
Subject: RE: Issue with MKS Integrity /PMC Integrity Plug in
Compare your IntegrityClientSite.rc file (IntegrityServer/config/client/IntegrityClientSite.rc) between your Test and Production servers. Chances are API connections are not allowed on your Production server.
Thanks!
Cletus
Subject: Issue with MKS Integrity /PMC Integrity Plug in
Date: Wed, 23 Nov 2011 14:52:58 -0500
From: Jagan....@Travelex.com
To: cletus...@hotmail.com
CC: jenkins...@googlegroups.com
Here is the log from Hudson server
Nov 23, 2011 10:52:15 AM hudson.WebAppMain contextInitialized
INFO: Home directory: C:\Program Files\hudson\.hudson
Nov 23, 2011 10:52:15 AM hudson.util.CharacterEncodingFilter init
INFO: CharacterEncodingFilter initialized. DISABLE_FILTER: false FORCE_ENCODING: false
Nov 23, 2011 10:52:15 AM org.hudsonci.inject.internal.SmoothieContainerBootstrap bootstrap
INFO: Bootstrapping Smoothie
Nov 23, 2011 10:52:16 AM hudson.PluginManager createPluginStrategy
INFO: Plugin strategy: org.hudsonci.inject.internal.plugin.DelegatingPluginStrategy
Nov 23, 2011 10:52:16 AM hudson.model.Hudson$5 onAttained
INFO: Started initialization
Nov 23, 2011 10:52:38 AM hudson.model.Hudson$5 onAttained
INFO: Listed all plugins
Nov 23, 2011 10:52:43 AM hudson.model.Hudson$5 onAttained
INFO: Prepared all plugins
Nov 23, 2011 10:52:44 AM hudson.model.Hudson$5 onAttained
INFO: Started all plugins
Nov 23, 2011 10:52:44 AM hudson.model.Hudson$5 onAttained
INFO: Augmented all extensions
Nov 23, 2011 10:52:44 AM hudson.model.Hudson$5 onAttained
INFO: Loaded all jobs
Nov 23, 2011 10:52:44 AM hudson.model.Hudson$5 onAttained
INFO: Completed initialization
Nov 23, 2011 10:52:44 AM hudson.TcpSlaveAgentListener <init>
INFO: JNLP slave agent listener started on TCP port 2641
Nov 23, 2011 10:52:52 AM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.5 01/14/2011 12:36 PM'
Nov 23, 2011 10:52:53 AM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.5 01/14/2011 12:36 PM'
Nov 23, 2011 10:52:53 AM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.5 01/14/2011 12:36 PM'
Nov 23, 2011 10:52:54 AM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.5 01/14/2011 12:36 PM'
Nov 23, 2011 10:52:54 AM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.5 01/14/2011 12:36 PM'
Nov 23, 2011 10:52:55 AM hudson.model.DownloadService$Downloadable doPostBack
INFO: Obtained the updated data file for hudson.tools.JDKInstaller
Nov 23, 2011 10:52:55 AM hudson.model.DownloadService$Downloadable doPostBack
INFO: Obtained the updated data file for hudson.tasks.Ant.AntInstaller
Nov 23, 2011 10:52:55 AM hudson.model.DownloadService$Downloadable doPostBack
INFO: Obtained the updated data file for hudson.tasks.Maven.MavenInstaller
Nov 23, 2011 10:52:55 AM org.hudsonci.maven.plugin.install.SlaveBundleInstaller consume
INFO: Maven slave bundle installed
Nov 23, 2011 10:52:55 AM org.hudsonci.rest.plugin.RestPlugin enable
INFO: API provider JAX-RS (Jersey) enabled
Nov 23, 2011 10:52:55 AM org.hudsonci.rest.plugin.RestPlugin enable
INFO: API provider Bayeux (CometD) enabled
Nov 23, 2011 10:52:55 AM org.hudsonci.events.ready.ReadyDetector run
INFO: Hudson is ready.
Nov 23, 2011 10:53:02 AM hudson.model.UpdateSite doPostBack
INFO: Obtained the latest update center data file for UpdateSource default
Nov 23, 2011 11:22:43 AM hudson.model.UpdateCenter$DownloadJob run
INFO: Starting the installation of MSTest Plugin on behalf of anonymous
Nov 23, 2011 11:22:43 AM hudson.model.UpdateCenter$UpdateCenterConfiguration download
INFO: Downloading MSTest Plugin
Nov 23, 2011 11:22:43 AM hudson.model.UpdateCenter$DownloadJob run
INFO: Installation successful: MSTest Plugin
Nov 23, 2011 11:22:43 AM hudson.model.UpdateCenter$DownloadJob run
INFO: Starting the installation of NUnit Plugin on behalf of anonymous
Nov 23, 2011 11:22:44 AM hudson.model.UpdateCenter$UpdateCenterConfiguration download
INFO: Downloading NUnit Plugin
Nov 23, 2011 11:22:44 AM hudson.model.UpdateCenter$DownloadJob run
INFO: Installation successful: NUnit Plugin
Nov 23, 2011 11:22:44 AM hudson.model.UpdateCenter$DownloadJob run
INFO: Starting the installation of NAnt Plugin on behalf of anonymous
Nov 23, 2011 11:22:44 AM hudson.model.UpdateCenter$UpdateCenterConfiguration download
INFO: Downloading NAnt Plugin
Nov 23, 2011 11:22:44 AM hudson.model.UpdateCenter$DownloadJob run
INFO: Installation successful: NAnt Plugin
Nov 23, 2011 11:22:44 AM hudson.model.UpdateCenter$DownloadJob run
INFO: Starting the installation of Notification Plugin on behalf of anonymous
Nov 23, 2011 11:22:44 AM hudson.model.UpdateCenter$UpdateCenterConfiguration download
INFO: Downloading Notification Plugin
Nov 23, 2011 11:22:44 AM hudson.model.UpdateCenter$DownloadJob run
INFO: Installation successful: Notification Plugin
Nov 23, 2011 11:22:44 AM hudson.model.UpdateCenter$DownloadJob run
INFO: Starting the installation of Promoted Builds Simple Plugin on behalf of anonymous
Nov 23, 2011 11:22:44 AM hudson.model.UpdateCenter$UpdateCenterConfiguration download
INFO: Downloading Promoted Builds Simple Plugin
Nov 23, 2011 11:22:44 AM hudson.model.UpdateCenter$DownloadJob run
INFO: Installation successful: Promoted Builds Simple Plugin
Nov 23, 2011 11:22:44 AM hudson.model.UpdateCenter$DownloadJob run
INFO: Starting the installation of LDAP Email Plugin on behalf of anonymous
Nov 23, 2011 11:22:44 AM hudson.model.UpdateCenter$UpdateCenterConfiguration download
INFO: Downloading LDAP Email Plugin
Nov 23, 2011 11:22:44 AM hudson.model.UpdateCenter$DownloadJob run
INFO: Installation successful: LDAP Email Plugin
Nov 23, 2011 11:22:44 AM hudson.model.UpdateCenter$DownloadJob run
INFO: Starting the installation of Hudson promoted builds plugin on behalf of anonymous
Nov 23, 2011 11:22:45 AM hudson.model.UpdateCenter$UpdateCenterConfiguration download
INFO: Downloading Hudson promoted builds plugin
Nov 23, 2011 11:22:46 AM hudson.model.UpdateCenter$DownloadJob run
INFO: Installation successful: Hudson promoted builds plugin
Nov 23, 2011 11:22:46 AM hudson.model.UpdateCenter$DownloadJob run
INFO: Starting the installation of MSBuild Plugin on behalf of anonymous
Nov 23, 2011 11:22:46 AM hudson.model.UpdateCenter$UpdateCenterConfiguration download
INFO: Downloading MSBuild Plugin
Nov 23, 2011 11:22:46 AM hudson.model.UpdateCenter$DownloadJob run
INFO: Installation successful: MSBuild Plugin
Nov 23, 2011 11:22:46 AM hudson.model.UpdateCenter$DownloadJob run
INFO: Starting the installation of Backup Plugin on behalf of anonymous
Nov 23, 2011 11:22:46 AM hudson.model.UpdateCenter$UpdateCenterConfiguration download
INFO: Downloading Backup Plugin
Nov 23, 2011 11:22:48 AM hudson.model.UpdateCenter$DownloadJob run
INFO: Installation successful: Backup Plugin
Nov 23, 2011 11:22:48 AM hudson.model.UpdateCenter$DownloadJob run
INFO: Starting the installation of PTC Integrity CM - Hudson Plugin on behalf of anonymous
Nov 23, 2011 11:22:48 AM hudson.model.UpdateCenter$UpdateCenterConfiguration download
INFO: Downloading PTC Integrity CM - Hudson Plugin
Nov 23, 2011 11:22:49 AM hudson.model.UpdateCenter$DownloadJob run
INFO: Installation successful: PTC Integrity CM - Hudson Plugin
Nov 23, 2011 11:22:49 AM hudson.model.UpdateCenter$DownloadJob run
INFO: Starting the installation of Build Pipeline Plugin on behalf of anonymous
Nov 23, 2011 11:22:49 AM hudson.model.UpdateCenter$UpdateCenterConfiguration download
INFO: Downloading Build Pipeline Plugin
Nov 23, 2011 11:22:49 AM hudson.model.UpdateCenter$DownloadJob run
INFO: Installation successful: Build Pipeline Plugin
Nov 23, 2011 11:22:49 AM hudson.model.UpdateCenter$DownloadJob run
INFO: Starting the installation of Hudson Personal View on behalf of anonymous
Nov 23, 2011 11:22:49 AM hudson.model.UpdateCenter$UpdateCenterConfiguration download
INFO: Downloading Hudson Personal View
Nov 23, 2011 11:22:50 AM hudson.model.UpdateCenter$DownloadJob run
INFO: Installation successful: Hudson Personal View
Nov 23, 2011 11:22:50 AM hudson.model.UpdateCenter$DownloadJob run
INFO: Starting the installation of Change Log History Plugin on behalf of anonymous
Nov 23, 2011 11:22:50 AM hudson.model.UpdateCenter$UpdateCenterConfiguration download
INFO: Downloading Change Log History Plugin
Nov 23, 2011 11:22:50 AM hudson.model.UpdateCenter$DownloadJob run
INFO: Installation successful: Change Log History Plugin
Nov 23, 2011 11:22:50 AM hudson.model.UpdateCenter$DownloadJob run
INFO: Starting the installation of NCover Plugin on behalf of anonymous
Nov 23, 2011 11:22:50 AM hudson.model.UpdateCenter$UpdateCenterConfiguration download
INFO: Downloading NCover Plugin
Nov 23, 2011 11:22:50 AM hudson.model.UpdateCenter$DownloadJob run
INFO: Installation successful: NCover Plugin
Nov 23, 2011 11:22:52 AM hudson.model.Hudson$18 run
INFO: Restart in 10 seconds
Nov 23, 2011 11:23:02 AM hudson.model.Hudson$18 run
SEVERE: Restarting VM as requested by anonymous
Nov 23, 2011 11:23:07 AM hudson.WebAppMain contextInitialized
INFO: Home directory: C:\Program Files\hudson\.hudson
Nov 23, 2011 11:23:07 AM hudson.util.CharacterEncodingFilter init
INFO: CharacterEncodingFilter initialized. DISABLE_FILTER: false FORCE_ENCODING: false
Nov 23, 2011 11:23:08 AM org.hudsonci.inject.internal.SmoothieContainerBootstrap bootstrap
INFO: Bootstrapping Smoothie
Nov 23, 2011 11:23:09 AM hudson.PluginManager createPluginStrategy
INFO: Plugin strategy: org.hudsonci.inject.internal.plugin.DelegatingPluginStrategy
Nov 23, 2011 11:23:09 AM hudson.model.Hudson$5 onAttained
INFO: Started initialization
Nov 23, 2011 11:23:11 AM hudson.ClassicPluginStrategy createPluginWrapper
INFO: Plugin cvs.hpi is disabled
Nov 23, 2011 11:23:11 AM hudson.ClassicPluginStrategy createPluginWrapper
INFO: Plugin git.hpi is disabled
Nov 23, 2011 11:23:15 AM hudson.model.Hudson$5 onAttained
INFO: Listed all plugins
Nov 23, 2011 11:23:16 AM org.jvnet.hudson.plugins.backup.BackupPluginImpl loadConfiguration
INFO: Loading configuration...
Nov 23, 2011 11:23:16 AM org.jvnet.hudson.plugins.backup.utils.BackupPersistence loadConfig
INFO: Config file not found.
Nov 23, 2011 11:23:17 AM com.mtvi.plateng.hudson.ldap.PluginImpl loadConfiguration
INFO: Could not find configuration file, creating empty object
Nov 23, 2011 11:23:17 AM com.mtvi.plateng.hudson.ldap.LdapMailAddressResolver <init>
WARNING: Provided configuration isn't valid. Check for missing elements.
Nov 23, 2011 11:23:22 AM hudson.model.Hudson$5 onAttained
INFO: Prepared all plugins
Nov 23, 2011 11:23:22 AM hudson.model.Hudson$5 onAttained
INFO: Started all plugins
Nov 23, 2011 11:23:22 AM hudson.model.Hudson$5 onAttained
INFO: Augmented all extensions
Nov 23, 2011 11:23:22 AM hudson.model.Hudson$5 onAttained
INFO: Loaded all jobs
Nov 23, 2011 11:23:23 AM hudson.model.Hudson$5 onAttained
INFO: Completed initialization
Nov 23, 2011 11:23:23 AM hudson.TcpSlaveAgentListener <init>
INFO: JNLP slave agent listener started on TCP port 2848
Nov 23, 2011 11:23:31 AM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.5 01/14/2011 12:36 PM'
Nov 23, 2011 11:23:33 AM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.5 01/14/2011 12:36 PM'
Nov 23, 2011 11:23:34 AM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.5 01/14/2011 12:36 PM'
Nov 23, 2011 11:23:34 AM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.5 01/14/2011 12:36 PM'
Nov 23, 2011 11:23:35 AM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.5 01/14/2011 12:36 PM'
Nov 23, 2011 11:23:35 AM org.hudsonci.rest.plugin.RestPlugin enable
INFO: API provider JAX-RS (Jersey) enabled
Nov 23, 2011 11:23:35 AM org.hudsonci.rest.plugin.RestPlugin enable
INFO: API provider Bayeux (CometD) enabled
Nov 23, 2011 11:23:35 AM org.hudsonci.events.ready.ReadyDetector run
INFO: Hudson is ready.
Nov 23, 2011 11:43:12 AM org.hudsonci.rest.plugin.RestPlugin enable
INFO: API provider JAX-RS (Jersey) enabled
Nov 23, 2011 11:43:12 AM org.hudsonci.rest.plugin.RestPlugin enable
INFO: API provider Bayeux (CometD) enabled
Nov 23, 2011 11:43:38 AM org.apache.commons.httpclient.HttpMethodBase processRedirectResponse
INFO: Redirect requested but followRedirects is disabled
Nov 23, 2011 11:43:38 AM hudson.scm.IntegritySCM createAPISession
SEVERE: API Exception caught...
Nov 23, 2011 11:43:38 AM hudson.scm.IntegritySCM createAPISession
SEVERE: Failed to establish a session: Session not authenticated/authorized.
Nov 23, 2011 11:44:49 AM org.apache.commons.httpclient.HttpMethodBase processRedirectResponse
INFO: Redirect requested but followRedirects is disabled
Nov 23, 2011 11:44:49 AM hudson.scm.IntegritySCM createAPISession
SEVERE: API Exception caught...
Nov 23, 2011 11:44:49 AM hudson.scm.IntegritySCM createAPISession
SEVERE: Failed to establish a session: Session not authenticated/authorized.
Nov 23, 2011 2:41:06 PM org.hudsonci.rest.plugin.RestPlugin enable
INFO: API provider JAX-RS (Jersey) enabled
Nov 23, 2011 2:41:06 PM org.hudsonci.rest.plugin.RestPlugin enable
INFO: API provider Bayeux (CometD) enabled
Nov 23, 2011 2:44:20 PM org.apache.commons.httpclient.HttpMethodBase processRedirectResponse
INFO: Redirect requested but followRedirects is disabled
Nov 23, 2011 2:44:20 PM hudson.scm.IntegritySCM createAPISession
SEVERE: API Exception caught...
Nov 23, 2011 2:44:20 PM hudson.scm.IntegritySCM createAPISession
SEVERE: Failed to establish a session: Session not authenticated/authorized.
Nov 23, 2011 3:48:47 PM org.hudsonci.rest.plugin.RestPlugin enable
INFO: API provider JAX-RS (Jersey) enabled
Nov 23, 2011 3:48:47 PM org.hudsonci.rest.plugin.RestPlugin enable
INFO: API provider Bayeux (CometD) enabled
Nov 23, 2011 3:48:54 PM hudson.scm.IntegritySCM createAPISession
SEVERE: API Exception caught...
Nov 23, 2011 3:48:54 PM hudson.scm.IntegritySCM createAPISession
SEVERE: Connection refused: connect
Nov 23, 2011 3:51:25 PM org.hudsonci.rest.plugin.RestPlugin enable
INFO: API provider JAX-RS (Jersey) enabled
Nov 23, 2011 3:51:25 PM org.hudsonci.rest.plugin.RestPlugin enable
INFO: API provider Bayeux (CometD) enabled
Nov 23, 2011 3:53:13 PM org.apache.commons.httpclient.HttpMethodBase processRedirectResponse
INFO: Redirect requested but followRedirects is disabled
Nov 23, 2011 3:53:13 PM hudson.scm.IntegritySCM createAPISession
SEVERE: API Exception caught...
Nov 23, 2011 3:53:13 PM hudson.scm.IntegritySCM createAPISession
SEVERE: Failed to establish a session: Session not authenticated/authorized.
Thanks,
Jagan Kalluri
Build and Release Engineer
Travelex Global Business Payments
Email: Jagan....@Travelex.com
Phone: +1 (202) 408 1200 Ext: 6372
http://travelexbusiness.com/na
Twitter: www.twitter.com/travelexfx
Winner Innovation of the Year 2010
Financial-i Leaders in Innovation Awards
Thanks Cletus,
We will Try with This approach During This weekend off hours.
Thanks,
Jagan Kalluri
Build and Release Engineer
Travelex Global Business Payments
Email: Jagan....@Travelex.com
Phone: +1 (202) 408 1200 Ext: 6372
http://travelexbusiness.com/na
Twitter: www.twitter.com/travelexfx
Winner Innovation of the Year 2010
Financial-i Leaders in Innovation Awards
From: Cletus D'Souza [mailto:cletus...@hotmail.com]
Sent: Wednesday, November 23, 2011 4:10 PM
To: Kalluri, Jagan
Cc: jenkins...@googlegroups.com
Subject: RE: Issue with MKS Integrity /PMC Integrity Plug in
Kalluri,
These config files seem to be reversed. If this is working in Test, then it is because of the daemon.validConnectionList setting. Anyway, you can just comment the validConnectionList setting and enable the all connection policy (line 42/43). Restart the Integrity Server and you should be all set.
Thanks!
Cletus
Subject: RE: Issue with MKS Integrity /PMC Integrity Plug in
Date: Wed, 23 Nov 2011 15:59:55 -0500
Thank You Cletus ,
I got wrong file for test earlier , I got the correct one now and I can see “mks.ic.common.policy.ICAllowAllConnectionPolicy” is uncommented for test server hence I did not see any issue with Hudson .
We will try to uncomment the same on Prod.
Thank You for your Help.
Thanks,
Jagan Kalluri
Build and Release Engineer
Travelex Global Business Payments
Email: Jagan....@Travelex.com
Phone: +1 (202) 408 1200 Ext: 6372
http://travelexbusiness.com/na
Twitter: www.twitter.com/travelexfx
Winner Innovation of the Year 2010
Financial-i Leaders in Innovation Awards
Hi All,
I’m trying to use the CLI to take nodes offline in the event of a build failure caused by the node itself (improper configuration, etc). I’m using Python to make the system call and on Windows it hangs and never returns control to the caller (I’ve verified it works on OSX). The call I’m making is…
p = subprocess.call(["java", "-jar", "jenkins-cli.jar", "-s", JENKINS_URL, "-i", "./id_rsa", "offline-node", NODE_NAME])
Has anyone experienced this before or have a workaround?
Thanks,
Noah
Some additional info:
I can run the command from the terminal with the same hang reproducing so we can take Python out of the equation
The node is actually taken offline so at least it’s working
Thanks again,
Noah
I Googled the exact error I was getting:
C:\Documents and Settings\hoffman\.jenkins\userContent>java -jar jenkins-cli.jar -s http://fpqe-lnxsvr2.macromedia.com:8080/jenkins version
1.435
Nov 23, 2011 4:17:41 PM hudson.remoting.Channel$ReaderThread run
SEVERE: I/O error in channel CLI connection to http://fpqe-lnxsvr2.macromedia.com:8080/jenkins
java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(Unknown Source)
at java.io.FilterInputStream.read(Unknown Source)
at java.io.BufferedInputStream.fill(Unknown Source)
at java.io.BufferedInputStream.read(Unknown Source)
at java.io.ObjectInputStream$PeekInputStream.peek(Unknown Source)
at java.io.ObjectInputStream$BlockDataInputStream.peek(Unknown Source)
at java.io.ObjectInputStream$BlockDataInputStream.peekByte(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at hudson.remoting.Channel$ReaderThread.run(Channel.java:1031)
Turns out it’s fixed in the latest version 1.440
Isn't there a python api that interacts directly with the REST apis?