Hi George,

Possibly unrelated, but I see a 2-3s delay on OCInit when I run the unittests 
due to some timeout in the Bluetooth transport initialization.  Setting OCInit 
to only select the IP transports sped up the tests.

-Todd

From: iotivity-dev-bounces at lists.iotivity.org 
[mailto:[email protected]] On Behalf Of Nash, George
Sent: Friday, June 9, 2017 4:20 PM
To: Maalvika Bachani <M.Bachani at cablelabs.com>; iotivity-dev at 
lists.iotivity.org
Subject: Re: [dev] Problem encountered in running test harness for IoTivity

I encountered this issue when using IoTivity on Fedora Linux.  For some reason 
it takes about 3 times longer to initialize when calling OCInit than on Ubuntu. 
I was never able to figure out why.

I work around the issue by increasing the time for the deadman timer.

Open up <iotivity>/resource/csdk/stack/test/stacktest.cpp

Find the SHORT_TEST_TIMEOUT line 75 on my system.  Increase that timeout to 15. 
Last time I saw this issue this was enough time to complete.

A long time ago I submitted a ticket with the increased time and it was 
rejected -2. I also submitted a Jira ticket but since it was Fedora (an 
unsupported build setup) it was never looked at.

https://jira.iotivity.org/browse/IOT-1088

The issue disappeared when I tried running it later after upgrading to a newer 
version of Fedora so I just closed the issue as "cannot reproduce".

George
From: iotivity-dev-bounces at lists.iotivity.org<mailto:iotivity-dev-bounces at 
lists.iotivity.org> [mailto:[email protected]] On Behalf 
Of Maalvika Bachani
Sent: Friday, June 9, 2017 8:20 AM
To: iotivity-dev at lists.iotivity.org<mailto:iotivity-dev at 
lists.iotivity.org>
Subject: [dev] Problem encountered in running test harness for IoTivity

Hi,

I am facing some problem running the test harness for IoTivity.
I have build IoTivity 1.3.0 on Ubuntu 16.04 LTS. After building, when I try to 
run test harness
using scons TEST=1, each time it fails on a specific test case. Please find 
attached the screen capture of the same.
Even with other versions of IoTivity, I experience the same issue.

[cid:image001.png at 01D2E35A.CF378610]

Kindly guide me how should I proceed or rectify this, in case you have seen 
this.

P.S., In case I remove the following test case, it throws the same error in 
other test cases of StackStart.

Thanks and Regards
Maalvika Bachani
@CableLabs



Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20170612/12f355cd/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 67167 bytes
Desc: image001.png
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20170612/12f355cd/attachment.png>

Reply via email to