[ 
https://issues.apache.org/jira/browse/SLIDER-350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14106841#comment-14106841
 ] 

Steve Loughran commented on SLIDER-350:
---------------------------------------

Modified agent code to fail on bad credentials, rather than just swallow and 
fail later. Still failing ... looks like format of generated keys doesn't match 
what is expected. This could be the AM isn't generating a key at all

{code}
2014-08-22 14:43:58,279 [main] WARN  mortbay.log (Slf4jLog.java:warn(76)) - 
failed Server@2b4f336b: org.mortbay.util.MultiException[java.io.IOException: 
DerInputStream.getLength(): lengthTag=127, too big., java.io.IOException: 
DerInputStream.getLength(): lengthTag=127, too big.]
2014-08-22 14:43:58,280 [main] ERROR agent.AgentWebApp 
(AgentWebApp.java:start(109)) - Unable to start agent server
org.mortbay.util.MultiException[java.io.IOException: 
DerInputStream.getLength(): lengthTag=127, too big., java.io.IOException: 
DerInputStream.getLength(): lengthTag=127, too big.]
        at org.mortbay.jetty.Server.doStart(Server.java:188)
        at 
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
        at 
org.apache.slider.server.appmaster.web.rest.agent.AgentWebApp$Builder.start(AgentWebApp.java:104)
        at 
org.apache.slider.server.appmaster.SliderAppMaster.startAgentWebApp(SliderAppMaster.java:832)
        at 
org.apache.slider.server.appmaster.SliderAppMaster.createAndRunCluster(SliderAppMaster.java:666)
        at 
org.apache.slider.server.appmaster.SliderAppMaster.runService(SliderAppMaster.java:481)
        at 
org.apache.slider.core.main.ServiceLauncher.launchService(ServiceLauncher.java:186)
        at 
org.apache.slider.core.main.ServiceLauncher.launchServiceRobustly(ServiceLauncher.java:471)
        at 
org.apache.slider.core.main.ServiceLauncher.launchServiceAndExit(ServiceLauncher.java:401)
        at 
org.apache.slider.core.main.ServiceLauncher.serviceMain(ServiceLauncher.java:626)
        at 
org.apache.slider.server.appmaster.SliderAppMaster.main(SliderAppMaster.java:1847)
java.io.IOException: DerInputStream.getLength(): lengthTag=127, too big.
        at sun.security.util.DerInputStream.getLength(DerInputStream.java:561)
        at sun.security.util.DerValue.init(DerValue.java:365)
        at sun.security.util.DerValue.<init>(DerValue.java:320)
        at 
sun.security.pkcs12.PKCS12KeyStore.engineLoad(PKCS12KeyStore.java:1220)
        at java.security.KeyStore.load(KeyStore.java:1214)
        at 
org.mortbay.jetty.security.SslSelectChannelConnector.createSSLContext(SslSelectChannelConnector.java:626)
        at 
org.mortbay.jetty.security.SslSelectChannelConnector.doStart(SslSelectChannelConnector.java:598)
        at 
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
        at org.mortbay.jetty.Server.doStart(Server.java:235)
        at 
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
        at 
org.apache.slider.server.appmaster.web.rest.agent.AgentWebApp$Builder.start(AgentWebApp.java:104)
        at 
org.apache.slider.server.appmaster.SliderAppMaster.startAgentWebApp(SliderAppMaster.java:832)
        at 
org.apache.slider.server.appmaster.SliderAppMaster.createAndRunCluster(SliderAppMaster.java:666)
        at 
org.apache.slider.server.appmaster.SliderAppMaster.runService(SliderAppMaster.java:481)
        at 
org.apache.slider.core.main.ServiceLauncher.launchService(ServiceLauncher.java:186)
        at 
org.apache.slider.core.main.ServiceLauncher.launchServiceRobustly(ServiceLauncher.java:471)
        at 
org.apache.slider.core.main.ServiceLauncher.launchServiceAndExit(ServiceLauncher.java:401)
        at 
org.apache.slider.core.main.ServiceLauncher.serviceMain(ServiceLauncher.java:626)
        at 
org.apache.slider.server.appmaster.SliderAppMaster.main(SliderAppMaster.java:1847)
java.io.IOException: DerInputStream.getLength(): lengthTag=127, too big.
        at sun.security.util.DerInputStream.getLength(DerInputStream.java:561)
        at sun.security.util.DerValue.init(DerValue.java:365)
        at sun.security.util.DerValue.<init>(DerValue.java:320)
        at 
sun.security.pkcs12.PKCS12KeyStore.engineLoad(PKCS12KeyStore.java:1220)
        at java.security.KeyStore.load(KeyStore.java:1214)
        at 
org.mortbay.jetty.security.SslSelectChannelConnector.createSSLContext(SslSelectChannelConnector.java:626)
        at 
org.mortbay.jetty.security.SslSelectChannelConnector.doStart(SslSelectChannelConnector.java:598)
        at 
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
        at org.mortbay.jetty.Server.doStart(Server.java:235)
        at 
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
        at 
org.apache.slider.server.appmaster.web.rest.agent.AgentWebApp$Builder.start(AgentWebApp.java:104)
        at 
org.apache.slider.server.appmaster.SliderAppMaster.startAgentWebApp(SliderAppMaster.java:832)
        at 
org.apache.slider.server.appmaster.SliderAppMaster.createAndRunCluster(SliderAppMaster.java:666)
        at 
org.apache.slider.server.appmaster.SliderAppMaster.runService(SliderAppMaster.java:481)
        at 
org.apache.slider.core.main.ServiceLauncher.launchService(ServiceLauncher.java:186)
        at 
org.apache.slider.core.main.ServiceLauncher.launchServiceRobustly(ServiceLauncher.java:471)
        at 
org.apache.slider.core.main.ServiceLauncher.launchServiceAndExit(ServiceLauncher.java:401)
        at 
org.apache.slider.core.main.ServiceLauncher.serviceMain(ServiceLauncher.java:626)
        at 
org.apache.slider.server.appmaster.SliderAppMaster.main(SliderAppMaster.java:1847)
2014-08-22 14:43:58,286 [main] ERROR main.ServiceLauncher 
(ServiceLauncher.java:error(342)) - Exception: Unable to start agent server: 
org.mortbay.util.MultiException[java.io.IOException: 
DerInputStream.getLength(): lengthTag=127, too big., java.io.IOException: 
DerInputStream.getLength(): lengthTag=127, too big.]
java.io.IOException: Unable to start agent server: 
org.mortbay.util.MultiException[java.io.IOException: 
DerInputStream.getLength(): lengthTag=127, too big., java.io.IOException: 
DerInputStream.getLength(): lengthTag=127, too big.]
        at 
org.apache.slider.server.appmaster.web.rest.agent.AgentWebApp$Builder.start(AgentWebApp.java:110)
        at 
org.apache.slider.server.appmaster.SliderAppMaster.startAgentWebApp(SliderAppMaster.java:832)
        at 
org.apache.slider.server.appmaster.SliderAppMaster.createAndRunCluster(SliderAppMaster.java:666)
        at 
org.apache.slider.server.appmaster.SliderAppMaster.runService(SliderAppMaster.java:481)
        at 
org.apache.slider.core.main.ServiceLauncher.launchService(ServiceLauncher.java:186)
        at 
org.apache.slider.core.main.ServiceLauncher.launchServiceRobustly(ServiceLauncher.java:471)
        at 
org.apache.slider.core.main.ServiceLauncher.launchServiceAndExit(ServiceLauncher.java:401)
        at 
org.apache.slider.core.main.ServiceLauncher.serviceMain(ServiceLauncher.java:626)
        at 
org.apache.slider.server.appmaster.SliderAppMaster.main(SliderAppMaster.java:1847)
Caused by: org.mortbay.util.MultiException[java.io.IOException: 
DerInputStream.getLength(): lengthTag=127, too big., java.io.IOException: 
DerInputStream.getLength(): lengthTag=127, too big.]
        at org.mortbay.jetty.Server.doStart(Server.java:188)
        at 
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
        at 
org.apache.slider.server.appmaster.web.rest.agent.AgentWebApp$Builder.start(AgentWebApp.java:104)
        ... 8 more
2014-08-22 14:43:58,288 [main] INFO  util.ExitUtil 
(ExitUtil.java:terminate(124)) - Exiting with status 32
2014-08-22 14:43:58,290 [Shutdown] INFO  mortbay.log (Slf4jLog.java:info(67)) - 
Shutdown hook executing
{code}

> slider-core tests failing on windows
> ------------------------------------
>
>                 Key: SLIDER-350
>                 URL: https://issues.apache.org/jira/browse/SLIDER-350
>             Project: Slider
>          Issue Type: Sub-task
>          Components: core
>    Affects Versions: Slider 0.50
>         Environment: windows server 2012
>            Reporter: Steve Loughran
>            Assignee: Steve Loughran
>
> core tests are failing on windows



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to