- **status**: review --> fixed
- **Comment**:

default(5.2) [staging:e5f162]
changeset:   8020:e5f162184bbd
user:        Hung Nguyen <[email protected]>
date:        Fri Aug 26 13:29:26 2016 +0700
summary:     imm: Remove the poll timeout in IMM testcases [#1970]

opensaf-5.1.x  [staging:68b29a]
changeset:   8021:68b29ac33324
user:        Hung Nguyen <[email protected]>
date:        Fri Aug 26 13:29:26 2016 +0700
summary:     imm: Remove the poll timeout in IMM testcases [#1970]

opensaf-5.0.x  [staging:2139f3]
changeset:   8022:2139f3e6b37b
user:        Hung Nguyen <[email protected]>
date:        Fri Aug 26 13:29:26 2016 +0700
summary:     imm: Remove the poll timeout in IMM testcases [#1970]

opensaf-4.7.x  [staging:eef359]
changeset:   8023:eef3593c3597
user:        Hung Nguyen <[email protected]>
date:        Fri Aug 26 13:29:26 2016 +0700
summary:     imm: Remove the poll timeout in IMM testcases [#1970]




---

** [tickets:#1970] imm: immoitest testsuite 4 fails when CCB takes more than 2 
seconds to commit**

**Status:** fixed
**Milestone:** 4.7.2
**Created:** Thu Aug 25, 2016 06:09 AM UTC by Hung Nguyen
**Last Updated:** Sun Aug 28, 2016 06:25 AM UTC
**Owner:** Hung Nguyen


In classImplementerThreadMain(), poll() was invoked with timeout of 2 seconds.
The test uses that timeout to stop the thread (i.e stopping the thread when 
there's no callback in 2 seconds).
But that also causes:
* The testcase fails if pbe takes more than 2 seconds to dump. The while() loop 
stops after 2 seconds but then it fails to release the implementer name as the 
ccb is still active.
* The testcase is slow because it has to wait for 2 seconds to stop the thread.

~~~
2016-08-02 21:45:43 SC-2 osafimmnd[437]: NO Create of class TestClassConfig is 
PERSISTENT.
2016-08-02 21:45:43 SC-2 osafimmnd[437]: NO Create of class TestClassRuntime is 
PERSISTENT.
2016-08-02 21:45:43 SC-2 osafimmnd[437]: NO Ccb 4925 COMMITTED (startup)
2016-08-02 21:45:43 SC-2 osafimmnd[437]: NO Ccb 4926 COMMITTED (om_setup)
2016-08-02 21:45:43 SC-2 osafimmnd[437]: NO Ccb 4927 COMMITTED (om_setup)
2016-08-02 21:45:43 SC-2 osafimmnd[437]: NO Implementer connected: 312 
(classImplementerThreadMain) <1170, 2020f>
2016-08-02 21:45:43 SC-2 osafimmnd[437]: NO implementer for class 
'TestClassConfig' is classImplementerThreadMain => 
class extent is safe.
2016-08-02 21:45:46 SC-2 osafimmnd[437]: NO ERR_BUSY: ccb 4928 is active on 
object Obj1,rdn=root of class 
TestClassConfig. Can not release class implementer
2016-08-02 21:45:46 SC-2 osafimmnd[437]: NO Implementer locally disconnected. 
Marking it as doomed 312 <1170, 2020f> 
(classImplementerThreadMain)
2016-08-02 21:45:46 SC-2 osafimmnd[437]: WA CCB 4928 is in critical state, can 
not abort
2016-08-02 21:45:46 SC-2 osafimmnd[437]: WA Will not terminate ccb 4928 in 
critical state 
~~~




---

Sent from sourceforge.net because [email protected] is 
subscribed to https://sourceforge.net/p/opensaf/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/opensaf/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to