MongoDB integration tests fail on newer GitHub Actions runner kernels
Maintainer thường phản hồi trong vòng 7 ngày
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 74/100
Hướng nghiên cứu
Đọc .github/workflows/tests.yml và tìm job tích hợp Mongo chạy Eventuous.Tests.Projections.MongoDB.csproj; kiểm tra cách runner của job được chọn và cách các bộ kiểm thử khác chọn runner của chúng. Cập nhật runner của bộ Mongo như mô tả trong issue và ghi lại vấn đề tương thích upstream bên cạnh phần ghi đè. Hoàn tất khi bộ Mongo chạy thành công trên GitHub Actions và các bộ khác vẫn giữ nguyên cách chọn runner.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Describe the bug
The Tests / Build and test mongo job fails while starting its MongoDB container. MongoDB exits with code 1 because its startup check rejects the runner's Linux kernel, preventing the projection tests from executing.
Observed in this failing GitHub Actions job on October 19, 2026
To reproduce
-
Run the Mongo integration suite through
.github/workflows/tests.ymlon anubuntu-latestrunner with an affected kernel. -
The workflow executes:
dotnet test src/Mongo/test/Eventuous.Tests.Projections.MongoDB/Eventuous.Tests.Projections.MongoDB.csproj -c "Debug CI" -f net10.0 -
The integration fixture starts the
mongo:8image through Testcontainers. -
MongoDB rejects the kernel during startup, and fixture initialization fails.
Reproduction depends on the runner assigned to the job and the image resolved by the floating mongo:8 tag.
Expected behavior
The MongoDB container starts successfully, and the Mongo projection integration suite runs and passes in CI.
Actual behavior
The job reports the following failure for ShouldProjectImported (container ID and repeated stack trace omitted):
failed ShouldProjectImported(MongoProjectionOptions { CollectionName = test }) (0ms)
[Test Failure] ContainerNotRunningException: Container ... exited with code 1.
MongoDB cannot start: Linux kernel versions 6.19 and newer has a known incompatibility with this version of MongoDB. See https://jira.mongodb.org/browse/SERVER-121912 for more information.
Environment
- Workflow:
.github/workflows/tests.yml, called by the PR and preview workflows. - Runner label:
ubuntu-latest. - Test target:
net10.0, x64,Debug CIconfiguration. - Container image configured by the fixture:
mongo:8. - The failure excerpt does not identify the exact host kernel release or resolved MongoDB patch version.
Additional context
GitHub began migrating ubuntu-latest to Ubuntu 26.04 on October 19, 2026. The timing is consistent with a runner change exposing the MongoDB compatibility problem, although the excerpt alone does not establish which runner image was assigned.
MongoDB tracks the underlying kernel incompatibility in SERVER-121912. It also tracks a startup-check issue that rejects Ubuntu kernels containing the upstream fix in SERVER-136848. Docker containers share the host kernel, so changing only the container's base distribution does not address the host-kernel check.
Proposed workaround
Pin only the Mongo integration suite to ubuntu-24.04, retaining ubuntu-latest for the other suites. GitHub's Ubuntu 24.04 runner manifest lists kernel 6.17.0-1022-azure for image 20261012.334.1, below MongoDB's affected range.
Document the upstream issue beside the runner override so the workaround can be revisited when a compatible MongoDB image is available. The runner label does not permanently pin a kernel version.
A local workflow change passes Actionlint and git diff --check; confirmation in GitHub Actions is still pending.
Acceptance criteria
- The Mongo integration suite passes on GitHub Actions with the selected runner.
- Other integration suites retain their existing runner selection.
- The runner override documents the upstream compatibility issue.
- Ngôn ngữ chính
- C#
- Star
- 512
- Fork
- 99
- Merge trung bình
- 5 ngày 6 giờ
- Pull request đã merge (30 ngày)
- 5
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Eventuous/eventuous
-
`dotnet format style --verify-no-changes` fails with naming violations and unnecessary importsCó thể đã có người làm @nmummau đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
Eventuous/eventuous#624 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 7 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
Eventuous/eventuous#627 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 7 ngày
-
SQL Server: `append_events` does not need the `@inserted` table variableCó thể đã có người làm @nmummau đã nhận 6 ngày trước. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 20/100
Eventuous/eventuous#619 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 7 ngày
-
SQL Server: stream reads do one key lookup per event, and `IDX_EventsStream` duplicates `UQ_StreamIdAndStreamPosition`Có thể đã có người làm @nmummau đã nhận 6 ngày trước. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 18/100
Eventuous/eventuous#618 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 7 ngày
-
SQL Server: every stream lookup by name does a key lookup to get `Version`Có thể đã có người làm @nmummau đã nhận 6 ngày trước. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 25/100
Eventuous/eventuous#617 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 7 ngày
Tất cả issue của Eventuous/eventuous
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
gavin-wolfe/wolfden#104 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[BUG] Still libmicrohttpd dependency is not removed properly from External-Dependency-Info.txt fileĐang mởtype/bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
[辞書] かんそうりつ->乾燥率Đang mở辞書
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 62/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
thomhurst/TUnit#7201 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
ArduPilot/MissionPlanner#3826 ·
Maintainer thường phản hồi trong vòng 1 ngày