EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: R 3.14.8.2 on FreeBSD 6.x amd64
From: Artem Kazakov <[email protected]>
To: "Ernest L. Williams Jr." <[email protected]>
Cc: EPICS tech-talk <[email protected]>, [email protected]
Date: Thu, 26 Oct 2006 11:12:14 +0900
> Are you running EPICS in pure 64-bit mode?
> That is did you build EPICS as a 64-bit package or are you in 32-bit
> mode?
Yes I'm running EPICS in pure 64-bit mode.

> If you are truly running pure 64-bit, you should run all of the
> regression tests in EPICS BASE.  Also, you should check the EPICS
> extensions.
> 
Regression test log is in attachment. 
Looks fine, except this (I don't whether that is bad) 

#### epicsThreadPriorityTestHost
epicsEventTryWait did not return epicsEventWaitTimeout
Does not appear to support strict priority scheduling
Thread 50dc00 has exited with leftover thread-specific data after 4
destructor iterations

> The main problem I have now is with some of the EPICS extensions at run
> time.
>    --- alh (seg faults at run time)
>    --- StripTool (seg faults)
>    --- EDM  (works)
>    --- probe (works)
>    --- Channel Archiver (works)

With extensions I expereinced the same problem. Some of them were not
working.
Currently I primarly use this FreeBSD box for development and cross
compilation to RTEMS, so I do not actually use any extensions on this
box (except edm). 

Tyoma.
#### blockingSockTestHost
../blockingSockTest.cpp: server circuit was disconnected
../blockingSockTest.cpp: client circuit was disconnected
The local OS behaves like "esscimqi_socketBothShutdownRequired".
The epicsSocketSystemCallInterruptMechanismQuery() function returns
"esscimqi_socketBothShutdownRequired".

#### callbackTestHost
ThmyCallback requestedDiff 0.000000 diff 0.000085
myCallback requestedDiff 0.000000 diff 0.000324
myCallback requestedDiff 0.000000 diff 0.000032
myCallback requestedDiff 0.000000 diff 0.000030
myCallback requestedDiff 1.000000 diff 0.997974
myCallback requestedDiff 2.000000 diff 1.997446
callbackTest returning
main terminating
r
#### epicsEventTestHost
epicsEventWaitWithTimeout (   1.000000 ) tmo delay err   0.000299 sec
epicsEventWaitWithTimeout (   0.500000 ) tmo delay err   0.000855 sec
epicsEventWaitWithTimeout (   0.250000 ) tmo delay err   0.000975 sec
epicsEventWaitWithTimeout (   0.125000 ) tmo delay err   0.000989 sec
epicsEventWaitWithTimeout (   0.062500 ) tmo delay err   0.001451 sec
epicsEventWaitWithTimeout (   0.031250 ) tmo delay err   0.001744 sec
epicsEventWaitWithTimeout (   0.015625 ) tmo delay err   0.001330 sec
epicsEventWaitWithTimeout (   0.007812 ) tmo delay err   0.001178 sec
epicsEventWaitWithTimeout (   0.003906 ) tmo delay err   0.001062 sec
epicsEventWaitWithTimeout (   0.001953 ) tmo delay err   0.001032 sec
epicsEventWaitWithTimeout (   0.000977 ) tmo delay err   0.001025 sec
epicsEventWaitWithTimeout (   0.000488 ) tmo delay err   0.001496 sec
epicsEventWaitWithTimeout (   0.000244 ) tmo delay err   0.001747 sec
epicsEventWaitWithTimeout (   0.000122 ) tmo delay err   0.001891 sec
epicsEventWaitWithTimeout (   0.000061 ) tmo delay err   0.001911 sec
epicsEventWaitWithTimeout (   0.000031 ) tmo delay err   0.001964 sec
epicsEventWaitWithTimeout (   0.000015 ) tmo delay err   0.001974 sec
epicsEventWaitWithTimeout (   0.000008 ) tmo delay err   0.001985 sec
epicsEventWaitWithTimeout (   0.000004 ) tmo delay err   0.000009 sec
epicsEventWaitWithTimeout (   0.000002 ) tmo delay err   0.001053 sec
epicsEventWaitWithTimeout (   0.000000 ) tmo delay err   0.000011 sec
Average error 0.001237 sec
calling epicsEventWaitWithTimeout(event,2.0) time 1161826264
calling epicsEventTryWait(event) time 1161826266
calling epicsEventSignal() time 1161826266
calling epicsEventWaitWithTimeout(event,2.0) time 1161826266
calling epicsEventSignal() time 1161826266
calling epicsEventTryWait(event) time 1161826266
created producer 0 id 0x505f00 time 1161826266
created producer 1 id 0x528080 time 1161826266
consumer 0x505d80 starting time 1161826266
producer 0x505f00 starting time 1161826266
producer 0x505f00 sending
producer 0x528080 starting time 1161826266
producer 0x528080 sending
producer 0x528080 sending
producer 0x505f00 sending
consumer message from 0x505f00
consumer message from 0x528080
consumer message from 0x528080
consumer message from 0x505f00
producer 0x505f00 sending
producer 0x528080 sending
consumer message from 0x505f00
consumer message from 0x528080
producer 0x528080 sending
producer 0x505f00 sending
producer 0x528080 sending
consumer message from 0x528080
consumer message from 0x505f00
consumer message from 0x528080
producer 0x505f00 sending
consumer message from 0x505f00
semTest setting quit time 1161826271
producer 0x528080 returning time 1161826271
consumer 0x505d80 returning time 1161826271
producer 0x505f00 returning time 1161826271
semTest returning time 1161826274
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 nan 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 10 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 -- 5905 messages
Sender 2 -- 6076 messages
Sender 3 -- 6065 messages
Sender 4 -- 5977 messages

#### epicsMutexTestHost
One lock pair completes in 0.344823 micro sec
One double recursive lock pair completes in 0.615888 micro sec
One quad recursive lock pair completes in 1.243929 micro sec
calling epicsMutexLock(mutex) time 1161826610
calling epicsMutexTryLock(mutex) time 1161826610
epicsMutexId 0x504180 source ../epicsMutexTest.cpp line 264
ownerTid 0x50f000 count 2 owned 1
calling epicsMutexUnlock() time 1161826610
calling epicsMutexUnlock() time 1161826610
epicsMutexId 0x504180 source ../epicsMutexTest.cpp line 264
ownerTid 0x0 count 0 owned 0
semTest created mutexThread 0 id 0x505800 time 1161826610
semTest created mutexThread 1 id 0x505d00 time 1161826610
mutexThread 0 starting time 1161826610
mutexThread 0 epicsMutexLock time 1161826610
mutexThread 1 starting time 1161826610
mutexThread 1 epicsMutexLock time 1161826611
mutexThread 0 epicsMutexLock time 1161826611
mutexThread 1 epicsMutexLock time 1161826612
mutexThread 0 epicsMutexLock time 1161826612
mutexThread 1 epicsMutexLock time 1161826613
mutexThread 0 epicsMutexLock time 1161826613
mutexThread 1 epicsMutexLock time 1161826614
mutexThread 0 epicsMutexLock time 1161826614
mutexThread 1 epicsMutexLock time 1161826615
semTest setting quit time 1161826615
mutexThread 0 returning time 1161826615
mutexThread 1 returning time 1161826616
main terminating

#### epicsOkToBlockTestHost
thread threadA isOkToBlock 0
thread threadB isOkToBlock 1
thread threadB epicsThreadIsOkToBlock 1
thread threadA epicsThreadIsOkToBlock 0
main terminating

#### epicsStdioTestHost
at start buffer |*******************|
size 10 rtn 12 value 10 buffer |value is |
size 10 rtn 10 value 10 buffer |value:  1|
size 10 rtn 2 value 10 buffer |10|
at start buffer |*******************|
size 10 rtn 12 value 10 buffer |value is |
size 10 rtn 10 value 10 buffer |value:  1|
size 10 rtn 2 value 10 buffer |10|

Test epicsSetThreadStdout/epicsGetStdout stdout 0x800ca12f8 epicsGetStdout 0x800ca12f8
This is first line of sample report
This is second and last line of sample report
at end stdout 0x800ca12f8 epicsGetStdout 0x800ca12f8

#### epicsStringTestHost
String comparison tests completed.

#### epicsThreadPriorityTestHost
epicsEventTryWait did not return epicsEventWaitTimeout
Does not appear to support strict priority scheduling
Thread 50dc00 has exited with leftover thread-specific data after 4 destructor iterations

#### epicsThreadPrivateTestHost
It takes 0.012077 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 0x505800 old 0 new 0
testPriority thread
    id 0x505a00 old 50 new 99
It takes 0.022073 micro sec to call epicsThreadGetIdSelf ()
Estimating sleep quantum..........done
Estimating sleep quantum..........done
The epicsThreadSleepQuantum() call returns 0.007812 sec.
This doesnt match the quantum estimate of 0.003249 sec within 10%.
threadTest starting
threadTest created 0 myThread 0x523380
startPriority 50 minPriority 0 maxPriority 99
threadTest created 1 myThread 0x523880
threadFunc 0 starting argvalue 0x5130e0
threadFunc 1 starting argvalue 0x513110
            NAME     EPICS ID   PTHREAD ID   OSIPRI  OSSPRI  STATE
          _main_     0x505800            0      0       0       OK
          errlog     0x523200      5307392     10      15       OK
           task0     0x523700      5406720     50      15       OK
           task1     0x523c00      5407744     51      15       OK
threadFunc 0 stopping argvalue 0x5130e0
threadFunc 1 stopping argvalue 0x513110
epicsThreadTest returning
main terminating

#### epicsTimeTestHost
epicsTime Test (100 loops)
========================

Time per call to epicsTime::getCurrent() (100000 calls) =  1.925 usec

The following should be your local time
displayed using four different internal representations:

epicsTimeStamp = Thu Oct 26 10:37:11 2006
 582237253 nSec 
local time zone struct tm = Thu Oct 26 10:37:11 2006
 0.582237
struct timespec = Thu Oct 26 10:37:11 2006
 0.582237
UTC struct tm = Thu Oct 26 01:37:11 2006
 0.582237
epicsTime: Thu Oct 26 2006 10:37:11.582237253
epicsTime: revision "@(#) EPICS 3.14.8.2, Common Utilities Library Oct 26 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 = 0.4 s, error = -2.31789 ms (0.579473 %)
delay error > 0.5 %, delay = 0.3 s, error = -2.32166 ms (0.773888 %)
delay error > 0.5 %, delay = 0.2 s, error = -2.32488 ms (1.162438 %)
delay error > 0.5 %, delay = 0.1 s, error = -2.32893 ms (2.328927 %)
average timer delay error -2.284430 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
T
#### epicsAlgorithmTest
epicsMin, epicsMax and epicsSwap tested OK.

Replies:
Re: R 3.14.8.2 on FreeBSD 6.x amd64 Ernest L. Williams Jr.
References:
R 3.14.8.2 on FreeBSD 6.x amd64 Artem Kazakov
Re: R 3.14.8.2 on FreeBSD 6.x amd64 Ernest L. Williams Jr.

Navigate by Date:
Prev: adl2edl Eric Norum
Next: Re: R 3.14.8.2 on FreeBSD 6.x amd64 Ernest L. Williams Jr.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: R 3.14.8.2 on FreeBSD 6.x amd64 Ernest L. Williams Jr.
Next: Re: R 3.14.8.2 on FreeBSD 6.x amd64 Ernest L. Williams Jr.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·