Skip to content

Conversation

@BluezTestBot
Copy link
Owner

Add some tests for BPF timestamping on Bluetooth sockets.

These require additional tester kernel config, and at build time
the vmlinux image.

Add cgroup mount to test-runner.

Add documentation to tester config for this.

Add tests:

ISO Send - TX BPF Timestamping
ISO Send - TX BPF + Socket Timestamping

Notes:
v2:
- automake: nodist, BUILD_SOURCES, CLEANFILES, silence output
- fix return type of tx_tstamp_bpf_process
- separate timestamp tracking for socket & BPF, add test enabling both
- match BPF tskey handling to the current plan

Makefile.tools | 39 +++++++
configure.ac | 36 +++++-
doc/test-runner.rst | 28 ++++-
doc/tester.config | 8 ++
tools/iso-tester.c | 97 +++++++++++++++-
tools/l2cap-tester.c | 2 +-
tools/sco-tester.c | 2 +-
tools/test-runner.c | 1 +
tools/tester-bpf.c | 101 +++++++++++++++++
tools/tester-bpf.h | 7 ++
tools/tester.h | 264 ++++++++++++++++++++++++++++++++++++-------
11 files changed, 531 insertions(+), 54 deletions(-)
create mode 100644 tools/tester-bpf.c
create mode 100644 tools/tester-bpf.h

tedd-an and others added 2 commits April 2, 2025 10:43
This patch adds workflow files for ci:

[sync.yml]
  - runs every 30 mins.
  - sync repo with upstream repo and rebase workflow branch to tip of
    master.
  - creates PR after reading patches from patchwork.kernel.org

[ci.yml]
  - Tests the following checks:
    - checkpatch
    - gitlint
    - make
    - make check

[code_scan.yml]
    - Static code checker: Coverity and Clang
    - Coverity: Submit the result to the coverity website
    - Clang Code Scan: Send email with result file to the internal team

To simplify the history, new change will amend to this patch without
creating new patch.
Add some tests for BPF timestamping on Bluetooth sockets.

These require additional tester kernel config, and at build time
the vmlinux image.

Add cgroup mount to test-runner.

Add documentation to tester config for this.

Add tests:

ISO Send - TX BPF Timestamping
ISO Send - TX BPF + Socket Timestamping
@BluezTestBot
Copy link
Owner Author

CheckPatch
Desc: Run checkpatch.pl script
Duration: 0.20 seconds
Result: PENDING

@BluezTestBot
Copy link
Owner Author

GitLint
Desc: Run gitlint
Duration: 0.19 seconds
Result: PENDING

@BluezTestBot
Copy link
Owner Author

BuildEll
Desc: Build and Install ELL
Duration: 20.99 seconds
Result: PASS

@BluezTestBot
Copy link
Owner Author

BluezMake
Desc: Build BlueZ
Duration: 1631.60 seconds
Result: PASS

@BluezTestBot
Copy link
Owner Author

MakeCheck
Desc: Run Bluez Make Check
Duration: 13.98 seconds
Result: PASS

@BluezTestBot
Copy link
Owner Author

MakeDistcheck
Desc: Run Bluez Make Distcheck
Duration: 163.79 seconds
Result: PASS

@BluezTestBot
Copy link
Owner Author

CheckValgrind
Desc: Run Bluez Make Check with Valgrind
Duration: 224.03 seconds
Result: PASS

@BluezTestBot
Copy link
Owner Author

CheckSmatch
Desc: Run smatch tool with source
Duration: 294.82 seconds
Result: WARNING
Output:

tools/sco-tester.c: note: in included file:./lib/bluetooth.h:232:15: warning: array of flexible structures./lib/bluetooth.h:237:31: warning: array of flexible structures

@BluezTestBot
Copy link
Owner Author

bluezmakeextell
Desc: Build Bluez with External ELL
Duration: 103.18 seconds
Result: PASS

@BluezTestBot
Copy link
Owner Author

IncrementalBuild
Desc: Incremental build with the patches in the series
Duration: 0.18 seconds
Result: PENDING

@BluezTestBot
Copy link
Owner Author

ScanBuild
Desc: Run Scan Build
Duration: 886.40 seconds
Result: PASS

@github-actions github-actions bot force-pushed the workflow branch 5 times, most recently from a65fdba to 89a49a5 Compare April 9, 2025 20:41
@github-actions github-actions bot force-pushed the workflow branch 3 times, most recently from df874a4 to b5c1fe6 Compare April 18, 2025 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants