Hi Christian, thanks a lot for looking at this (and for the lesson).
I tried to address all your comments. I'll start following the git ubuntu merge process from now on. Doing it manually was how I learned when I started doing it few months ago and I think it's quick and simple enough (and nobody complained until the patch pilot started :P) so I guess I was resisting adopting git ubuntu merge.
The simple sleep is already used somewhere else in the same script so I just went for the simpler solution as slapd would very much likely be ready in 2 seconds in most of the situations, unless the system is completely dying...
Hi Christian, thanks a lot for looking at this (and for the lesson).
I tried to address all your comments. I'll start following the git ubuntu merge process from now on. Doing it manually was how I learned when I started doing it few months ago and I think it's quick and simple enough (and nobody complained until the patch pilot started :P) so I guess I was resisting adopting git ubuntu merge.
I replaced the sleep with a loop checking if slapd is responding, you can see the retry being triggered once here https:/ /autopkgtest. ubuntu. com/results/ autopkgtest- mantic- danilogondolfo- sudo2/mantic/ ppc64el/ s/sudo/ 20230711_ 210349_ 531f6@/ log.gz
I also created a bug report about the problem.
The simple sleep is already used somewhere else in the same script so I just went for the simpler solution as slapd would very much likely be ready in 2 seconds in most of the situations, unless the system is completely dying...