You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brooklyn.apache.org by aledsage <gi...@git.apache.org> on 2016/10/10 13:16:53 UTC

[GitHub] brooklyn-server pull request #376: deserializingClassRenames: handle renames...

GitHub user aledsage opened a pull request:

    https://github.com/apache/brooklyn-server/pull/376

    deserializingClassRenames: handle renames in ConfigInheritance

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/aledsage/brooklyn-server fix-rebind-of-ConfigInheritance

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/brooklyn-server/pull/376.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #376
    
----
commit 28d0493a7174cca28bc1bba71bc4e034f86d63db
Author: Aled Sage <al...@gmail.com>
Date:   2016-10-10T13:13:54Z

    deserializingClassRenames: handle renames in ConfigInheritance

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] brooklyn-server pull request #376: deserializingClassRenames: handle renames...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/brooklyn-server/pull/376


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] brooklyn-server issue #376: deserializingClassRenames: handle renames in Con...

Posted by aledsage <gi...@git.apache.org>.
Github user aledsage commented on the issue:

    https://github.com/apache/brooklyn-server/pull/376
  
    jenkins test failure is unrelated:
    ```
    org.apache.brooklyn.feed.jmx.RebindJmxFeedTest.testJmxFeedIsPersisted
    
    2016-10-10 14:00:19,963 INFO  TESTNG FAILED: "Surefire test" - org.apache.brooklyn.feed.jmx.RebindJmxFeedTest.testJmxFeedIsPersisted() finished in 185373 ms
    java.rmi.server.ExportException: Port already in use: 40123; nested exception is: 
    	java.net.BindException: Address already in use
    	at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:340)
    	at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:248)
    	at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:411)
    	at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:147)
    	at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:207)
    	at sun.rmi.registry.RegistryImpl.setup(RegistryImpl.java:122)
    	at sun.rmi.registry.RegistryImpl.<init>(RegistryImpl.java:108)
    	at java.rmi.registry.LocateRegistry.createRegistry(LocateRegistry.java:203)
    	at mx4j.tools.naming.NamingService.start(NamingService.java:67)
    	at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:112)
    	at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:46)
    	at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:237)
    	at com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:138)
    	at com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:252)
    	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
    	at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
    	at javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:292)
    	at com.sun.proxy.$Proxy520.start(Unknown Source)
    	at org.apache.brooklyn.entity.software.base.test.jmx.JmxService.<init>(JmxService.java:103)
    	at org.apache.brooklyn.entity.software.base.test.jmx.JmxService.<init>(JmxService.java:80)
    	at org.apache.brooklyn.feed.jmx.RebindJmxFeedTest.runJmxFeedIsPersisted(RebindJmxFeedTest.java:99)
    	at org.apache.brooklyn.feed.jmx.RebindJmxFeedTest.testJmxFeedIsPersisted(RebindJmxFeedTest.java:86)
    Caused by: java.net.BindException: Address already in use
    	at java.net.PlainSocketImpl.socketBind(Native Method)
    	at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:376)
    	at java.net.ServerSocket.bind(ServerSocket.java:376)
    	at java.net.ServerSocket.<init>(ServerSocket.java:237)
    	at java.net.ServerSocket.<init>(ServerSocket.java:128)
    	at sun.rmi.transport.proxy.RMIDirectSocketFactory.createServerSocket(RMIDirectSocketFactory.java:45)
    	at sun.rmi.transport.proxy.RMIMasterSocketFactory.createServerSocket(RMIMasterSocketFactory.java:344)
    	at sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(TCPEndpoint.java:666)
    	at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:329)
    	... 57 more
    ```
    
    Unfortunately @ahgittin (cc @neykov) that means your 3-minute loop in `JmxService` constructor (to retry the `namingServiceMBean.start()`) didn't fix the problem.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] brooklyn-server issue #376: deserializingClassRenames: handle renames in Con...

Posted by aledsage <gi...@git.apache.org>.
Github user aledsage commented on the issue:

    https://github.com/apache/brooklyn-server/pull/376
  
    @bostko yes, PRs are run in parallel so something else might be consuming the port. I'd have thought this 3 minute retry would have been enough to get around that. 
    
    It's possible this port number is being consumed by a completely different service for many minutes, but that seems less likely.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] brooklyn-server issue #376: deserializingClassRenames: handle renames in Con...

Posted by aledsage <gi...@git.apache.org>.
Github user aledsage commented on the issue:

    https://github.com/apache/brooklyn-server/pull/376
  
    Merging now as the build got far enough to confirm the new test passes, and thus the fix works.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] brooklyn-server issue #376: deserializingClassRenames: handle renames in Con...

Posted by bostko <gi...@git.apache.org>.
Github user bostko commented on the issue:

    https://github.com/apache/brooklyn-server/pull/376
  
    Looks good!


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] brooklyn-server issue #376: deserializingClassRenames: handle renames in Con...

Posted by bostko <gi...@git.apache.org>.
Github user bostko commented on the issue:

    https://github.com/apache/brooklyn-server/pull/376
  
    @aledsage how Jenkins machine is running tests? Does it execute tests concurrently with other PRs? 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---