### blockingSockTestHost ../blockingSockTest.cpp: client circuit was disconnected ../blockingSockTest.cpp: server circuit was disconnected The local OS behaves like "esscimqi_socketBothShutdownRequired". The epicsSocketSystemCallInterruptMechanismQuery() function returns "esscimqi_socketBothShutdownRequired". ### callbackTestHost myCallback requestedDiff 0.000000 diff 0.000000 myCallback requestedDiff 0.000000 diff 0.000000 myCallback requestedDiff 0.000000 diff 0.000000 myCallback requestedDiff 0.000000 diff 0.000000 myCallback requestedDiff 1.000000 diff 1.173849 myCallback requestedDiff 2.000000 diff 1.992223 callbackTest returning main terminating ### epicsEventTestHost epicsEventWaitWithTimeout ( 1.000000 ) tmo delay err 0.000994 sec epicsEventWaitWithTimeout ( 0.500000 ) tmo delay err 0.000009 sec epicsEventWaitWithTimeout ( 0.250000 ) tmo delay err 0.000004 sec epicsEventWaitWithTimeout ( 0.125000 ) tmo delay err 0.000003 sec epicsEventWaitWithTimeout ( 0.062500 ) tmo delay err 0.000001 sec epicsEventWaitWithTimeout ( 0.031250 ) tmo delay err 0.000000 sec epicsEventWaitWithTimeout ( 0.015625 ) tmo delay err 0.000001 sec epicsEventWaitWithTimeout ( 0.007812 ) tmo delay err 0.000976 sec epicsEventWaitWithTimeout ( 0.003906 ) tmo delay err 0.000977 sec epicsEventWaitWithTimeout ( 0.001953 ) tmo delay err 0.000976 sec epicsEventWaitWithTimeout ( 0.000977 ) tmo delay err 0.000000 sec epicsEventWaitWithTimeout ( 0.000488 ) tmo delay err 0.000488 sec epicsEventWaitWithTimeout ( 0.000244 ) tmo delay err 0.001710 sec epicsEventWaitWithTimeout ( 0.000122 ) tmo delay err 0.001831 sec epicsEventWaitWithTimeout ( 0.000061 ) tmo delay err 0.000915 sec epicsEventWaitWithTimeout ( 0.000031 ) tmo delay err 0.000946 sec epicsEventWaitWithTimeout ( 0.000015 ) tmo delay err 0.000962 sec epicsEventWaitWithTimeout ( 0.000008 ) tmo delay err 0.000968 sec epicsEventWaitWithTimeout ( 0.000004 ) tmo delay err 0.000973 sec epicsEventWaitWithTimeout ( 0.000002 ) tmo delay err 0.000974 sec epicsEventWaitWithTimeout ( 0.000000 ) tmo delay err 0.000000 sec Average error 0.000653 sec calling epicsEventWaitWithTimeout(event,2.0) time 1142278016 calling epicsEventTryWait(event) time 1142278019 calling epicsEventSignal() time 1142278019 calling epicsEventWaitWithTimeout(event,2.0) time 1142278019 calling epicsEventSignal() time 1142278019 calling epicsEventTryWait(event) time 1142278019 created producer 0 id 14000c400 time 1142278019 created producer 1 id 14000c680 time 1142278019 producer 14000c400 starting time 1142278019 producer 14000c400 sending consumer 14000b780 starting time 1142278019 producer 14000c680 starting time 1142278019 producer 14000c680 sending producer 14000c680 sending consumer message from 14000c400 consumer message from 14000c680 consumer message from 14000c680 producer 14000c400 sending consumer message from 14000c400 producer 14000c400 sending consumer message from 14000c400 producer 14000c680 sending consumer message from 14000c680 producer 14000c400 sending consumer message from 14000c400 producer 14000c680 sending producer 14000c400 sending consumer message from 14000c680 consumer message from 14000c400 producer 14000c680 sending consumer message from 14000c680 producer 14000c400 sending consumer message from 14000c400 producer 14000c680 sending consumer message from 14000c680 semTest setting quit time 1142278024 producer 14000c400 returning time 1142278025 consumer 14000b780 returning time 1142278025 producer 14000c680 returning time 1142278025 semTest returning time 1142278027 main terminating ### epicsExceptionTestHost Test Complete. ### epicsExitTestHost thread threadA starting thread threadA waiting for atExit thread threadB starting thread threadB waiting for atExit main calling epicsExit thread threadB terminating thread threadA terminating ### epicsMathTestHost a 0.000000e+00 b 0.000000e+00 c NaNQ isnan true isinf false a 1.000000e+300 b 1.000000e-300 c INF isnan false isinf true a -1.000000e+300 b 1.000000e-300 c -INF isnan false isinf true a 0.000000e+00 b 1.000000e+00 c 0.000000e+00 isnan false isinf false a 1.000000e+300 b 1.000000e+300 c 1.000000e+00 isnan false isinf false ### epicsMessageQueueTestHost Simple single-thread tests. Should have 1 used -- Message Queue Used:1 Slots:4 Should have 2 used -- Message Queue Used:2 Slots:4 Should have 3 used -- Message Queue Used:3 Slots:4 Should have 4 used -- Message Queue Used:4 Slots:4 Test sender timeout. Should have 1 used -- Message Queue Used:1 Slots:4 Should have 2 used -- Message Queue Used:2 Slots:4 Should have 3 used -- Message Queue Used:3 Slots:4 Should have 4 used -- Message Queue Used:4 Slots:4 Test receiver with timeout. Single receiver with invalid size, single sender tests. Single receiver, single sender tests. Systems with priority-based scheduler should send only 4 or 5 messages (sender priority > receiver priority). Sent 5 messages. Systems with strict priority-based scheduler should send 10 messages (sender priority < receiver priority). Sent 5 messages. All systems should send 10 messages (sender pauses after sending each message). Sent 10 messages. Single receiver, multiple sender tests. The following test takes 5 minutes to run and has succeeded if nothing appears between here.... ......and here. Sender 1 -- 3965 messages Sender 2 -- 3920 messages Sender 3 -- 4084 messages Sender 4 -- 3948 messages ### epicsMutexTestHost One lock pair completes in 1.464870 micro sec One double recursive lock pair completes in 2.070350 micro sec One quad recursive lock pair completes in 3.320380 micro sec calling epicsMutexLock(mutex) time 1142278369 calling epicsMutexTryLock(mutex) time 1142278369 epicsMutexId 140002860 source ../epicsMutexTest.cpp line 264 ownerTid 3ffc01b6000 count 2 owned 1 calling epicsMutexUnlock() time 1142278369 calling epicsMutexUnlock() time 1142278369 epicsMutexId 140002860 source ../epicsMutexTest.cpp line 264 ownerTid 0 count 0 owned 0 semTest created mutexThread 0 id 14000b780 time 1142278369 semTest created mutexThread 1 id 14000c400 time 1142278369 mutexThread 0 starting time 1142278369 mutexThread 0 epicsMutexLock time 1142278369 mutexThread 1 starting time 1142278369 mutexThread 1 epicsMutexLock time 1142278369 mutexThread 0 epicsMutexLock time 1142278370 mutexThread 1 epicsMutexLock time 1142278370 mutexThread 0 epicsMutexLock time 1142278371 mutexThread 1 epicsMutexLock time 1142278371 mutexThread 0 epicsMutexLock time 1142278372 mutexThread 1 epicsMutexLock time 1142278372 mutexThread 0 epicsMutexLock time 1142278373 mutexThread 1 epicsMutexLock time 1142278373 semTest setting quit time 1142278374 mutexThread 0 returning time 1142278374 mutexThread 1 returning time 1142278374 main terminating ### epicsOkToBlockTestHost thread threadA isOkToBlock 0 thread threadB isOkToBlock 1 thread threadA epicsThreadIsOkToBlock 0 thread threadB epicsThreadIsOkToBlock 1 main terminating ### epicsStdioTestHost at start buffer |*******************| size 10 rtn 9 value 10 buffer |value is | size 10 rtn 9 value 10 buffer |value: 1| size 10 rtn 2 value 10 buffer |10| at start buffer |*******************| size 10 rtn 9 value 10 buffer |value is | size 10 rtn 9 value 10 buffer |value: 1| size 10 rtn 2 value 10 buffer |10| Test epicsSetThreadStdout/epicsGetStdout stdout 3ffc0080088 epicsGetStdout 3ffc0080088 This is first line of sample report This is second and last line of sample report at end stdout 3ffc0080088 epicsGetStdout 3ffc0080088 ### epicsStringTestHost String comparison tests completed. ### epicsThreadPriorityTestHost Does not appear to support strict priority scheduling ### epicsThreadPrivateTestHost It takes 0.136720 micro sec to call epicsThreadPrivateGet() ### epicsThreadTestHost epicsThreadSetPriority called by non epics thread epicsThreadSetPriority called by non epics thread testPriority main error expected from epicsThreadSetPriority id 14000b640 old 0 new 0 testPriority thread id 14000b780 old 50 new 99 It takes 0.361330 micro sec to call epicsThreadGetIdSelf () epicsThreadSleep ( 1.000000 ) delay err 0.383814 sec epicsThreadSleep ( 0.500000 ) delay err 0.309584 sec epicsThreadSleep ( 0.125000 ) delay err 0.098636 sec epicsThreadSleep ( 0.062500 ) delay err 0.189458 sec epicsThreadSleep ( 0.031250 ) delay err 0.225590 sec Average sleep delay error was 0.058132 sec Estimating sleep quantum..........done Estimating sleep quantum..........done The epicsThreadSleepQuantum() call returns 0.016667 sec. This doesnt match the quantum estimate of 0.046963 sec within 10%. threadTest starting threadTest created 0 myThread 140036000 startPriority 50 minPriority 0 maxPriority 99 threadTest created 1 myThread 140036050 threadFunc 0 starting argvalue 14003a1a0 threadFunc 1 starting argvalue 14003b080 NAME EPICS ID PTHREAD ID OSIPRI OSSPRI STATE _main_ 14000b640 0 0 0 OK errlog 14000b780 2199034098496 10 19 OK task0 140036140 2199039537984 50 19 OK task1 1400363c0 2199039701824 51 19 OK threadFunc 0 stopping argvalue 14003a1a0 threadFunc 1 stopping argvalue 14003b080 epicsThreadTest returning main terminating ### epicsTimeTestHost epicsTime Test (100 loops) ======================== Time per call to epicsTime::getCurrent() (100000 calls) = 0.957 usec The following should be your local time displayed using four different internal representations: epicsTimeStamp = Tue Mar 14 04:33:25 2006 280581000 nSec local time zone struct tm = Tue Mar 14 04:33:25 2006 0.280581 struct timespec = Tue Mar 14 04:33:25 2006 0.280581 UTC struct tm = Mon Mar 13 19:33:25 2006 0.280581 epicsTime: Tue Mar 14 2006 04:33:25.280581000 epicsTime: revision "@(#) EPICS 3.14.8.2, Common Utilities Library Mar 13 2006" ... now at loop 10 ... now at loop 20 ... now at loop 30 ... now at loop 40 ... now at loop 50 ... now at loop 60 ... now at loop 70 ... now at loop 80 ... now at loop 90 epicsTime test complete. Summary: 0 errors found in 0 out of 100 loops. ### epicsTimerTestHost delay error > 0.5 %, delay = 1.6 s, error = -8.156 ms (0.509750 %) delay error > 0.5 %, delay = 1.5 s, error = -7.768 ms (0.517867 %) delay error > 0.5 %, delay = 1.4 s, error = -7.379 ms (0.527071 %) delay error > 0.5 %, delay = 1.3 s, error = -7.967 ms (0.612846 %) delay error > 0.5 %, delay = 1.2 s, error = 73.478 ms (6.123167 %) delay error > 0.5 %, delay = 1.1 s, error = 173.478 ms (15.770727 %) delay error > 0.5 %, delay = 1 s, error = 5.895 ms (0.589500 %) delay error > 0.5 %, delay = 0.9 s, error = -6.412 ms (0.712444 %) delay error > 0.5 %, delay = 0.8 s, error = -7.976 ms (0.997000 %) delay error > 0.5 %, delay = 0.7 s, error = -7.587 ms (1.083857 %) delay error > 0.5 %, delay = 0.6 s, error = -8.175 ms (1.362500 %) delay error > 0.5 %, delay = 0.5 s, error = -7.786 ms (1.557200 %) delay error > 0.5 %, delay = 0.4 s, error = 65.846 ms (16.461500 %) delay error > 0.5 %, delay = 0.3 s, error = 165.846 ms (55.282000 %) delay error > 0.5 %, delay = 0.2 s, error = -7.596 ms (3.798000 %) delay error > 0.5 %, delay = 0.1 s, error = 80.685 ms (80.685000 %) average timer delay error 16.838240 ms test complete ### macEnvExpandTestHost 1..30 ok 1 - "FOO". ok 2 - "${FOO}". ok 3 - "${FOO=}". ok 4 - "x${FOO=}y". ok 5 - "${FOO=BAR}". ok 6 - "x${FOO=BAR}y". ok 7 - "${FOO}". ok 8 - "x${FOO}y". ok 9 - "x${FOO}y${FOO}z". ok 10 - "${FOO=BAR}". ok 11 - "x${FOO=BAR}y". ok 12 - "${FOO=${BAZ}}". ok 13 - "x${FOO=${BAZ}}y". ok 14 - "${BAR=${FOO}}". ok 15 - "x${BAR=${FOO}}y". ok 16 - "w${BAR=x${FOO}y}z". ok 17 - "${FOO}/${BAR}". ok 18 - "x${FOO}/${BAR}y". ok 19 - "${BAR=${FOO}}". ok 20 - "${${FOO}}". ok 21 - "x${${FOO}}y". ok 22 - "${${FOO}=GRIBBLE}". ok 23 - "x${${FOO}=GRIBBLE}y". ok 24 - "${${FOO}}". ok 25 - "${FOO}". ok 26 - "${FOO}". ok 27 - "${FOO}". ok 28 - "${FOO}". ok 29 - "${FOO}". ok 30 - "${FOO}". # Expect 3 warning messages here: macLib: macro FOO is undefined (expanding string ${FOO}) macLib: macro BAZ is undefined (expanding string ${FOO}) macLib: string ${FOO} is recursive (expanding environment variable FOO) ### ringPointerTestHost fill ring empty ring consumer starting main terminating ### epicsAlgorithmTest epicsMin, epicsMax and epicsSwap tested OK.