Steve,

The CI build looks at the results from valgrind mem-check tool.  It is set up 
to mark the build as a failure if there is an invalid read/write. It will also 
fail if the possible number of memory leaks exceeds a threshold (sorry I don't 
remember the threshold).  Since the valgrind output is processed after the 
build everything can look good then you fail due to valgrind.

You can see the result under the "Valgrind Result" menu on the left side of the 
menu.

https://build.iotivity.org/ci/job/iotivity-verify-unit_tests/21008/valgrindResult/

You will see an 'Invalid Read' from the provisiontests

I don't think you changed anything in the provisiontests. This looks like the 
same failure reported here: https://jira.iotivity.org/browse/IOT-2848

I would go to the Jira ticket for the bug say you have seen the same bug. Add 
the link to the valgrind results.

Then in the comment window for your commit type "reverify" and submit.

This will tell the CI build to kickoff again. It almost never fails twice if it 
is the bug reported in IOT-2848.  If it does fail twice for the same reason 
take a look at the valgrind results see if anything you change could have made 
the invalid read occur.

Hope this helps.

George Nash




From: iotivity-dev-boun...@lists.iotivity.org 
[mailto:iotivity-dev-boun...@lists.iotivity.org] On Behalf Of Steve Saunders 
(CableLabs)
Sent: Tuesday, February 6, 2018 1:34 PM
To: iotivity-dev <iotivity-dev@lists.iotivity.org>
Subject: [dev] Valgrind build errors

Greetings All,

I recently submitted a patch which failed the build with the error shown below, 
with what looks to be valgrind failures if I am reading the log files correctly.

[Valgrind] Ending the valgrind analysis.
Build step 'Publish Valgrind results' changed build result to FAILURE

I looked through the log, but it was not obvious to me where I can go to get 
more information about the specific failures.  I was hoping that somebody might 
be able to provide some guidance RE how to interpret the valgrind results and 
track down the specific issues.

The specifics are here:

Build Failed
https://build.iotivity.org/ci/job/iotivity-verify-unit_tests/21008/ : FAILURE

  *   Build page: 
https://build.iotivity.org/ci/job/iotivity-verify-unit_tests/21008/
  *   Console page: 
https://build.iotivity.org/ci/job/iotivity-verify-unit_tests/21008/console

Any help would be greatly appreciated.
Kind Regards
Steve
CableLabs

_______________________________________________
iotivity-dev mailing list
iotivity-dev@lists.iotivity.org
https://lists.iotivity.org/mailman/listinfo/iotivity-dev

Reply via email to