Menu

#2484 imm: Testsuit 7 of immoitest fails with ERR_TRY_AGAIN

5.17.07
fixed
None
defect
imm
tests
minor
False
2017-07-27
2017-06-06
Hung Nguyen
No
# immoitest --longDn 7

Suite 7: Long DN
    1  PASSED   SA_AIS_OK - Object create callback;
    2  PASSED   SA_AIS_OK - Object modify callback;
    3  PASSED   SA_AIS_OK - Object delete callback;
    4  PASSED   SA_AIS_OK - Rt Object create and delete;
error: in src/imm/apitest/implementer/test_saImmOiLongDn.c at 500: SA_AIS_ERR_TRY_AGAIN (6), expected SA_AIS_OK (1) - exiting

The testcases of testsuite 7 use the same implementer name.
At the end of each testcase, the implementer name is not explicitly cleared with saImmOiImplementerClear().
Instead, saImmOiFinalize() is called.
The difference between OiImplementerClear() and OiFinalize() is:
- OiImplementerClear() returns after the implementer is fully discarded on all nodes
- saImmOiFinalize() returns after the implementer is locally discarded on the originating node (no guarantee of being fully discarded)

So if you set the same implementer name after saImmOiFinalize(), chances are you will get ERR_TRY_AGAIN.

Related

Wiki: ChangeLog-5.17.07

Discussion

  • Hung Nguyen

    Hung Nguyen - 2017-06-06
    • status: accepted --> review
     
  • Hung Nguyen

    Hung Nguyen - 2017-06-12
    • status: review --> fixed
     
  • Hung Nguyen

    Hung Nguyen - 2017-06-12

    5.17.08 (develop) [code:db1965]

    commit db1965d634eac2f375f455b7b7d3e9f70ff0c47c
    Author: Hung Nguyen <hung.d.nguyen@dektech.com.au>
    Date:   Tue Jun 6 14:27:48 2017 +0700
    
        immtest: Explicitly clear implementer name in OI long DN testcases [#2484]
    
        Explicitly clear implementer name in OI long DN testcases.
    

    5.17.06 (release) [code:4acdec]

    commit 4acdecc368b6326d5997eec406474bdf51452064
    Author: Hung Nguyen <hung.d.nguyen@dektech.com.au>
    Date:   Tue Jun 6 14:27:48 2017 +0700
    
        immtest: Explicitly clear implementer name in OI long DN testcases [#2484]
    
        Explicitly clear implementer name in OI long DN testcases.
    
     

    Related

    Commit: [4acdec]
    Commit: [db1965]

  • Anders Widell

    Anders Widell - 2017-07-01
    • Milestone: 5.17.06 --> 5.17.08
     

Log in to post a comment.