Menu

#197 admin operation on second entity fails when response to first admin operation is with held and sent later

5.18.09
fixed
None
defect
plm
d
4.1.0
major
False
2018-09-18
2013-05-14
No

Issued admin lock operation with trylock option on three entities
a) safEE=PL-5,safHE=4555_slot_5,safDomain=domain_1
b) safEE=PL-12,safHE=7220_slot_13,safDomain=domain_1
c) safEE=PL-13,safHE=7220_slot_1,safDomain=domain_1
The test application did not give response to any one of the lock operations immediatley. Instead it waited for all admin operations to get started.
After all the admin operations got invoked, response is sent as each callback is processed.
So, the scenario is such that, 3 validate callbacks are in the mail box and the testing application has processed all the 3 validate callbacks
But lock operation pertaining to safEE=PL-5,safHE=4555_slot_5,safDomain=domain_1 is processed.
Following is the snippet for the corresponding failure in admin operations.
Jan 22 11:09:03 localhost osafplmd[3988]: Invocation id mentioned in the resp, is not found in the grp->inocation_list. inv_id: 9
Jan 22 11:09:07 localhost osafplmd[3988]: Invocation id mentioned in the resp, is not found in the grp->inocation_list. inv_id: 12
Breakpoint 1, pycbk_SaPlmReadinessTrackCallbackT (entityGroupHandle=36, trackCookie=100, invocation=6, cause=SA_PLM_CAUSE_LOCK,
rootCauseEntity=0xac003bd0, rootCorrelationId=0, trackedEntities=0xac003cdc, step=SA_PLM_CHANGE_VALIDATE, error1=SA_AIS_OK)
at saPlm_wrap.c:2838
2838 in saPlm_wrap.c
(gdb) c
Continuing.
***PLM CALLBACK******
cookie—> 100
cause—-> SA_PLM_CAUSE_LOCK (2)
root_cause_entity—-> safEE=PL-5,safHE=4555_slot_5,safDomain=domain_1
step—> SA_PLM_CHANGE_VALIDATE (1)
error—> 1
num_tracked_entities—> 1
entity—> safEE=PL-5,safHE=4555_slot_5,safDomain=domain_1
entity change —> SA_PLM_GROUP_MEMBER_READINESS_CHANGE (4)
Current_RStatus —> ('IN_SERVICE', 0)
Expected_RStatus —> ('OUT_OF_SERVICE', 0)
Invoking the function <built-in function="" saPlmReadinessTrackResponse=""> with the arguments (36L, 6L, 1)
('Return Value of the function : <—', 1)
********
Breakpoint 1, pycbk_SaPlmReadinessTrackCallbackT (entityGroupHandle=36, trackCookie=100, invocation=9, cause=SA_PLM_CAUSE_LOCK,
rootCauseEntity=0xac004c38, rootCorrelationId=0, trackedEntities=0xac004d44, step=SA_PLM_CHANGE_VALIDATE, error1=SA_AIS_OK)
at saPlm_wrap.c:2838
2838 in saPlm_wrap.c
(gdb) c
Continuing.
*****PLM CALLBACK***
cookie—> 100
cause—-> SA_PLM_CAUSE_LOCK (2)
root_cause_entity—-> safEE=PL-12,safHE=7220_slot_13,safDomain=domain_1
step—> SA_PLM_CHANGE_VALIDATE (1)
error—> 1
num_tracked_entities—> 1
entity—> safEE=PL-12,safHE=7220_slot_13,safDomain=domain_1
entity change —> SA_PLM_GROUP_MEMBER_READINESS_CHANGE (4)
Current_RStatus —> ('IN_SERVICE', 0)
Expected_RStatus —> ('OUT_OF_SERVICE', 0)
Invoking the function <built-in function="" saPlmReadinessTrackResponse=""> with the arguments (36L, 9L, 1)
('Return Value of the function : <—', 1)
********
Breakpoint 1, pycbk_SaPlmReadinessTrackCallbackT (entityGroupHandle=36, trackCookie=100, invocation=12, cause=SA_PLM_CAUSE_LOCK,
rootCauseEntity=0xac005dd0, rootCorrelationId=0, trackedEntities=0xac005edc, step=SA_PLM_CHANGE_VALIDATE, error1=SA_AIS_OK)
at saPlm_wrap.c:2838
2838 in saPlm_wrap.c
(gdb) c
Continuing.
*****PLM CALLBACK***
cookie—> 100
cause—-> SA_PLM_CAUSE_LOCK (2)
root_cause_entity—-> safEE=PL-13,safHE=7220_slot_1,safDomain=domain_1
step—> SA_PLM_CHANGE_VALIDATE (1)
error—> 1
num_tracked_entities—> 1
entity—> safEE=PL-13,safHE=7220_slot_1,safDomain=domain_1
entity change —> SA_PLM_GROUP_MEMBER_READINESS_CHANGE (4)
Current_RStatus —> ('IN_SERVICE', 0)
Expected_RStatus —> ('OUT_OF_SERVICE', 0)
Invoking the function <built-in function="" saPlmReadinessTrackResponse=""> with the arguments (36L, 12L, 1)
('Return Value of the function : <—', 1)
********
Breakpoint 1, pycbk_SaPlmReadinessTrackCallbackT (entityGroupHandle=36, trackCookie=100, invocation=15, cause=SA_PLM_CAUSE_LOCK,
rootCauseEntity=0xac003bd0, rootCorrelationId=0, trackedEntities=0xac003cdc, step=SA_PLM_CHANGE_START, error1=SA_AIS_OK)
at saPlm_wrap.c:2838
2838 in saPlm_wrap.c
(gdb) c
Continuing.
*****PLM CALLBACK***
cookie—> 100
cause—-> SA_PLM_CAUSE_LOCK (2)
root_cause_entity—-> safEE=PL-5,safHE=4555_slot_5,safDomain=domain_1
step—> SA_PLM_CHANGE_START (2)
error—> 1
num_tracked_entities—> 1
entity—> safEE=PL-5,safHE=4555_slot_5,safDomain=domain_1
entity change —> SA_PLM_GROUP_MEMBER_READINESS_CHANGE (4)
Current_RStatus —> ('IN_SERVICE', 0)
Expected_RStatus —> ('OUT_OF_SERVICE', 0)
Invoking the function <built-in function="" saPlmReadinessTrackResponse=""> with the arguments (36L, 15L, 1)
('Return Value of the function : <—', 1)
********
*

Related

Wiki: ChangeLog-5.18.09

Discussion

  • Anders Bjornerstedt

    • Type: defect --> enhancement
     
  • Alex Jones

    Alex Jones - 2018-09-12
    • status: unassigned --> accepted
    • assigned_to: Alex Jones
    • Type: enhancement --> defect
    • Blocker: --> False
     
  • Alex Jones

    Alex Jones - 2018-09-14
    • status: accepted --> review
    • Part: - --> d
    • Milestone: future --> 5.18.09
     
  • Alex Jones

    Alex Jones - 2018-09-18
    • status: review --> fixed
     
  • Alex Jones

    Alex Jones - 2018-09-18

    commit 71ae0d38c03d3fd46c1ba8742ece7511ba8ac23b (HEAD -> develop, origin/develop)
    Author: Alex Jones ajones@rbbn.com
    Date: Tue Sep 18 09:54:59 2018 -0400

     

Log in to post a comment.