Comment 0 for bug 1951848

Revision history for this message
Dirk Zimoch (dirk.zimoch) wrote : Failing libCom tests on VxWorks

epicsThreadTest

# System has 1 CPUs
ok 1 - ncpus > 0
# main() thread 0x581810
not ok 2 - Join delayed parent (0 seconds) # TODO Thread join doesn't work
ok 3 - Join tests #1 completed
not ok 4 - Join delayed parent (0 seconds) # TODO Thread join doesn't work
ok 5 - Join tests #2 completed
not ok 12 - infoB.didSomething
not ok 13 - infoA.didSomething
not ok 14 - threadA epicsThreadIsOkToBlock() = 88
not ok 15 - threadB epicsThreadIsOkToBlock() = 7001716

    Results
    =======
       Tests: 15
      Passed: 11 = 73.33%
      Failed: 4 = 26.67%

--------------

epicsEventTest (TODO)

not ok 16 - epicsEventWaitWithTimeout(0.125000) delay error -0.008332 sec # TODO Known issue with delay calculation
not ok 17 - epicsEventWaitWithTimeout(0.062500) delay error -0.012501 sec # TODO Known issue with delay calculation
not ok 18 - epicsEventWaitWithTimeout(0.031250) delay error -0.014585 sec # TODO Known issue with delay calculation

    Results
    =======
       Tests: 37
      Passed: 37 = 100.00%
 Todo Passes: 19 = 51.35%

--------------

epicsSockResolveTest

not ok 26 - aToIPAddr("127.0.0.test", 4000) -> 0
# IP=0x7f000000, port=4000
not ok 27 - aToIPAddr("127.0.0.test:42", 4000) -> 0
# IP=0x7f000000, port=42
not ok 30 - aToIPAddr("1.2.3.4.5", 4000) -> 0
# IP=0x1020304, port=4000
not ok 31 - aToIPAddr("1.2.3.4.5:6", 4000) -> 0
# IP=0x1020304, port=6

    Results
    =======
       Tests: 37
      Passed: 33 = 89.19%
      Failed: 4 = 10.81%

This fails because the VxWorks implementation of hostGetByName happily reads rubbish as the 4th numeric component as 0 and ignores any further componends.

--------------

epicsStdioTest (not really a bug: r/o NFS mount)

not ok 152 - (stream = fopen(report, "w")) != NULL
# 'report' could not be opened for writing: S_nfsLib_NFSERR_ROFS
ok 153 # SKIP Can't create stream file
ok 154 # SKIP Can't create stream file
ok 155 # SKIP Can't create stream file
ok 156 # SKIP Can't create stream file
ok 157 # SKIP Can't create stream file
ok 158 # SKIP Can't create stream file
ok 159 # SKIP Can't create stream file
ok 160 # SKIP Can't create stream file
ok 161 # SKIP Can't create stream file
ok 162 # SKIP Can't create stream file
ok 163 # SKIP Can't create stream file

    Results
    =======
       Tests: 163
      Passed: 162 = 99.39%
      Failed: 1 = 0.61%
     Skipped: 11 = 6.75%

--------------

macDefExpandTest

# Got "", expected "BAR".

not ok 27 - ${=BAR}
# Got "xy", expected "xBARy".

not ok 28 - x${=BAR}y

    Results
    =======
       Tests: 97
      Passed: 95 = 97.94%
      Failed: 2 = 2.06%

Running this test a second time fails more often because some environment variables are now defined, e.g.
not ok 77 - Macro F is 6, expected undefined

    Results
    =======
       Tests: 97
      Passed: 79 = 81.44%
      Failed: 18 = 18.56%

The test should unset all environment variables which it expects to be unset!