2021-11-22 15:35:36 |
Dirk Zimoch |
bug |
|
|
added bug |
2021-11-22 15:36:15 |
Dirk Zimoch |
summary |
Failing libCom tests on VxWorks |
Failing EPICS 7 libCom tests on VxWorks 6 |
|
2021-11-22 15:37:06 |
Dirk Zimoch |
summary |
Failing EPICS 7 libCom tests on VxWorks 6 |
Failing EPICS 7 libCom tests on VxWorks 6.7 |
|
2021-11-22 15:40:34 |
Dirk Zimoch |
description |
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! |
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 6.7 implementation of hostGetByName happily reads rubbish as the 4th numeric component as 0 and ignores any further componends. Fixed in vxWorks 6.9.
--------------
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! |
|
2021-11-22 15:42:48 |
Dirk Zimoch |
description |
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 6.7 implementation of hostGetByName happily reads rubbish as the 4th numeric component as 0 and ignores any further componends. Fixed in vxWorks 6.9.
--------------
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! |
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 6.7 implementation of hostGetByName happily reads rubbish as the 4th numeric component as 0 and ignores any further componends. Fixed in vxWorks 6.9.
--------------
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%
This test succeeds on VxWorks 6.9.
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! |
|
2021-11-22 15:50:57 |
Dirk Zimoch |
description |
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 6.7 implementation of hostGetByName happily reads rubbish as the 4th numeric component as 0 and ignores any further componends. Fixed in vxWorks 6.9.
--------------
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%
This test succeeds on VxWorks 6.9.
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! |
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%
Behaves differently when called from :
# System has 1 CPUs
ok 1 - ncpus > 0
# main() thread 0x539d10
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
ok 6 - pget == pset
ok 7 - thread.getPriority() == epicsThreadGetPriority(self)
ok 8 - pget == pset
ok 9 - thread.getPriority() == epicsThreadGetPriority(self)
ok 10 - pget == pset
ok 11 - thread.getPriority() == epicsThreadGetPriority(self)
not ok 12 - infoB.didSomething
not ok 13 - infoA.didSomething
ok 14 - threadA epicsThreadIsOkToBlock() = 0
Planned 15 tests but only ran 14
Results
=======
Tests: 14
Passed: 12 = 85.71%
Failed: 2 = 14.29%
ok 15 - threadB epicsThreadIsOkToBlock() = 1
Test results are counted before the test completes!
Why do test 14 and 15 only succeed when called from epicsRunLibComTests but fail when running epicsThreadTest directly?
--------------
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 6.7 implementation of hostGetByName happily reads rubbish as the 4th numeric component as 0 and ignores any further componends. Fixed in vxWorks 6.9.
--------------
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%
This test succeeds on VxWorks 6.9.
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! |
|
2021-11-22 15:51:06 |
Dirk Zimoch |
summary |
Failing EPICS 7 libCom tests on VxWorks 6.7 |
Failing EPICS 7 libCom tests on VxWorks 6.7 and 6.9 |
|
2021-11-22 16:04:55 |
Dirk Zimoch |
description |
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%
Behaves differently when called from :
# System has 1 CPUs
ok 1 - ncpus > 0
# main() thread 0x539d10
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
ok 6 - pget == pset
ok 7 - thread.getPriority() == epicsThreadGetPriority(self)
ok 8 - pget == pset
ok 9 - thread.getPriority() == epicsThreadGetPriority(self)
ok 10 - pget == pset
ok 11 - thread.getPriority() == epicsThreadGetPriority(self)
not ok 12 - infoB.didSomething
not ok 13 - infoA.didSomething
ok 14 - threadA epicsThreadIsOkToBlock() = 0
Planned 15 tests but only ran 14
Results
=======
Tests: 14
Passed: 12 = 85.71%
Failed: 2 = 14.29%
ok 15 - threadB epicsThreadIsOkToBlock() = 1
Test results are counted before the test completes!
Why do test 14 and 15 only succeed when called from epicsRunLibComTests but fail when running epicsThreadTest directly?
--------------
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 6.7 implementation of hostGetByName happily reads rubbish as the 4th numeric component as 0 and ignores any further componends. Fixed in vxWorks 6.9.
--------------
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%
This test succeeds on VxWorks 6.9.
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! |
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%
Behaves differently when called from :
# System has 1 CPUs
ok 1 - ncpus > 0
# main() thread 0x539d10
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
ok 6 - pget == pset
ok 7 - thread.getPriority() == epicsThreadGetPriority(self)
ok 8 - pget == pset
ok 9 - thread.getPriority() == epicsThreadGetPriority(self)
ok 10 - pget == pset
ok 11 - thread.getPriority() == epicsThreadGetPriority(self)
not ok 12 - infoB.didSomething
not ok 13 - infoA.didSomething
ok 14 - threadA epicsThreadIsOkToBlock() = 0
Planned 15 tests but only ran 14
Results
=======
Tests: 14
Passed: 12 = 85.71%
Failed: 2 = 14.29%
ok 15 - threadB epicsThreadIsOkToBlock() = 1
Test results are counted before the test completes!
Why do test 14 and 15 only succeed when called from epicsRunLibComTests but fail when running epicsThreadTest directly? Because the test passes a pointer to a local variable which already went out of scope before being used (because epicsThreadMustJoin did not work).
--------------
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 6.7 implementation of hostGetByName happily reads rubbish as the 4th numeric component as 0 and ignores any further componends. Fixed in vxWorks 6.9.
--------------
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%
This test succeeds on VxWorks 6.9.
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! |
|
2021-11-22 16:30:17 |
Dirk Zimoch |
description |
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%
Behaves differently when called from :
# System has 1 CPUs
ok 1 - ncpus > 0
# main() thread 0x539d10
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
ok 6 - pget == pset
ok 7 - thread.getPriority() == epicsThreadGetPriority(self)
ok 8 - pget == pset
ok 9 - thread.getPriority() == epicsThreadGetPriority(self)
ok 10 - pget == pset
ok 11 - thread.getPriority() == epicsThreadGetPriority(self)
not ok 12 - infoB.didSomething
not ok 13 - infoA.didSomething
ok 14 - threadA epicsThreadIsOkToBlock() = 0
Planned 15 tests but only ran 14
Results
=======
Tests: 14
Passed: 12 = 85.71%
Failed: 2 = 14.29%
ok 15 - threadB epicsThreadIsOkToBlock() = 1
Test results are counted before the test completes!
Why do test 14 and 15 only succeed when called from epicsRunLibComTests but fail when running epicsThreadTest directly? Because the test passes a pointer to a local variable which already went out of scope before being used (because epicsThreadMustJoin did not work).
--------------
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 6.7 implementation of hostGetByName happily reads rubbish as the 4th numeric component as 0 and ignores any further componends. Fixed in vxWorks 6.9.
--------------
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%
This test succeeds on VxWorks 6.9.
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! |
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%
Behaves differently when called from :
# System has 1 CPUs
ok 1 - ncpus > 0
# main() thread 0x539d10
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
ok 6 - pget == pset
ok 7 - thread.getPriority() == epicsThreadGetPriority(self)
ok 8 - pget == pset
ok 9 - thread.getPriority() == epicsThreadGetPriority(self)
ok 10 - pget == pset
ok 11 - thread.getPriority() == epicsThreadGetPriority(self)
not ok 12 - infoB.didSomething
not ok 13 - infoA.didSomething
ok 14 - threadA epicsThreadIsOkToBlock() = 0
Planned 15 tests but only ran 14
Results
=======
Tests: 14
Passed: 12 = 85.71%
Failed: 2 = 14.29%
ok 15 - threadB epicsThreadIsOkToBlock() = 1
Test results are counted before the test completes!
Why do test 14 and 15 only succeed when called from epicsRunLibComTests but fail when running epicsThreadTest directly? Because the test passes a pointer to a local variable which already went out of scope before being used (because epicsThreadMustJoin did not work).
--------------
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 6.7 implementation of hostGetByName happily reads rubbish as the 4th numeric component as 0 and ignores any further componends. Fixed in vxWorks 6.9.
--------------
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%
This is a result of previous epicsEnvUnset calls because vxWorks has no way to unset enviroment variables and thus the implementation deletes the name. This effectively creates a variable with empty name and thus ${} and ${=BAR} return an empty string.
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! |
|
2021-11-22 16:35:41 |
Dirk Zimoch |
description |
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%
Behaves differently when called from :
# System has 1 CPUs
ok 1 - ncpus > 0
# main() thread 0x539d10
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
ok 6 - pget == pset
ok 7 - thread.getPriority() == epicsThreadGetPriority(self)
ok 8 - pget == pset
ok 9 - thread.getPriority() == epicsThreadGetPriority(self)
ok 10 - pget == pset
ok 11 - thread.getPriority() == epicsThreadGetPriority(self)
not ok 12 - infoB.didSomething
not ok 13 - infoA.didSomething
ok 14 - threadA epicsThreadIsOkToBlock() = 0
Planned 15 tests but only ran 14
Results
=======
Tests: 14
Passed: 12 = 85.71%
Failed: 2 = 14.29%
ok 15 - threadB epicsThreadIsOkToBlock() = 1
Test results are counted before the test completes!
Why do test 14 and 15 only succeed when called from epicsRunLibComTests but fail when running epicsThreadTest directly? Because the test passes a pointer to a local variable which already went out of scope before being used (because epicsThreadMustJoin did not work).
--------------
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 6.7 implementation of hostGetByName happily reads rubbish as the 4th numeric component as 0 and ignores any further componends. Fixed in vxWorks 6.9.
--------------
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%
This is a result of previous epicsEnvUnset calls because vxWorks has no way to unset enviroment variables and thus the implementation deletes the name. This effectively creates a variable with empty name and thus ${} and ${=BAR} return an empty string.
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! |
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%
Behaves differently when called from :
# System has 1 CPUs
ok 1 - ncpus > 0
# main() thread 0x539d10
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
ok 6 - pget == pset
ok 7 - thread.getPriority() == epicsThreadGetPriority(self)
ok 8 - pget == pset
ok 9 - thread.getPriority() == epicsThreadGetPriority(self)
ok 10 - pget == pset
ok 11 - thread.getPriority() == epicsThreadGetPriority(self)
not ok 12 - infoB.didSomething
not ok 13 - infoA.didSomething
ok 14 - threadA epicsThreadIsOkToBlock() = 0
Planned 15 tests but only ran 14
Results
=======
Tests: 14
Passed: 12 = 85.71%
Failed: 2 = 14.29%
ok 15 - threadB epicsThreadIsOkToBlock() = 1
Test results are counted before the test completes!
Why do test 14 and 15 only succeed when called from epicsRunLibComTests but fail when running epicsThreadTest directly? Because the test passes a pointer to a local variable which already went out of scope before being used (because epicsThreadMustJoin did not work).
--------------
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 6.7 implementation of hostGetByName happily reads rubbish as the 4th numeric component as 0 and ignores any further components. Fixed in vxWorks 6.9.
--------------
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%
This is a result of previous epicsEnvUnset calls because vxWorks has no way to unset enviroment variables and thus the implementation deletes the name. This effectively creates a variable with empty name and thus ${} and ${=BAR} return an empty string.
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%
Even unsetting the variable will not help because of the vxWorks implementation of epicsEnvUnset. |
|
2021-11-22 16:36:15 |
Dirk Zimoch |
description |
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%
Behaves differently when called from :
# System has 1 CPUs
ok 1 - ncpus > 0
# main() thread 0x539d10
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
ok 6 - pget == pset
ok 7 - thread.getPriority() == epicsThreadGetPriority(self)
ok 8 - pget == pset
ok 9 - thread.getPriority() == epicsThreadGetPriority(self)
ok 10 - pget == pset
ok 11 - thread.getPriority() == epicsThreadGetPriority(self)
not ok 12 - infoB.didSomething
not ok 13 - infoA.didSomething
ok 14 - threadA epicsThreadIsOkToBlock() = 0
Planned 15 tests but only ran 14
Results
=======
Tests: 14
Passed: 12 = 85.71%
Failed: 2 = 14.29%
ok 15 - threadB epicsThreadIsOkToBlock() = 1
Test results are counted before the test completes!
Why do test 14 and 15 only succeed when called from epicsRunLibComTests but fail when running epicsThreadTest directly? Because the test passes a pointer to a local variable which already went out of scope before being used (because epicsThreadMustJoin did not work).
--------------
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 6.7 implementation of hostGetByName happily reads rubbish as the 4th numeric component as 0 and ignores any further components. Fixed in vxWorks 6.9.
--------------
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%
This is a result of previous epicsEnvUnset calls because vxWorks has no way to unset enviroment variables and thus the implementation deletes the name. This effectively creates a variable with empty name and thus ${} and ${=BAR} return an empty string.
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%
Even unsetting the variable will not help because of the vxWorks implementation of epicsEnvUnset. |
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%
Behaves differently when called from :
# System has 1 CPUs
ok 1 - ncpus > 0
# main() thread 0x539d10
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
ok 6 - pget == pset
ok 7 - thread.getPriority() == epicsThreadGetPriority(self)
ok 8 - pget == pset
ok 9 - thread.getPriority() == epicsThreadGetPriority(self)
ok 10 - pget == pset
ok 11 - thread.getPriority() == epicsThreadGetPriority(self)
not ok 12 - infoB.didSomething
not ok 13 - infoA.didSomething
ok 14 - threadA epicsThreadIsOkToBlock() = 0
Planned 15 tests but only ran 14
Results
=======
Tests: 14
Passed: 12 = 85.71%
Failed: 2 = 14.29%
ok 15 - threadB epicsThreadIsOkToBlock() = 1
Test results are counted before the test completes!
Why do test 14 and 15 only succeed when called from epicsRunLibComTests but fail when running epicsThreadTest directly? Because the test passes a pointer to a local variable which already went out of scope before being used (because epicsThreadMustJoin did not work).
--------------
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 6.7 implementation of hostGetByName happily reads rubbish as the 4th numeric component as 0 and ignores any further components. Fixed in vxWorks 6.9.
--------------
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%
This is a result of previous epicsEnvUnset calls because vxWorks has no way to unset enviroment variables and thus the implementation deletes the name. This effectively creates a variable with empty name and thus ${} and ${=BAR} return an empty string.
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% |
|
2021-11-24 12:37:03 |
rivers |
bug |
|
|
added subscriber rivers |