All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] bitbake: xmlrpc: set single use mode differently
@ 2016-03-17  7:21 Ed Bartosh
  2016-03-17 11:35 ` Smith, Elliot
  2016-03-21 12:30 ` Barros Pena, Belen
  0 siblings, 2 replies; 5+ messages in thread
From: Ed Bartosh @ 2016-03-17  7:21 UTC (permalink / raw)
  To: toaster

Currently xmlrpc server implicitly sets itself into single use mode
when bitbake server is started with anonymous port (0) or no port is
provided in command line. In this mode bitbake shuts down xmlrpc server
after build is done. This assumption is incorrect in some cases.
For example Toaster uses bitbake in this mode and expects xmlrpc server
to stay in memory.

Till recent changes single use mode was always unset due to the bug.
When the bug was fixed it broke toaster builds as Toaster couldn't
communicate with bitbake server in single use mode.

Reimplemented logic of setting single use mode. The mode is explicity
set when --server-only command line parameter is not provided to bitbake.
It doesn't depend on the port number anymore.

[YOCTO #9275]
[YOCTO #9240]
[YOCTO #9252]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
---
 bitbake/lib/bb/main.py           | 5 +++--
 bitbake/lib/bb/server/process.py | 2 +-
 bitbake/lib/bb/server/xmlrpc.py  | 8 ++++----
 3 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/bitbake/lib/bb/main.py b/bitbake/lib/bb/main.py
index bf59793..a28c751 100755
--- a/bitbake/lib/bb/main.py
+++ b/bitbake/lib/bb/main.py
@@ -282,12 +282,13 @@ class BitBakeConfigParameters(cookerdata.ConfigParameters):
 
 def start_server(servermodule, configParams, configuration, features):
     server = servermodule.BitBakeServer()
+    single_use = not configParams.server_only
     if configParams.bind:
         (host, port) = configParams.bind.split(':')
-        server.initServer((host, int(port)))
+        server.initServer((host, int(port)), single_use)
         configuration.interface = [ server.serverImpl.host, server.serverImpl.port ]
     else:
-        server.initServer()
+        server.initServer(single_use=single_use)
         configuration.interface = []
 
     try:
diff --git a/bitbake/lib/bb/server/process.py b/bitbake/lib/bb/server/process.py
index e387b30..a3078a8 100644
--- a/bitbake/lib/bb/server/process.py
+++ b/bitbake/lib/bb/server/process.py
@@ -242,7 +242,7 @@ class ProcessEventQueue(multiprocessing.queues.Queue):
 
 
 class BitBakeServer(BitBakeBaseServer):
-    def initServer(self):
+    def initServer(self, single_use=True):
         # establish communication channels.  We use bidirectional pipes for
         # ui <--> server command/response pairs
         # and a queue for server -> ui event notifications
diff --git a/bitbake/lib/bb/server/xmlrpc.py b/bitbake/lib/bb/server/xmlrpc.py
index a79b490..48d45d8 100644
--- a/bitbake/lib/bb/server/xmlrpc.py
+++ b/bitbake/lib/bb/server/xmlrpc.py
@@ -189,12 +189,12 @@ class XMLRPCServer(SimpleXMLRPCServer, BaseImplServer):
     # remove this when you're done with debugging
     # allow_reuse_address = True
 
-    def __init__(self, interface):
+    def __init__(self, interface, single_use=False):
         """
         Constructor
         """
         BaseImplServer.__init__(self)
-        self.single_use = interface[1] == 0 # anonymous port, not getting reused
+        self.single_use = single_use
         # Use auto port configuration
         if (interface[1] == -1):
             interface = (interface[0], 0)
@@ -335,9 +335,9 @@ class BitBakeXMLRPCServerConnection(BitBakeBaseServerConnection):
             pass
 
 class BitBakeServer(BitBakeBaseServer):
-    def initServer(self, interface = ("localhost", 0)):
+    def initServer(self, interface = ("localhost", 0), single_use = False):
         self.interface = interface
-        self.serverImpl = XMLRPCServer(interface)
+        self.serverImpl = XMLRPCServer(interface, single_use)
 
     def detach(self):
         daemonize.createDaemon(self.serverImpl.serve_forever, "bitbake-cookerdaemon.log")
-- 
2.1.4



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] bitbake: xmlrpc: set single use mode differently
  2016-03-17  7:21 [PATCH] bitbake: xmlrpc: set single use mode differently Ed Bartosh
@ 2016-03-17 11:35 ` Smith, Elliot
  2016-03-21 12:30 ` Barros Pena, Belen
  1 sibling, 0 replies; 5+ messages in thread
From: Smith, Elliot @ 2016-03-17 11:35 UTC (permalink / raw)
  To: Ed Bartosh; +Cc: toaster

[-- Attachment #1: Type: text/plain, Size: 4402 bytes --]

Sent to bitbake-devel and added to toaster-next.

Thanks.
Elliot

On 17 March 2016 at 07:21, Ed Bartosh <ed.bartosh@linux.intel.com> wrote:

> Currently xmlrpc server implicitly sets itself into single use mode
> when bitbake server is started with anonymous port (0) or no port is
> provided in command line. In this mode bitbake shuts down xmlrpc server
> after build is done. This assumption is incorrect in some cases.
> For example Toaster uses bitbake in this mode and expects xmlrpc server
> to stay in memory.
>
> Till recent changes single use mode was always unset due to the bug.
> When the bug was fixed it broke toaster builds as Toaster couldn't
> communicate with bitbake server in single use mode.
>
> Reimplemented logic of setting single use mode. The mode is explicity
> set when --server-only command line parameter is not provided to bitbake.
> It doesn't depend on the port number anymore.
>
> [YOCTO #9275]
> [YOCTO #9240]
> [YOCTO #9252]
>
> Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
> ---
>  bitbake/lib/bb/main.py           | 5 +++--
>  bitbake/lib/bb/server/process.py | 2 +-
>  bitbake/lib/bb/server/xmlrpc.py  | 8 ++++----
>  3 files changed, 8 insertions(+), 7 deletions(-)
>
> diff --git a/bitbake/lib/bb/main.py b/bitbake/lib/bb/main.py
> index bf59793..a28c751 100755
> --- a/bitbake/lib/bb/main.py
> +++ b/bitbake/lib/bb/main.py
> @@ -282,12 +282,13 @@ class
> BitBakeConfigParameters(cookerdata.ConfigParameters):
>
>  def start_server(servermodule, configParams, configuration, features):
>      server = servermodule.BitBakeServer()
> +    single_use = not configParams.server_only
>      if configParams.bind:
>          (host, port) = configParams.bind.split(':')
> -        server.initServer((host, int(port)))
> +        server.initServer((host, int(port)), single_use)
>          configuration.interface = [ server.serverImpl.host,
> server.serverImpl.port ]
>      else:
> -        server.initServer()
> +        server.initServer(single_use=single_use)
>          configuration.interface = []
>
>      try:
> diff --git a/bitbake/lib/bb/server/process.py
> b/bitbake/lib/bb/server/process.py
> index e387b30..a3078a8 100644
> --- a/bitbake/lib/bb/server/process.py
> +++ b/bitbake/lib/bb/server/process.py
> @@ -242,7 +242,7 @@ class ProcessEventQueue(multiprocessing.queues.Queue):
>
>
>  class BitBakeServer(BitBakeBaseServer):
> -    def initServer(self):
> +    def initServer(self, single_use=True):
>          # establish communication channels.  We use bidirectional pipes
> for
>          # ui <--> server command/response pairs
>          # and a queue for server -> ui event notifications
> diff --git a/bitbake/lib/bb/server/xmlrpc.py
> b/bitbake/lib/bb/server/xmlrpc.py
> index a79b490..48d45d8 100644
> --- a/bitbake/lib/bb/server/xmlrpc.py
> +++ b/bitbake/lib/bb/server/xmlrpc.py
> @@ -189,12 +189,12 @@ class XMLRPCServer(SimpleXMLRPCServer,
> BaseImplServer):
>      # remove this when you're done with debugging
>      # allow_reuse_address = True
>
> -    def __init__(self, interface):
> +    def __init__(self, interface, single_use=False):
>          """
>          Constructor
>          """
>          BaseImplServer.__init__(self)
> -        self.single_use = interface[1] == 0 # anonymous port, not getting
> reused
> +        self.single_use = single_use
>          # Use auto port configuration
>          if (interface[1] == -1):
>              interface = (interface[0], 0)
> @@ -335,9 +335,9 @@ class
> BitBakeXMLRPCServerConnection(BitBakeBaseServerConnection):
>              pass
>
>  class BitBakeServer(BitBakeBaseServer):
> -    def initServer(self, interface = ("localhost", 0)):
> +    def initServer(self, interface = ("localhost", 0), single_use =
> False):
>          self.interface = interface
> -        self.serverImpl = XMLRPCServer(interface)
> +        self.serverImpl = XMLRPCServer(interface, single_use)
>
>      def detach(self):
>          daemonize.createDaemon(self.serverImpl.serve_forever,
> "bitbake-cookerdaemon.log")
> --
> 2.1.4
>
> --
> _______________________________________________
> toaster mailing list
> toaster@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/toaster
>



-- 
Elliot Smith
Software Engineer
Intel Open Source Technology Centre

[-- Attachment #2: Type: text/html, Size: 5511 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] bitbake: xmlrpc: set single use mode differently
  2016-03-17  7:21 [PATCH] bitbake: xmlrpc: set single use mode differently Ed Bartosh
  2016-03-17 11:35 ` Smith, Elliot
@ 2016-03-21 12:30 ` Barros Pena, Belen
  1 sibling, 0 replies; 5+ messages in thread
From: Barros Pena, Belen @ 2016-03-21 12:30 UTC (permalink / raw)
  To: Ed Bartosh, toaster



On 17/03/2016 07:21, "toaster-bounces@yoctoproject.org on behalf of Ed
Bartosh" <toaster-bounces@yoctoproject.org on behalf of
ed.bartosh@linux.intel.com> wrote:

>Currently xmlrpc server implicitly sets itself into single use mode
>when bitbake server is started with anonymous port (0) or no port is
>provided in command line. In this mode bitbake shuts down xmlrpc server
>after build is done. This assumption is incorrect in some cases.
>For example Toaster uses bitbake in this mode and expects xmlrpc server
>to stay in memory.
>
>Till recent changes single use mode was always unset due to the bug.
>When the bug was fixed it broke toaster builds as Toaster couldn't
>communicate with bitbake server in single use mode.
>
>Reimplemented logic of setting single use mode. The mode is explicity
>set when --server-only command line parameter is not provided to bitbake.
>It doesn't depend on the port number anymore.
>
>[YOCTO #9275]
>[YOCTO #9240]
>[YOCTO #9252]

I know this has been sent upstream, but fwiw, I've applied it on top of
master and Toaster still refuses to build. Starting a build spawns a ton
of process like this

python /home/belen/toaster/bitbake/bin/bitbake --read conf/toaster.conf
--server-only -t xmlrpc -B 0.0.0.0:0


I could be doing something wrong though.

Cheers

Belén


>
>Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
>---
> bitbake/lib/bb/main.py           | 5 +++--
> bitbake/lib/bb/server/process.py | 2 +-
> bitbake/lib/bb/server/xmlrpc.py  | 8 ++++----
> 3 files changed, 8 insertions(+), 7 deletions(-)
>
>diff --git a/bitbake/lib/bb/main.py b/bitbake/lib/bb/main.py
>index bf59793..a28c751 100755
>--- a/bitbake/lib/bb/main.py
>+++ b/bitbake/lib/bb/main.py
>@@ -282,12 +282,13 @@ class
>BitBakeConfigParameters(cookerdata.ConfigParameters):
> 
> def start_server(servermodule, configParams, configuration, features):
>     server = servermodule.BitBakeServer()
>+    single_use = not configParams.server_only
>     if configParams.bind:
>         (host, port) = configParams.bind.split(':')
>-        server.initServer((host, int(port)))
>+        server.initServer((host, int(port)), single_use)
>         configuration.interface = [ server.serverImpl.host,
>server.serverImpl.port ]
>     else:
>-        server.initServer()
>+        server.initServer(single_use=single_use)
>         configuration.interface = []
> 
>     try:
>diff --git a/bitbake/lib/bb/server/process.py
>b/bitbake/lib/bb/server/process.py
>index e387b30..a3078a8 100644
>--- a/bitbake/lib/bb/server/process.py
>+++ b/bitbake/lib/bb/server/process.py
>@@ -242,7 +242,7 @@ class ProcessEventQueue(multiprocessing.queues.Queue):
> 
> 
> class BitBakeServer(BitBakeBaseServer):
>-    def initServer(self):
>+    def initServer(self, single_use=True):
>         # establish communication channels.  We use bidirectional pipes
>for
>         # ui <--> server command/response pairs
>         # and a queue for server -> ui event notifications
>diff --git a/bitbake/lib/bb/server/xmlrpc.py
>b/bitbake/lib/bb/server/xmlrpc.py
>index a79b490..48d45d8 100644
>--- a/bitbake/lib/bb/server/xmlrpc.py
>+++ b/bitbake/lib/bb/server/xmlrpc.py
>@@ -189,12 +189,12 @@ class XMLRPCServer(SimpleXMLRPCServer,
>BaseImplServer):
>     # remove this when you're done with debugging
>     # allow_reuse_address = True
> 
>-    def __init__(self, interface):
>+    def __init__(self, interface, single_use=False):
>         """
>         Constructor
>         """
>         BaseImplServer.__init__(self)
>-        self.single_use = interface[1] == 0 # anonymous port, not
>getting reused
>+        self.single_use = single_use
>         # Use auto port configuration
>         if (interface[1] == -1):
>             interface = (interface[0], 0)
>@@ -335,9 +335,9 @@ class
>BitBakeXMLRPCServerConnection(BitBakeBaseServerConnection):
>             pass
> 
> class BitBakeServer(BitBakeBaseServer):
>-    def initServer(self, interface = ("localhost", 0)):
>+    def initServer(self, interface = ("localhost", 0), single_use =
>False):
>         self.interface = interface
>-        self.serverImpl = XMLRPCServer(interface)
>+        self.serverImpl = XMLRPCServer(interface, single_use)
> 
>     def detach(self):
>         daemonize.createDaemon(self.serverImpl.serve_forever,
>"bitbake-cookerdaemon.log")
>-- 
>2.1.4
>
>-- 
>_______________________________________________
>toaster mailing list
>toaster@yoctoproject.org
>https://lists.yoctoproject.org/listinfo/toaster



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] bitbake: xmlrpc: set single use mode differently
  2016-03-17 11:34 Elliot Smith
@ 2016-03-28 20:28 ` Brian Avery
  0 siblings, 0 replies; 5+ messages in thread
From: Brian Avery @ 2016-03-28 20:28 UTC (permalink / raw)
  To: Elliot Smith; +Cc: bitbake-devel

Hi,
The original idea behind this fix was to remove the idea that bitbake
would *ever* autoexit.  If a ui starts up a bitbake server then the
server should remain until it is told to exit. Basically, we were
going to remove the single use flag entirely and fix any (if there are
any) issues in knotty that rely on that behaviour.

Thoughts?,
-b
an intel employee

On Thu, Mar 17, 2016 at 4:34 AM, Elliot Smith <elliot.smith@intel.com> wrote:
> From: Ed Bartosh <ed.bartosh@linux.intel.com>
>
> Currently xmlrpc server implicitly sets itself into single use mode
> when bitbake server is started with anonymous port (0) or no port is
> provided in command line. In this mode bitbake shuts down xmlrpc server
> after build is done. This assumption is incorrect in some cases.
> For example Toaster uses bitbake in this mode and expects xmlrpc server
> to stay in memory.
>
> Till recent changes single use mode was always unset due to the bug.
> When the bug was fixed it broke toaster builds as Toaster couldn't
> communicate with bitbake server in single use mode.
>
> Reimplemented logic of setting single use mode. The mode is explicity
> set when --server-only command line parameter is not provided to bitbake.
> It doesn't depend on the port number anymore.
>
> [YOCTO #9275]
> [YOCTO #9240]
> [YOCTO #9252]
>
> Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
> Signed-off-by: Elliot Smith <elliot.smith@intel.com>
> ---
>  bitbake/lib/bb/main.py           | 5 +++--
>  bitbake/lib/bb/server/process.py | 2 +-
>  bitbake/lib/bb/server/xmlrpc.py  | 8 ++++----
>  3 files changed, 8 insertions(+), 7 deletions(-)
>
> diff --git a/bitbake/lib/bb/main.py b/bitbake/lib/bb/main.py
> index bf59793..a28c751 100755
> --- a/bitbake/lib/bb/main.py
> +++ b/bitbake/lib/bb/main.py
> @@ -282,12 +282,13 @@ class BitBakeConfigParameters(cookerdata.ConfigParameters):
>
>  def start_server(servermodule, configParams, configuration, features):
>      server = servermodule.BitBakeServer()
> +    single_use = not configParams.server_only
>      if configParams.bind:
>          (host, port) = configParams.bind.split(':')
> -        server.initServer((host, int(port)))
> +        server.initServer((host, int(port)), single_use)
>          configuration.interface = [ server.serverImpl.host, server.serverImpl.port ]
>      else:
> -        server.initServer()
> +        server.initServer(single_use=single_use)
>          configuration.interface = []
>
>      try:
> diff --git a/bitbake/lib/bb/server/process.py b/bitbake/lib/bb/server/process.py
> index e387b30..a3078a8 100644
> --- a/bitbake/lib/bb/server/process.py
> +++ b/bitbake/lib/bb/server/process.py
> @@ -242,7 +242,7 @@ class ProcessEventQueue(multiprocessing.queues.Queue):
>
>
>  class BitBakeServer(BitBakeBaseServer):
> -    def initServer(self):
> +    def initServer(self, single_use=True):
>          # establish communication channels.  We use bidirectional pipes for
>          # ui <--> server command/response pairs
>          # and a queue for server -> ui event notifications
> diff --git a/bitbake/lib/bb/server/xmlrpc.py b/bitbake/lib/bb/server/xmlrpc.py
> index a79b490..48d45d8 100644
> --- a/bitbake/lib/bb/server/xmlrpc.py
> +++ b/bitbake/lib/bb/server/xmlrpc.py
> @@ -189,12 +189,12 @@ class XMLRPCServer(SimpleXMLRPCServer, BaseImplServer):
>      # remove this when you're done with debugging
>      # allow_reuse_address = True
>
> -    def __init__(self, interface):
> +    def __init__(self, interface, single_use=False):
>          """
>          Constructor
>          """
>          BaseImplServer.__init__(self)
> -        self.single_use = interface[1] == 0 # anonymous port, not getting reused
> +        self.single_use = single_use
>          # Use auto port configuration
>          if (interface[1] == -1):
>              interface = (interface[0], 0)
> @@ -335,9 +335,9 @@ class BitBakeXMLRPCServerConnection(BitBakeBaseServerConnection):
>              pass
>
>  class BitBakeServer(BitBakeBaseServer):
> -    def initServer(self, interface = ("localhost", 0)):
> +    def initServer(self, interface = ("localhost", 0), single_use = False):
>          self.interface = interface
> -        self.serverImpl = XMLRPCServer(interface)
> +        self.serverImpl = XMLRPCServer(interface, single_use)
>
>      def detach(self):
>          daemonize.createDaemon(self.serverImpl.serve_forever, "bitbake-cookerdaemon.log")
> --
> 1.9.3
>
> ---------------------------------------------------------------------
> Intel Corporation (UK) Limited
> Registered No. 1134945 (England)
> Registered Office: Pipers Way, Swindon SN3 1RJ
> VAT No: 860 2173 47
>
> This e-mail and any attachments may contain confidential material for
> the sole use of the intended recipient(s). Any review or distribution
> by others is strictly prohibited. If you are not the intended
> recipient, please contact the sender and delete all copies.
>
> --
> _______________________________________________
> bitbake-devel mailing list
> bitbake-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/bitbake-devel


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH] bitbake: xmlrpc: set single use mode differently
@ 2016-03-17 11:34 Elliot Smith
  2016-03-28 20:28 ` Brian Avery
  0 siblings, 1 reply; 5+ messages in thread
From: Elliot Smith @ 2016-03-17 11:34 UTC (permalink / raw)
  To: bitbake-devel

From: Ed Bartosh <ed.bartosh@linux.intel.com>

Currently xmlrpc server implicitly sets itself into single use mode
when bitbake server is started with anonymous port (0) or no port is
provided in command line. In this mode bitbake shuts down xmlrpc server
after build is done. This assumption is incorrect in some cases.
For example Toaster uses bitbake in this mode and expects xmlrpc server
to stay in memory.

Till recent changes single use mode was always unset due to the bug.
When the bug was fixed it broke toaster builds as Toaster couldn't
communicate with bitbake server in single use mode.

Reimplemented logic of setting single use mode. The mode is explicity
set when --server-only command line parameter is not provided to bitbake.
It doesn't depend on the port number anymore.

[YOCTO #9275]
[YOCTO #9240]
[YOCTO #9252]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Elliot Smith <elliot.smith@intel.com>
---
 bitbake/lib/bb/main.py           | 5 +++--
 bitbake/lib/bb/server/process.py | 2 +-
 bitbake/lib/bb/server/xmlrpc.py  | 8 ++++----
 3 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/bitbake/lib/bb/main.py b/bitbake/lib/bb/main.py
index bf59793..a28c751 100755
--- a/bitbake/lib/bb/main.py
+++ b/bitbake/lib/bb/main.py
@@ -282,12 +282,13 @@ class BitBakeConfigParameters(cookerdata.ConfigParameters):
 
 def start_server(servermodule, configParams, configuration, features):
     server = servermodule.BitBakeServer()
+    single_use = not configParams.server_only
     if configParams.bind:
         (host, port) = configParams.bind.split(':')
-        server.initServer((host, int(port)))
+        server.initServer((host, int(port)), single_use)
         configuration.interface = [ server.serverImpl.host, server.serverImpl.port ]
     else:
-        server.initServer()
+        server.initServer(single_use=single_use)
         configuration.interface = []
 
     try:
diff --git a/bitbake/lib/bb/server/process.py b/bitbake/lib/bb/server/process.py
index e387b30..a3078a8 100644
--- a/bitbake/lib/bb/server/process.py
+++ b/bitbake/lib/bb/server/process.py
@@ -242,7 +242,7 @@ class ProcessEventQueue(multiprocessing.queues.Queue):
 
 
 class BitBakeServer(BitBakeBaseServer):
-    def initServer(self):
+    def initServer(self, single_use=True):
         # establish communication channels.  We use bidirectional pipes for
         # ui <--> server command/response pairs
         # and a queue for server -> ui event notifications
diff --git a/bitbake/lib/bb/server/xmlrpc.py b/bitbake/lib/bb/server/xmlrpc.py
index a79b490..48d45d8 100644
--- a/bitbake/lib/bb/server/xmlrpc.py
+++ b/bitbake/lib/bb/server/xmlrpc.py
@@ -189,12 +189,12 @@ class XMLRPCServer(SimpleXMLRPCServer, BaseImplServer):
     # remove this when you're done with debugging
     # allow_reuse_address = True
 
-    def __init__(self, interface):
+    def __init__(self, interface, single_use=False):
         """
         Constructor
         """
         BaseImplServer.__init__(self)
-        self.single_use = interface[1] == 0 # anonymous port, not getting reused
+        self.single_use = single_use
         # Use auto port configuration
         if (interface[1] == -1):
             interface = (interface[0], 0)
@@ -335,9 +335,9 @@ class BitBakeXMLRPCServerConnection(BitBakeBaseServerConnection):
             pass
 
 class BitBakeServer(BitBakeBaseServer):
-    def initServer(self, interface = ("localhost", 0)):
+    def initServer(self, interface = ("localhost", 0), single_use = False):
         self.interface = interface
-        self.serverImpl = XMLRPCServer(interface)
+        self.serverImpl = XMLRPCServer(interface, single_use)
 
     def detach(self):
         daemonize.createDaemon(self.serverImpl.serve_forever, "bitbake-cookerdaemon.log")
-- 
1.9.3

---------------------------------------------------------------------
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.



^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-03-28 20:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-17  7:21 [PATCH] bitbake: xmlrpc: set single use mode differently Ed Bartosh
2016-03-17 11:35 ` Smith, Elliot
2016-03-21 12:30 ` Barros Pena, Belen
2016-03-17 11:34 Elliot Smith
2016-03-28 20:28 ` Brian Avery

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.