2023-09-15 14:46:29

by bluez.test.bot

[permalink] [raw]
Subject: RE: Implementation of MICP and MICS Unit Testcases

This is automated email and please do not reply to this email!

Dear submitter,

Thank you for submitting the patches to the linux bluetooth mailing list.
This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=784602

---Test result---

Test Summary:
CheckPatch PASS 1.04 seconds
GitLint PASS 0.30 seconds
BuildEll PASS 28.66 seconds
BluezMake PASS 1053.57 seconds
MakeCheck FAIL 12.85 seconds
MakeDistcheck FAIL 143.90 seconds
CheckValgrind FAIL 268.91 seconds
CheckSmatch PASS 366.65 seconds
bluezmakeextell PASS 112.59 seconds
IncrementalBuild PASS 894.39 seconds
ScanBuild PASS 1115.57 seconds

Details
##############################
Test: MakeCheck - FAIL
Desc: Run Bluez Make Check
Output:

./test-driver: line 107: 31420 Aborted (core dumped) "$@" > $log_file 2>&1
make[3]: *** [Makefile:11433: test-suite.log] Error 1
make[2]: *** [Makefile:11541: check-TESTS] Error 2
make[1]: *** [Makefile:11963: check-am] Error 2
make: *** [Makefile:11965: check] Error 2
##############################
Test: MakeDistcheck - FAIL
Desc: Run Bluez Make Distcheck
Output:

../../test-driver: line 107: 53073 Aborted (core dumped) "$@" > $log_file 2>&1
make[4]: *** [Makefile:11433: test-suite.log] Error 1
make[3]: *** [Makefile:11541: check-TESTS] Error 2
make[2]: *** [Makefile:11963: check-am] Error 2
make[1]: *** [Makefile:11965: check] Error 2
make: *** [Makefile:11886: distcheck] Error 1
##############################
Test: CheckValgrind - FAIL
Desc: Run Bluez Make Check with Valgrind
Output:

tools/mgmt-tester.c: In function ‘main’:
tools/mgmt-tester.c:12763:5: note: variable tracking size limit exceeded with ‘-fvar-tracking-assignments’, retrying without
12763 | int main(int argc, char *argv[])
| ^~~~
./test-driver: line 107: 72497 Aborted (core dumped) "$@" > $log_file 2>&1
make[3]: *** [Makefile:11433: test-suite.log] Error 1
make[2]: *** [Makefile:11541: check-TESTS] Error 2
make[1]: *** [Makefile:11963: check-am] Error 2
make: *** [Makefile:11965: check] Error 2


---
Regards,
Linux Bluetooth


2023-09-15 19:04:35

by Luiz Augusto von Dentz

[permalink] [raw]
Subject: Re: Implementation of MICP and MICS Unit Testcases

Hi Mahesh.

On Fri, Sep 15, 2023 at 7:46 AM <[email protected]> wrote:
>
> This is automated email and please do not reply to this email!
>
> Dear submitter,
>
> Thank you for submitting the patches to the linux bluetooth mailing list.
> This is a CI test results with your patch series:
> PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=784602
>
> ---Test result---
>
> Test Summary:
> CheckPatch PASS 1.04 seconds
> GitLint PASS 0.30 seconds
> BuildEll PASS 28.66 seconds
> BluezMake PASS 1053.57 seconds
> MakeCheck FAIL 12.85 seconds
> MakeDistcheck FAIL 143.90 seconds
> CheckValgrind FAIL 268.91 seconds
> CheckSmatch PASS 366.65 seconds
> bluezmakeextell PASS 112.59 seconds
> IncrementalBuild PASS 894.39 seconds
> ScanBuild PASS 1115.57 seconds
>
> Details
> ##############################
> Test: MakeCheck - FAIL
> Desc: Run Bluez Make Check
> Output:
>
> ./test-driver: line 107: 31420 Aborted (core dumped) "$@" > $log_file 2>&1
> make[3]: *** [Makefile:11433: test-suite.log] Error 1
> make[2]: *** [Makefile:11541: check-TESTS] Error 2
> make[1]: *** [Makefile:11963: check-am] Error 2
> make: *** [Makefile:11965: check] Error 2
> ##############################
> Test: MakeDistcheck - FAIL
> Desc: Run Bluez Make Distcheck
> Output:
>
> ../../test-driver: line 107: 53073 Aborted (core dumped) "$@" > $log_file 2>&1
> make[4]: *** [Makefile:11433: test-suite.log] Error 1
> make[3]: *** [Makefile:11541: check-TESTS] Error 2
> make[2]: *** [Makefile:11963: check-am] Error 2
> make[1]: *** [Makefile:11965: check] Error 2
> make: *** [Makefile:11886: distcheck] Error 1
> ##############################
> Test: CheckValgrind - FAIL
> Desc: Run Bluez Make Check with Valgrind
> Output:
>
> tools/mgmt-tester.c: In function ‘main’:
> tools/mgmt-tester.c:12763:5: note: variable tracking size limit exceeded with ‘-fvar-tracking-assignments’, retrying without
> 12763 | int main(int argc, char *argv[])
> | ^~~~
> ./test-driver: line 107: 72497 Aborted (core dumped) "$@" > $log_file 2>&1
> make[3]: *** [Makefile:11433: test-suite.log] Error 1
> make[2]: *** [Makefile:11541: check-TESTS] Error 2
> make[1]: *** [Makefile:11963: check-am] Error 2
> make: *** [Makefile:11965: check] Error 2
>
>
> ---
> Regards,
> Linux Bluetooth

# unit/test-micp -d
MICS/SR/SPE/BI-02-C - run
test-micp: < 02 40 00 .@.
bt_att:src/shared/att.c:can_read_data() (chan 0x5630a1de6460) ATT
PDU received: 0x02
bt_gatt_server:src/shared/gatt-server.c:exchange_mtu_cb() MTU
exchange complete, with MTU: 64
test-micp: > 03 40 00 .@.
test-micp: < 10 01 00 ff ff 00 28 ......(
bt_att:src/shared/att.c:can_read_data() (chan 0x5630a1de6460) ATT
PDU received: 0x10
bt_gatt_server:src/shared/gatt-server.c:read_by_grp_type_cb() Read
By Grp Type - start: 0x0001 end: 0xffff
test-micp: > 11 06 01 00 04 00 4d 18 ......M.
test-micp: < 10 05 00 ff ff 00 28 ......(
bt_att:src/shared/att.c:can_read_data() (chan 0x5630a1de6460) ATT
PDU received: 0x10
bt_gatt_server:src/shared/gatt-server.c:read_by_grp_type_cb() Read
By Grp Type - start: 0x0005 end: 0xffff
test-micp: > 01 10 05 00 0a .....
test-micp: < 06 01 00 ff ff 00 28 4d 18 ......(M.
bt_att:src/shared/att.c:can_read_data() (chan 0x5630a1de6460) ATT
PDU received: 0x06
bt_gatt_server:src/shared/gatt-server.c:find_by_type_val_cb() Find
By Type Value - start: 0x0001 end: 0xffff uuid: 0x2800
test-micp: > 07 01 00 04 00 .....
test-micp: < 06 05 00 ff ff 00 28 4d 18 ......(M.
bt_att:src/shared/att.c:can_read_data() (chan 0x5630a1de6460) ATT
PDU received: 0x06
bt_gatt_server:src/shared/gatt-server.c:find_by_type_val_cb() Find
By Type Value - start: 0x0005 end: 0xffff uuid: 0x2800
test-micp: > 01 06 05 00 0a .....
test-micp: < 0a 03 00 ...
bt_att:src/shared/att.c:can_read_data() (chan 0x5630a1de6460) ATT
PDU received: 0x0a
bt_gatt_server:src/shared/gatt-server.c:handle_read_req() Read Req -
handle: 0x0003
bt_gatt_server:src/shared/gatt-server.c:read_complete_cb() Read
Complete: err 0
test-micp: > 0b 01 ..
test-micp: ! 0b 02 ..
**
ERROR:src/shared/tester.c:954:test_io_recv: assertion failed:
(memcmp(buf, iov->iov_base, len) == 0)
Bail out! ERROR:src/shared/tester.c:954:test_io_recv: assertion
failed: (memcmp(buf, iov->iov_base, len) == 0)


--
Luiz Augusto von Dentz