Re: Some failures in 0.8.0b1

From: Paul H. Hargrove (PHHargrove_at_lbl_dot_gov)
Date: Mon Dec 01 2008 - 18:47:21 PST

  • Next message: Paul H. Hargrove: "BLCR 0.8.0 beta2 is now available"
    Thank you Neal (and sorry for calling you "Neil" before),
    
      The fix to the prctl test will appear in 0.8.0_b2 (probably later 
    tonight).
      The ptrace test failure is still a mystery to me.  I know the fc8 and 
    fc9 kernels replace the ptrace implementation from the kernel.org 
    kernels with one written in terms of Red Hat's "utrace".  However, I 
    cannot pin down what the difference is between the two that leads to the 
    BLCR test failure.  It is possible that there is a utrace bug, but I am 
    not holding my breath.
    
    -Paul
    
    Neal Becker wrote:
    > On Monday 01 December 2008, Paul H. Hargrove wrote:
    >   
    >> Thanks, Neil.
    >>
    >> When you have a chance, please see if the 1-line change below fixes the
    >> prctl failure.
    >> I believe the test was placing itself into SECCOMP mode and thus getting
    >> killed when it tried to do much of anything.
    >> In other words, the bug is probably in the test itself.
    >>
    >> -Paul
    >>
    >> --- tests/prctl.c       1 Dec 2008 00:42:20 -0000       1.4
    >> +++ tests/prctl.c       2 Dec 2008 01:34:43 -0000
    >> @@ -96,7 +96,7 @@
    >>         /* Not safe to change this one */
    >>         {"PR_GET_ENDIAN", my_type_int_ptr, PR_GET_ENDIAN, PR_SET_ENDIAN,
    >> X, X, },
    >>  #endif
    >> -#if defined(PR_GET_SECCOMP)
    >> +#if defined(PR_GET_SECCOMP) && 0
    >>         {"PR_GET_SECCOMP", my_type_int, PR_GET_SECCOMP, PR_SET_SECCOMP,
    >> 1, 0, },
    >>  #endif
    >>  #if defined(PR_GET_TSC)
    >>
    >>     
    > ...
    >
    >  sh RUN_ME 
    > PASS: atomics
    > PASS: cr_run
    > PASS: cr_targ
    > PASS: cr_targ2
    > PASS: cr_omit
    > PASS: dlopen
    > PASS: bug2003
    > PASS: run_on
    > PASS: save_exe
    > PASS: save_priv
    > PASS: save_share
    > PASS: save_all
    > PASS: reloc_exe
    > PASS: reloc_file
    > PASS: reloc_fifo
    > PASS: reloc_dir
    > PASS: reloc_all
    > PASS: clobber
    > PASS: stage0001.st
    > PASS: stage0002.st
    > PASS: stage0003.st
    > PASS: stage0004.st
    > PASS: critical_sections.st
    > PASS: replace_cb.st
    > PASS: failed_cb.st
    > PASS: failed_cb2.st
    > PASS: pid_in_use.st
    > cs_enter_leave: 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
    > PASS: cs_enter_leave.st
    > cs_enter_leave2: 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
    > PASS: cs_enter_leave2.st
    > cr_tryenter_cs: 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
    > PASS: cr_tryenter_cs.st
    > PASS: stopped.st
    > Detected 3 failures in /usr/libexec/blcr-testsuite/./ptrace.st:
    > 000 Process started with pid 32211
    > 001 ptrace child 32212 is READY
    > 002 ptrace parent 32213 is READY
    > #ST_ALARM:10
    > 003 cr_checkpoint(32212, "") exited with expected status 2360
    > #ST_ALARM:10
    > 004 cr_checkpoint(32212, "--ptraced-error") exited with expected status 2360
    > #ST_ALARM:10
    > 005 cr_checkpoint(32213, "") exited with expected status 2361
    > #ST_ALARM:10
    > 006 cr_checkpoint(32213, "--ptracer-error") exited with expected status 2361
    > #ST_ALARM:10
    > 007 cr_checkpoint(32212, "--ptraced-skip") exited with expected status 3
    > #ST_ALARM:10
    > 008 cr_checkpoint(32212, "--ptracer-skip") exited with expected status 2360
    > #ST_ALARM:10
    > 009 cr_checkpoint(32213, "--ptraced-skip") exited with expected status 2361
    > #ST_ALARM:10
    > 010 cr_checkpoint(32213, "--ptracer-skip") exited with expected status 3
    > #ST_ALARM:10
    > 011 cr_checkpoint(32213, "--ptraced-allow") exited with expected status 2361
    > #ST_ALARM:10
    > !!! Alarm clock expired
    > !!! Missing final DONE
    > !!! Test killed unexpectedly by signal 9
    > FAIL: ptrace.st
    > PASS: edeadlk.st
    > PASS: pid_restore.st
    > PASS: simple.ct
    > PASS: simple_pthread.ct
    > PASS: cwd.ct
    > PASS: dup.ct
    > PASS: filedescriptors.ct
    > PASS: pipe.ct
    > PASS: named_fifo.ct
    > PASS: cloexec.ct
    > PASS: get_info.ct
    > PASS: orphan.ct
    > PASS: overlap.ct
    > PASS: child.ct
    > PASS: mmaps.ct
    > No hugetlbfs mount point found (test skipped)
    > SKIP: hugetlbfs.ct
    > PASS: readdir.ct
    > PASS: dev_null.ct
    > PASS: cr_signal.ct
    > PASS: linked_fifo.ct
    > PASS: sigpending.ct
    > PASS: dpipe.ct
    > PASS: forward.ct
    > PASS: hooks.ct
    > PASS: math.ct
    > PASS: sigaltstack.ct
    > PASS: prctl.ct
    > ======================
    > 1 of 58 tests failed
    > (1 tests were not run)
    > ======================
    >
    >   
    
    
    -- 
    Paul H. Hargrove                          PHHargrove_at_lbl_dot_gov
    Future Technologies Group                 Tel: +1-510-495-2352
    HPC Research Department                   Fax: +1-510-486-6900
    Lawrence Berkeley National Laboratory     
    

  • Next message: Paul H. Hargrove: "BLCR 0.8.0 beta2 is now available"