The MongoDB replica set test host fails every replica test when Docker finds one of its reserved host ports taken #386
Labels
No labels
agent
api-regen
agent
architect
agent
coder
agent
console-coder
agent
docs-writer
agent
mechanic
agent
protocol-coder
agent
storage-coder
area/api
area/ci
area/console
area/dhcp
area/dns
area/docs
area/packaging
area/process
area/storage
area/windows
kind
bug
kind
chore
kind
docs
kind
epic
kind
feature
kind
performance
kind
security
kind
test
priority
high
priority
low
priority
medium
resolution
duplicate
resolution
not-a-bug
resolution
wontfix
status
blocked
status
in-progress
status
needs-decision
status
needs-design
status
ready
theme
ad-samba-dns
theme
alternatives-benchmark
theme
console-toolchain
theme
later
theme
parity-devices
theme
parity-query
theme
post-release-fixes
theme
tracker-setup
theme
valkey
theme
windows-installer
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
lantea-one/ninlil#386
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Twenty-one
Ninlil.Dns.Data.Integration.Testsfailed in the Linux test job of pull-request run 1487 (PR #385, attempt 1). Seen once. Test code only; the PR does not touch this project.Failure
MongoDbReplicaSetTests,MongoDbReplicaCacheTests,MongoDbReplicaHealthTests,MongoDbReplicaRoutingTestsandMongoDbReplicaWebHostTestsfailed in 1 ms, because the shared fixture did not start.MongoDbReplicaSetEngineHost.StartAsync(line 48): Docker answeredfailed to bind host port 0.0.0.0:34131/tcp: address already in use.Cause
MongoDbReplicaSetEngineHostreserves three ports with a port-0 TCP bind on loopback, releases them, and publishes each as the same host port (WithPortBinding(published, published)). The replica set needs to know its ports before the containers start, so the reserve-and-release cannot be replaced by a Docker-assigned port.Fix (proposal)
Ninlil.Dns.Data.EngineHostspublish fixed host ports the same way.Done when
Ghost referenced this issue2026-11-12 14:16:01 -05:00