ZOSOpenTools / grepport

Apache License 2.0
2 stars 0 forks source link

Tests get 'stuck' when doing a build / test #1

Closed MikeFultonDev closed 1 year ago

MikeFultonDev commented 1 year ago

Based on the trace information, it appears like test-unsetv is hanging or looping.

Here is my 'ps -ef'

ps -ef
     UID        PID       PPID  C    STIME TTY       TIME CMD
 FULTONM   16777343   83886850  - 22:38:06 ?         0:00 /bin/sh -c fail=; \?if (target_option=k; case ${target_option-} in ?) ;; *) echo "am__make_running_with_option: internal error: invalid" "target option '${target_option-}' specified" >&2; exit 1;; esac; has_opt=no; sane_makeflags=$MAKEFLAGS; if { if test -z '2'; then false; elif test -n 'i370-ibm-openedition'; then true; elif test -n '4.3' && test -n '/fultonm/zopen/dev/grepport/grep-3.8/gnulib-tests'; then true; else false; fi; }; then sane_makeflags=$MFLAGS; else case $MAKEFLAGS in *\\[\ \?]*) bs=\\; sane_makeflags=`printf '%s\n' "$MAKEFLAGS" | sed "s/$bs$bs[$bs $bs?]*//g"`;; esac; fi; skip_next=no; strip_trailopt () { flg=`printf '%s\n' "$flg" | sed "s/$1.*$//"`; }; for flg in $sane_makeflags; do test $skip_next = yes && { skip_next=no; continue; }; case $flg in *=*|--*) continue;; -*I) strip_trailopt 'I'; skip_next=yes;; -*I?*) strip_trailopt 'I';; -*O) strip_trailopt 'O'; skip_next=yes;; -*O?*) strip_trailopt 'O';; -*l) strip_trailopt 'l'; skip_next=yes;; -*l?*) strip_trailopt 'l';; -[dEDm]) skip_next=ye    
 FULTONM   50331797   16777343  - 22:38:06 ?         0:00 make check-am    
 FULTONM   83886279   33555122  - 22:38:05 ?         0:00 /bin/sh -c fail=; \?if (target_option=k; case ${target_option-} in ?) ;; *) echo "am__make_running_with_option: internal error: invalid" "target option '${target_option-}' specified" >&2; exit 1;; esac; has_opt=no; sane_makeflags=$MAKEFLAGS; if { if test -z '0'; then false; elif test -n 'i370-ibm-openedition'; then true; elif test -n '4.3' && test -n '/fultonm/zopen/dev/grepport/grep-3.8'; then true; else false; fi; }; then sane_makeflags=$MFLAGS; else case $MAKEFLAGS in *\\[\ \?]*) bs=\\; sane_makeflags=`printf '%s\n' "$MAKEFLAGS" | sed "s/$bs$bs[$bs $bs?]*//g"`;; esac; fi; skip_next=no; strip_trailopt () { flg=`printf '%s\n' "$flg" | sed "s/$1.*$//"`; }; for flg in $sane_makeflags; do test $skip_next = yes && { skip_next=no; continue; }; case $flg in *=*|--*) continue;; -*I) strip_trailopt 'I'; skip_next=yes;; -*I?*) strip_trailopt 'I';; -*O) strip_trailopt 'O'; skip_next=yes;; -*O?*) strip_trailopt 'O';; -*l) strip_trailopt 'l'; skip_next=yes;; -*l?*) strip_trailopt 'l';; -[dEDm]) skip_next=yes;; -[JT]) sk    
 FULTONM   83886591          1  - 22:23:57 ?         0:00     
 FULTONM   83886609   83887146  - 22:42:31 ?         0:00 /bin/sh -c set +e; bases='test-accept.log test-alignof.log test-alloca-opt.log test-argmatch.log test-arpa_inet.log test-binary-io.sh.log test-bind.log test-bitrotate.log test-btowc1.sh.log test-btowc2.sh.log test-c-ctype.log test-c-stack.sh.log test-c-stack2.sh.log test-c-strcase.sh.log test-calloc-gnu.log test-chdir.log test-cloexec.log test-close.log test-connect.log test-ctype.log test-dfa-invalid-char-class.sh.log test-dfa-invalid-merge.sh.log test-dfa-match.sh.log test-dirent.log test-dup.log test-dup2.log test-dynarray.log test-environ.log test-errno.log test-exclude1.sh.log test-exclude2.sh.log test-exclude3.sh.log test-exclude4.sh.log test-exclude5.sh.log test-exclude6.sh.log test-exclude7.sh.log test-exclude8.sh.log test-fchdir.log test-fcntl-h.log test-fcntl-safer.log test-fcntl.log test-fdopen.log test-fdopendir.log test-fgetc.log test-float.log test-fnmatch-h.log test-fnmatch.log test-fopen-gnu.log test-fopen.log test-fpending.sh.log test-fputc.log test-fread.log test-free.log test-fstat.log test    
 FULTONM   67109400   67109590  - 22:38:05 ?         0:00 make check-recursive    
 FULTONM   33555122          1  - 22:36:05 ?         0:00 /bin/sh -c fail=; \?if (target_option=k; case ${target_option-} in ?) ;; *) echo "am__make_running_with_option: internal error: invalid" "target option '${target_option-}' specified" >&2; exit 1;; esac; has_opt=no; sane_makeflags=$MAKEFLAGS; if { if test -z '0'; then false; elif test -n 'i370-ibm-openedition'; then true; elif test -n '4.3' && test -n '/fultonm/zopen/dev/grepport/grep-3.8'; then true; else false; fi; }; then sane_makeflags=$MFLAGS; else case $MAKEFLAGS in *\\[\ \?]*) bs=\\; sane_makeflags=`printf '%s\n' "$MAKEFLAGS" | sed "s/$bs$bs[$bs $bs?]*//g"`;; esac; fi; skip_next=no; strip_trailopt () { flg=`printf '%s\n' "$flg" | sed "s/$1.*$//"`; }; for flg in $sane_makeflags; do test $skip_next = yes && { skip_next=no; continue; }; case $flg in *=*|--*) continue;; -*I) strip_trailopt 'I'; skip_next=yes;; -*I?*) strip_trailopt 'I';; -*O) strip_trailopt 'O'; skip_next=yes;; -*O?*) strip_trailopt 'O';; -*l) strip_trailopt 'l'; skip_next=yes;; -*l?*) strip_trailopt 'l';; -[dEDm]) skip_next=yes;; -[JT]) sk    
 FULTONM   67109590   83886279  - 22:38:05 ?         0:00 make check    
 FULTONM   83886850   67109400  - 22:38:06 ?         0:00 /bin/sh -c fail=; \?if (target_option=k; case ${target_option-} in ?) ;; *) echo "am__make_running_with_option: internal error: invalid" "target option '${target_option-}' specified" >&2; exit 1;; esac; has_opt=no; sane_makeflags=$MAKEFLAGS; if { if test -z '2'; then false; elif test -n 'i370-ibm-openedition'; then true; elif test -n '4.3' && test -n '/fultonm/zopen/dev/grepport/grep-3.8/gnulib-tests'; then true; else false; fi; }; then sane_makeflags=$MFLAGS; else case $MAKEFLAGS in *\\[\ \?]*) bs=\\; sane_makeflags=`printf '%s\n' "$MAKEFLAGS" | sed "s/$bs$bs[$bs $bs?]*//g"`;; esac; fi; skip_next=no; strip_trailopt () { flg=`printf '%s\n' "$flg" | sed "s/$1.*$//"`; }; for flg in $sane_makeflags; do test $skip_next = yes && { skip_next=no; continue; }; case $flg in *=*|--*) continue;; -*I) strip_trailopt 'I'; skip_next=yes;; -*I?*) strip_trailopt 'I';; -*O) strip_trailopt 'O'; skip_next=yes;; -*O?*) strip_trailopt 'O';; -*l) strip_trailopt 'l'; skip_next=yes;; -*l?*) strip_trailopt 'l';; -[dEDm]) skip_next=ye    
 FULTONM   33555235       1166  - 16:56:11 ttyp0000  0:00 bash    
 FULTONM   83886977   83886609  - 22:42:32 ?         0:06 make test-suite.log TEST_LOGS=test-accept.log test-alignof.log test-alloca-opt.log test-argmatch.log test-arpa_inet.log test-binary-io.sh.log test-bind.log test-bitrotate.log test-btowc1.sh.log test-btowc2.sh.log test-c-ctype.log test-c-stack.sh.log test-c-stack2.sh.log test-c-strcase.sh.log test-calloc-gnu.log test-chdir.log test-cloexec.log test-close.log test-connect.log test-ctype.log test-dfa-invalid-char-class.sh.log test-dfa-invalid-merge.sh.log test-dfa-match.sh.log test-dirent.log test-dup.log test-dup2.log test-dynarray.log test-environ.log test-errno.log test-exclude1.sh.log test-exclude2.sh.log test-exclude3.sh.log test-exclude4.sh.log test-exclude5.sh.log test-exclude6.sh.log test-exclude7.sh.log test-exclude8.sh.log test-fchdir.log test-fcntl-h.log test-fcntl-safer.log test-fcntl.log test-fdopen.log test-fdopendir.log test-fgetc.log test-float.log test-fnmatch-h.log test-fnmatch.log test-fopen-gnu.log test-fopen.log test-fpending.sh.log test-fputc.log test-fread.log test-free.log test-fstat.log     
 FULTONM   83887146   50331797  - 22:42:31 ?         0:00 make check-TESTS    
 FULTONM   16778307          1  - 22:20:03 ?         0:00     
 FULTONM       1166   33555678  - 16:56:11 ttyp0000  0:00 -sh    
 FULTONM   50332835   33555235  - 16:56:17 ttyp0000  0:00 ps -ef    
 FULTONM   33555678   50332584  - 16:56:11 ?         0:00 /usr/sbin/sshd -R    
 FULTONM   50333128   50333139  - 23:00:42 ?         0:00 /bin/sh ../build-aux/test-driver --test-name test-unsetenv --log-file test-unsetenv.log --trs-file test-unsetenv.trs --color-tests no --enable-hard-errors yes --expect-failure no -- ./test-unsetenv    
 FULTONM   33555914   50333128  - 23:00:42 ?        11h41 ./test-unsetenv    
 FULTONM   50333139   83886977  - 23:00:42 ?         0:00 /bin/sh -c p='test-unsetenv'; \?b='test-unsetenv'; \?case $- in *e*) set +e;; esac; srcdirstrip=`echo "." | sed 's|.|.|g'`; case $p in ./*) f=`echo "$p" | sed "s|^$srcdirstrip/||"`;; *) f=$p;; esac; { mgn= red= grn= lgn= blu= brg= std=; am__color_tests=no; if test "X" = Xno; then am__color_tests=no; elif test "X" = Xalways; then am__color_tests=yes; elif test "X$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then am__color_tests=yes; fi; if test $am__color_tests = yes; then red='?[0;31m'; grn='?[0;32m'; lgn='?[1;32m'; blu='?[1;34m'; mgn='?[0;35m'; brg='?[1m'; std='?[m'; fi; }; srcdir=.; export srcdir; case "test-unsetenv.log" in */*) am__odir=`echo "./test-unsetenv.log" | sed 's|/[^/]*$||'`;; *) am__odir=.;; esac; test "x$am__odir" = x"." || test -d "$am__odir" || .././build-aux/install-sh -c -d "$am__odir" || exit $?; if test -f "./$f"; then dir=./; elif test -f "$f"; then dir=; else dir="./"; fi; tst=$dir$f; log='test-unsetenv.log'; if test -n ''; then am__enable_hard_errors=no; else am__enable_hard_errors=y   

Here is the tail of nohup.out:

trap: ../build-aux/test-driver 105: FSUM7327 signal number 13 not conventional
PASS: test-u8-mbtoucr
trap: ../build-aux/test-driver 105: FSUM7327 signal number 13 not conventional
PASS: test-u8-uctomb
trap: ../build-aux/test-driver 105: FSUM7327 signal number 13 not conventional
PASS: test-uc_width
trap: ../build-aux/test-driver 105: FSUM7327 signal number 13 not conventional
PASS: uniwidth/test-uc_width2.sh
trap: ../build-aux/test-driver 105: FSUM7327 signal number 13 not conventional
***ERROR: TIMEOUT: (PID: 50332208): "make" check CC=xlclang "CPPFLAGS=-DNSIG=9 -D_XOPEN_SOURCE=600 -D_ALL_SOURCE -D_OPEN_SYS_FILE_EXT=1 -D_AE_BIMODAL=1 -D_ENHANCED_ASCII_EXT=0xFFFFFFFF " "CFLAGS=-qascii -std=gnu11 -qnocsect -qenum=int " CXX=xlclang++ "CXXFLAGS=-+ -qascii -qnocsect -qenum=int " "LDFLAGS= " > /fultonm/tmp/FULTONM.pipe 2>&1

Here is the tail of *_check.log:

PASS: test-unistd
trap: ../build-aux/test-driver 105: FSUM7327 signal number 13 not conventional
PASS: test-u8-mbtoucr
trap: ../build-aux/test-driver 105: FSUM7327 signal number 13 not conventional
PASS: test-u8-uctomb
trap: ../build-aux/test-driver 105: FSUM7327 signal number 13 not conventional
PASS: test-uc_width
trap: ../build-aux/test-driver 105: FSUM7327 signal number 13 not conventional
PASS: uniwidth/test-uc_width2.sh
trap: ../build-aux/test-driver 105: FSUM7327 signal number 13 not conventional