c026987fe3ef3f5d16f956176d4f52c464b46856 |
|
20-Aug-2015 |
Katherine Threlkeld <kathrelkeld@chromium.org> |
Improve logging for bluetooth_SDP_*AttributeRequest tests. Add more logging statements and clarify error messages, especially for the most frequent errors seen in the lab. No functional changes to the behavior of the test. ServiceSearchAttributeRequest: - Split the giant and-ed line and make each sub-test fail instead of returning False - Add in the test name to failures - Alter the current retry method to handle errors instead of bool SDP tests: - Split initial device reset into two sections which fail independantly - Set self.interactive before anything else, to avoid problems if the later things fail - Change output to hex instead of decimal where it makes sense Client side code: - Catch btsocket errors and timeouts and log more context info - Add logging messages to low-level failures - Check if adapter variable is None before using it TEST=ran all bluetooth tests on a wificell and saw them pass BUG=chromium:426260 Change-Id: I919524a984304334265a7e1658fee956fdfbfdb8 Reviewed-on: https://chromium-review.googlesource.com/294622 Reviewed-by: Mussa Kiroga <mussa@chromium.org> Tested-by: Katherine Threlkeld <kathrelkeld@chromium.org> Commit-Queue: Katherine Threlkeld <kathrelkeld@chromium.org>
/external/autotest/server/site_tests/bluetooth_SDP_ServiceSearchAttributeRequest/bluetooth_SDP_ServiceSearchAttributeRequest.py
|
d751d486a46ee14b8599eeb24f5e6288ce4d4468 |
|
11-Aug-2015 |
Pavan Savoy <pavanx.savoy@intel.com> |
[autotest] Remove AVRCP test from Bluetooth qualification test Based on below CL, AVRCP is no longer supported by Chromebook, thus there is no need to test AVRCP feature from Bluetooth qualifciation test suite and actually, it causes the test fails. https://chromium-review.googlesource.com/#/c/265582/ BUG=chrome-os-partner:43862 TEST=Ran BT qualification test Change-Id: I8f65757e6bdc76c224963592a33841de1dbdfb95 Signed-off-by: Pavan Savoy <pavanx.savoy@intel.com> Signed-off-by: Tedd Ho-Jeong An <tedd.an@intel.com> Reviewed-on: https://chromium-review.googlesource.com/292158 Reviewed-by: Arman Uguray <armansito@chromium.org>
/external/autotest/server/site_tests/bluetooth_SDP_ServiceSearchAttributeRequest/bluetooth_SDP_ServiceSearchAttributeRequest.py
|
4d0fee319d3f914cfd87aca3fb00928a1d258c64 |
|
27-Mar-2015 |
mukesh agrawal <quiche@chromium.org> |
autotest (bluetooth): fix failures in bluetooth_SDP tests In test_protocol_descriptor_list_attribute(), a couple of the Bluetooth SDP tests were examining the details of the ATT protocol descriptor parameters. Per the BlueZ source, these parameters appear to be the "start handle" and "end handle" for the ATT service. AFAIK, there's no reason to expect these numbers to be consistent across ATT servers. Moreover, the end handle changed (from 8 to 5) after a recent change to BlueZ. (We believe this happened when BlueZ replaced attrib-server.c with gatt-database.c.) Fix the failures in these tests, by ignoring the ATT protocol descriptor parameters. (We still check, though, that we get an ATT protocol descriptor record.) BUG=chromium:464622 TEST=bluetooth_SDP_ServiceAttributeRequest TEST=bluetooth_SDP_ServiceSearchAttributeRequest Change-Id: Ia9a821e3a5c280c4d29913b8316ae7dbbcadca5f Reviewed-on: https://chromium-review.googlesource.com/262927 Reviewed-by: Arman Uguray <armansito@chromium.org> Tested-by: mukesh agrawal <quiche@chromium.org> Commit-Queue: mukesh agrawal <quiche@chromium.org>
/external/autotest/server/site_tests/bluetooth_SDP_ServiceSearchAttributeRequest/bluetooth_SDP_ServiceSearchAttributeRequest.py
|
ef5a458439a763afa1937837cdf5b6d7065be74d |
|
30-Oct-2014 |
Artem Rakhov <arakhov@chromium.org> |
Bluetooth SDP autotest: ServiceSearchAttribute invalid requests This CL adds 2 tests to check invalid Service Search Attribute requests. One test sends a request with intentionally invalid syntax, the other one sends requests with wrong PDU size. BUG=chromium:417931 TEST=test_that --board ${BOARD} ${HOSTNAME} bluetooth_SDP_ServiceSearchAttributeRequest Change-Id: If38e2d48381f08022eeaa8cfb54c96d8c1206795 Reviewed-on: https://chromium-review.googlesource.com/226381 Tested-by: Artem Rakhov <arakhov@chromium.org> Reviewed-by: Michael Janssen <jamuraa@chromium.org> Reviewed-by: Arman Uguray <armansito@chromium.org> Commit-Queue: Artem Rakhov <arakhov@chromium.org>
/external/autotest/server/site_tests/bluetooth_SDP_ServiceSearchAttributeRequest/bluetooth_SDP_ServiceSearchAttributeRequest.py
|
af4b0249ad8791325aa5583e8aaaa549d189c83e |
|
25-Oct-2014 |
Artem Rakhov <arakhov@chromium.org> |
Bluetooth SDP autotest: continuation state in ServiceSearchAttribute This CL adds a test, that verifies correct behavior of continuation state, when sending a Service Search Attribute request. Continuation state is used by server when response is too long to be sent in a single message of acceptable size. The request used in the test asks to return all existing attributes of all existing services, while acceptable size of message is set to minimum (7 bytes). BUG=chromium:419959 TEST=test_that --board ${BOARD} ${HOSTNAME} bluetooth_SDP_ServiceSearchAttributeRequest Change-Id: I13fd2d88a2d5ae0a2d40af675f78626e4de71e95 Reviewed-on: https://chromium-review.googlesource.com/225505 Reviewed-by: Arman Uguray <armansito@chromium.org> Commit-Queue: Artem Rakhov <arakhov@chromium.org> Tested-by: Artem Rakhov <arakhov@chromium.org>
/external/autotest/server/site_tests/bluetooth_SDP_ServiceSearchAttributeRequest/bluetooth_SDP_ServiceSearchAttributeRequest.py
|
b0323401ac095b7bd993c53350ca990e7f869b72 |
|
21-Oct-2014 |
Artem Rakhov <arakhov@chromium.org> |
Bluetooth SDP autotest: test non-existing specific attributes Some specific attributes do not present in services, which are exposed in Chrome OS by default. So we need to create a fake service on the DUT, that will contain these atrributes, in order to be able to run the tests. BUG=chromium:417929 TEST=test_that --board ${BOARD} ${HOSTNAME} bluetooth_SDP_ServiceSearchAttributeRequest Change-Id: Ic10250cbb5596ed66f1c881c51b8a2a0092dfaed Reviewed-on: https://chromium-review.googlesource.com/225101 Reviewed-by: Artem Rakhov <arakhov@chromium.org> Commit-Queue: Artem Rakhov <arakhov@chromium.org> Tested-by: Artem Rakhov <arakhov@chromium.org>
/external/autotest/server/site_tests/bluetooth_SDP_ServiceSearchAttributeRequest/bluetooth_SDP_ServiceSearchAttributeRequest.py
|
549094a83e986926189571ab96d486906057d9f7 |
|
15-Oct-2014 |
Artem Rakhov <arakhov@chromium.org> |
Bluetooth SDP autotest: tests for existing specific attributes This CL adds tests for retrieving values of specific attributes using Service Search Attribute Request. BUG=chromium:417929 TEST=test_that --board ${BOARD} ${HOSTNAME} bluetooth_SDP_ServiceSearchAttributeRequest Change-Id: I3b3b8dcdf3a161f741f1a73842aeb9ffeec9e972 Reviewed-on: https://chromium-review.googlesource.com/223387 Tested-by: Artem Rakhov <arakhov@chromium.org> Reviewed-by: Arman Uguray <armansito@chromium.org> Reviewed-by: Michael Janssen <jamuraa@chromium.org> Commit-Queue: Artem Rakhov <arakhov@chromium.org>
/external/autotest/server/site_tests/bluetooth_SDP_ServiceSearchAttributeRequest/bluetooth_SDP_ServiceSearchAttributeRequest.py
|
228220686315aa6082f000ee869cd036e2e2c23d |
|
03-Oct-2014 |
Artem Rakhov <arakhov@chromium.org> |
Bluetooth SDP autotest: basic tests for Service Search Attribute This CL adds basic tests for Service Search Attribute transaction. Tests verify that DUT is able to respond on basic requests with existing/non-existing services/attributes (all 4 possible combinations). BUG=chromium:417580 TEST=test_that --board ${BOARD} ${HOSTNAME} bluetooth_SDP_ServiceSearchAttributeRequest Change-Id: Ifff7f9c4e895569df06546c31289dfaa3230b9b4 Reviewed-on: https://chromium-review.googlesource.com/221352 Reviewed-by: Michael Janssen <jamuraa@chromium.org> Tested-by: Artem Rakhov <arakhov@chromium.org> Reviewed-by: Arman Uguray <armansito@chromium.org> Commit-Queue: Artem Rakhov <arakhov@chromium.org>
/external/autotest/server/site_tests/bluetooth_SDP_ServiceSearchAttributeRequest/bluetooth_SDP_ServiceSearchAttributeRequest.py
|