Subject: Re: bug#71942: 30.0.60; Intermittent failure in process-tests

From: Andrea Corallo <[email-masked]>
Date: Fri, 05 Jul 2024 03:55:06 -0400

john muhl <[email-masked]> writes:

> The failure is in ‘process-tests/sentinel-with-multiple-processes’
> and happens on all the configurations being tested. It happens in
> both ‘make check’ and running the test individually. It can be
> reproduced using a script like:
>
>   #!/usr/bin/env bash
>   echo OK >> ~/tmp/process-tests.txt
>   cd ~/src/emacs
>   rm -f test/src/process-tests.log
>   make test/src/process-tests.log
>
> and the command ‘watch -e script.sh’. For an idea how often it
> fails here are the results of five runs of the above on two
> different machines:
>
>   wc -l process-tests-*.txt
>     157 process-tests-1.txt
>     259 process-tests-2.txt
>     329 process-tests-3.txt
>     112 process-tests-4.txt
>      96 process-tests-5.txt
>     950 total
>
>   wc -l process-tests-*.txt
>      11 process-tests-1.txt
>      14 process-tests-2.txt
>       9 process-tests-3.txt
>      11 process-tests-4.txt
>      11 process-tests-5.txt
>      56 total

Hi john,

what happens you increase the 10 seconds sleep-for into
process-tests/sentinel-with-multiple-processes?

Cc-ing Philipp

  Andrea