DF-5834 / run.log
=== WEDGE 8s: child FETCH(8s) holds tty_token, parent GETCAP at t=2s === --- ps mid-wedge (t=4s): PID PPID STAT WCHAN UCOMM 926 925 S1 wait ppslockdemo 928 926 S4 ppsfch ppslockdemo --- result: parent 926: child=928 mode=8 child 928: PPS_IOC_FETCH timeout=8s 0ns child 928: FETCH returned -1 errno=60 (Operation timed out) parent: GETCAP r=0 cap=0x1133 elapsed=0.000 s errno=0 <-- WEDGED for ~6s if bug present wedge_rc=0 --- at t=12s (child asked for a FINITE 1ns timeout): PID PPID STAT WCHAN UCOMM --- wi.out so far: parent 938: child=940 mode=inf child 940: PPS_IOC_FETCH timeout=0s 0ns child 940: FETCH returned 0 errno=0 (Undefined error: 0) parent: GETCAP r=0 cap=0x1133 elapsed=0.000 s errno=0 <-- control, expect ~0.000s --- killing wedge child 940 kill: 940: No such process --- after kill -9: parent 938: child=940 mode=inf child 940: PPS_IOC_FETCH timeout=0s 0ns child 940: FETCH returned 0 errno=0 (Undefined error: 0) parent: GETCAP r=0 cap=0x1133 elapsed=0.000 s errno=0 <-- control, expect ~0.000s (no ppslock processes left) REBUILD_OK --- at t=12s (child asked for a FINITE 1ns timeout): PID PPID STAT WCHAN UCOMM 971 1 S0 ppsfch ppslockdemo --- wi.out so far: parent 964: child=971 mode=inf child 971: PPS_IOC_FETCH timeout=0s 1ns parent: GETCAP r=0 cap=0x1133 elapsed=0.000 s errno=0 --- killing wedge child 971 --- after kill -9: parent 964: child=971 mode=inf child 971: PPS_IOC_FETCH timeout=0s 1ns parent: GETCAP r=0 cap=0x1133 elapsed=0.000 s errno=0 (no ppslock processes left)