zephyriot / zep-jira14

0 stars 0 forks source link

[PTS] PTS server stops working while executing TC_SEC_CSIGN_BV_01_C test case #2043

Open nashif opened 7 years ago

nashif commented 7 years ago

Reported by Diwanker Pandey:

Autopts server stops working very often while executing TC_SEC_CSIGN_BV_01_C test case of GAP protocol. I tested this on Arduino_101. It passed occasionally but autopts server getting crashed frequently.

Zephyr revision: master/98e14bc67d832cfbdae46d2c42f1af259ae61b5a

Hardware: Windows Host: Win10 64bit Enterprise , HP Elitebook with Intel® Core i5-5300 @2.30GHZ, 8GB Memory

(Imported from Jira ZEP-2207)

nashif commented 7 years ago

by Diwanker Pandey:

nashif commented 7 years ago

by Diwanker Pandey:

nashif commented 7 years ago

by Diwanker Pandey:

nashif commented 7 years ago

by Diwanker Pandey:

nashif commented 7 years ago

by Vinayak Kariappa Chettimada:

Diwanker Pandey Console/debug/HCI log would be helpful here.

nashif commented 7 years ago

by Mariusz Skamra:

Hi Diwanker Pandey , I've seens this before and it is PTS bug, application crashes occasionally. What PTS version are you using? I encourage to update to the version 7.0.1, the latest one. I found this a bit more stable ;) If you are using old version, please retest this with latest, and let me know if the problem still exist.

I'm trying to reproduce this locally to fill in the PTS issue. I hope they could fix this, because I won't not able to provide them any logs (logs are not saved when this crash appears). Thanks!

nashif commented 7 years ago

by Diwanker Pandey:

I updated PTS version 7.0.1. and tested autopts twice. I found some of the test cases which were earlier passing, now, getting failed. Apart from this, one new type of failure appeared "PTS Timeout" which was not seen with PTS version 7.0.0.

AutoPTS server still getting crashed during execution of TC_SEC_CSIGN_BV_01_C test case of GAP protocol. Log for the same is attached herewith. [^autoptsclient-zephyr_GAP.log] [^gap.txt] [^iut-zephyr_GAP.log]

nashif commented 7 years ago

by Mariusz Skamra:

I reproduced this issue locally today. I created a PTS issue: https://www.bluetooth.org/pts/issues/view_issue.cfm?id=15683 hopefully they could solve it. From autopts & zephyr perspective it looks OK IMO. PTS stops responding when it receives ATT Signed Write Command.

nashif commented 7 years ago

by Mariusz Skamra:

Regarding TC_DISC_RPA_BV_01_C and "PTS Timeout" it's because connection failed to be established. Passed for me 5/5. Please re-run this test it should pass for you as well. If you want to run one specific test use "-c" option:

python autoptsclient-zephyr.py zephyr-hci -c TC_DISC_RPA_BV_01_C Eg. three times: python autoptsclient-zephyr.py zephyr-hci -c TC_DISC_RPA_BV_01_C TC_DISC_RPA_BV_01_C TC_DISC_RPA_BV_01_C