- **status**: unassigned --> assigned
- **assigned_to**: A V Mahesh (AVM)
---
** [tickets:#2177] MDS: mdstest 10 1 failed**
**Status:** assigned
**Milestone:** 5.2.FC
**Created:** Tue Nov 08, 2016 06:48 AM UTC by Quyen Dao
**Last Updated:** Tue Nov 08, 2016 06:48 AM UTC
**Owner:** A V Mahesh (AVM)
**Attachments:**
-
[mdstest_10_1_mds.log](https://sourceforge.net/p/opensaf/tickets/2177/attachment/mdstest_10_1_mds.log)
(121.2 kB; application/octet-stream)
Changeset: 8287:bcc7af78a5a7
OS: Ubuntu 16.04
MDS transport: TCP
root@SC-1:~# export MDS_LOG_LEVEL=5
root@SC-1:~# mdstest 10 1
Suite 10: Send All test cases
Test Case 1: Sender service installed with i_fail_no_active_sends = true and
there is no-active instance of the receiver service
Setting up the setup
/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 <2010f0000020a > : 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
VDEST_CHANGE ROLE to 2 is SUCCESSFULL
MDS RETRIEVE is SUCCESSFULL Sending the message to no active instance
Encoding the message sent Sender svc = 512 with msg fmt ver =0
Successfully encoded message for Receiver svc = 512
MDS SEND is SUCCESSFULL
Fail
Sendack to the no active instance
MDS SEND ACK has failed as there is no active instance
Success
Send response to the no active instance
Request to ncsmds_api: MDS SEND RESPONSE has no active instance
Change role to active
VDEST_CHANGE ROLE to 1 is SUCCESSFULL
The Subscriber Service id = 512 is on ADEST
UP: Subscribed Svc = 512 with svc pvt ver = 1 is UP on dest= <c8> anchor= <0>
role= 1 with PWE id = 1 on node = 2010f
The Subscriber Service id = 512 is on ADEST
UP: Subscribed Svc = 512 with svc pvt ver = 3 is UP on dest= <2010f0000020a>
anchor= <0> role= 1 with PWE id = 1 on node = 2010f
The Subscriber Service id = 512 is on ADEST
NO ACTIVE: Received NO ACTIVE Event
In the system no active instance of Subscribed srv= 512 with svc pvt ver = 1
on dest= <c8> found
The Subscriber Service id = 512 is on ADEST
NEW ACTIVE: Received NEW_ACTIVE Event
In the system atleast one active instance of Subscribed service = 512 with svc
pvt ver = 1 on destinatin = <c8> found
MDS RETRIEVE is SUCCESSFULL
Task has been Created
Inside Receiver Thread
The service which is sending the message is = 512
The service to which the message needs to be delivered = 512
Got the message: trying to retreive it
The Sender service = 512 is on destination =<c8> with anchor = <2010f0000020a>
Node 2010f and msg fmt ver = 3
The Receiver service = 512 is on destination =<2010f0000020a>
Received Message len = 30
The message is= Hi Receiver! Are you there?
MDS RETRIEVE is SUCCESSFULL
VDEST_CHANGE ROLE to 2 is SUCCESSFULL
The service which is sending the message is = 512
The service to which the message needs to be delivered = 512
MDS RESPONSE is SUCCESSFULL
MDS SEND RESPONSE is SUCCESSFULL
The response got from the receiver is :
message length = 33
message = Hi Sender! My Name is RECEIVER
Success
TASK is released
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
NO ACTIVE: Received NO ACTIVE Event
In the system no active instance of Subscribed srv= 512 with svc pvt ver = 1
on dest= <c8> found
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 1 FAILED Sender service installed with
i_fail_no_active_sends = true and there is no-active instance of the receiver
service (expected OUT_OF_RANGE, got SA_AIS_OK (1));
=====================================================================================
Test Result:
Total: 1
Passed: 0
Failed: 1
root@SC-1:~#
---
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