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

Bug#782444: libgccjit tests fail on kfreebsd and hang the buildds



On Sun, Apr 12, 2015 at 01:34:16PM +0200, Matthias Klose wrote:
> Package: src:gcc-5
> Version: 5-20150410-1
> Severity: important
> 
> the libgccjit tests fail on kfreebsd, hang the buildds, and get killed with a
> timeout. Please see the build logs.  As a workaround, I'll disable running these
> on these targes, so please find the build logs at

I ran the build of the above version on my machine overnight; (relevant) output
of "ps auxf" while things are hung is attached.

It looks like it's "expect"ing some output that isn't appearing. I don't have
time to debug this further right now (have to head off to work), but will look
into it further later this week (unless someone else beats me to it ;-)

-- 
It is easy to love a country that is famous for chocolate and beer

  -- Barack Obama, speaking in Brussels, Belgium, 2014-03-26
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root     54879  0.0  0.0  45848  2028 ?        Ss   apr15   0:00 /usr/sbin/sshd
root     55698  0.0  0.0  79876  1728 ?        Ss   apr15   0:00  \_ /usr/sbin/sshd -R
wouter   55716  0.0  0.0  79876  1888 ?        S    apr15   0:09  |   \_ /usr/sbin/sshd -R
wouter   55717  0.0  0.0  23468    16 ?        Ss   apr15   0:00  |       \_ -bash
wouter   54609  0.0  0.0  41176    16 ?        S+   apr15   0:00  |           \_ /usr/bin/perl /usr/bin/dpkg-buildpackage -rfakeroot -uc -us -i
wouter   59187  0.0  0.0  33600    16 ?        S+   apr15   0:00  |               \_ /usr/bin/make -f debian/rules build
wouter   75244  0.0  0.0  32104  1060 ?        S+   05:21   0:00  |                   \_ /usr/bin/make -f debian/rules2 stamps/05-build-jit-stamp
wouter   66905  0.0  0.6  42720 14352 ?        S+   06:21   0:00  |                       \_ /usr/bin/make -C /home/wouter/gcc-5-5-20150410/build-jit/gcc check-jit RUNTESTFLAGS=-v -v
wouter   67022  0.0  0.1  11268  2228 ?        S+   06:21   0:00  |                           \_ /bin/bash -c if [ "" = "-j" ]; then \   test -d testsuite || mkdir testsuite || true; \   test -d testsuite/jit-parallel || mkdir testsuite/jit-parallel || true; \   GCC_RUNTEST_PARALLELIZE_DIR=`${PWDCMD-pwd}`/testsuite/jit-parallel ; \   export GCC_RUNTEST_PARALLELIZE_DIR ; \   /usr/bin/make TESTSUITEDIR="testsuite" RUNTESTFLAGS="-v -v" \     check-parallel-jit \     check-parallel-jit_1 check-parallel-jit_2 check-parallel-jit_3 check-parallel-jit_4 check-parallel-jit_5 check-parallel-jit_6 check-parallel-jit_7 check-parallel-jit_8 check-parallel-jit_9 check-parallel-jit_10; \   sums= ; logs= ; \   for dir in testsuite/jit \ ?     testsuite/jit1 testsuite/jit2 testsuite/jit3 testsuite/jit4 testsuite/jit5 testsuite/jit6 testsuite/jit7 testsuite/jit8 testsuite/jit9 testsuite/jit10;\   do \     if [ -d $dir ]; then \       mv -f $dir/jit.sum $dir/jit.sum.sep; mv -f $dir/jit.log $dir/jit.log.sep; \       sums="$sums $dir/jit.sum.sep"; logs="$logs $dir/jit.log.sep"; \     fi; \   done; \   /bin/bash ../../src/gcc/../contrib/dg-extract-results.sh $sums \     > testsuite/jit/jit.sum; \   /bin/bash ../../src/gcc/../contrib/dg-extract-results.sh -L $logs \     > testsuite/jit/jit.log; \   rm -rf testsuite/jit-parallel || true; \ else \   /usr/bin/make TESTSUITEDIR="testsuite" RUNTESTFLAGS="-v -v" \     check_jit_parallelize= check-parallel-jit; \ fi
wouter   67023  0.0  0.6  42720 14308 ?        S+   06:21   0:00  |                               \_ /usr/bin/make TESTSUITEDIR=testsuite RUNTESTFLAGS=-v -v check_jit_parallelize= check-parallel-jit
wouter   67102  0.0  0.1  11264  2224 ?        S+   06:21   0:00  |                                   \_ /bin/bash -c (rootme=`${PWDCMD-pwd}`; export rootme; \ srcdir=`cd ../../src/gcc; ${PWDCMD-pwd}` ; export srcdir ; \ if [ -n "" ] \    && [ -n "$GCC_RUNTEST_PARALLELIZE_DIR" ] \    && [ -f testsuite/jit-parallel/finished ]; then \   rm -rf testsuite/jit; \ else \   cd testsuite/jit; \   rm -f tmp-site.exp; \   sed '/set tmpdir/ s|testsuite$|testsuite/jit|' \ ?< ../../site.exp > tmp-site.exp; \   /bin/bash ${srcdir}/../move-if-change tmp-site.exp site.exp; \   EXPECT=`if [ -f ${rootme}/../expect/expect ] ; then echo ${rootme}/../expect/expect ; else echo expect ; fi` ; export EXPECT ; \   if [ -f ${rootme}/../expect/expect ] ; then  \     TCL_LIBRARY=`cd .. ; cd ${srcdir}/../tcl/library ; ${PWDCMD-pwd}` ; \     export TCL_LIBRARY ; \   fi ; \   `if [ -f ${srcdir}/../dejagnu/runtest ] ; then echo ${srcdir}/../dejagnu/runtest ; else echo runtest; fi` --tool jit -v -v; \   if [ -n "$GCC_RUNTEST_PARALLELIZE_DIR" ] ; then \     touch ${rootme}/testsuite/jit-parallel/finished; \   fi ; \ fi )
wouter   67103  0.0  0.1  11268  2232 ?        S+   06:21   0:00  |                                       \_ /bin/bash -c (rootme=`${PWDCMD-pwd}`; export rootme; \ srcdir=`cd ../../src/gcc; ${PWDCMD-pwd}` ; export srcdir ; \ if [ -n "" ] \    && [ -n "$GCC_RUNTEST_PARALLELIZE_DIR" ] \    && [ -f testsuite/jit-parallel/finished ]; then \   rm -rf testsuite/jit; \ else \   cd testsuite/jit; \   rm -f tmp-site.exp; \   sed '/set tmpdir/ s|testsuite$|testsuite/jit|' \ ?< ../../site.exp > tmp-site.exp; \   /bin/bash ${srcdir}/../move-if-change tmp-site.exp site.exp; \   EXPECT=`if [ -f ${rootme}/../expect/expect ] ; then echo ${rootme}/../expect/expect ; else echo expect ; fi` ; export EXPECT ; \   if [ -f ${rootme}/../expect/expect ] ; then  \     TCL_LIBRARY=`cd .. ; cd ${srcdir}/../tcl/library ; ${PWDCMD-pwd}` ; \     export TCL_LIBRARY ; \   fi ; \   `if [ -f ${srcdir}/../dejagnu/runtest ] ; then echo ${srcdir}/../dejagnu/runtest ; else echo runtest; fi` --tool jit -v -v; \   if [ -n "$GCC_RUNTEST_PARALLELIZE_DIR" ] ; then \     touch ${rootme}/testsuite/jit-parallel/finished; \   fi ; \ fi )
wouter   67113  0.0  0.5 102104 11232 ?        S+   06:21   0:00  |                                           \_ expect -- /usr/share/dejagnu/runtest.exp --tool jit -v -v

Attachment: signature.asc
Description: Digital signature


Reply to: