Uploaded image for project: 'controller'
  1. controller
  2. CONTROLLER-504

Can't build sal-remoterpc-connector w/o a network interface that is up and has an IP address.

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • None
    • None
    • mdsal
    • None
    • Operating System: Mac OS
      Platform: PC

    • 1067

    Description

      I was trying to work on a plane and so I had all of my network interfaces down and I got build errors looking something like this:

      10:51:40.638 [main] DEBUG o.o.c.s.c.remoterpc.ServerImpl - Remote RPC Server is starting...
      10:51:40.639 [main] DEBUG o.o.c.s.c.remoterpc.ServerImpl - Trying address /fe80:0:0:0:0:0:0:1%1
      10:51:40.639 [main] DEBUG o.o.c.s.c.remoterpc.ServerImpl - Trying address /0:0:0:0:0:0:0:1
      10:51:40.639 [main] DEBUG o.o.c.s.c.remoterpc.ServerImpl - Trying address /127.0.0.1
      10:51:40.639 [main] ERROR o.o.c.s.c.remoterpc.ServerImpl - Failed to find a suitable host address
      10:51:40.639 [main] ERROR o.o.c.s.c.remoterpc.ServerImpl - Remote RPC Server could not acquire host ip address. Stopping...

      ...

      Failed tests:
      ServerImplTest.start_Call_ShouldCreateNZmqSockets:128 ZMQ Context does not exist in Remote RPC Server
      ServerImplTest.start_Call_ShouldSetServerStatusToStarted:116 expected:<STARTED> but was:<STOPPED>
      ServerImplTest.start_Call_ShouldCreate1ServerThread:136 expected:<1> but was:<0>
      ServerImplTest.start_Call_ShouldCreateNHandlerThreads:150 Server is in illegal state. ServerHandler does not exist

      After bringing up the wifi interface and attaching it to the in-flight AP, I was able to build without problems. We should really try to avoid dependencies like this if we possibly can.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            abhishk2@cisco.com Abhishek Kumar
            colindixon Colin Dixon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: