All of lore.kernel.org
 help / color / mirror / Atom feed
* [review-request][PATCH] toaster: increase timeout
@ 2016-01-15 12:04 Ed Bartosh
  2016-01-15 16:35 ` Smith, Elliot
  0 siblings, 1 reply; 2+ messages in thread
From: Ed Bartosh @ 2016-01-15 12:04 UTC (permalink / raw)
  To: toaster

Sometimes Toaster connection to the bitbake server fails with
this error in the log:
   ERROR: Could not connect to server 0.0.0.0:46572
   : Could not register UI event handler
It happens more often on slow machines.

Increasing timeout after restarting bitbake should fix this issue.

[YOCTO #8776]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
---
 bitbake/bin/toaster | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bitbake/bin/toaster b/bitbake/bin/toaster
index 1f98490..e5041cb 100755
--- a/bitbake/bin/toaster
+++ b/bitbake/bin/toaster
@@ -228,7 +228,7 @@ if [ "$1" = 'restart-bitbake' ] ; then
     sleep 1
     start_bitbake
     rc=$?
-    sleep 1
+    sleep 3
     return $rc
 fi
 
-- 
2.1.4



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

* Re: [review-request][PATCH] toaster: increase timeout
  2016-01-15 12:04 [review-request][PATCH] toaster: increase timeout Ed Bartosh
@ 2016-01-15 16:35 ` Smith, Elliot
  0 siblings, 0 replies; 2+ messages in thread
From: Smith, Elliot @ 2016-01-15 16:35 UTC (permalink / raw)
  To: Ed Bartosh; +Cc: toaster

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

On 15 January 2016 at 12:04, Ed Bartosh <ed.bartosh@linux.intel.com> wrote:

> Sometimes Toaster connection to the bitbake server fails with
> this error in the log:
>    ERROR: Could not connect to server 0.0.0.0:46572
>    : Could not register UI event handler
> It happens more often on slow machines.
>

Submitted to bitbake-devel and toaster-next.

Elliot


>
> Increasing timeout after restarting bitbake should fix this issue.
>
> [YOCTO #8776]
>
> Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
> ---
>  bitbake/bin/toaster | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/bitbake/bin/toaster b/bitbake/bin/toaster
> index 1f98490..e5041cb 100755
> --- a/bitbake/bin/toaster
> +++ b/bitbake/bin/toaster
> @@ -228,7 +228,7 @@ if [ "$1" = 'restart-bitbake' ] ; then
>      sleep 1
>      start_bitbake
>      rc=$?
> -    sleep 1
> +    sleep 3
>      return $rc
>  fi
>
> --
> 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: 2324 bytes --]

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

end of thread, other threads:[~2016-01-15 16:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-15 12:04 [review-request][PATCH] toaster: increase timeout Ed Bartosh
2016-01-15 16:35 ` Smith, Elliot

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.