[
https://issues.jenkins-ci.org/browse/JENKINS-11608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=160012#comment-160012
]
Frederik Fromm commented on JENKINS-11608:
------------------------------------------
moved to master-slave component
> Slave service fails to launch on same machine as master under a different
> account
> ---------------------------------------------------------------------------------
>
> Key: JENKINS-11608
> URL: https://issues.jenkins-ci.org/browse/JENKINS-11608
> Project: Jenkins
> Issue Type: Bug
> Components: master-slave
> Affects Versions: current
> Environment: Windows 2008 Server R2 x86_64
> - Installed/running as a service
> - No additional VM parameters
> - java.runtime.name Java(TM) SE Runtime Environment
> - java.runtime.version 1.6.0_23-b05
> Reporter: alex parkinson
> Assignee: Kohsuke Kawaguchi
> Priority: Minor
>
> Getting a "Windows detected your registry file is still in use by other
> applications or services" exception under the following non-standard
> execution scenario.
> We're trying to run a slave (as a service) on the same machine as the master
> (as a service) under different accounts. The reason for this is that we're
> trying to use Jenkins in a "Deployment Executor" role in a Continuous
> Delivery scenario, whereby we are trying to run deployers as slave services
> with different deployment responsibilities/access rights. Note that running
> master and slave services on the same machine under the same account works
> fine.
> There is a registry contention issue.
> The event log entry follows:
> ------------------------------
> Log Name: Application
> Source: User Profile Service
> EventID: 1530
> Level: Warning
> User: SYSTEM
> Windows detected your registry file is still in use by other applications or
> services. The file will be unloaded now. The applications or services that
> hold your registry file may not function properly afterwards.
> DETAIL -
> 14 user registry handles leaked from
> \Registry\User\S-1-5-21-2143357078-987198913-1287535205-37427:
> Process 3916
> (\Device\HarddiskVolume2\hudson-slaves\PG_PRD_DeployerAgent\jenkins-slave.exe)
> has opened key \REGISTRY\USER\S-1-5-21-2143357078-987198913-1287535205-37427
> Process 3916
> (\Device\HarddiskVolume2\hudson-slaves\PG_PRD_DeployerAgent\jenkins-slave.exe)
> has opened key \REGISTRY\USER\S-1-5-21-2143357078-987198913-1287535205-37427
> Process 3916
> (\Device\HarddiskVolume2\hudson-slaves\PG_PRD_DeployerAgent\jenkins-slave.exe)
> has opened key \REGISTRY\USER\S-1-5-21-2143357078-987198913-1287535205-37427
> Process 3916
> (\Device\HarddiskVolume2\hudson-slaves\PG_PRD_DeployerAgent\jenkins-slave.exe)
> has opened key \REGISTRY\USER\S-1-5-21-2143357078-987198913-1287535205-37427
> Process 3916
> (\Device\HarddiskVolume2\hudson-slaves\PG_PRD_DeployerAgent\jenkins-slave.exe)
> has opened key \REGISTRY\USER\S-1-5-21-2143357078-987198913-1287535205-37427
> Process 3916
> (\Device\HarddiskVolume2\hudson-slaves\PG_PRD_DeployerAgent\jenkins-slave.exe)
> has opened key
> \REGISTRY\USER\S-1-5-21-2143357078-987198913-1287535205-37427\Software\Policies\Microsoft\SystemCertificates
> Process 3916
> (\Device\HarddiskVolume2\hudson-slaves\PG_PRD_DeployerAgent\jenkins-slave.exe)
> has opened key
> \REGISTRY\USER\S-1-5-21-2143357078-987198913-1287535205-37427\Software\Microsoft\Windows\CurrentVersion\Explorer
> Process 3916
> (\Device\HarddiskVolume2\hudson-slaves\PG_PRD_DeployerAgent\jenkins-slave.exe)
> has opened key
> \REGISTRY\USER\S-1-5-21-2143357078-987198913-1287535205-37427\Software\Microsoft\SystemCertificates\My
> Process 3916
> (\Device\HarddiskVolume2\hudson-slaves\PG_PRD_DeployerAgent\jenkins-slave.exe)
> has opened key
> \REGISTRY\USER\S-1-5-21-2143357078-987198913-1287535205-37427\Software\Microsoft\SystemCertificates\CA
> Process 3916
> (\Device\HarddiskVolume2\hudson-slaves\PG_PRD_DeployerAgent\jenkins-slave.exe)
> has opened key
> \REGISTRY\USER\S-1-5-21-2143357078-987198913-1287535205-37427\Software\Microsoft\SystemCertificates\Root
> Process 3916
> (\Device\HarddiskVolume2\hudson-slaves\PG_PRD_DeployerAgent\jenkins-slave.exe)
> has opened key
> \REGISTRY\USER\S-1-5-21-2143357078-987198913-1287535205-37427\Software\Microsoft\SystemCertificates\trust
> Process 3916
> (\Device\HarddiskVolume2\hudson-slaves\PG_PRD_DeployerAgent\jenkins-slave.exe)
> has opened key
> \REGISTRY\USER\S-1-5-21-2143357078-987198913-1287535205-37427\Software\Microsoft\SystemCertificates\SmartCardRoot
> Process 3916
> (\Device\HarddiskVolume2\hudson-slaves\PG_PRD_DeployerAgent\jenkins-slave.exe)
> has opened key
> \REGISTRY\USER\S-1-5-21-2143357078-987198913-1287535205-37427\Software\Microsoft\SystemCertificates\TrustedPeople
> Process 3916
> (\Device\HarddiskVolume2\hudson-slaves\PG_PRD_DeployerAgent\jenkins-slave.exe)
> has opened key
> \REGISTRY\USER\S-1-5-21-2143357078-987198913-1287535205-37427\Software\Microsoft\SystemCertificates\Disallowed
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira