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


---

** [tickets:#219] Fix failures in the CLM test suite**

**Status:** fixed
**Created:** Wed May 15, 2013 09:09 AM UTC by Mathi Naickan
**Last Updated:** Mon Dec 30, 2013 12:56 PM UTC
**Owner:** nobody

changed from opensaf compilation fails with --enable-tests to clmtest does not 
work
build problem fixed in 2983
this ticket should fix the problems running clmtest. It seems it does not 
construct a proper DN for the local node.
hasse@Vostro:~/opensaf-repos/opensaf-staging$ clmtest 
Suite 1: Life Cykel API
1 PASSED saClmInitialize with A.01.01 SA_AIS_OK
2 PASSED saClmInitialize_4 with A.04.01 SA_AIS_OK
3 PASSED saClmInitialize with NULL pointer to handle
4 PASSED saClmInitialize_4 with NULL pointer to handle
5 PASSED saClmInitialize with NULL pointer to callback
6 PASSED saClmInitialize_4 with NULL pointer to callback
7 PASSED 7 PASSED saClmInitialize & saClmInitialize_4 with NULL pointer to 
callback & Version
8 PASSED 8 PASSED saClmInitialize & saClmInitialize_4 with uninitialized version
9 PASSED 9 PASSED saClmInitialize & saClmInitialize_4 with too high release
10 PASSED 10 PASSED saClmInitialize & saClmInitialize_4 with too high major 
version
11 PASSED 11 PASSED saClmInitialize & saClmInitialize_4 with too low minor 
version
12 PASSED 12 PASSED saClmInitialize & saClmInitialize_4 with B.0.0 version
13 PASSED saClmInitialize with multiple instance
Suite 2: Test case for saClmFinalize
1 PASSED saClmSelectionObjectGet SA_AIS_OK
2 FAILED saClmSelectionObjectGet NULL handle SA_AIS_ERR_BAD_HANDLE (expected 
SA_AIS_ERR_INVALID_PARAM, got SA_AIS_ERR_BAD_HANDLE)
3 PASSED saClmSelectionObjectGet invalid handle SA_AIS_ERR_BAD_HANDLE
4 PASSED saClmSelectionObjectGet NULL selectionObject SA_AIS_ERR_INVALID_PARAM
5 PASSED 5 PASSED saClmFinalize SA_AIS_OK
6 PASSED saClmFinalize SA_AIS_ERR_BAD_HANDLE - invalid handle
7 PASSED saClmFinalize SA_AIS_ERR_BAD_HANDLE - handle already returned
Suite 3: Life Cykel API 4
Inside nodeGetCallBack1error= 1 1 PASSED saClmDispatch - SA_AIS_OK 
SA_DISPATCH_ALL
2 PASSED saClmDispatch - invalid handle SA_AIS_ERR_BAD_HANDLE
3 PASSED saClmDispatch - zero flag SA_AIS_ERR_INVALID_PARAM
Inside nodeGetCallBack1error= 1 4 PASSED saClmDispatch - SA_AIS_OK 
SA_DISPATCH_ONE
Suite 4: CLM OI tests
Object with DN 'Vostro' does not exist
1 FAILED CCB Object Modify saClmNodeLockCallbackTimeout (expected 
SA_AIS_NOT_VALID, got SA_AIS_OK)
Object with DN 'Vostro' does not exist
2 FAILED CCB Object Modify saClmNodeDisableReboot (expected SA_AIS_NOT_VALID, 
got SA_AIS_OK)
Object with DN 'Vostro' does not exist
3 PASSED CCB Object Modify saClmNodeAddressFamily
Object with DN 'Vostro' does not exist
4 PASSED CCB Object Modify saClmNodeAddress
Object with DN 'Vostro' does not exist
5 PASSED CCB Object Modify saClmNodeEE
error - object does not exist
6 PASSED CCB Object Delete the member node
Suite 5: Test case for saClmClusterNodeGet
1 FAILED saClmClusterNodeGet with valid arguments, SA_AIS_OK (expected 
SA_AIS_OK, got SA_AIS_ERR_TIMEOUT)
2 FAILED saClmClusterNodeGet_4 with valid arguments, SA_AIS_OK (expected 
SA_AIS_OK, got SA_AIS_ERR_TIMEOUT)
3 FAILED 3 FAILED 3 FAILED 3 FAILED saClmClusterNodeGet & saClmClusterNodeGet_4 
with Invalid handle (expected SA_AIS_ERR_BAD_HANDLE, got SA_AIS_ERR_TIMEOUT)
4 FAILED 4 FAILED saClmClusterNodeGet & saClmClusterNodeGet_4 with NULL timeout 
(expected SA_AIS_ERR_INVALID_PARAM, got SA_AIS_ERR_TIMEOUT)
5 PASSED 5 PASSED saClmClusterNodeGet & saClmClusterNodeGet_4 with NULL 
ClusterNode?
6 FAILED 6 FAILED saClmClusterNodeGet & saClmClusterNodeGet_4 with nodeId which 
does not exist (expected SA_AIS_ERR_NOT_EXIST, got SA_AIS_ERR_TIMEOUT)
7 FAILED 7 FAILED saClmClusterNodeGet & saClmClusterNodeGet_4 with nodeId of 
non member node (expected SA_AIS_ERR_NOT_EXIST, got SA_AIS_ERR_TIMEOUT)
8 FAILED 8 FAILED saClmClusterNodeGet & saClmClusterNodeGet_4 call with cross 
version (expected SA_AIS_ERR_VERSION, got SA_AIS_ERR_TIMEOUT)
9 FAILED 9 FAILED saClmClusterNodeGet & saClmClusterNodeGet_4 with nodeId as 
SA_CLM_LOCAL_NODE_ID (expected SA_AIS_OK, got SA_AIS_ERR_TIMEOUT)
Suite 6: Test case for saClmClusterNodeGetAsync
1 PASSED saClmClusterNodeGetAsync with valid arguments, SA_AIS_OK
Inside nodeGetCallBack4error= 1 2 PASSED saClmClusterNodeGetAsync_4 with valid 
arguments, SA_AIS_OK
3 FAILED 3 PASSED 3 FAILED 3 PASSED saClmClusterNodeGetAsync with invlaid handle
4 PASSED saClmClusterNodeGetAsync with null invocation
5 PASSED saClmClusterNodeGetAsync with null nodeId
Inside nodeGetCallBack4error= 12 6 PASSED saClmClusterNodeGetAsync with nodeId 
which does not exist
7 PASSED saClmClusterNodeGetAsync with nodeId of non member node
Inside nodeGetCallBack1error= 1 8 PASSED saClmClusterNodeGetAsync with nodeId 
as SA_CLM_LOCAL_NODE_ID
9 PASSED 9 PASSED saClmClusterNodeGetAsync with null callback
Suite 7: Test case for saClmClusterTrack
error: in ../../tests/clmsv/src/tet_saClmClusterTrack.c at 208: 
SA_AIS_ERR_NOT_EXIST, expected SA_AIS_OK - exiting


---

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.
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to