Canceling Promotion is causing Windows Account Lockup

閲覧: 7 回
最初の未読メッセージにスキップ

David Weintraub

未読、
2011/08/17 12:11:042011/08/17
To: jenkinsci-users、aflek...@mfxfairfax.com、db...@mfxroanoke.com
We are having some problems with the Promotion plugin. We use httpd
with Subversion and use our Windows Active Directory via LDAP to
control user access to Subversion.

We are also using the Promotion plugin to help deploy an application
remotely to another server. Both servers are on Windows 2008 servers,
and we are trying to use "psexec" to stop the remote IIS server.

Unfortunately, we are hitting a few kinks in our plans (like getting
the psexec EULA accepted by a user who has no screen access). And,
when I cancel the deployment, the account used for doing Subversion
checkouts is getting locked.

This is very strange because Jenkins runs under the default service
account, and we aren't doing any checkouts in our promotion. We are
remotely logging into the server with psexec, but that's another
account that's used and not our Jenkins account psexec command.

Here's the Jenkins Error Log starting this morning. We have two jobs
(ACE-PLS.NET-Trunk which is our trunk build and ACE-PLS.NET-Test which
is the same Subversion branch, but is a test configuration where we
can test the build promotion stuff. The TRUNK job polls Subversion.
The TEST job is triggered manually.

At around 9:36am, I made a change in the build.xml and manually
triggered the TEST job (Build #23). This isn't shown in the log below:

At 9:38am, the TRUNK job detected the change.in Subversion and fires
off a build (Build #83):

> Aug 17, 2011 9:38:02 AM hudson.triggers.SCMTrigger$Runner run^M
> INFO: SCM changes detected in ACE-PLS.NET-Trunk. Triggering #83^M

At 9:45am. the TEST job (Build #23) I fired off completes:

> Aug 17, 2011 9:45:01 AM hudson.model.Run run^M
> INFO: ACE-PLS.NET-Test #23 main build action completed: SUCCESS^M

At 9:46, the TRUNK job Build #83 finishes:

> Aug 17, 2011 9:46:45 AM hudson.model.Run run^M
> INFO: ACE-PLS.NET-Trunk #83 main build action completed: SUCCESS^M

At 10:13am, TRUNK Job #84 is triggered:

> Aug 17, 2011 10:13:02 AM hudson.triggers.SCMTrigger$Runner run^M
> INFO: SCM changes detected in ACE-PLS.NET-Trunk. Triggering #84^M

At 10:19am, TRUNK Job #84 is finished:

Aug 17, 2011 10:19:55 AM hudson.model.Run run^M
INFO: ACE-PLS.NET-Trunk #84 main build action completed: SUCCESS^M

After I noticed the promotion job is stuck, I kill it by clicking on
the job in the Jenkins build area:

Aug 17, 2011 11:27:05 AM hudson.model.Run run^M
INFO: ACE-PLS.NET-Test » promotion » Deploy Build to mfrkntacewbp22
#21 aborted^M
java.lang.InterruptedException^M
at java.lang.ProcessImpl.waitFor(Native Method)^M
at hudson.Proc$LocalProc.join(Proc.java:319)^M
at hudson.Launcher$ProcStarter.join(Launcher.java:336)^M
at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:82)^M
at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:58)^M
at hudson.plugins.promoted_builds.Promotion$RunnerImpl.build(Promotion.java:143)^M
at hudson.plugins.promoted_builds.Promotion$RunnerImpl.doRun(Promotion.java:112)^M
at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:429)^M
at hudson.model.Run.run(Run.java:1375)^M
at hudson.plugins.promoted_builds.Promotion.run(Promotion.java:85)^M
at hudson.model.ResourceController.execute(ResourceController.java:88)^M
at hudson.model.Executor.run(Executor.java:145)^M

At 11:27am (a few seconds after I canceled the TEST job), the Jenkins
build account has been locked:

Aug 17, 2011 11:27:32 AM hudson.scm.SubversionSCM$DescriptorImpl doCheckRemote^M
INFO: Failed to access subversion repository
http://svn.aceprs.intr/ACEPLS.NET/pls.net/trunk/SRC/PLSNET/Application^M
org.tmatesoft.svn.core.SVNCancelException: svn: OPTIONS
/ACEPLS.NET/pls.net/trunk/SRC/PLSNET/Application failed^M
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:287)^M
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:276)^M
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:264)^M
at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.exchangeCapabilities(DAVConnection.java:516)^M
at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.open(DAVConnection.java:98)^M
at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.openConnection(DAVRepository.java:1001)^M
at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.testConnection(DAVRepository.java:97)^M

--
David Weintraub
qaz...@gmail.com

全員に返信
投稿者に返信
転送
新着メール 0 件