[Openais] testckpt giving error

raman kumar ramank24 at gmail.com
Mon Nov 6 03:30:10 PST 2006


Hi,

I am new to this forum and currently assigned to work on OpenAIs.

I have installed the open ais on two machine and the are in cluster
now. But while running the test rogram for checkpointing I am getting
the following dump. After creating the checkpoint when writing and
reading through the default read/write buffer it is running
successsfully. But for non default buffer it is giving error :
SA_AIS_ERR_NOT_EXIST for both reading and writing into the cluster.


 PASSED: initial asynchronous open of checkpoint
PASSED: Retrieve selection object 4
PASSED: This is a call back for open for invocation = 16
PASSED: Dispatch response for open async of checkpoint
PASSED: Closing checkpoint
PASSED: initial open of checkpoint
PASSED: Reading default checkpoint section before update
 default_read_buffer:'Factory installed data'
PASSED: Writing default checkpoint section with data 'This is an
update to the default section date, update#1'
PASSED: Reading default checkpoint section
 default_read_buffer:'This is an update to the default section date, update#1'
PASSED: checkpoint section create
PASSED: checkpoint section expiration set
Please wait, testing expiry of checkpoint sections.
Elapsed Time to expiry is 4.25958 (should be about 4 seconds)
PASSED: RetentionDurationSet
PASSED: Section creation
PASSED: Unlinking checkpoint
FAILED expected SA_AIS_OK got SA_AIS_ERR_NOT_EXIST: Opening unlinked checkpoint
PASSED: Closing checkpoint
PASSED: Open checkpoint read only
PASSED: open after unlink/close
PASSED: set checkpoint retention duration
PASSED: Get checkpoint status
Memory used 23 in 1 sections.
PASSED: Create checkpoint section on read only checkpoint
PASSED: Create checkpoint section on writeable checkpoint
PASSED: Create checkpoint section when one already exists
PASSED: deleting checkpoint handle
PASSED: replacing deleted checkpoint section
FAILED expected SA_AIS_ERR_EXIST got SA_AIS_OK: creating section 2
PASSED: Setting expiration time for section 2
PASSED: overwriting checkpoint section 1
PASSED: checkpoint read operationBuffers after checkpoint read
 buffer #1: 'Overwrite Data #1'
 buffer #2: 'Initial Data #2'
Writing checkpoint loop 0
saCkptCheckpointWrite result 7 (should be 1)
Writing checkpoint loop 1
saCkptCheckpointWrite result 7 (should be 1)
Writing checkpoint loop 2
saCkptCheckpointWrite result 7 (should be 1)
Writing checkpoint loop 3
saCkptCheckpointWrite result 7 (should be 1)
Writing checkpoint loop 4
saCkptCheckpointWrite result 7 (should be 1)
Writing checkpoint loop 5
saCkptCheckpointWrite result 7 (should be 1)
Writing checkpoint loop 6
saCkptCheckpointWrite result 7 (should be 1)
Writing checkpoint loop 7
saCkptCheckpointWrite result 7 (should be 1)
Writing checkpoint loop 8
saCkptCheckpointWrite result 7 (should be 1)
Writing checkpoint loop 9
saCkptCheckpointWrite result 7 (should be 1)
FAILED expected SA_AIS_OK got SA_AIS_ERR_INVALID_PARAM: Testing
checkpoint writes
PASSED: get checkpoint status
Memory used 57 in 3 sections.
FAILED expected SA_AIS_OK got SA_AIS_ERR_INVALID_PARAM: initialize
section iterator
FAILED expected SA_AIS_OK got SA_AIS_ERR_BAD_HANDLE: Get next section
in iteartion
The last iteration should fail
FAILED expected SA_AIS_OK got SA_AIS_ERR_BAD_HANDLE: Finalize iteration
PASSED: Finalize checkpoint
 PASSED: initial asynchronous open of checkpoint
bash: PASSED:: command not found
[1]+  Done                    ./testckpt
[root at dig916-1 test]# PASSED: Retrieve selection object 4
bash: PASSED:: command not found
[root at dig916-1 test]# PASSED: This is a call back fo


Please guide.

regards,
ramank.



More information about the Openais mailing list