### 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.000976 myCallback requestedDiff 0.000000 diff 0.000000 myCallback requestedDiff 1.000000 diff 1.032245 myCallback requestedDiff 2.000000 diff 2.247111 callbackTest returning main terminating ### epicsEventTestHost epicsEventWaitWithTimeout ( 1.000000 ) tmo delay err 0.166037 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.000002 sec epicsEventWaitWithTimeout ( 0.062500 ) tmo delay err 0.000002 sec epicsEventWaitWithTimeout ( 0.031250 ) tmo delay err 0.000000 sec epicsEventWaitWithTimeout ( 0.015625 ) tmo delay err 0.000000 sec epicsEventWaitWithTimeout ( 0.007812 ) tmo delay err 0.000001 sec epicsEventWaitWithTimeout ( 0.003906 ) tmo delay err 0.000977 sec epicsEventWaitWithTimeout ( 0.001953 ) tmo delay err 0.000977 sec epicsEventWaitWithTimeout ( 0.000977 ) tmo delay err 0.001952 sec epicsEventWaitWithTimeout ( 0.000488 ) tmo delay err 0.001466 sec epicsEventWaitWithTimeout ( 0.000244 ) tmo delay err 0.000732 sec epicsEventWaitWithTimeout ( 0.000122 ) tmo delay err 0.000855 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.000961 sec epicsEventWaitWithTimeout ( 0.000008 ) tmo delay err 0.000969 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.008512 sec calling epicsEventWaitWithTimeout(event,2.0) time 1142278638 calling epicsEventTryWait(event) time 1142278640 calling epicsEventSignal() time 1142278640 calling epicsEventWaitWithTimeout(event,2.0) time 1142278640 calling epicsEventSignal() time 1142278640 calling epicsEventTryWait(event) time 1142278640 created producer 0 id 140009f00 time 1142278640 created producer 1 id 14000a180 time 1142278640 consumer 140009c80 starting time 1142278640 producer 140009f00 starting time 1142278640 producer 140009f00 sending producer 14000a180 starting time 1142278640 producer 14000a180 sending producer 14000a180 sending consumer message from 140009f00 consumer message from 14000a180 consumer message from 14000a180 producer 140009f00 sending consumer message from 140009f00 producer 14000a180 sending producer 140009f00 sending consumer message from 14000a180 consumer message from 140009f00 producer 14000a180 sending consumer message from 14000a180 producer 140009f00 sending producer 14000a180 sending consumer message from 140009f00 consumer message from 14000a180 producer 140009f00 sending consumer message from 140009f00 semTest setting quit time 1142278645 producer 14000a180 returning time 1142278646 consumer 140009c80 returning time 1142278646 producer 140009f00 returning time 1142278646 semTest returning time 1142278649 main terminating ### epicsExceptionTestHost terminate called after throwing an instance of 'std::bad_alloc' terminate called recursively ### epicsExitTestHost thread threadA starting thread threadB starting thread threadA waiting for atExit thread threadB waiting for atExit main calling epicsExit thread threadB terminating thread threadA terminating ### epicsMathTestHost ### 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 -- 3849 messages Sender 2 -- 3865 messages Sender 3 -- 3731 messages Sender 4 -- 3787 messages ### epicsMutexTestHost One lock pair completes in 2.236370 micro sec One double recursive lock pair completes in 2.343790 micro sec One quad recursive lock pair completes in 4.267660 micro sec calling epicsMutexLock(mutex) time 1142278996 calling epicsMutexTryLock(mutex) time 1142278996 epicsMutexId 14000b860 source ../epicsMutexTest.cpp line 264 ownerTid 3ffc01b6000 count 2 owned 1 calling epicsMutexUnlock() time 1142278996 calling epicsMutexUnlock() time 1142278996 epicsMutexId 14000b860 source ../epicsMutexTest.cpp line 264 ownerTid 0 count 0 owned 0 semTest created mutexThread 0 id 140009c80 time 1142278996 semTest created mutexThread 1 id 140009f00 time 1142278996 mutexThread 0 starting time 1142278996 mutexThread 0 epicsMutexLock time 1142278996 mutexThread 1 starting time 1142278996 mutexThread 1 epicsMutexLock time 1142278996 mutexThread 0 epicsMutexLock time 1142278998 mutexThread 1 epicsMutexLock time 1142278998 mutexThread 0 epicsMutexLock time 1142278999 mutexThread 1 epicsMutexLock time 1142278999 mutexThread 0 epicsMutexLock time 1142279000 mutexThread 1 epicsMutexLock time 1142279000 mutexThread 0 epicsMutexLock time 1142279001 mutexThread 1 epicsMutexLock time 1142279001 semTest setting quit time 1142279001 mutexThread 0 returning time 1142279002 mutexThread 1 returning time 1142279003 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.136730 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 140009b40 old 0 new 0 testPriority thread id 140009c80 old 50 new 99 It takes 0.224610 micro sec to call epicsThreadGetIdSelf () Estimating sleep quantum..........done Estimating sleep quantum..........done The epicsThreadSleepQuantum() call returns 0.016667 sec. This doesnt match the quantum estimate of 0.002138 sec within 10%. threadTest starting threadTest created 0 myThread 140009f00 startPriority 50 minPriority 0 maxPriority 99 threadTest created 1 myThread 140009f50 threadFunc 0 starting argvalue 140033140 threadFunc 1 starting argvalue 1400386a0 NAME EPICS ID PTHREAD ID OSIPRI OSSPRI STATE _main_ 140009b40 0 0 0 OK errlog 140009c80 2199034098496 10 19 OK task0 14000a040 2199039537984 50 19 OK task1 14000a2c0 2199039701824 51 19 OK threadFunc 0 stopping argvalue 140033140 threadFunc 1 stopping argvalue 1400386a0 epicsThreadTest returning main terminating ### epicsTimeTestHost epicsTime Test (100 loops) ======================== Time per call to epicsTime::getCurrent() (100000 calls) = 0.781 usec The following should be your local time displayed using four different internal representations: epicsTimeStamp = Tue Mar 14 04:43:41 2006 746654000 nSec local time zone struct tm = Tue Mar 14 04:43:41 2006 0.746654 struct timespec = Tue Mar 14 04:43:41 2006 0.746654 UTC struct tm = Mon Mar 13 19:43:41 2006 0.746654 epicsTime: Tue Mar 14 2006 04:43:41.746654000 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.9 s, error = 53.178 ms (2.798842 %) delay error > 0.5 %, delay = 1.8 s, error = 153.178 ms (8.509889 %) delay error > 0.5 %, delay = 1.7 s, error = 253.178 ms (14.892824 %) delay error > 0.5 %, delay = 1.6 s, error = -8.157 ms (0.509813 %) delay error > 0.5 %, delay = 1.5 s, error = -7.768 ms (0.517867 %) delay error > 0.5 %, delay = 1.4 s, error = 14.106 ms (1.007571 %) delay error > 0.5 %, delay = 1.3 s, error = 114.106 ms (8.777385 %) delay error > 0.5 %, delay = 1.2 s, error = 214.106 ms (17.842167 %) delay error > 0.5 %, delay = 1.1 s, error = -8.166 ms (0.742364 %) delay error > 0.5 %, delay = 1 s, error = -7.777 ms (0.777700 %) 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 = -6.42 ms (1.605000 %) delay error > 0.5 %, delay = 0.3 s, error = -7.985 ms (2.661667 %) delay error > 0.5 %, delay = 0.2 s, error = -7.596 ms (3.798000 %) delay error > 0.5 %, delay = 0.1 s, error = -8.184 ms (8.184000 %) average timer delay error 26.369680 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.