yixianOu commented on PR #12795:
URL: https://github.com/apache/apisix/pull/12795#issuecomment-3656424957

   
https://github.com/apache/apisix/actions/runs/20191178102/job/58038560408?pr=12795
   CI Test Failure Analysis (First-Person Simplified):
   
   - Failed test: TEST 15 "add plugin with algorithm nanoid" in 
t/plugin/request-id.t
   - Failure cause: Duplicate IDs occurred when generating 180 nanoids 
concurrently, leading to test output "ids not unique" instead of the expected 
"true"
   - Connection to my code changes:
     - ❌ My changes didn’t affect this test. I only modified:
       - apisix/plugins/ai-proxy/schema.lua (renamed field: logging_schema → 
logging)
       - t/plugin/ai-proxy*.t (AI-proxy test files)
       - .gitignore
     - ✅ Neither request-id.t nor apisix/plugins/request-id.lua was modified
   - Possible root cause:
     - This is an intermittent test failure, usually caused by:
       - Duplicate randomness in the nanoid library under specific concurrent 
conditions
       - Timing issues due to CI environment resource limits
       - Behavior of LuaJIT’s random number generator at high concurrency
     - The issue isn’t caused by my changes but by pre-existing CI instability


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to