Requested Tests with unexpected behaviour on OSX

Bug #1578125 reported by Heinz Junkes
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
EPICS Base
Won't Fix
Undecided
Unassigned

Bug Description

Run the requested Tests on OSX. Just a "report". I have not dig into the code already.

$ uname -a
Darwin h.local 15.4.0 Darwin Kernel Version 15.4.0: Fri Feb 26 22:08:05 PST 2016; root:xnu-3248.40.184~3/RELEASE_X86_64 x86_64

with the following network interfaces:

$ ifconfig -a
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
 options=3<RXCSUM,TXCSUM>
 inet6 ::1 prefixlen 128
 inet 127.0.0.1 netmask 0xff000000
 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
 nd6 options=1<PERFORMNUD>
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
stf0: flags=0<> mtu 1280
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
 ether a8:66:7f:1a:60:f8
 inet6 fe80::aa66:7fff:fe1a:60f8%en0 prefixlen 64 scopeid 0x4
 inet 172.16.33.168 netmask 0xfffffc00 broadcast 172.16.35.255
 nd6 options=1<PERFORMNUD>
 media: autoselect
 status: active
p2p0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 2304
 ether 0a:66:7f:1a:60:f8
 media: autoselect
 status: inactive
awdl0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1484
 ether 3e:74:90:58:1a:b4
 inet6 fe80::3c74:90ff:fe58:1ab4%awdl0 prefixlen 64 scopeid 0x6
 nd6 options=1<PERFORMNUD>
 media: autoselect
 status: active
utun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500
 inet6 fe80::1006:7790:79a7:bf0a%utun0 prefixlen 64 scopeid 0x7
 nd6 options=1<PERFORMNUD>
en3: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
 options=4<VLAN_MTU>
 ether 58:55:ca:23:91:47
 inet6 fe80::5a55:caff:fe23:9147%en3 prefixlen 64 scopeid 0x9
 inet 10.20.30.40 netmask 0xffffff00 broadcast 10.20.30.255
 nd6 options=1<PERFORMNUD>
 media: autoselect (100baseTX <full-duplex,flow-control>)
 status: active

Test 1: (ok)

Test1:

h:base-3.15.4-pre1 heinz$ ./bin/darwin-x86/softIoc -d test.db
Starting iocInit
############################################################################
## EPICS R3.15.4-pre1 $$Date$$
## EPICS Base built Apr 30 2016
############################################################################
Forward-link uses Channel Access without pointing to PROC field
    test.FLNK => invalid
iocRun: All initialization complete
epics> epicsParamShow
EPICS_CA_ADDR_LIST is undefined
EPICS_CA_CONN_TMO: 30.0
EPICS_CA_AUTO_ADDR_LIST: YES
EPICS_CA_REPEATER_PORT: 5065
EPICS_CA_SERVER_PORT: 5064
EPICS_CA_MAX_ARRAY_BYTES: 16384
EPICS_CA_MAX_SEARCH_PERIOD: 300.0
EPICS_CA_NAME_SERVERS is undefined
EPICS_CAS_INTF_ADDR_LIST is undefined
EPICS_CAS_IGNORE_ADDR_LIST is undefined
EPICS_CAS_AUTO_BEACON_ADDR_LIST is undefined
EPICS_CAS_BEACON_ADDR_LIST is undefined
EPICS_CAS_SERVER_PORT is undefined
EPICS_CA_BEACON_PERIOD: 15.0
EPICS_CAS_BEACON_PERIOD is undefined
EPICS_CAS_BEACON_PORT is undefined
EPICS_BUILD_COMPILER_CLASS: clang
EPICS_BUILD_OS_CLASS: Darwin
EPICS_BUILD_TARGET_ARCH: darwin-x86
EPICS_TIMEZONE: CST/CDT::360:030802:110102
EPICS_TS_NTP_INET is undefined
EPICS_IOC_LOG_PORT: 7004
EPICS_IOC_LOG_INET is undefined
EPICS_IOC_LOG_FILE_LIMIT: 1000000
EPICS_IOC_LOG_FILE_NAME is undefined
EPICS_IOC_LOG_FILE_COMMAND is undefined
EPICS_CMD_PROTO_PORT is undefined
EPICS_AR_PORT: 7002
IOCSH_PS1: epics>
IOCSH_HISTSIZE: 50
epics>

h:base-3.15.4-pre1 heinz$ ./bin/darwin-x86/caget test
CA.Client.Exception...............................................
    Warning: "Identical process variable names on multiple servers"
    Context: "Channel: "test", Connecting to: 172.16.33.168:5064, Ignored: 10.20.30.40:5064"
    Source File: ../cac.cpp line 1298
    Current Time: Wed May 04 2016 09:54:00.908897000
..................................................................
test 29

!!no local addresses ...
epics> casr 1
Channel Access Server V4.13
No clients connected.
CAS-TCP server on 0.0.0.0:5064 with
    CAS-UDP name server on 0.0.0.0:5064
Sending CAS-beacons to 2 addresses:
    172.16.35.255:5065
    10.20.30.255:5065

!! no local addresses ...
dbcar "" 8
...
Search Destination List with 2 items
UDP Search destination "172.16.35.255:5064"
UDP Search destination "10.20.30.255:5064"

Test 2: (unexpected behaviour, not bound to EPICS_CA_ADDR_LIST only)

h:base-3.15.4-pre1 heinz$ EPICS_CA_ADDR_LIST=10.20.30.255
h:base-3.15.4-pre1 heinz$ EPICS_CA_AUTO_ADDR_LIST=NO
h:base-3.15.4-pre1 heinz$ ./bin/darwin-x86/softIoc -d test.db
Starting iocInit
############################################################################
## EPICS R3.15.4-pre1 $$Date$$
## EPICS Base built Apr 30 2016
############################################################################
Forward-link uses Channel Access without pointing to PROC field
    test.FLNK => invalid
iocRun: All initialization complete

h:base-3.15.4-pre1 heinz$ EPICS_CA_ADDR_LIST=10.20.30.255
h:base-3.15.4-pre1 heinz$ EPICS_CA_AUTO_ADDR_LIST=NO
h:base-3.15.4-pre1 heinz$ ./bin/darwin-x86/caget test
test 59
CA.Client.Exception...............................................
    Warning: "Identical process variable names on multiple servers"
    Context: "Channel: "test", Connecting to: 172.16.33.168:5064, Ignored: 10.20.30.40:5064"
    Source File: ../cac.cpp line 1298
    Current Time: Wed May 04 2016 10:02:29.423177000
..................................................................

h:base-3.15.4-pre1 heinz$ EPICS_CA_ADDR_LIST=172.16.33.255
h:base-3.15.4-pre1 heinz$ EPICS_CA_AUTO_ADDR_LIST=NO
h:base-3.15.4-pre1 heinz$ ./bin/darwin-x86/caget test
test 208
CA.Client.Exception...............................................
    Warning: "Identical process variable names on multiple servers"
    Context: "Channel: "test", Connecting to: 172.16.33.168:5064, Ignored: 10.20.30.40:5064"
    Source File: ../cac.cpp line 1298
    Current Time: Wed May 04 2016 10:04:58.759717000
..................................................................

Revision history for this message
Ralph Lange (ralph-lange) wrote :

Please try either
    $ export EPICS_CA_ADDR_LIST=172.16.33.255
    $ export EPICS_CA_AUTO_ADDR_LIST=NO
    $ ./bin/darwin-x86/caget test

or
    $ EPICS_CA_ADDR_LIST=172.16.33.255 EPICS_CA_AUTO_ADDR_LIST=NO ./bin/darwin-x86/caget test

Revision history for this message
Heinz Junkes (junkes) wrote : Re: [Bug 1578125] Requested Tests with unexpected behaviour on OSX
Download full text (7.0 KiB)

Sorry for that.

I felt certain that I have checked it with exporting the environment variables …

But now I could’nt find it in my records.

And you have right it works as it should.. will continue with the other tests ;-)

Heinz

> On 04 May 2016, at 11:18, Ralph Lange <email address hidden> wrote:
>
> Please try either
> $ export EPICS_CA_ADDR_LIST=172.16.33.255
> $ export EPICS_CA_AUTO_ADDR_LIST=NO
> $ ./bin/darwin-x86/caget test
>
> or
> $ EPICS_CA_ADDR_LIST=172.16.33.255 EPICS_CA_AUTO_ADDR_LIST=NO ./bin/darwin-x86/caget test
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1578125
>
> Title:
> Requested Tests with unexpected behaviour on OSX
>
> Status in EPICS Base:
> New
>
> Bug description:
> Run the requested Tests on OSX. Just a "report". I have not dig into
> the code already.
>
> $ uname -a
> Darwin h.local 15.4.0 Darwin Kernel Version 15.4.0: Fri Feb 26 22:08:05 PST 2016; root:xnu-3248.40.184~3/RELEASE_X86_64 x86_64
>
> with the following network interfaces:
>
> $ ifconfig -a
> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
> options=3<RXCSUM,TXCSUM>
> inet6 ::1 prefixlen 128
> inet 127.0.0.1 netmask 0xff000000
> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
> nd6 options=1<PERFORMNUD>
> gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
> stf0: flags=0<> mtu 1280
> en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> ether a8:66:7f:1a:60:f8
> inet6 fe80::aa66:7fff:fe1a:60f8%en0 prefixlen 64 scopeid 0x4
> inet 172.16.33.168 netmask 0xfffffc00 broadcast 172.16.35.255
> nd6 options=1<PERFORMNUD>
> media: autoselect
> status: active
> p2p0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 2304
> ether 0a:66:7f:1a:60:f8
> media: autoselect
> status: inactive
> awdl0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1484
> ether 3e:74:90:58:1a:b4
> inet6 fe80::3c74:90ff:fe58:1ab4%awdl0 prefixlen 64 scopeid 0x6
> nd6 options=1<PERFORMNUD>
> media: autoselect
> status: active
> utun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500
> inet6 fe80::1006:7790:79a7:bf0a%utun0 prefixlen 64 scopeid 0x7
> nd6 options=1<PERFORMNUD>
> en3: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> options=4<VLAN_MTU>
> ether 58:55:ca:23:91:47
> inet6 fe80::5a55:caff:fe23:9147%en3 prefixlen 64 scopeid 0x9
> inet 10.20.30.40 netmask 0xffffff00 broadcast 10.20.30.255
> nd6 options=1<PERFORMNUD>
> media: autoselect (100baseTX <full-duplex,flow-control>)
> status: active
>
>
> Test 1: (ok)
>
> Test1:
>
> h:base-3.15.4-pre1 heinz$ ./bin/darwin-x86/softIoc -d test.db
> Starting iocInit
> ############################################################################
> ## EPICS R3.15.4-pre1 $$Date$$
> ## EPICS Base built Apr 30 2016
> ############################################################################
> Forward-link uses Channel Access without pointing to PROC field
> test.FLNK => invalid
> iocRun: All initialization complete
> epics> epicsParamShow
> EPICS_CA_ADDR_LIST is undefined
> EPICS_CA_CONN...

Read more...

Revision history for this message
Andrew Johnson (anj) wrote :

Is this still a bug? Please close it if not...

Changed in epics-base:
status: New → Incomplete
Andrew Johnson (anj)
Changed in epics-base:
status: Incomplete → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.