GNU bug report logs - #71942
30.0.60; Intermittent failure in process-tests

Previous Next

Package: emacs;

Reported by: john muhl <jm <at> pub.pink>

Date: Thu, 4 Jul 2024 19:35:01 UTC

Severity: minor

Found in version 30.0.60

To reply to this bug, email your comments to 71942 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#71942; Package emacs. (Thu, 04 Jul 2024 19:35:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to john muhl <jm <at> pub.pink>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 04 Jul 2024 19:35:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: john muhl <jm <at> pub.pink>
To: bug-gnu-emacs <at> gnu.org
Subject: 30.0.60; Intermittent failure in process-tests
Date: Thu, 04 Jul 2024 14:34:42 -0500
[Message part 1 (text/plain, inline)]
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

[process-tests-1.log (text/plain, attachment)]
[process-tests-2.log (text/plain, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#71942; Package emacs. (Fri, 05 Jul 2024 07:56:02 GMT) Full text and rfc822 format available.

Message #8 received at 71942 <at> debbugs.gnu.org (full text, mbox):

From: Andrea Corallo <acorallo <at> gnu.org>
To: john muhl <jm <at> pub.pink>
Cc: Philipp Stephani <phst <at> google.com>, 71942 <at> debbugs.gnu.org
Subject: Re: bug#71942: 30.0.60; Intermittent failure in process-tests
Date: Fri, 05 Jul 2024 03:55:06 -0400
john muhl <jm <at> pub.pink> 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




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#71942; Package emacs. (Fri, 05 Jul 2024 16:31:01 GMT) Full text and rfc822 format available.

Message #11 received at 71942 <at> debbugs.gnu.org (full text, mbox):

From: john muhl <jm <at> pub.pink>
To: Andrea Corallo <acorallo <at> gnu.org>
Cc: Philipp Stephani <phst <at> google.com>, 71942 <at> debbugs.gnu.org
Subject: Re: bug#71942: 30.0.60; Intermittent failure in process-tests
Date: Fri, 05 Jul 2024 11:30:13 -0500
Andrea Corallo <acorallo <at> gnu.org> writes:
>
> what happens you increase the 10 seconds sleep-for into
> process-tests/sentinel-with-multiple-processes?

Tried with 100 and 1000. It doesn’t change much.

  # (sleep-for 10)
  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

  # (sleep-for 100)
  wc -l process-tests-*.txt
     29 process-tests-1.txt
     70 process-tests-2.txt
     93 process-tests-3.txt
    553 process-tests-4.txt
    262 process-tests-5.txt
   1007 total

  # (sleep-for 1000)
  wc -l process-tests-*.txt
     34 process-tests-1.txt
    196 process-tests-2.txt
     94 process-tests-3.txt
    132 process-tests-4.txt
    250 process-tests-5.txt
    706 total

  # (sleep-for 10)
  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

  # (sleep-for 100)
  wc -l process-tests-*.txt
    139 process-tests-1.txt
     15 process-tests-2.txt
     57 process-tests-3.txt
    106 process-tests-4.txt
    105 process-tests-5.txt
    422 total

  # (sleep-for 1000)
  wc -l process-tests-*.txt
    117 process-tests-1.txt
    207 process-tests-2.txt
     24 process-tests-3.txt
     15 process-tests-4.txt
     11 process-tests-5.txt
    374 total





Severity set to 'minor' from 'normal' Request was from Stefan Kangas <stefankangas <at> gmail.com> to control <at> debbugs.gnu.org. (Sat, 01 Mar 2025 01:47:02 GMT) Full text and rfc822 format available.

This bug report was last modified 109 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.