https://bugzilla.redhat.com/show_bug.cgi?id=1720143

            Bug ID: 1720143
           Summary: perl-Redis-1.991-10.fc31FTBFS: line 45: kill: (20250)
                    - No such process
           Product: Fedora
           Version: rawhide
               URL: https://apps.fedoraproject.org/koschei/build/6561705
            Status: NEW
         Component: perl-Redis
          Assignee: dd...@cpan.org
          Reporter: ppi...@redhat.com
        QA Contact: extras...@fedoraproject.org
                CC: dd...@cpan.org, packaging-team-ma...@redhat.com,
                    perl-devel@lists.fedoraproject.org
  Target Milestone: ---
    Classification: Fedora



perl-Redis-1.991-10.fc31 fails to build in F31:

+ make test
+ redis-server -
BUILDSTDERR:     # child is ready to test, signal parent to kill our server
BUILDSTDERR:     # parent killed pub/sub redis server, signal child to proceed
BUILDSTDERR:     # now, check wait_for_messages(), should die...
BUILDSTDERR:     # parent waiting for child 20292...
BUILDSTDERR:     # CHILD: reconnected (with a 10s timeout)
BUILDSTDERR:     # CHILD: is ready to test, signal parent to restart our server
BUILDSTDERR:     # PARENT: killed pub/sub redis server, signal child to proceed
BUILDSTDERR:     # CHILD: launch wait_for_messages(2), with reconnect...
BUILDSTDERR:     # CHILD: reconnected (with a 10s timeout)
BUILDSTDERR:     # PARENT: has relaunched the server...
BUILDSTDERR:     # CHILD: after 2 sec, nothing yet, retrying
BUILDSTDERR:     # CHILD: launch wait_for_messages(2), with reconnect...
BUILDSTDERR:     # CHILD: after 2 sec, nothing yet, retrying
BUILDSTDERR:     # CHILD: launch wait_for_messages(2), with reconnect...
BUILDSTDERR:     # PARENT: waiting for child 20297...
BUILDSTDERR:     # CHILD: child received the message
BUILDSTDERR:     # Sleeping 11 seconds, waiting for Redis to timeout...
BUILDSTDERR:     # waiting for sleep command
BUILDSTDERR: ++ cat
/builddir/build/BUILDROOT/perl-Redis-1.991-10.fc31.noarch/redis.pid
+ kill -TERM 20252
+ RPM_EC=0
BUILDSTDERR: ++ jobs -p
+ for pid in $(jobs -p)
+ kill -9 20250
BUILDSTDERR: /var/tmp/rpm-tmp.tdIwBR: line 45: kill: (20250) - No such process
[...]
All tests successful.
Files=18, Tests=289, 80 wallclock secs ( 0.25 usr  0.09 sys + 14.26 cusr  3.33
csys = 17.93 CPU)
Result: PASS
RPM build errors:
BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.tdIwBR (%check)

It seems rpm-build appends some script after a %check section that tries to
clean up running processes and there is a race between gathering PIDs and
killing them.

This seems to be triggered up upgrading rpm-build from 4.14.2.1-10.fc31 to
4.14.90-0.git14653.13...

Maybe he %check script should wait() on the daemon PID after killing it.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/perl-devel@lists.fedoraproject.org

Reply via email to