On Aug 4, 2016 2:45 PM, "Mats Wichmann" <mats at osg.samsung.com> wrote:
>
> On 08/04/2016 01:07 PM, Gregg Reynolds wrote:
> > On Aug 4, 2016 2:05 PM, "Gregg Reynolds" <dev at mobileink.com <mailto:
dev at mobileink.com>> wrote:
> >>
> >> On Aug 4, 2016 2:00 PM, "Dave Thaler" <dthaler at microsoft.com <mailto:
dthaler at microsoft.com>> wrote:
> >> >
> >> > Jenkins should be running the tests to verify every checkin.
> >> >
> >>
> >> Ah, good point.  Still, I downloaded the 1.1.1 tarball, compiled it
with TEST=1 and got errors.  So either my system is hosed or Jenkins is not
right in the head.
> >>
> >> If you (or anybody else) could find the time to run the 1.1.1 tarball
with TEST=1 and report the results I would be most grateful.
> >
> > Make that TEST=1 SECURED=1
> >>
>
> yeah, I'm sitting, stalled, on the same place, using ubuntu 16.04 host.
>

THANK YOU!  At least I know I'm not crazy. ;)

I'm not sure about using google test for this sort of thing, frankly.  The
test suite forks a couple of iotivity servers, but it does not clean up
when finished, for one thing.Also the sample server code is not minimal -
if something goes wrong we have to debug the server code..  I'm wondering
if it wouldn't be better to write some code that would run such tests
manually, so to speak.  Like demo code but designed specifically to test
provisioning.  Automation is great, except when it isnt.  What do you think?

gregg

> >> >>>
> >> >>> [----------] 1 test from PerformUnownedDeviceDiscovery
> >> >>>
> >> >>> [ RUN      ] PerformUnownedDeviceDiscovery.NullParam
> >> >>>
> >> >>> resource/csdk/security/provisioning/unittest/otmunittest.cpp:399:
Failure
> >> >>>
> >> >>> Value of: NumOfUnownDevice
> >> >>>
> >> >>>   Actual: 0
> >> >>>
> >> >>> Expected: 2
> >> >>>
> >> >>> [  FAILED  ] PerformUnownedDeviceDiscovery.NullParam (4000 ms)
> >> >>>
> >> >>> [----------] 1 test from PerformUnownedDeviceDiscovery (4000 ms
total)
> >> >>>
> >> >>>
> >> >>>
> >> >>> [----------] 1 test from PerformJustWorksOxM
> >> >>>
> >> >>> [ RUN      ] PerformJustWorksOxM.NullParam
> >> >>>
> >> >>> resource/csdk/security/provisioning/unittest/otmunittest.cpp:408:
Failure
> >> >>>
> >> >>> Value of: result
> >> >>>
> >> >>>   Actual: 26
> >> >>>
> >> >>> Expected: OC_STACK_OK
> >> >>>
> >> >>> Which is: 0
>
>
> [----------] 1 test from PerformUnownedDeviceDiscovery
> [ RUN      ] PerformUnownedDeviceDiscovery.NullParam
> 17:45.846 DEBUG: PM-UTILITY: IN PMDeviceDiscovery
> 17:45.850 DEBUG: PM-UTILITY: Successfully converted doxm cbor to bin.
> 17:45.850 ERROR: PM-UTILITY: Error while getting my device ID.
> 17:45.850 DEBUG: PM-UTILITY: Successfully converted doxm cbor to bin.
> 17:45.850 ERROR: PM-UTILITY: Error while getting my device ID.
> 17:45.938 DEBUG: PM-UTILITY: Successfully converted doxm cbor to bin.
> 17:45.938 ERROR: PM-UTILITY: Error while getting my device ID.
> 17:45.942 DEBUG: PM-UTILITY: Successfully converted doxm cbor to bin.
> 17:45.942 ERROR: PM-UTILITY: Error while getting my device ID.
> 17:46.038 DEBUG: PM-UTILITY: Successfully converted doxm cbor to bin.
> 17:46.038 ERROR: PM-UTILITY: Error while getting my device ID.
> 17:46.042 DEBUG: PM-UTILITY: Successfully converted doxm cbor to bin.
> 17:46.042 ERROR: PM-UTILITY: Error while getting my device ID.
> 17:49.038 DEBUG: PM-UTILITY: OUT PMDeviceDiscovery
> resource/csdk/security/provisioning/unittest/otmunittest.cpp:399: Failure
> Value of: NumOfUnownDevice
>   Actual: 0
> Expected: 2
> [  FAILED  ] PerformUnownedDeviceDiscovery.NullParam (3188 ms)
> [----------] 1 test from PerformUnownedDeviceDiscovery (3188 ms total)
>
> [----------] 1 test from PerformJustWorksOxM
> [ RUN      ] PerformJustWorksOxM.NullParam
> resource/csdk/security/provisioning/unittest/otmunittest.cpp:408: Failure
> Value of: result
>   Actual: 26
> Expected: OC_STACK_OK
> Which is: 0
>
> _______________________________________________
> iotivity-dev mailing list
> iotivity-dev at lists.iotivity.org
> https://lists.iotivity.org/mailman/listinfo/iotivity-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160804/4355680f/attachment.html>

Reply via email to