[elbe-devel] [PATCH] soapclient: remove filtering of exception for retry
Torben Hohn
torben.hohn at linutronix.de
Fri Apr 5 16:21:02 CEST 2019
On Fri, Apr 05, 2019 at 04:11:03PM +0200, Manuel Traut wrote:
> i ran into another error, so the retry was not done:
>
> --8<--
> Fri Apr 5 01:21:12 2019 -- pmstatus:libxinerama1:44.8745:Preparing to configure libxinerama1 (armhf)
> timed out
> Traceback (most recent call last):
> File "./elbe", line 55, in <module>
> cmdmod.run_command(sys.argv[2:])
> File "/elbe/elbepack/commands/control.py", line 169, in run_command
> action.execute(control, opt, args[1:])
> File "/elbe/elbepack/soapclient.py", line 599, in execute
> raise e
> socket.timeout: timed out
> --8<--
>
> for better debugging in the future i suggest to disable the filtering
>
> Signed-off-by: Manuel Traut <manut at linutronix.de>
Reviewed-by: Torben Hohn <torben.hohn at linutronix.de>
> ---
> elbepack/soapclient.py | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/elbepack/soapclient.py b/elbepack/soapclient.py
> index a5b26500..6ae1bd21 100644
> --- a/elbepack/soapclient.py
> +++ b/elbepack/soapclient.py
> @@ -595,8 +595,6 @@ class WaitProjectBusyAction(ClientAction):
> # here
> except socket.error as e:
> print(e.message, file=sys.stderr)
> - if e.errno != 104:
> - raise e
> print("socket error during wait busy occured, retry..",
> file=sys.stderr)
> continue
> --
> 2.20.1
>
--
Torben Hohn
Linutronix GmbH | Bahnhofstrasse 3 | D-88690 Uhldingen-Mühlhofen
Phone: +49 7556 25 999 18; Fax.: +49 7556 25 999 99
Hinweise zum Datenschutz finden Sie hier (Informations on data privacy
can be found here): https://linutronix.de/kontakt/Datenschutz.php
Linutronix GmbH | Firmensitz (Registered Office): Uhldingen-Mühlhofen |
Registergericht (Registration Court): Amtsgericht Freiburg i.Br., HRB700
806 | Geschäftsführer (Managing Directors): Heinz Egger, Thomas Gleixner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.linutronix.de/pipermail/elbe-devel/attachments/20190405/ee162305/attachment.sig>
More information about the elbe-devel
mailing list