[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: build fails without reason, bug in plague?

Michael Schwendt wrote:
On Mon, 20 Aug 2007 10:10:57 -0500, Mike McGrath wrote:

Dan Williams wrote:
On Sat, 2007-08-18 at 19:00 -0500, Mike McGrath wrote:
Marek Mahut wrote:
Hello maintainers,

Today, I received an error that my build failed, but after deep look on
logs I found that there was no real reason why this build failed [1].
Adel Gadllah told me that it isn't the first time it happens.



Please add any of these you find to the following ticket.

The error comes from the _watch_mock() function in builder.py on the
builders; if somebody could add some logging to the plauge-builder RPM
and then deploy it, that would help:

    def _watch_mock(self, good_exit, bad_exit):
        (aux_pid, status) = os.waitpid(self._childpid, os.WNOHANG)
        status = os.WEXITSTATUS(status)
        if aux_pid:
+           self._log("_watch_mock(): PID %d exit status %d\n" % (self._childpid, status))
            self._childpid = 0
            if status == 0:
                self._done_status = good_exit
            elif status > 0:
                self._done_status = bad_exit



Thanks dan, I've added this to the builders and it appears to be working. All people with this failed sucess please resubmit and let us know how it goes.

http://buildsys.fedoraproject.org/logs/fedora-5-epel/35767-nagios-2.9-1.el5/i386/job.log <-- working example.

Hmmm... the one added line cannot fix anything. It just adds a log

Thats why I want people to resubmit and let us know what that log line says.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]