Skip to contentSkip to conversation

bluez5: Fix ptest hang

PATCH Superseded [email protected] 2 participants 3 messages Aug 24, 2018

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bluez5: Fix ptest hang

From: Mingli Yu <[email protected]>

The below test hangs infinitely

$ ./run-ptest

Actually it stuck at test-gatt unit test and
the detailed test output as below:

$ unit/test-gatt -p  /robustness/unkown-request -d
/robustness/unkown-request - init
/robustness/unkown-request - setup
/robustness/unkown-request - setup complete
/robustness/unkown-request - run
GATT: < 02 17 00                                         ...
bt_gatt_server:MTU exchange complete, with MTU: 23
GATT: > 03 00 02                                         ...
PDU: = 03 00 02                                         ...
GATT: < bf 00

Considering the /robustness/unkown-request test
actually does no action, update to raw_pdu() to
fix the hang issue.

---
 meta/recipes-connectivity/bluez5/bluez5.inc        |  1 +
 .../bluez5/0001-test-gatt-Fix-hung-issue.patch     | 43 ++++++++++++++++++++++
 2 files changed, 44 insertions(+)
 create mode 100644 meta/recipes-connectivity/bluez5/bluez5/0001-test-gatt-Fix-hung-issue.patch
meta/recipes-connectivity/bluez5/bluez5.inc +1 -0
index c0b6571..9d9739e 100644
@@ -51,6 +51,7 @@ SRC_URI = "\
     file://run-ptest \
     ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '', 'file://0001-Allow-using-obexd-without-systemd-in-the-user-sessio.patch', d)} \
     file://0001-tests-add-a-target-for-building-tests-without-runnin.patch \
+    file://0001-test-gatt-Fix-hung-issue.patch \
 "
 S = "${WORKDIR}/bluez-${PV}"
 
meta/recipes-connectivity/bluez5/bluez5/0001-test-gatt-Fix-hung-issue.patch new file +43 -0

43 lines not on this page · raw message

Signature · 1 line
2.7.4
#1 lore raw

✗ patchtest: failure for bluez5: Fix ptest hang

== Series Details ==

Series: bluez5: Fix ptest hang
Revision: 1
URL : https://patchwork.openembedded.org/series/13703/
State : failure

== Summary ==

Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been executed on the proposed series by patchtest resulting in the following failures:

* Issue Added patch file is missing Upstream-Status in the header [test_upstream_status_presence_format]

  Suggested fix    Add Upstream-Status: <Valid status> to the header of meta/recipes-connectivity/bluez5/bluez5/0001-test-gatt-Fix-hung-issue.patch
  Standard format  Upstream-Status: <Valid status>
  Valid status     Pending, Accepted, Backport, Denied, Inappropriate [reason], Submitted [where]

If you believe any of these test results are incorrect, please reply to the mailing list ([email protected]) raising your concerns. Otherwise we would appreciate you correcting the issues and submitting a new version of the patchset if applicable. Please ensure you add/increment the version number when sending the new version (i.e. [PATCH] -> [PATCH v2] -> [PATCH v3] -> ...).

---

Guidelines:     https://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines
Test framework: http://git.yoctoproject.org/cgit/cgit.cgi/patchtest
Test suite:     http://git.yoctoproject.org/cgit/cgit.cgi/patchtest-oe
author
#2 lore raw

Re: ✗ patchtest: failure for bluez5: Fix ptest hang

Will resend V2 to update the typo from Upsteam-Status to Upstream-Status.

Thanks,

Quoted 36 lines · Patchwork

== Series Details ==

Series: bluez5: Fix ptest hang
Revision: 1
URL : https://patchwork.openembedded.org/series/13703/
State : failure

== Summary ==

Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been executed on the proposed series by patchtest resulting in the following failures:

* Issue             Added patch file is missing Upstream-Status in the header [test_upstream_status_presence_format]
   Suggested fix    Add Upstream-Status: <Valid status> to the header of meta/recipes-connectivity/bluez5/bluez5/0001-test-gatt-Fix-hung-issue.patch
   Standard format  Upstream-Status: <Valid status>
   Valid status     Pending, Accepted, Backport, Denied, Inappropriate [reason], Submitted [where]

If you believe any of these test results are incorrect, please reply to the mailing list ([email protected]) raising your concerns. Otherwise we would appreciate you correcting the issues and submitting a new version of the patchset if applicable. Please ensure you add/increment the version number when sending the new version (i.e. [PATCH] -> [PATCH v2] -> [PATCH v3] -> ...).

---

Guidelines:     https://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines
Test framework: http://git.yoctoproject.org/cgit/cgit.cgi/patchtest
Test suite:     http://git.yoctoproject.org/cgit/cgit.cgi/patchtest-oe