- **status**: review --> fixed
- **Comment**:
commit 1f4ed0fb97b0466fbd12a198435b7ff74485e1c4 (HEAD -> develop,
origin/develop)
Author: hieu.h.hoang <[email protected]>
Date: Fri Jan 22 10:50:54 2021 +0700
mds: improve mdstest to wait for subscription response [#3249]
- Reason: unordered processing, the subscription request is processed
after the change role request
- Actions:
- Wait for subscription request to process successfully
- Apply fixing to the follow test cases: 9 5, 11 5, 11 6, 14 5,
14 6
---
** [tickets:#3249] MDS: mdstest 11 5 failed**
**Status:** fixed
**Milestone:** 5.20.11
**Created:** Mon Jan 18, 2021 10:07 AM UTC by Hieu Hong Hoang
**Last Updated:** Mon Jan 25, 2021 09:36 AM UTC
**Owner:** Hieu Hong Hoang
**Attachments:**
-
[mdstest_11_5_mds.log](https://sourceforge.net/p/opensaf/tickets/3249/attachment/mdstest_11_5_mds.log)
(218.0 kB; application/octet-stream)
root@SC-1:~# export MDS_LOG_LEVEL=5
root@SC-1:~# mdstest 11 5
Suite 11: Send Responce Ack 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 <2010f09bb63fd > : 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 5: While Await Active Timer ON:SvcEXTMIN of ADEST sends a message to
Svc EXTMIN on Active Vdest=200 and Times out
Task has been Created
Inside Receiver Thread
VDEST_CHANGE ROLE to 2 is SUCCESSFULL
Request to ncsmds_api: MDS SEND RESPONSE has FAILED
Send get Response Fail
TASK is released
VDEST_CHANGE ROLE to 1 is SUCCESSFULL
MDS CANCEL SUBSCRIBE is SUCCESSFULL Uninstalling the services on both
VDESTs and ADEST
UnInstalling the Services on both the VDESTs
MDS RETRIEVE is SUCCESSFULL
512 : SERVICE UNINSTALL is SUCCESSFULL
MDS RETRIEVE is SUCCESSFULL
256 : SERVICE UNINSTALL is SUCCESSFULL
MDS RETRIEVE is SUCCESSFULL
512 : SERVICE UNINSTALL is SUCCESSFULL
Destroying the VDESTS
Destroying both the VDESTs and PWE=2 on ADEST
VDEST_CHANGE ROLE to 2 is SUCCESSFULL
200 : VDEST_DESTROY is SUCCESSFULL
VDEST_CHANGE ROLE to 2 is SUCCESSFULL
100 : VDEST_DESTROY is SUCCESSFULL
The Subscriber Service id = 512 is on ADEST
UP: Subscribed Svc = 512 with svc pvt ver = 3 is UP on dest= <2010f09bb63fd>
anchor= <0> role= 1 with PWE id = 1 on node = 2010f
MDS RETRIEVE is SUCCESSFULL
512 : SERVICE UNINSTALL is SUCCESSFULL
MDS RETRIEVE is SUCCESSFULL
256 : SERVICE UNINSTALL is SUCCESSFULL
ADEST : PWE 2 : Uninstalling Services 2000/INTMIN
MDS RETRIEVE is SUCCESSFULL
512 : SERVICE UNINSTALL is SUCCESSFULL
MDS RETRIEVE is SUCCESSFULL
256 : SERVICE UNINSTALL is SUCCESSFULL
ADEST PWE2 Destroyed
ADEST: PWE_DESTROY is SUCCESSFUL 5 FAILED While Await Active Timer
ON:SvcEXTMIN of ADEST sends a message to Svc EXTMIN on Active Vdest=200 and
Times out (expected OUT_OF_RANGE, got SA_AIS_OK (1))
=====================================================================================
Test Result:
Total: 1
Passed: 0
Failed: 1
---
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