|WARNING| test: remove memif from fast tests
dpdklab at iol.unh.edu
dpdklab at iol.unh.edu
Tue Nov 10 19:10:56 CET 2026
Test-Label: ai-code-review
Test-Status: WARNING
https://dpdk.org/patch/172808
_AI Code Review_
=== Patch Review: series.patch (via Claude) ===
Review date: 2026-11-10
## Review of DPDK Patch: test: remove memif from fast tests
### Analysis
This patch changes the test registration macro for `memif_pmd_autotest` from `REGISTER_FAST_TEST` to `REGISTER_ATTIC_TEST`, effectively removing it from the regular fast test suite due to CI failures caused by race conditions in the memif driver.
### ERRORS
**Error 1: Unknown test registration macro**
Line: `REGISTER_ATTIC_TEST(memif_pmd_autotest, test_pmd_memif);`
The macro `REGISTER_ATTIC_TEST` is not a documented or known DPDK test registration macro. The standard test registration macros are defined in `lib/eal/include/rte_test.h` and include:
- `REGISTER_FAST_TEST(name, nohuge, asan, func)`
- `REGISTER_PERF_TEST(name, func)`
- `REGISTER_DRIVER_TEST(name, func)`
Using an undefined macro will cause compilation failure. If the intention is to disable the test entirely, the proper approach would be to either:
1. Comment out or conditionally compile the registration:
```c
/* Disabled until driver races are fixed
REGISTER_FAST_TEST(memif_pmd_autotest, NOHUGE_OK, ASAN_OK, test_pmd_memif);
*/
```
2. Or use a proper alternative registration macro if one exists for disabled tests.
**Suggested fix**: Verify that `REGISTER_ATTIC_TEST` is actually defined in the codebase. If not, either define it in the appropriate header with proper documentation, or use a different approach to disable the test (such as commenting it out with an explanatory note).
### Final Assessment
The patch introduces a compilation error by using an undefined macro. While the intent (removing a flaky test from CI) is reasonable, the implementation is incorrect.
Review-Result: ERROR
More information about the test-report
mailing list