Uploaded image for project: 'IT: Release Engineering'
  1. IT: Release Engineering
  2. RELENG-878

Include core dump files in unit test artifacts

Issue XMLXMLWordPrintable

    • RELENG Sprint 24, RELENG Sprint 25, RELENG Sprint 27, RELENG Sprint 30, RELENG Sprint 31, RELENG Sprint 35

      We have been seeing a lot of "stack smashing" problems with the unit tests recently.  I have an open RT issues to include core dumps in the artifacts of unit tests:

       

      https://rt-sso.linuxfoundation.org/Ticket/Display.html?id=40103

       

      I have modified the builders' sysctl to encode useful information in to the name of the core dump file, but the changes do not seem to be taking effect:

       

      https://gerrit.iotivity.org/gerrit/#/c/19387/

      https://gerrit.iotivity.org/gerrit/gitweb?p=ci-management.git;a=blobdiff;f=packer/provision/basebuild.sh;hp=432acf6cc0facdfcab574f1d5d02eaae9ec73830;hb=d54518cd5c921a84c14c707f3a8d742bea2c14ce;hpb=24b3033580558610ab35fcea4d791017206e4061

       

      I will now add the sysctl command to the jenkins user-data script:

       

      sysctl -w kernel.core_pattern=%e-%t-SIG%s.core
      

       

              eball Eric Ball
              cjcollier C.J. Collier
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Time Spent - 1 hour, 30 minutes Remaining Estimate - 30 seconds
                  Logged:
                  Time Spent - 1 hour, 30 minutes Remaining Estimate - 30 seconds
                  1h 30m