Skip to content

fix(WINDOWS): test_openai_api_server.exe crashes with STATUS_ACCESS_VIOLATION on Windows CI #3151

Description

@localai-org-maint-bot

Row: -

Owed

Spec: none yet — this is a pre-existing CI failure, not a row-scoped change.

Problem

The Windows CI job windows-msvc-cpu fails on every PR with test_openai_api_server.exe exiting with code -1073740791 (STATUS_ACCESS_VIOLATION / 0xC0000005). The crash occurs in multiple api_server test cases:

  • Case 58: api_server: an explicit-cpu device-selected engine serves /v1/completions
  • Case 59: api_server: embeddings dispatch — OpenAI shape over the engine path
  • Case 61: api_server: embeddings socket smoke; generate routes 404 on the embedding server

Plus two rc=1 failures (cases 6 and 81).

Evidence

Impact

Every PR shows red on Windows CI. While the failure is pre-existing and does not block individual PR merges (it fails on main too), it masks real Windows regressions and makes CI unreadable.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions