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


---

** [tickets:#3059] mdstest: some test cases fail with tipc transportation**

**Status:** fixed
**Milestone:** 5.19.10
**Created:** Tue Jul 16, 2019 09:35 AM UTC by Thuan
**Last Updated:** Mon Jul 22, 2019 11:56 PM UTC
**Owner:** Thuan
**Attachments:**

- 
[mds_13_12_err.log](https://sourceforge.net/p/opensaf/tickets/3059/attachment/mds_13_12_err.log)
 (126.9 kB; application/octet-stream)
- 
[mds_13_12_ok.log](https://sourceforge.net/p/opensaf/tickets/3059/attachment/mds_13_12_ok.log)
 (143.9 kB; application/octet-stream)


======================= Test failure log ==================================
Command: 'mdstest 13 12'
rc: 255 - output: 
Suite 13: Direct Just Send test cases
/ntet_initialise_setup: Get an ADEST handle,Create PWE=2 on ADEST,Install 
EXTMIN and INTMIN svc on ADEST,Install INTMIN,EXTMIN services on ADEST's PWE=2,
Create VDEST 100 and VDEST 200,Change the role of VDEST 200 to ACTIVE, 
        Install EXTMIN  service on VDEST 100,Install INTMIN, EXTMIN services on 
VDEST 200 

ADEST <2010f309e2a49 > : GET_HDLS is SUCCESSFUL
 100 : VDEST_CREATE is SUCCESSFUL
 200 : VDEST_CREATE is SUCCESSFUL
VDEST_CHANGE ROLE to 1 is SUCCESSFULL
PWE_CREATE is SUCCESSFUL : PWE = 2
 256 : SERVICE INSTALL is SUCCESSFULL
 512 : SERVICE INSTALL is SUCCESSFULL
 256 : SERVICE INSTALL is SUCCESSFULL
 512 : SERVICE INSTALL is SUCCESSFULL
 512 : SERVICE INSTALL is SUCCESSFULL
 256 : SERVICE INSTALL is SUCCESSFULL
 512 : SERVICE INSTALL is SUCCESSFULL
 MDS SERVICE SUBSCRIBE is SUCCESSFULL
 MDS RETRIEVE is SUCCESSFULL
Test Case 12: While Await Active Timer ON: Direct send a Low Priority message 
to Svc EXTMIN on Vdest=200

VDEST_CHANGE ROLE to 2 is SUCCESSFULL
Request to ncsmds_api: MDS DIRECT SEND has FAILED



======================= Analysis ==================================
OK Flow

//subcribe 512
up 512 (vdest=200) role active // user cb UP
//Change vdest=200 Active -> Standby
up 512 (vdest=200) role standby // user cb NO_ACTIVE
//send message: Destination is in await active mode so queuing in await active
//Change vdest=200 Standby -> Active

--------------------------
ERR Flow

//subcribe 512
//Not yet up 512 (vdest=200) role active
//Change vdest=200 Active -> Standby
up 512 (vdest=200) role standby
//send message: Subscription Result not present => MDS_SND_RCV:Blocking send
//fail with "Destination Route not found even after the DISCOVERY Timer timeout"
//Change vdest=200 Standby -> Active

======================= Solution ==================================
Add sleep(1) before change vdest role Active -> Standby/Quiesced
Similar issue/solution for mdstest 13 13; 6 12; 6 13; 7 12; 7 13



---

Sent from sourceforge.net because opensaf-tickets@lists.sourceforge.net 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
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to