unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Mark H Weaver <mhw@netris.org>
Cc: 30299@debbugs.gnu.org
Subject: bug#30299: [core-updates] shepherd fails tests on all systems except x86_64
Date: Sat, 17 Feb 2018 01:04:00 +0100	[thread overview]
Message-ID: <87inawlbwv.fsf@gnu.org> (raw)
In-Reply-To: <87a7wam53e.fsf@netris.org> (Mark H. Weaver's message of "Thu, 15 Feb 2018 14:21:25 -0500")

Hello,

Mark H Weaver <mhw@netris.org> skribis:

> However, on armhf-linux, three tests failed: respawn.sh,
> respawn-throttling.sh, and pid-file.sh.
>
>   https://hydra.gnu.org/build/2499835

(Similar issue on aarch64:
<https://berlin.guixsd.org/build/2419870/log/raw>.  Though of course it
passed on the 2nd and 3rd attempts…)

I was able to reproduce a tests/respawn.sh failure on hardware (ARMv7).
The issue is that a service is not respawned, and the log shows:

--8<---------------cut here---------------start------------->8---
+ assert_killed_service_is_respawned t-service2-pid-695
++ cat t-service2-pid-695
+ old_pid=789
+ rm t-service2-pid-695
+ kill 789
+ wait_for_file t-service2-pid-695
+ i=0
+ test -f t-service2-pid-695
+ test 0 -lt 20
+ sleep 0.3
++ expr 0 + 1

[...]

2018-02-16 11:13:31 Service root has been started.
2018-02-16 11:13:32 Service test1 has been started.
2018-02-16 11:13:34 Service test2 has been started.
2018-02-16 11:13:35 Respawning test1.
2018-02-16 11:13:35 Service test1 has been started.
2018-02-16 11:13:36 Respawning test2.
2018-02-16 11:13:37 Service test2 has been started.
2018-02-16 11:13:37 Respawning test1.
2018-02-16 11:13:37 Service test1 has been started.
2018-02-16 11:13:38 Respawning test2.
2018-02-16 11:13:43 Service test2 could not be started.
--8<---------------cut here---------------end--------------->8---

So SIGCHLD was correctly delivered, but somehow restarting that service
didn’t work (its PID file didn’t show up again; the 5 seconds between
“Respawning” and “could not be started” correspond to the delay in
‘read-pid-file’ in (shepherd service)).  

These test failures seem to be more frequent when the machine is loaded.

Ludo’.

  parent reply	other threads:[~2018-02-17  0:05 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-31  3:07 bug#30299: [core-updates] shepherd fails tests on all systems except x86_64 Mark H Weaver
2018-02-03 19:53 ` Efraim Flashner
2018-02-04 22:48 ` Ludovic Courtès
2018-02-14  8:52   ` Mark H Weaver
2018-02-14 13:00     ` Ludovic Courtès
2018-02-15 19:21     ` Mark H Weaver
2018-02-15 21:26       ` Ludovic Courtès
2018-02-17  0:04       ` Ludovic Courtès [this message]
2018-02-24 23:00         ` Andreas Enge
2018-02-14  9:16 ` Mark H Weaver
2020-03-19  8:28 ` Brice Waegeneire
2020-03-19  9:16   ` Marius Bakke
2020-03-20  9:58     ` bug#23811: shepherd: tests/respawn-throttling.sh fails sporadically Brice Waegeneire
2020-03-20 17:26       ` Marius Bakke

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87inawlbwv.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=30299@debbugs.gnu.org \
    --cc=mhw@netris.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).