Skip to content

windows: minipg stop sometimes times out (suspected h9, not confirmed) #378

Backlog

Description

@progrium

Found by minipg's e2e suite in a cross-platform test round on AWS against hyper9 22d395c (progrium/minipg#27). Windows, WHP backend.

What happens

minipg stop sometimes doesn't finish and the test fails with a Timeout. It happened in 1 of 4 e2e runs on Windows.

This is suspected to be on the h9 side, but it isn't confirmed. It could also be minipg's stop logic or Postgres's own shutdown. It may share a cause with #376, where a killed process stays alive after releasing its lock, since both are about a machine not going away when asked.

Expected

stop finishes reliably within its timeout, as it does on Linux and Mac.

Evidence

The logs from this round are on the h9dev machine in ~/minipg-test/results4/. The stop Timeout is in windows/e2e3.log.

Next steps

  • When it reproduces, check whether Postgres finished shutting down in the guest (server log) and whether the h9 process is stuck in machine teardown. That tells us whether this belongs to h9 or minipg.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions