Hi all,
I was notified about some very strange build failure that I cannot reproduce
myself, but apparently for Lucas it _is_ reproducible. Have you by chance already
come across this problem, or have some idea what could be the problem, or maybe
even have a fix already in git?
Thanks in advance,
Michael
----- Forwarded message from Lucas Nussbaum lucas@lucas-nussbaum.net -----
Date: Fri, 30 Oct 2009 12:03:59 +0100
From: Lucas Nussbaum lucas@lucas-nussbaum.net
To: Michael Tautschnig mt@debian.org
CC: 552959@bugs.debian.org
Subject: Bug#552959: ppl: FTBFS: build blocks
Reply-To: Lucas Nussbaum lucas@lucas-nussbaum.net, 552959@bugs.debian.org
User-Agent: Mutt/1.5.20 (2009-06-14)
On 29/10/09 at 09:02 +0100, Michael Tautschnig wrote:
Hi!
[...]
if [ . != `pwd` ]; then \
rm -f ppl_prolog_generated_test_common.pl; \
fi
rm -f ppl_prolog_generated_test_main.pl; \
diff -u --ignore-all-space ./../tests/expected_pgt obtained_pgt
make[7]: *** [pl_check_test] Terminated
make[3]: *** [check-recursive] Terminated
E: Caught signal 'Terminated': terminating immediately
make[5]: *** [check-recursive] Terminated
make[4]: *** [check] Terminated
make[2]: *** [check] Terminated
make[1]: *** [check-recursive] Terminated
make: *** [check] Terminated
make[6]: *** [check-am] Terminated
Build killed with signal TERM after 240 minutes of inactivity
────────────────────────────────────────────────────────────────────────────────
Build finished at 20091028-0518
The full build log is available from:
http://people.debian.org/~lucas/logs/2009/10/28/ppl_0.10.2-3_lsid64.buildlog
[...]
Is it possible to schedule another build? I'm really clueless what could be
going wrong here, other than some problem with the buildd, which seems somewhat
more likely given the excerpt of daemon.log provided at the end of this log.
Looking at other build logs the above diff seems to be about the last thing
before install, and it worked fine on all Debian buildds just a few days ago!?
The fact that it blocks is reproducible.
Output on the terminal:
% ppl_prolog_generated_test_main.pl compiled 0.18 sec, 2,099,112 bytes
% ./swi_prolog_generated_test compiled 0.18 sec, 2,104,128 bytes
true.
true.
% halt
if [ . != `pwd` ]; then \
rm -f ppl_prolog_generated_test_common.pl; \
fi
rm -f ppl_prolog_generated_test_main.pl; \
diff -u --ignore-all-space ./../tests/expected_pgt obtained_pgt
However, it's not diff that is blocking, it's ppl_pl. It's eating all the
available memory and causes swapping. I've attached the output of ps.
the status of the process is:
Name: ppl_pl
State: T (stopped)
Tgid: 20160
Pid: 20160
PPid: 20152
TracerPid: 0
Uid: 0 0 0 0
Gid: 0 0 0 0
FDSize: 256
Groups: 0
VmPeak: 303031364 kB
VmSize: 303031364 kB
VmLck: 0 kB
VmHWM: 31854660 kB
VmRSS: 31756644 kB
VmData: 302960040 kB
VmStk: 84 kB
VmExe: 5284 kB
VmLib: 4792 kB
VmPTE: 100764 kB
Threads: 1
SigQ: 1/270336
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000000001000
SigCgt: 0000000187802083
CapInh: 0000000000000000
CapPrm: ffffffffffffffff
CapEff: ffffffffffffffff
CapBnd: ffffffffffffffff
Cpus_allowed: 000000ff
Cpus_allowed_list: 0-7
Mems_allowed: 00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 6796
nonvoluntary_ctxt_switches: 2400
(the T state is normal, I kill'ed -STOP it so I could get the ps output, but it was R or D before that.
--
| Lucas Nussbaum
| lucas@lucas-nussbaum.net
http://www.lucas-nussbaum.net/ |
| jabber: lucas@nussbaum.fr GPG: 1024D/023B3F4F |
10735 pts/0 S+ 0:00 | _ /usr/bin/perl /usr/bin/dpkg-buildpackage -us -uc
26698 pts/0 S+ 0:00 | _ /usr/bin/make -f debian/rules binary
26700 pts/0 S+ 0:00 | _ /usr/bin/make -j16 check
26701 pts/0 S+ 0:00 | _ /bin/bash -c failcom='exit 1'; ?for f in x $MAKEFLAGS; do ? case $f in ? *=* | --[!k]*);; ? *k*) failcom='fail=yes';; ? esac; ?done; ?dot_seen=no; ?target=`echo check-recursive | sed s/-recursive//`; ?list='. utils src Watchdog tests interfaces demos doc m4'; for subdir in $list; do ? echo "Making $target in $subdir"; ? if test "$subdir" = "."; then ? dot_seen=yes; ? local_target="$target-am"; ? else ? local_target="$target"; ? fi; ? (cd $subdir && /usr/bin/make $local_target) ? || eval $failcom; ?done; ?if test "$dot_seen" = "no"; then ? /usr/bin/make "$target-am" || exit 1; ?fi; test -z "$fail"
29227 pts/0 S+ 0:00 | _ /bin/bash -c failcom='exit 1'; ?for f in x $MAKEFLAGS; do ? case $f in ? *=* | --[!k]*);; ? *k*) failcom='fail=yes';; ? esac; ?done; ?dot_seen=no; ?target=`echo check-recursive | sed s/-recursive//`; ?list='. utils src Watchdog tests interfaces demos doc m4'; for subdir in $list; do ? echo "Making $target in $subdir"; ? if test "$subdir" = "."; then ? dot_seen=yes; ? local_target="$target-am"; ? else ? local_target="$target"; ? fi; ? (cd $subdir && /usr/bin/make $local_target) ? || eval $failcom; ?done; ?if test "$dot_seen" = "no"; then ? /usr/bin/make "$target-am" || exit 1; ?fi; test -z "$fail"
29228 pts/0 S+ 0:00 | _ /usr/bin/make check
29229 pts/0 S+ 0:00 | _ /usr/bin/make check-recursive
29231 pts/0 S+ 0:00 | _ /bin/bash -c failcom='exit 1'; ?for f in x $MAKEFLAGS; do ? case $f in ? *=* | --[!k]*);; ? *k*) failcom='fail=yes';; ? esac; ?done; ?dot_seen=no; ?target=`echo check-recursive | sed s/-recursive//`; ?list='. C Prolog'; for subdir in $list; do ? echo "Making $target in $subdir"; ? if test "$subdir" = "."; then ? dot_seen=yes; ? local_target="$target-am"; ? else ? local_target="$target"; ? fi; ? (cd $subdir && /usr/bin/make $local_target) ? || eval $failcom; ?done; ?if test "$dot_seen" = "no"; then ? /usr/bin/make "$target-am" || exit 1; ?fi; test -z "$fail"
29584 pts/0 S+ 0:00 | _ /bin/bash -c failcom='exit 1'; ?for f in x $MAKEFLAGS; do ? case $f in ? *=* | --[!k]*);; ? *k*) failcom='fail=yes';; ? esac; ?done; ?dot_seen=no; ?target=`echo check-recursive | sed s/-recursive//`; ?list='. C Prolog'; for subdir in $list; do ? echo "Making $target in $subdir"; ? if test "$subdir" = "."; then ? dot_seen=yes; ? local_target="$target-am"; ? else ? local_target="$target"; ? fi; ? (cd $subdir && /usr/bin/make $local_target) ? || eval $failcom; ?done; ?if test "$dot_seen" = "no"; then ? /usr/bin/make "$target-am" || exit 1; ?fi; test -z "$fail"
29586 pts/0 S+ 0:00 | _ /usr/bin/make check
29588 pts/0 S+ 0:00 | _ /usr/bin/make check-recursive
29590 pts/0 S+ 0:00 | _ /bin/bash -c failcom='exit 1'; ?for f in x $MAKEFLAGS; do ? case $f in ? *=* | --[!k]*);; ? *k*) failcom='fail=yes';; ? esac; ?done; ?dot_seen=no; ?target=`echo check-recursive | sed s/-recursive//`; ?list='. tests SWI '; for subdir in $list; do ? echo "Making $target in $subdir"; ? if test "$subdir" = "."; then ? dot_seen=yes; ? local_target="$target-am"; ? else ? local_target="$target"; ? fi; ? (cd $subdir && /usr/bin/make $local_target) ? || eval $failcom; ?done; ?if test "$dot_seen" = "no"; then ? /usr/bin/make "$target-am" || exit 1; ?fi; test -z "$fail"
19988 pts/0 S+ 0:00 | _ /bin/bash -c failcom='exit 1'; ?for f in x $MAKEFLAGS; do ? case $f in ? *=* | --[!k]*);; ? *k*) failcom='fail=yes';; ? esac; ?done; ?dot_seen=no; ?target=`echo check-recursive | sed s/-recursive//`; ?list='. tests SWI '; for subdir in $list; do ? echo "Making $target in $subdir"; ? if test "$subdir" = "."; then ? dot_seen=yes; ? local_target="$target-am"; ? else ? local_target="$target"; ? fi; ? (cd $subdir && /usr/bin/make $local_target) ? || eval $failcom; ?done; ?if test "$dot_seen" = "no"; then ? /usr/bin/make "$target-am" || exit 1; ?fi; test -z "$fail"
19989 pts/0 S+ 0:00 | _ /usr/bin/make check
20107 pts/0 S+ 0:00 | _ /usr/bin/make check-local
20152 pts/0 S+ 0:00 | _ /bin/bash -c /bin/bash ../../../libtool --mode=execute ??-dlopen ../../../src/libppl.la ??-dlopen ../../../Watchdog/src/libpwl.la ??-dlopen libppl_swiprolog.la ? ./ppl_pl < script_pchk
20160 pts/0 T+ 2:14 | _ ./ppl_pl
----- End forwarded message -----