Better, as in it's not happening anymore? :)

   Alex

   On 08/05/2018 08:46 PM, Gary Lee wrote:
     __________________________________________________________________

   NOTICE: This email was received from an EXTERNAL sender
     __________________________________________________________________

   Hi Alex


   I can reproduce the coredump by doing "immcfg -f AppConfig-2N.xml" (the
   amf_demo sample). It looks better with the patch.


   Thanks

   Gary


   From: Alex Jones [1]<ajo...@rbbn.com>
   Organization: Ribbon
   Date: Saturday, 4 August 2018 at 12:59 am
   To: Gary Lee [2]<gary....@dektech.com.au>,
   [3]<hans.nordeb...@ericsson.com>, [4]<ravisekhar.ko...@oracle.com>,
   [5]<nagen...@hasolutions.in>
   Cc: [6]<opensaf-devel@lists.sourceforge.net>
   Subject: Re: [devel] [PATCH 0/1] Review Request for amf: add support
   for container/contained [#70]


   Hi Gary,

       The check to make sure saAmfCompContainerCsi is defined for a
   contained component, was not handling the case in which the comptype
   was being added dynamically in the same ccb. I assume that is what your
   tests are doing...

       Try the attached patch on top of what I sent.

   Alex


   On 08/02/2018 09:50 PM, Gary Lee wrote:
   _______________________________________________________________________

     NOTICE: This email was received from an EXTERNAL sender
   _______________________________________________________________________

     Some more info from valgrind:
     ==274== Invalid read of size 1
     ==274== at 0x14C080:
     is_config_valid(std::__cxx11::basic_string<char,
     std::char_traits<char>, std::allocator<char> > const&,
     SaImmAttrValuesT_2 const**, CcbUtilOperationData*) [clone
     .constprop.98] (comp.cc:404)
     ==274== by 0x14C4A0: comp_ccb_completed_cb(CcbUtilOperationData*)
     (comp.cc:1359)
     ==274== by 0x16B4C7: ccb_completed_cb(unsigned long long, unsigned
     long long) (imm.cc:1177)
     ==274== by 0x548D487: imma_process_callback_info(imma_cb*,
     imma_client_node*, imma_callback_info*, unsigned long long)
     (imma_proc.cc:2337)
     ==274== by 0x548EED8: imma_hdl_callbk_dispatch_all(imma_cb*,
     unsigned long long) (imma_proc.cc:1832)
     ==274== by 0x5482FA6: saImmOiDispatch (imma_oi_api.cc:642)
     ==274== by 0x12866B: main_loop (main.cc:713)
     ==274== by 0x12866B: main (main.cc:844)
     ==274== Address 0x20 is not stack'd, malloc'd or (recently) free'd
     On 3/8/18, 11:25 am, "Gary Lee" [7]<gary....@dektech.com.au> wrote:
     Hi Alex
     I haven't had a chance to look at it, but I did run our regression
     tests with the patch.
     amfd is segfaulting regularly, with backtraces like the attachment.
     Thanks
     Gary
     From: Alex Jones [8]<ajo...@rbbn.com>
     Organization: Ribbon
     Date: Thursday, 2 August 2018 at 3:52 am
     To: [9]<hans.nordeb...@ericsson.com>, [10]<gary....@dektech.com.au>,
     [11]<ravisekhar.ko...@oracle.com>, [12]<nagen...@hasolutions.in>
     Cc: [13]<opensaf-devel@lists.sourceforge.net>
     Subject: Re: [PATCH 0/1] Review Request for amf: add support for
     container/contained [#70]
     Hi Guys,
     I realized I forgot to put some notes in this review request...
     75% of this code is from Praveen. I added some stuff that wasn't
     there like shutting down contained sus when the container goes down,
     allowing TRY_AGAIN in contained instantiation, and some more
     configuration checking.
     Everything in the B.04.01 spec regarding container/contained should
     be implemented, but I have not testing everything. Everything in the
     samples/amf/container directory has been tested (container n-way,
     contained 2-n, TRY_AGAIN for contained instantiation), but I have
     not tested other service models for the contained SG. I have also
     tested locking the container SUs, and the container SG, to make sure
     the contained SUs go down.
     Let me know if you see problems, or think something wasn't done
     right.
     Alex
     On 07/31/2018 04:22 PM, Alex Jones wrote:
     Summary: amf: add support for container/contained [#70]
     Review request for Ticket(s): 70
     Peer Reviewer(s): Nagu, Hans, Ravi, Gary
     Pull request to:
     Affected branch(es): develop
     Development branch: ticket-70
     Base revision: 7f6f6c0531a0f5e4f2b0dc1abf4bab6962a3d1a9
     Personal repository: [14]git://git.code.sf.net/u/trguitar/review
     --------------------------------
     Impacted area Impact y/n
     --------------------------------
     Docs n
     Build system n
     RPM/packaging n
     Configuration files n
     Startup scripts n
     SAF services y
     OpenSAF services n
     Core libraries n
     Samples n
     Tests n
     Other n
     NOTE: Patch(es) contain lines longer than 80 characers
     Comments (indicate scope for each "y" above):
     ---------------------------------------------
     revision d33e50eeb51ccf8808c24a445637d6f1472c396e
     Author: Alex Jones [15]<ajo...@rbbn.com>
     Date: Tue, 31 Jul 2018 16:06:47 -0400
     amf: add support for container/contained [#70]
     This ticket adds support for container/contained for AMF.
     Added Files:
     ------------
     samples/amf/container/amf_container_demo.c
     samples/amf/container/amf_container_script
     samples/amf/container/AppConfig-contained-2N.xml
     samples/amf/container/AppConfig-container.xml
     samples/amf/container/Makefile.am
     samples/amf/container/README
     Complete diffstat:
     ------------------
     samples/amf/container/AppConfig-contained-2N.xml | 327 +++++++++
     samples/amf/container/AppConfig-container.xml | 331 ++++++++++
     samples/amf/container/Makefile.am | 45 ++
     samples/amf/container/README | 36 +
     samples/amf/container/amf_container_demo.c | 803
     +++++++++++++++++++++++
     samples/amf/container/amf_container_script | 101 +++
     src/amf/agent/amf_agent.cc | 73 ++-
     src/amf/agent/ava_cb.h | 1 +
     src/amf/agent/ava_hdl.cc | 31 +
     src/amf/agent/ava_mds.cc | 34 +-
     src/amf/agent/ava_mds.h | 3 +-
     src/amf/agent/ava_op.cc | 6 +
     src/amf/amfd/comp.cc | 55 +-
     src/amf/amfd/comp.h | 4 +-
     src/amf/amfd/comptype.cc | 6 +-
     src/amf/amfd/csi.cc | 6 +
     src/amf/amfd/csi.h | 3 +
     src/amf/amfd/ndproc.cc | 14 +
     src/amf/amfd/node.cc | 29 +
     src/amf/amfd/node.h | 1 +
     src/amf/amfd/sg.cc | 29 +
     src/amf/amfd/sg.h | 4 +
     src/amf/amfd/sgproc.cc | 142 +++-
     src/amf/amfd/si.cc | 17 +
     src/amf/amfd/si.h | 1 +
     src/amf/amfd/su.cc | 155 ++++-
     src/amf/amfd/su.h | 15 +-
     src/amf/amfd/util.cc | 39 ++
     src/amf/amfd/util.h | 2 +
     src/amf/amfnd/amfnd.cc | 5 +-
     src/amf/amfnd/avnd_cb.h | 2 +
     src/amf/amfnd/avnd_comp.h | 64 +-
     src/amf/amfnd/avnd_evt.h | 1 +
     src/amf/amfnd/avnd_proc.h | 2 +
     src/amf/amfnd/avnd_su.h | 4 +
     src/amf/amfnd/cbq.cc | 102 ++-
     src/amf/amfnd/chc.cc | 2 +-
     src/amf/amfnd/clc.cc | 95 ++-
     src/amf/amfnd/comp.cc | 90 ++-
     src/amf/amfnd/compdb.cc | 22 +-
     src/amf/amfnd/err.cc | 2 +-
     src/amf/amfnd/evt.cc | 2 +
     src/amf/amfnd/main.cc | 1 +
     src/amf/amfnd/mds.cc | 19 +
     src/amf/amfnd/proxy.cc | 2 +-
     src/amf/amfnd/su.cc | 8 +
     src/amf/amfnd/susm.cc | 88 ++-
     src/amf/common/amf_amfparam.h | 22 +
     src/amf/common/amf_d2nmsg.h | 10 +
     src/amf/common/amf_defs.h | 2 +
     src/amf/common/amf_util.h | 3 +-
     src/amf/common/d2nedu.c | 22 +-
     src/amf/common/n2avaedu.c | 6 +-
     src/amf/common/n2avamsg.c | 13 +
     src/amf/common/util.c | 32 +-
     tools/cluster_sim_uml/build_uml | 45 ++
     56 files changed, 2852 insertions(+), 127 deletions(-)
     Testing Commands:
     -----------------
     *** LIST THE COMMAND LINE TOOLS/STEPS TO TEST YOUR CHANGES ***
     Testing, Expected Results:
     --------------------------
     *** PASTE COMMAND OUTPUTS / TEST RESULTS ***
     Conditions of Submission:
     -------------------------
     *** HOW MANY DAYS BEFORE PUSHING, CONSENSUS ETC ***
     Arch Built Started Linux distro
     -------------------------------------------
     mips n n
     mips64 n n
     x86 n n
     x86_64 y y
     powerpc n n
     powerpc64 n n
     Reviewer Checklist:
     -------------------
     [Submitters: make sure that your review doesn't trigger any
     checkmarks!]
     Your checkin has not passed review because (see checked entries):
     ___ Your RR template is generally incomplete; it has too many blank
     entries
     that need proper data filled in.
     ___ You have failed to nominate the proper persons for review and
     push.
     ___ Your patches do not have proper short+long header
     ___ You have grammar/spelling in your header that is unacceptable.
     ___ You have exceeded a sensible line length in your
     headers/comments/text.
     ___ You have failed to put in a proper Trac Ticket # into your
     commits.
     ___ You have incorrectly put/left internal data in your
     comments/files
     (i.e. internal bug tracking tool IDs, product names etc)
     ___ You have not given any evidence of testing beyond basic build
     tests.
     Demonstrate some level of runtime or other sanity testing.
     ___ You have ^M present in some of your files. These have to be
     removed.
     ___ You have needlessly changed whitespace or added whitespace
     crimes
     like trailing spaces, or spaces before tabs.
     ___ You have mixed real technical changes with whitespace and other
     cosmetic code cleanup changes. These have to be separate commits.
     ___ You need to refactor your submission into logical chunks; there
     is
     too much content into a single commit.
     ___ You have extraneous garbage in your review (merge commits etc)
     ___ You have giant attachments which should never have been sent;
     Instead you should place your content in a public tree to be pulled.
     ___ You have too many commits attached to an e-mail; resend as
     threaded
     commits, or place in a public tree for a pull.
     ___ You have resent this content multiple times without a clear
     indication
     of what has changed between each re-send.
     ___ You have failed to adequately and individually address all of
     the
     comments and change requests that were proposed in the initial
     review.
     ___ You have a misconfigured ~/.gitconfig file (i.e. [16]user.name,
     [17]user.email etc)
     ___ Your computer have a badly configured date and time; confusing
     the
     the threaded patch review.
     ___ Your changes affect IPC mechanism, and you don't present any
     results
     for in-service upgradability test.
     ___ Your changes affect user manual and documentation, your patch
     series
     do not contain the patch that updates the Doxygen manual.
     --------------------------------------------------------------------
     ----------
     Check out the vibrant tech community on one of the world's most
     engaging tech sites, Slashdot.org!
     [18]http://sdm.link/slashdot________________________________________
     _______
     Opensaf-devel mailing list
     [19]Opensaf-devel@lists.sourceforge.net
     [20]https://lists.sourceforge.net/lists/listinfo/opensaf-devel

References

   1. mailto:ajo...@rbbn.com
   2. mailto:gary....@dektech.com.au
   3. mailto:hans.nordeb...@ericsson.com
   4. mailto:ravisekhar.ko...@oracle.com
   5. mailto:nagen...@hasolutions.in
   6. mailto:opensaf-devel@lists.sourceforge.net
   7. mailto:gary....@dektech.com.au
   8. mailto:ajo...@rbbn.com
   9. mailto:hans.nordeb...@ericsson.com
  10. mailto:gary....@dektech.com.au
  11. mailto:ravisekhar.ko...@oracle.com
  12. mailto:nagen...@hasolutions.in
  13. mailto:opensaf-devel@lists.sourceforge.net
  14. https://protect-us.mimecast.com/s/aXogCyPm3Pf01MqUAfUUy
  15. mailto:ajo...@rbbn.com
  16. https://protect-us.mimecast.com/s/KQ2mCzpn3pCx12QFBicDt?domain=user.name
  17. https://protect-us.mimecast.com/s/8yj-CADmVDUnQWLTOYuba?domain=user.email
  18. https://protect-us.mimecast.com/s/UvNXCBBnWBiMG4pc7Ezj2?domain=sdm.link
  19. mailto:Opensaf-devel@lists.sourceforge.net
  20. 
https://protect-us.mimecast.com/s/VNezCDk0gkin9VNTn-hzN?domain=lists.sourceforge.net

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Opensaf-devel mailing list
Opensaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to