all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#28588: Issue with GNU Shepherd make check
@ 2017-09-24 16:47 leestrobel
  2017-09-26 11:52 ` Ricardo Wurmus
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: leestrobel @ 2017-09-24 16:47 UTC (permalink / raw)
  To: 28588

[-- Attachment #1: Type: text/plain, Size: 704 bytes --]

Hi,

I'm trying to compile and install GNU Shepherd, as I'd like to try it out; however, when I run 'make check' as root, it reboots my machine within a few seconds (which isn't very helpful!). If I try 'make check' without root privileges, some other errors get thrown up.

I'm trying to compile on a very minimal 'Linux From Scratch' system on an x86_64 Apple Macbook (Core 2 Duo). I installed Guile beforehand, and that seemed to test ok. Basically, I want to try out Shepherd instead of the SysVinit that they recommend in LFS.

I'd like to try out Shepherd, but I'd be a bit reluctant to if I can't check the compiled files first.

Would be v grateful for any assistance.

Thanks!

Lee

[-- Attachment #2: Type: text/html, Size: 980 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#28588: Issue with GNU Shepherd make check
  2017-09-24 16:47 bug#28588: Issue with GNU Shepherd make check leestrobel
@ 2017-09-26 11:52 ` Ricardo Wurmus
  2017-09-26 22:59   ` Lee Strobel
  2017-09-26 23:08   ` Lee Strobel
  2017-09-26 15:37 ` leestrobel
  2017-09-27  0:28 ` leestrobel
  2 siblings, 2 replies; 8+ messages in thread
From: Ricardo Wurmus @ 2017-09-26 11:52 UTC (permalink / raw)
  To: leestrobel; +Cc: 28588


leestrobel@disroot.org writes:

> If I try 'make check' without root privileges, some other errors get
> thrown up.

What errors are those?

--
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#28588: Issue with GNU Shepherd make check
  2017-09-24 16:47 bug#28588: Issue with GNU Shepherd make check leestrobel
  2017-09-26 11:52 ` Ricardo Wurmus
@ 2017-09-26 15:37 ` leestrobel
  2017-09-27  0:28 ` leestrobel
  2 siblings, 0 replies; 8+ messages in thread
From: leestrobel @ 2017-09-26 15:37 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: 28588

Hi Ricardo,

Thanks for your reply. I'm at work right now, but I'll try it again this evening and paste exactly what it says.

Regards,

Lee


September 26, 2017 7:52 AM, "Ricardo Wurmus" <rekado@elephly.net> wrote:

> leestrobel@disroot.org writes:
> 
>> If I try 'make check' without root privileges, some other errors get
>> thrown up.
> 
> What errors are those?
> 
> --
> Ricardo
> 
> GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC
> https://elephly.net

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#28588: Issue with GNU Shepherd make check
  2017-09-26 11:52 ` Ricardo Wurmus
@ 2017-09-26 22:59   ` Lee Strobel
  2017-09-26 23:08   ` Lee Strobel
  1 sibling, 0 replies; 8+ messages in thread
From: Lee Strobel @ 2017-09-26 22:59 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: 28588

[-- Attachment #1: Type: text/plain, Size: 754 bytes --]

Hi Ricardo,

I figured out why I was getting those errors - I hadn't given ownership
of the source folder to the non-privileged user I was using. I gave the
folder ownership to that user and re-ran the tests and they ran ok
(sorry, my bad).

Although, tests/respawn.sh failed (the only one out of 8). I don't know
how critical that test is, but I will attach the test-suite.log file, in
case that might be of interest.

Many thanks,

Lee


On Tue, 2017-09-26 at 13:52 +0200, Ricardo Wurmus wrote:
> leestrobel@disroot.org writes:
> 
> > If I try 'make check' without root privileges, some other errors get
> > thrown up.
> 
> What errors are those?
> 
> --
> Ricardo
> 
> GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
> https://elephly.net
> 


[-- Attachment #2: test-suite.log --]
[-- Type: text/x-log, Size: 11582 bytes --]

==========================================
   GNU Shepherd 0.3.2: ./test-suite.log
==========================================

# TOTAL: 8
# PASS:  7
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: tests/respawn
===================

+ shepherd --version
;;; WARNING: loading compiled file /sources/shepherd-0.3.2/modules/shepherd/service.go failed:
;;; ERROR: In procedure load-thunk-from-file: Invalid argument
;;; WARNING: loading compiled file /sources/shepherd-0.3.2/modules/shepherd/service.go failed:
;;; ERROR: In procedure load-thunk-from-file: Invalid argument
;;; WARNING: loading compiled file /sources/shepherd-0.3.2/modules/shepherd/service.go failed:
;;; ERROR: In procedure load-thunk-from-file: Invalid argument
;;; WARNING: loading compiled file /sources/shepherd-0.3.2/modules/shepherd/comm.go failed:
;;; ERROR: In procedure load-thunk-from-file: Invalid argument
;;; WARNING: loading compiled file /sources/shepherd-0.3.2/modules/shepherd/comm.go failed:
;;; ERROR: In procedure load-thunk-from-file: Invalid argument
;;; WARNING: loading compiled file /sources/shepherd-0.3.2/modules/shepherd/comm.go failed:
;;; ERROR: In procedure load-thunk-from-file: Invalid argument
shepherd (GNU Shepherd) 0.3.2
Copyright (C) 2016 the Shepherd authors
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Some deprecated features have been used.  Set the environment
variable GUILE_WARN_DEPRECATED to "detailed" and rerun the
program to get more information.  Set it to "no" to suppress
this message.
+ herd --version
herd (GNU Shepherd) 0.3.2
Copyright (C) 2016 the Shepherd authors
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
;;; WARNING: loading compiled file /sources/shepherd-0.3.2/modules/shepherd/comm.go failed:
;;; ERROR: In procedure load-thunk-from-file: Invalid argument
;;; WARNING: loading compiled file /sources/shepherd-0.3.2/modules/shepherd/comm.go failed:
;;; ERROR: In procedure load-thunk-from-file: Invalid argument
;;; WARNING: loading compiled file /sources/shepherd-0.3.2/modules/shepherd/comm.go failed:
;;; ERROR: In procedure load-thunk-from-file: Invalid argument

Some deprecated features have been used.  Set the environment
variable GUILE_WARN_DEPRECATED to "detailed" and rerun the
program to get more information.  Set it to "no" to suppress
this message.
+ socket=t-socket-7568
+ conf=t-conf-7568
+ log=t-log-7568
+ stamp=t-stamp-7568
+ service1_pid=t-service1-pid-7568
+ service2_pid=t-service2-pid-7568
+ pid=t-pid-7568
+ herd='herd -s t-socket-7568'
+ trap 'cat t-log-7568 || true ;
  rm -f t-socket-7568 t-conf-7568 t-stamp-7568 t-log-7568 ;
  test -f t-pid-7568 && kill `cat t-pid-7568` || true ; rm -f t-pid-7568 ;
  test -f t-service1-pid-7568 && kill `cat t-service1-pid-7568` || true ;
  test -f t-service2-pid-7568 && kill `cat t-service2-pid-7568` || true ;
  rm -f t-service1-pid-7568 t-service2-pid-7568' EXIT
+ cat
+ rm -f t-pid-7568
+ wait_for_file t-pid-7568
+ i=0
+ test -f t-pid-7568
+ shepherd -I -s t-socket-7568 -c t-conf-7568 -l t-log-7568 --pid=t-pid-7568
+ test 0 -lt 20
+ sleep 0.3
++ expr 0 + 1
+ i=1
+ test -f t-pid-7568
+ test 1 -lt 20
+ sleep 0.3
++ expr 1 + 1
+ i=2
+ test -f t-pid-7568
+ test -f t-pid-7568
++ cat t-pid-7568
+ shepherd_pid=7577
+ kill -0 7577
+ test -S t-socket-7568
+ herd -s t-socket-7568 status
;;; WARNING: loading compiled file /sources/shepherd-0.3.2/modules/shepherd/comm.go failed:
;;; ERROR: In procedure load-thunk-from-file: Invalid argument
;;; WARNING: loading compiled file /sources/shepherd-0.3.2/modules/shepherd/comm.go failed:
;;; ERROR: In procedure load-thunk-from-file: Invalid argument
;;; WARNING: loading compiled file /sources/shepherd-0.3.2/modules/shepherd/comm.go failed:
;;; ERROR: In procedure load-thunk-from-file: Invalid argument
Started:
 + test1
 + root
Stopped:
 - test2

Some deprecated features have been used.  Set the environment
variable GUILE_WARN_DEPRECATED to "detailed" and rerun the
program to get more information.  Set it to "no" to suppress
this message.
+ herd -s t-socket-7568 status test1
+ grep started
;;; WARNING: loading compiled file /sources/shepherd-0.3.2/modules/shepherd/comm.go failed:
;;; ERROR: In procedure load-thunk-from-file: Invalid argument
;;; WARNING: loading compiled file /sources/shepherd-0.3.2/modules/shepherd/comm.go failed:
;;; ERROR: In procedure load-thunk-from-file: Invalid argument
;;; WARNING: loading compiled file /sources/shepherd-0.3.2/modules/shepherd/comm.go failed:
;;; ERROR: In procedure load-thunk-from-file: Invalid argument

Some deprecated features have been used.  Set the environment
variable GUILE_WARN_DEPRECATED to "detailed" and rerun the
program to get more information.  Set it to "no" to suppress
this message.
  It is started.
+ herd -s t-socket-7568 start test2
;;; WARNING: loading compiled file /sources/shepherd-0.3.2/modules/shepherd/comm.go failed:
;;; ERROR: In procedure load-thunk-from-file: Invalid argument
;;; WARNING: loading compiled file /sources/shepherd-0.3.2/modules/shepherd/comm.go failed:
;;; ERROR: In procedure load-thunk-from-file: Invalid argument
;;; WARNING: loading compiled file /sources/shepherd-0.3.2/modules/shepherd/comm.go failed:
;;; ERROR: In procedure load-thunk-from-file: Invalid argument
Service test2 has been started.

Some deprecated features have been used.  Set the environment
variable GUILE_WARN_DEPRECATED to "detailed" and rerun the
program to get more information.  Set it to "no" to suppress
this message.
+ grep started
;;; WARNING: loading compiled file /sources/shepherd-0.3.2/modules/shepherd/comm.go failed:
;;; ERROR: In procedure load-thunk-from-file: Invalid argument
;;; WARNING: loading compiled file /sources/shepherd-0.3.2/modules/shepherd/comm.go failed:
;;; ERROR: In procedure load-thunk-from-file: Invalid argument
;;; WARNING: loading compiled file /sources/shepherd-0.3.2/modules/shepherd/comm.go failed:
;;; ERROR: In procedure load-thunk-from-file: Invalid argument

Some deprecated features have been used.  Set the environment
variable GUILE_WARN_DEPRECATED to "detailed" and rerun the
program to get more information.  Set it to "no" to suppress
this message.
  It is started.
+ test -f t-service2-pid-7568
+ wait_for_file t-service1-pid-7568
+ i=0
+ test -f t-service1-pid-7568
+ test -f t-service1-pid-7568
++ cat t-service1-pid-7568
+ kill -0 7584
++ cat t-service2-pid-7568
+ kill -0 7598
+ assert_killed_service_is_respawned t-service1-pid-7568
++ cat t-service1-pid-7568
+ old_pid=7584
+ rm t-service1-pid-7568
+ kill 7584
+ wait_for_file t-service1-pid-7568
+ i=0
+ test -f t-service1-pid-7568
+ test 0 -lt 20
+ sleep 0.3
++ expr 0 + 1
+ i=1
+ test -f t-service1-pid-7568
+ test 1 -lt 20
+ sleep 0.3
++ expr 1 + 1
+ i=2
+ test -f t-service1-pid-7568
+ test 2 -lt 20
+ sleep 0.3
++ expr 2 + 1
+ i=3
+ test -f t-service1-pid-7568
+ test -f t-service1-pid-7568
+ test -f t-service1-pid-7568
++ cat t-service1-pid-7568
+ new_pid=7617
+ test 7584 -ne 7617
+ kill -0 7617
+ assert_killed_service_is_respawned t-service2-pid-7568
++ cat t-service2-pid-7568
+ old_pid=7598
+ rm t-service2-pid-7568
+ kill 7598
+ wait_for_file t-service2-pid-7568
+ i=0
+ test -f t-service2-pid-7568
+ test 0 -lt 20
+ sleep 0.3
++ expr 0 + 1
+ i=1
+ test -f t-service2-pid-7568
+ test 1 -lt 20
+ sleep 0.3
++ expr 1 + 1
+ i=2
+ test -f t-service2-pid-7568
+ test 2 -lt 20
+ sleep 0.3
++ expr 2 + 1
+ i=3
+ test -f t-service2-pid-7568
+ test 3 -lt 20
+ sleep 0.3
++ expr 3 + 1
+ i=4
+ test -f t-service2-pid-7568
+ test 4 -lt 20
+ sleep 0.3
++ expr 4 + 1
+ i=5
+ test -f t-service2-pid-7568
+ test 5 -lt 20
+ sleep 0.3
++ expr 5 + 1
+ i=6
+ test -f t-service2-pid-7568
+ test -f t-service2-pid-7568
+ test -f t-service2-pid-7568
++ cat t-service2-pid-7568
+ new_pid=7628
+ test 7598 -ne 7628
+ kill -0 7628
+ assert_killed_service_is_respawned t-service1-pid-7568
++ cat t-service1-pid-7568
+ old_pid=7617
+ rm t-service1-pid-7568
+ kill 7617
+ wait_for_file t-service1-pid-7568
+ i=0
+ test -f t-service1-pid-7568
+ test 0 -lt 20
+ sleep 0.3
++ expr 0 + 1
+ i=1
+ test -f t-service1-pid-7568
+ test 1 -lt 20
+ sleep 0.3
++ expr 1 + 1
+ i=2
+ test -f t-service1-pid-7568
+ test 2 -lt 20
+ sleep 0.3
++ expr 2 + 1
+ i=3
+ test -f t-service1-pid-7568
+ test 3 -lt 20
+ sleep 0.3
++ expr 3 + 1
+ i=4
+ test -f t-service1-pid-7568
+ test -f t-service1-pid-7568
+ test -f t-service1-pid-7568
++ cat t-service1-pid-7568
+ new_pid=7650
+ test 7617 -ne 7650
+ kill -0 7650
+ assert_killed_service_is_respawned t-service2-pid-7568
++ cat t-service2-pid-7568
+ old_pid=7628
+ rm t-service2-pid-7568
+ kill 7628
+ wait_for_file t-service2-pid-7568
+ i=0
+ test -f t-service2-pid-7568
+ test 0 -lt 20
+ sleep 0.3
++ expr 0 + 1
+ i=1
+ test -f t-service2-pid-7568
+ test 1 -lt 20
+ sleep 0.3
++ expr 1 + 1
+ i=2
+ test -f t-service2-pid-7568
+ test 2 -lt 20
+ sleep 0.3
++ expr 2 + 1
+ i=3
+ test -f t-service2-pid-7568
+ test 3 -lt 20
+ sleep 0.3
++ expr 3 + 1
+ i=4
+ test -f t-service2-pid-7568
+ test 4 -lt 20
+ sleep 0.3
++ expr 4 + 1
+ i=5
+ test -f t-service2-pid-7568
+ test 5 -lt 20
+ sleep 0.3
++ expr 5 + 1
+ i=6
+ test -f t-service2-pid-7568
+ test 6 -lt 20
+ sleep 0.3
++ expr 6 + 1
+ i=7
+ test -f t-service2-pid-7568
+ test 7 -lt 20
+ sleep 0.3
++ expr 7 + 1
+ i=8
+ test -f t-service2-pid-7568
+ test 8 -lt 20
+ sleep 0.3
++ expr 8 + 1
+ i=9
+ test -f t-service2-pid-7568
+ test 9 -lt 20
+ sleep 0.3
++ expr 9 + 1
+ i=10
+ test -f t-service2-pid-7568
+ test 10 -lt 20
+ sleep 0.3
++ expr 10 + 1
+ i=11
+ test -f t-service2-pid-7568
+ test 11 -lt 20
+ sleep 0.3
++ expr 11 + 1
+ i=12
+ test -f t-service2-pid-7568
+ test 12 -lt 20
+ sleep 0.3
++ expr 12 + 1
+ i=13
+ test -f t-service2-pid-7568
+ test 13 -lt 20
+ sleep 0.3
++ expr 13 + 1
+ i=14
+ test -f t-service2-pid-7568
+ test 14 -lt 20
+ sleep 0.3
++ expr 14 + 1
+ i=15
+ test -f t-service2-pid-7568
+ test 15 -lt 20
+ sleep 0.3
++ expr 15 + 1
+ i=16
+ test -f t-service2-pid-7568
+ test 16 -lt 20
+ sleep 0.3
++ expr 16 + 1
+ i=17
+ test -f t-service2-pid-7568
+ test 17 -lt 20
+ sleep 0.3
++ expr 17 + 1
+ i=18
+ test -f t-service2-pid-7568
+ test 18 -lt 20
+ sleep 0.3
++ expr 18 + 1
+ i=19
+ test -f t-service2-pid-7568
+ test 19 -lt 20
+ sleep 0.3
++ expr 19 + 1
+ i=20
+ test -f t-service2-pid-7568
+ test 20 -lt 20
+ test -f t-service2-pid-7568
+ cat t-log-7568
2017-09-26 18:48:23 Service root has been started.
2017-09-26 18:48:23 Service test1 has been started.
2017-09-26 18:48:25 Service test2 has been started.
2017-09-26 18:48:26 Respawning test1.
2017-09-26 18:48:26 Service test1 has been started.
2017-09-26 18:48:27 Respawning test2.
2017-09-26 18:48:28 Service test2 has been started.
2017-09-26 18:48:29 Respawning test1.
2017-09-26 18:48:29 Service test1 has been started.
2017-09-26 18:48:30 Respawning test2.
2017-09-26 18:48:35 Service test2 could not be started.
+ rm -f t-socket-7568 t-conf-7568 t-stamp-7568 t-log-7568
+ test -f t-pid-7568
++ cat t-pid-7568
+ kill 7577
+ rm -f t-pid-7568
+ test -f t-service1-pid-7568
++ cat t-service1-pid-7568
+ kill 7650
+ test -f t-service2-pid-7568
+ true
+ rm -f t-service1-pid-7568 t-service2-pid-7568
./tests/respawn.sh: line 6:  7577 Terminated              shepherd -I -s "$socket" -c "$conf" -l "$log" --pid="$pid"
FAIL tests/respawn.sh (exit status: 1)


^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#28588: Issue with GNU Shepherd make check
  2017-09-26 11:52 ` Ricardo Wurmus
  2017-09-26 22:59   ` Lee Strobel
@ 2017-09-26 23:08   ` Lee Strobel
  2017-09-28 14:11     ` Ludovic Courtès
  2017-09-28 17:20     ` leestrobel
  1 sibling, 2 replies; 8+ messages in thread
From: Lee Strobel @ 2017-09-26 23:08 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: 28588

[-- Attachment #1: Type: text/plain, Size: 747 bytes --]

Hi Ricardo,

I figured out why I was getting those errors - I hadn't given the
unprivileged user I was using ownership of the source folder. I gave the
folder ownership to the user and re-ran the tests and they worked ok
(sorry, my bad).

Although, tests/respawn.sh failed (the only one that did). I don't know
how critical that one is, but I will attach the test-suite.log file in
case it might be of interest.

Many thanks!

Lee


On Tue, 2017-09-26 at 13:52 +0200, Ricardo Wurmus wrote:
> leestrobel@disroot.org writes:
> 
> > If I try 'make check' without root privileges, some other errors get
> > thrown up.
> 
> What errors are those?
> 
> --
> Ricardo
> 
> GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
> https://elephly.net
> 


[-- Attachment #2: test-suite.log --]
[-- Type: text/x-log, Size: 11582 bytes --]

==========================================
   GNU Shepherd 0.3.2: ./test-suite.log
==========================================

# TOTAL: 8
# PASS:  7
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: tests/respawn
===================

+ shepherd --version
;;; WARNING: loading compiled file /sources/shepherd-0.3.2/modules/shepherd/service.go failed:
;;; ERROR: In procedure load-thunk-from-file: Invalid argument
;;; WARNING: loading compiled file /sources/shepherd-0.3.2/modules/shepherd/service.go failed:
;;; ERROR: In procedure load-thunk-from-file: Invalid argument
;;; WARNING: loading compiled file /sources/shepherd-0.3.2/modules/shepherd/service.go failed:
;;; ERROR: In procedure load-thunk-from-file: Invalid argument
;;; WARNING: loading compiled file /sources/shepherd-0.3.2/modules/shepherd/comm.go failed:
;;; ERROR: In procedure load-thunk-from-file: Invalid argument
;;; WARNING: loading compiled file /sources/shepherd-0.3.2/modules/shepherd/comm.go failed:
;;; ERROR: In procedure load-thunk-from-file: Invalid argument
;;; WARNING: loading compiled file /sources/shepherd-0.3.2/modules/shepherd/comm.go failed:
;;; ERROR: In procedure load-thunk-from-file: Invalid argument
shepherd (GNU Shepherd) 0.3.2
Copyright (C) 2016 the Shepherd authors
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Some deprecated features have been used.  Set the environment
variable GUILE_WARN_DEPRECATED to "detailed" and rerun the
program to get more information.  Set it to "no" to suppress
this message.
+ herd --version
herd (GNU Shepherd) 0.3.2
Copyright (C) 2016 the Shepherd authors
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
;;; WARNING: loading compiled file /sources/shepherd-0.3.2/modules/shepherd/comm.go failed:
;;; ERROR: In procedure load-thunk-from-file: Invalid argument
;;; WARNING: loading compiled file /sources/shepherd-0.3.2/modules/shepherd/comm.go failed:
;;; ERROR: In procedure load-thunk-from-file: Invalid argument
;;; WARNING: loading compiled file /sources/shepherd-0.3.2/modules/shepherd/comm.go failed:
;;; ERROR: In procedure load-thunk-from-file: Invalid argument

Some deprecated features have been used.  Set the environment
variable GUILE_WARN_DEPRECATED to "detailed" and rerun the
program to get more information.  Set it to "no" to suppress
this message.
+ socket=t-socket-7568
+ conf=t-conf-7568
+ log=t-log-7568
+ stamp=t-stamp-7568
+ service1_pid=t-service1-pid-7568
+ service2_pid=t-service2-pid-7568
+ pid=t-pid-7568
+ herd='herd -s t-socket-7568'
+ trap 'cat t-log-7568 || true ;
  rm -f t-socket-7568 t-conf-7568 t-stamp-7568 t-log-7568 ;
  test -f t-pid-7568 && kill `cat t-pid-7568` || true ; rm -f t-pid-7568 ;
  test -f t-service1-pid-7568 && kill `cat t-service1-pid-7568` || true ;
  test -f t-service2-pid-7568 && kill `cat t-service2-pid-7568` || true ;
  rm -f t-service1-pid-7568 t-service2-pid-7568' EXIT
+ cat
+ rm -f t-pid-7568
+ wait_for_file t-pid-7568
+ i=0
+ test -f t-pid-7568
+ shepherd -I -s t-socket-7568 -c t-conf-7568 -l t-log-7568 --pid=t-pid-7568
+ test 0 -lt 20
+ sleep 0.3
++ expr 0 + 1
+ i=1
+ test -f t-pid-7568
+ test 1 -lt 20
+ sleep 0.3
++ expr 1 + 1
+ i=2
+ test -f t-pid-7568
+ test -f t-pid-7568
++ cat t-pid-7568
+ shepherd_pid=7577
+ kill -0 7577
+ test -S t-socket-7568
+ herd -s t-socket-7568 status
;;; WARNING: loading compiled file /sources/shepherd-0.3.2/modules/shepherd/comm.go failed:
;;; ERROR: In procedure load-thunk-from-file: Invalid argument
;;; WARNING: loading compiled file /sources/shepherd-0.3.2/modules/shepherd/comm.go failed:
;;; ERROR: In procedure load-thunk-from-file: Invalid argument
;;; WARNING: loading compiled file /sources/shepherd-0.3.2/modules/shepherd/comm.go failed:
;;; ERROR: In procedure load-thunk-from-file: Invalid argument
Started:
 + test1
 + root
Stopped:
 - test2

Some deprecated features have been used.  Set the environment
variable GUILE_WARN_DEPRECATED to "detailed" and rerun the
program to get more information.  Set it to "no" to suppress
this message.
+ herd -s t-socket-7568 status test1
+ grep started
;;; WARNING: loading compiled file /sources/shepherd-0.3.2/modules/shepherd/comm.go failed:
;;; ERROR: In procedure load-thunk-from-file: Invalid argument
;;; WARNING: loading compiled file /sources/shepherd-0.3.2/modules/shepherd/comm.go failed:
;;; ERROR: In procedure load-thunk-from-file: Invalid argument
;;; WARNING: loading compiled file /sources/shepherd-0.3.2/modules/shepherd/comm.go failed:
;;; ERROR: In procedure load-thunk-from-file: Invalid argument

Some deprecated features have been used.  Set the environment
variable GUILE_WARN_DEPRECATED to "detailed" and rerun the
program to get more information.  Set it to "no" to suppress
this message.
  It is started.
+ herd -s t-socket-7568 start test2
;;; WARNING: loading compiled file /sources/shepherd-0.3.2/modules/shepherd/comm.go failed:
;;; ERROR: In procedure load-thunk-from-file: Invalid argument
;;; WARNING: loading compiled file /sources/shepherd-0.3.2/modules/shepherd/comm.go failed:
;;; ERROR: In procedure load-thunk-from-file: Invalid argument
;;; WARNING: loading compiled file /sources/shepherd-0.3.2/modules/shepherd/comm.go failed:
;;; ERROR: In procedure load-thunk-from-file: Invalid argument
Service test2 has been started.

Some deprecated features have been used.  Set the environment
variable GUILE_WARN_DEPRECATED to "detailed" and rerun the
program to get more information.  Set it to "no" to suppress
this message.
+ grep started
;;; WARNING: loading compiled file /sources/shepherd-0.3.2/modules/shepherd/comm.go failed:
;;; ERROR: In procedure load-thunk-from-file: Invalid argument
;;; WARNING: loading compiled file /sources/shepherd-0.3.2/modules/shepherd/comm.go failed:
;;; ERROR: In procedure load-thunk-from-file: Invalid argument
;;; WARNING: loading compiled file /sources/shepherd-0.3.2/modules/shepherd/comm.go failed:
;;; ERROR: In procedure load-thunk-from-file: Invalid argument

Some deprecated features have been used.  Set the environment
variable GUILE_WARN_DEPRECATED to "detailed" and rerun the
program to get more information.  Set it to "no" to suppress
this message.
  It is started.
+ test -f t-service2-pid-7568
+ wait_for_file t-service1-pid-7568
+ i=0
+ test -f t-service1-pid-7568
+ test -f t-service1-pid-7568
++ cat t-service1-pid-7568
+ kill -0 7584
++ cat t-service2-pid-7568
+ kill -0 7598
+ assert_killed_service_is_respawned t-service1-pid-7568
++ cat t-service1-pid-7568
+ old_pid=7584
+ rm t-service1-pid-7568
+ kill 7584
+ wait_for_file t-service1-pid-7568
+ i=0
+ test -f t-service1-pid-7568
+ test 0 -lt 20
+ sleep 0.3
++ expr 0 + 1
+ i=1
+ test -f t-service1-pid-7568
+ test 1 -lt 20
+ sleep 0.3
++ expr 1 + 1
+ i=2
+ test -f t-service1-pid-7568
+ test 2 -lt 20
+ sleep 0.3
++ expr 2 + 1
+ i=3
+ test -f t-service1-pid-7568
+ test -f t-service1-pid-7568
+ test -f t-service1-pid-7568
++ cat t-service1-pid-7568
+ new_pid=7617
+ test 7584 -ne 7617
+ kill -0 7617
+ assert_killed_service_is_respawned t-service2-pid-7568
++ cat t-service2-pid-7568
+ old_pid=7598
+ rm t-service2-pid-7568
+ kill 7598
+ wait_for_file t-service2-pid-7568
+ i=0
+ test -f t-service2-pid-7568
+ test 0 -lt 20
+ sleep 0.3
++ expr 0 + 1
+ i=1
+ test -f t-service2-pid-7568
+ test 1 -lt 20
+ sleep 0.3
++ expr 1 + 1
+ i=2
+ test -f t-service2-pid-7568
+ test 2 -lt 20
+ sleep 0.3
++ expr 2 + 1
+ i=3
+ test -f t-service2-pid-7568
+ test 3 -lt 20
+ sleep 0.3
++ expr 3 + 1
+ i=4
+ test -f t-service2-pid-7568
+ test 4 -lt 20
+ sleep 0.3
++ expr 4 + 1
+ i=5
+ test -f t-service2-pid-7568
+ test 5 -lt 20
+ sleep 0.3
++ expr 5 + 1
+ i=6
+ test -f t-service2-pid-7568
+ test -f t-service2-pid-7568
+ test -f t-service2-pid-7568
++ cat t-service2-pid-7568
+ new_pid=7628
+ test 7598 -ne 7628
+ kill -0 7628
+ assert_killed_service_is_respawned t-service1-pid-7568
++ cat t-service1-pid-7568
+ old_pid=7617
+ rm t-service1-pid-7568
+ kill 7617
+ wait_for_file t-service1-pid-7568
+ i=0
+ test -f t-service1-pid-7568
+ test 0 -lt 20
+ sleep 0.3
++ expr 0 + 1
+ i=1
+ test -f t-service1-pid-7568
+ test 1 -lt 20
+ sleep 0.3
++ expr 1 + 1
+ i=2
+ test -f t-service1-pid-7568
+ test 2 -lt 20
+ sleep 0.3
++ expr 2 + 1
+ i=3
+ test -f t-service1-pid-7568
+ test 3 -lt 20
+ sleep 0.3
++ expr 3 + 1
+ i=4
+ test -f t-service1-pid-7568
+ test -f t-service1-pid-7568
+ test -f t-service1-pid-7568
++ cat t-service1-pid-7568
+ new_pid=7650
+ test 7617 -ne 7650
+ kill -0 7650
+ assert_killed_service_is_respawned t-service2-pid-7568
++ cat t-service2-pid-7568
+ old_pid=7628
+ rm t-service2-pid-7568
+ kill 7628
+ wait_for_file t-service2-pid-7568
+ i=0
+ test -f t-service2-pid-7568
+ test 0 -lt 20
+ sleep 0.3
++ expr 0 + 1
+ i=1
+ test -f t-service2-pid-7568
+ test 1 -lt 20
+ sleep 0.3
++ expr 1 + 1
+ i=2
+ test -f t-service2-pid-7568
+ test 2 -lt 20
+ sleep 0.3
++ expr 2 + 1
+ i=3
+ test -f t-service2-pid-7568
+ test 3 -lt 20
+ sleep 0.3
++ expr 3 + 1
+ i=4
+ test -f t-service2-pid-7568
+ test 4 -lt 20
+ sleep 0.3
++ expr 4 + 1
+ i=5
+ test -f t-service2-pid-7568
+ test 5 -lt 20
+ sleep 0.3
++ expr 5 + 1
+ i=6
+ test -f t-service2-pid-7568
+ test 6 -lt 20
+ sleep 0.3
++ expr 6 + 1
+ i=7
+ test -f t-service2-pid-7568
+ test 7 -lt 20
+ sleep 0.3
++ expr 7 + 1
+ i=8
+ test -f t-service2-pid-7568
+ test 8 -lt 20
+ sleep 0.3
++ expr 8 + 1
+ i=9
+ test -f t-service2-pid-7568
+ test 9 -lt 20
+ sleep 0.3
++ expr 9 + 1
+ i=10
+ test -f t-service2-pid-7568
+ test 10 -lt 20
+ sleep 0.3
++ expr 10 + 1
+ i=11
+ test -f t-service2-pid-7568
+ test 11 -lt 20
+ sleep 0.3
++ expr 11 + 1
+ i=12
+ test -f t-service2-pid-7568
+ test 12 -lt 20
+ sleep 0.3
++ expr 12 + 1
+ i=13
+ test -f t-service2-pid-7568
+ test 13 -lt 20
+ sleep 0.3
++ expr 13 + 1
+ i=14
+ test -f t-service2-pid-7568
+ test 14 -lt 20
+ sleep 0.3
++ expr 14 + 1
+ i=15
+ test -f t-service2-pid-7568
+ test 15 -lt 20
+ sleep 0.3
++ expr 15 + 1
+ i=16
+ test -f t-service2-pid-7568
+ test 16 -lt 20
+ sleep 0.3
++ expr 16 + 1
+ i=17
+ test -f t-service2-pid-7568
+ test 17 -lt 20
+ sleep 0.3
++ expr 17 + 1
+ i=18
+ test -f t-service2-pid-7568
+ test 18 -lt 20
+ sleep 0.3
++ expr 18 + 1
+ i=19
+ test -f t-service2-pid-7568
+ test 19 -lt 20
+ sleep 0.3
++ expr 19 + 1
+ i=20
+ test -f t-service2-pid-7568
+ test 20 -lt 20
+ test -f t-service2-pid-7568
+ cat t-log-7568
2017-09-26 18:48:23 Service root has been started.
2017-09-26 18:48:23 Service test1 has been started.
2017-09-26 18:48:25 Service test2 has been started.
2017-09-26 18:48:26 Respawning test1.
2017-09-26 18:48:26 Service test1 has been started.
2017-09-26 18:48:27 Respawning test2.
2017-09-26 18:48:28 Service test2 has been started.
2017-09-26 18:48:29 Respawning test1.
2017-09-26 18:48:29 Service test1 has been started.
2017-09-26 18:48:30 Respawning test2.
2017-09-26 18:48:35 Service test2 could not be started.
+ rm -f t-socket-7568 t-conf-7568 t-stamp-7568 t-log-7568
+ test -f t-pid-7568
++ cat t-pid-7568
+ kill 7577
+ rm -f t-pid-7568
+ test -f t-service1-pid-7568
++ cat t-service1-pid-7568
+ kill 7650
+ test -f t-service2-pid-7568
+ true
+ rm -f t-service1-pid-7568 t-service2-pid-7568
./tests/respawn.sh: line 6:  7577 Terminated              shepherd -I -s "$socket" -c "$conf" -l "$log" --pid="$pid"
FAIL tests/respawn.sh (exit status: 1)


^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#28588: Issue with GNU Shepherd make check
  2017-09-24 16:47 bug#28588: Issue with GNU Shepherd make check leestrobel
  2017-09-26 11:52 ` Ricardo Wurmus
  2017-09-26 15:37 ` leestrobel
@ 2017-09-27  0:28 ` leestrobel
  2 siblings, 0 replies; 8+ messages in thread
From: leestrobel @ 2017-09-27  0:28 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: 28588

[-- Attachment #1: Type: text/plain, Size: 899 bytes --]

Hi Ricardo,

I figured out why I was getting those errors - I hadn't given ownership of the source folder to the unprivileged user I was using to run the tests. I gave that user ownership and re-ran the tests and they all ran ok (sorry, my bad).

Although, tests/respawn.sh failed (the only one that did). I don't know how critical that one is, but I will attach the test-suite.log file, in case that is of any interest.

Thanks!

Lee

P.S. I may have sent this e-mail more than once, as I've had some issues with my e-mail - if so, I apologize.


September 26, 2017 7:52 AM, "Ricardo Wurmus" <rekado@elephly.net> wrote:

> leestrobel@disroot.org writes:
> 
>> If I try 'make check' without root privileges, some other errors get
>> thrown up.
> 
> What errors are those?
> 
> --
> Ricardo
> 
> GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC
> https://elephly.net

[-- Attachment #2: test-suite.log --]
[-- Type: text/plain, Size: 11582 bytes --]

==========================================
   GNU Shepherd 0.3.2: ./test-suite.log
==========================================

# TOTAL: 8
# PASS:  7
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: tests/respawn
===================

+ shepherd --version
;;; WARNING: loading compiled file /sources/shepherd-0.3.2/modules/shepherd/service.go failed:
;;; ERROR: In procedure load-thunk-from-file: Invalid argument
;;; WARNING: loading compiled file /sources/shepherd-0.3.2/modules/shepherd/service.go failed:
;;; ERROR: In procedure load-thunk-from-file: Invalid argument
;;; WARNING: loading compiled file /sources/shepherd-0.3.2/modules/shepherd/service.go failed:
;;; ERROR: In procedure load-thunk-from-file: Invalid argument
;;; WARNING: loading compiled file /sources/shepherd-0.3.2/modules/shepherd/comm.go failed:
;;; ERROR: In procedure load-thunk-from-file: Invalid argument
;;; WARNING: loading compiled file /sources/shepherd-0.3.2/modules/shepherd/comm.go failed:
;;; ERROR: In procedure load-thunk-from-file: Invalid argument
;;; WARNING: loading compiled file /sources/shepherd-0.3.2/modules/shepherd/comm.go failed:
;;; ERROR: In procedure load-thunk-from-file: Invalid argument
shepherd (GNU Shepherd) 0.3.2
Copyright (C) 2016 the Shepherd authors
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Some deprecated features have been used.  Set the environment
variable GUILE_WARN_DEPRECATED to "detailed" and rerun the
program to get more information.  Set it to "no" to suppress
this message.
+ herd --version
herd (GNU Shepherd) 0.3.2
Copyright (C) 2016 the Shepherd authors
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
;;; WARNING: loading compiled file /sources/shepherd-0.3.2/modules/shepherd/comm.go failed:
;;; ERROR: In procedure load-thunk-from-file: Invalid argument
;;; WARNING: loading compiled file /sources/shepherd-0.3.2/modules/shepherd/comm.go failed:
;;; ERROR: In procedure load-thunk-from-file: Invalid argument
;;; WARNING: loading compiled file /sources/shepherd-0.3.2/modules/shepherd/comm.go failed:
;;; ERROR: In procedure load-thunk-from-file: Invalid argument

Some deprecated features have been used.  Set the environment
variable GUILE_WARN_DEPRECATED to "detailed" and rerun the
program to get more information.  Set it to "no" to suppress
this message.
+ socket=t-socket-7568
+ conf=t-conf-7568
+ log=t-log-7568
+ stamp=t-stamp-7568
+ service1_pid=t-service1-pid-7568
+ service2_pid=t-service2-pid-7568
+ pid=t-pid-7568
+ herd='herd -s t-socket-7568'
+ trap 'cat t-log-7568 || true ;
  rm -f t-socket-7568 t-conf-7568 t-stamp-7568 t-log-7568 ;
  test -f t-pid-7568 && kill `cat t-pid-7568` || true ; rm -f t-pid-7568 ;
  test -f t-service1-pid-7568 && kill `cat t-service1-pid-7568` || true ;
  test -f t-service2-pid-7568 && kill `cat t-service2-pid-7568` || true ;
  rm -f t-service1-pid-7568 t-service2-pid-7568' EXIT
+ cat
+ rm -f t-pid-7568
+ wait_for_file t-pid-7568
+ i=0
+ test -f t-pid-7568
+ shepherd -I -s t-socket-7568 -c t-conf-7568 -l t-log-7568 --pid=t-pid-7568
+ test 0 -lt 20
+ sleep 0.3
++ expr 0 + 1
+ i=1
+ test -f t-pid-7568
+ test 1 -lt 20
+ sleep 0.3
++ expr 1 + 1
+ i=2
+ test -f t-pid-7568
+ test -f t-pid-7568
++ cat t-pid-7568
+ shepherd_pid=7577
+ kill -0 7577
+ test -S t-socket-7568
+ herd -s t-socket-7568 status
;;; WARNING: loading compiled file /sources/shepherd-0.3.2/modules/shepherd/comm.go failed:
;;; ERROR: In procedure load-thunk-from-file: Invalid argument
;;; WARNING: loading compiled file /sources/shepherd-0.3.2/modules/shepherd/comm.go failed:
;;; ERROR: In procedure load-thunk-from-file: Invalid argument
;;; WARNING: loading compiled file /sources/shepherd-0.3.2/modules/shepherd/comm.go failed:
;;; ERROR: In procedure load-thunk-from-file: Invalid argument
Started:
 + test1
 + root
Stopped:
 - test2

Some deprecated features have been used.  Set the environment
variable GUILE_WARN_DEPRECATED to "detailed" and rerun the
program to get more information.  Set it to "no" to suppress
this message.
+ herd -s t-socket-7568 status test1
+ grep started
;;; WARNING: loading compiled file /sources/shepherd-0.3.2/modules/shepherd/comm.go failed:
;;; ERROR: In procedure load-thunk-from-file: Invalid argument
;;; WARNING: loading compiled file /sources/shepherd-0.3.2/modules/shepherd/comm.go failed:
;;; ERROR: In procedure load-thunk-from-file: Invalid argument
;;; WARNING: loading compiled file /sources/shepherd-0.3.2/modules/shepherd/comm.go failed:
;;; ERROR: In procedure load-thunk-from-file: Invalid argument

Some deprecated features have been used.  Set the environment
variable GUILE_WARN_DEPRECATED to "detailed" and rerun the
program to get more information.  Set it to "no" to suppress
this message.
  It is started.
+ herd -s t-socket-7568 start test2
;;; WARNING: loading compiled file /sources/shepherd-0.3.2/modules/shepherd/comm.go failed:
;;; ERROR: In procedure load-thunk-from-file: Invalid argument
;;; WARNING: loading compiled file /sources/shepherd-0.3.2/modules/shepherd/comm.go failed:
;;; ERROR: In procedure load-thunk-from-file: Invalid argument
;;; WARNING: loading compiled file /sources/shepherd-0.3.2/modules/shepherd/comm.go failed:
;;; ERROR: In procedure load-thunk-from-file: Invalid argument
Service test2 has been started.

Some deprecated features have been used.  Set the environment
variable GUILE_WARN_DEPRECATED to "detailed" and rerun the
program to get more information.  Set it to "no" to suppress
this message.
+ grep started
;;; WARNING: loading compiled file /sources/shepherd-0.3.2/modules/shepherd/comm.go failed:
;;; ERROR: In procedure load-thunk-from-file: Invalid argument
;;; WARNING: loading compiled file /sources/shepherd-0.3.2/modules/shepherd/comm.go failed:
;;; ERROR: In procedure load-thunk-from-file: Invalid argument
;;; WARNING: loading compiled file /sources/shepherd-0.3.2/modules/shepherd/comm.go failed:
;;; ERROR: In procedure load-thunk-from-file: Invalid argument

Some deprecated features have been used.  Set the environment
variable GUILE_WARN_DEPRECATED to "detailed" and rerun the
program to get more information.  Set it to "no" to suppress
this message.
  It is started.
+ test -f t-service2-pid-7568
+ wait_for_file t-service1-pid-7568
+ i=0
+ test -f t-service1-pid-7568
+ test -f t-service1-pid-7568
++ cat t-service1-pid-7568
+ kill -0 7584
++ cat t-service2-pid-7568
+ kill -0 7598
+ assert_killed_service_is_respawned t-service1-pid-7568
++ cat t-service1-pid-7568
+ old_pid=7584
+ rm t-service1-pid-7568
+ kill 7584
+ wait_for_file t-service1-pid-7568
+ i=0
+ test -f t-service1-pid-7568
+ test 0 -lt 20
+ sleep 0.3
++ expr 0 + 1
+ i=1
+ test -f t-service1-pid-7568
+ test 1 -lt 20
+ sleep 0.3
++ expr 1 + 1
+ i=2
+ test -f t-service1-pid-7568
+ test 2 -lt 20
+ sleep 0.3
++ expr 2 + 1
+ i=3
+ test -f t-service1-pid-7568
+ test -f t-service1-pid-7568
+ test -f t-service1-pid-7568
++ cat t-service1-pid-7568
+ new_pid=7617
+ test 7584 -ne 7617
+ kill -0 7617
+ assert_killed_service_is_respawned t-service2-pid-7568
++ cat t-service2-pid-7568
+ old_pid=7598
+ rm t-service2-pid-7568
+ kill 7598
+ wait_for_file t-service2-pid-7568
+ i=0
+ test -f t-service2-pid-7568
+ test 0 -lt 20
+ sleep 0.3
++ expr 0 + 1
+ i=1
+ test -f t-service2-pid-7568
+ test 1 -lt 20
+ sleep 0.3
++ expr 1 + 1
+ i=2
+ test -f t-service2-pid-7568
+ test 2 -lt 20
+ sleep 0.3
++ expr 2 + 1
+ i=3
+ test -f t-service2-pid-7568
+ test 3 -lt 20
+ sleep 0.3
++ expr 3 + 1
+ i=4
+ test -f t-service2-pid-7568
+ test 4 -lt 20
+ sleep 0.3
++ expr 4 + 1
+ i=5
+ test -f t-service2-pid-7568
+ test 5 -lt 20
+ sleep 0.3
++ expr 5 + 1
+ i=6
+ test -f t-service2-pid-7568
+ test -f t-service2-pid-7568
+ test -f t-service2-pid-7568
++ cat t-service2-pid-7568
+ new_pid=7628
+ test 7598 -ne 7628
+ kill -0 7628
+ assert_killed_service_is_respawned t-service1-pid-7568
++ cat t-service1-pid-7568
+ old_pid=7617
+ rm t-service1-pid-7568
+ kill 7617
+ wait_for_file t-service1-pid-7568
+ i=0
+ test -f t-service1-pid-7568
+ test 0 -lt 20
+ sleep 0.3
++ expr 0 + 1
+ i=1
+ test -f t-service1-pid-7568
+ test 1 -lt 20
+ sleep 0.3
++ expr 1 + 1
+ i=2
+ test -f t-service1-pid-7568
+ test 2 -lt 20
+ sleep 0.3
++ expr 2 + 1
+ i=3
+ test -f t-service1-pid-7568
+ test 3 -lt 20
+ sleep 0.3
++ expr 3 + 1
+ i=4
+ test -f t-service1-pid-7568
+ test -f t-service1-pid-7568
+ test -f t-service1-pid-7568
++ cat t-service1-pid-7568
+ new_pid=7650
+ test 7617 -ne 7650
+ kill -0 7650
+ assert_killed_service_is_respawned t-service2-pid-7568
++ cat t-service2-pid-7568
+ old_pid=7628
+ rm t-service2-pid-7568
+ kill 7628
+ wait_for_file t-service2-pid-7568
+ i=0
+ test -f t-service2-pid-7568
+ test 0 -lt 20
+ sleep 0.3
++ expr 0 + 1
+ i=1
+ test -f t-service2-pid-7568
+ test 1 -lt 20
+ sleep 0.3
++ expr 1 + 1
+ i=2
+ test -f t-service2-pid-7568
+ test 2 -lt 20
+ sleep 0.3
++ expr 2 + 1
+ i=3
+ test -f t-service2-pid-7568
+ test 3 -lt 20
+ sleep 0.3
++ expr 3 + 1
+ i=4
+ test -f t-service2-pid-7568
+ test 4 -lt 20
+ sleep 0.3
++ expr 4 + 1
+ i=5
+ test -f t-service2-pid-7568
+ test 5 -lt 20
+ sleep 0.3
++ expr 5 + 1
+ i=6
+ test -f t-service2-pid-7568
+ test 6 -lt 20
+ sleep 0.3
++ expr 6 + 1
+ i=7
+ test -f t-service2-pid-7568
+ test 7 -lt 20
+ sleep 0.3
++ expr 7 + 1
+ i=8
+ test -f t-service2-pid-7568
+ test 8 -lt 20
+ sleep 0.3
++ expr 8 + 1
+ i=9
+ test -f t-service2-pid-7568
+ test 9 -lt 20
+ sleep 0.3
++ expr 9 + 1
+ i=10
+ test -f t-service2-pid-7568
+ test 10 -lt 20
+ sleep 0.3
++ expr 10 + 1
+ i=11
+ test -f t-service2-pid-7568
+ test 11 -lt 20
+ sleep 0.3
++ expr 11 + 1
+ i=12
+ test -f t-service2-pid-7568
+ test 12 -lt 20
+ sleep 0.3
++ expr 12 + 1
+ i=13
+ test -f t-service2-pid-7568
+ test 13 -lt 20
+ sleep 0.3
++ expr 13 + 1
+ i=14
+ test -f t-service2-pid-7568
+ test 14 -lt 20
+ sleep 0.3
++ expr 14 + 1
+ i=15
+ test -f t-service2-pid-7568
+ test 15 -lt 20
+ sleep 0.3
++ expr 15 + 1
+ i=16
+ test -f t-service2-pid-7568
+ test 16 -lt 20
+ sleep 0.3
++ expr 16 + 1
+ i=17
+ test -f t-service2-pid-7568
+ test 17 -lt 20
+ sleep 0.3
++ expr 17 + 1
+ i=18
+ test -f t-service2-pid-7568
+ test 18 -lt 20
+ sleep 0.3
++ expr 18 + 1
+ i=19
+ test -f t-service2-pid-7568
+ test 19 -lt 20
+ sleep 0.3
++ expr 19 + 1
+ i=20
+ test -f t-service2-pid-7568
+ test 20 -lt 20
+ test -f t-service2-pid-7568
+ cat t-log-7568
2017-09-26 18:48:23 Service root has been started.
2017-09-26 18:48:23 Service test1 has been started.
2017-09-26 18:48:25 Service test2 has been started.
2017-09-26 18:48:26 Respawning test1.
2017-09-26 18:48:26 Service test1 has been started.
2017-09-26 18:48:27 Respawning test2.
2017-09-26 18:48:28 Service test2 has been started.
2017-09-26 18:48:29 Respawning test1.
2017-09-26 18:48:29 Service test1 has been started.
2017-09-26 18:48:30 Respawning test2.
2017-09-26 18:48:35 Service test2 could not be started.
+ rm -f t-socket-7568 t-conf-7568 t-stamp-7568 t-log-7568
+ test -f t-pid-7568
++ cat t-pid-7568
+ kill 7577
+ rm -f t-pid-7568
+ test -f t-service1-pid-7568
++ cat t-service1-pid-7568
+ kill 7650
+ test -f t-service2-pid-7568
+ true
+ rm -f t-service1-pid-7568 t-service2-pid-7568
./tests/respawn.sh: line 6:  7577 Terminated              shepherd -I -s "$socket" -c "$conf" -l "$log" --pid="$pid"
FAIL tests/respawn.sh (exit status: 1)


^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#28588: Issue with GNU Shepherd make check
  2017-09-26 23:08   ` Lee Strobel
@ 2017-09-28 14:11     ` Ludovic Courtès
  2017-09-28 17:20     ` leestrobel
  1 sibling, 0 replies; 8+ messages in thread
From: Ludovic Courtès @ 2017-09-28 14:11 UTC (permalink / raw)
  To: Lee Strobel; +Cc: 28588

Hello,

Lee Strobel <leestrobel@disroot.org> skribis:

> Although, tests/respawn.sh failed (the only one that did). I don't know
> how critical that one is, but I will attach the test-suite.log file in
> case it might be of interest.

This test is known to be unreliable currently:
<https://bugs.gnu.org/23811>.

It’s OK though that’s obviously something we’ll fix.

Thanks for your report,
Ludo’.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#28588: Issue with GNU Shepherd make check
  2017-09-26 23:08   ` Lee Strobel
  2017-09-28 14:11     ` Ludovic Courtès
@ 2017-09-28 17:20     ` leestrobel
  1 sibling, 0 replies; 8+ messages in thread
From: leestrobel @ 2017-09-28 17:20 UTC (permalink / raw)
  To: ludo; +Cc: 28588

Ok, thanks very much!

Lee


September 28, 2017 10:12 AM, ludo@gnu.org wrote:

> Hello,
> 
> Lee Strobel <leestrobel@disroot.org> skribis:
> 
>> Although, tests/respawn.sh failed (the only one that did). I don't know
>> how critical that one is, but I will attach the test-suite.log file in
>> case it might be of interest.
> 
> This test is known to be unreliable currently:
> <https://bugs.gnu.org/23811>.
> 
> It’s OK though that’s obviously something we’ll fix.
> 
> Thanks for your report,
> Ludo’.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-09-28 17:21 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-24 16:47 bug#28588: Issue with GNU Shepherd make check leestrobel
2017-09-26 11:52 ` Ricardo Wurmus
2017-09-26 22:59   ` Lee Strobel
2017-09-26 23:08   ` Lee Strobel
2017-09-28 14:11     ` Ludovic Courtès
2017-09-28 17:20     ` leestrobel
2017-09-26 15:37 ` leestrobel
2017-09-27  0:28 ` leestrobel

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.