MongoDB integration tests fail on newer GitHub Actions runner kernels
メンテナーはふだん 7 日以内に返信
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 74/100
調査の方向性
.github/workflows/tests.ymlを読み、Eventuous.Tests.Projections.MongoDB.csprojを実行するMongo統合ジョブを見つけます。そのrunnerがどのように選択されるか、また他の各スイートがどのようにrunnerを選択するかを確認します。issueの説明に従ってMongoスイートのrunnerを更新し、overrideの横にupstreamの互換性問題を記載します。GitHub ActionsでMongoスイートが成功し、他のスイートのrunner選択が維持されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- C#
- スター
- 512
- フォーク
- 99
- 平均マージ
- 5日 6時間
- マージ済み PR(30日)
- 5
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Eventuous/eventuous のほかの issue
-
`dotnet format style --verify-no-changes` fails with naming violations and unnecessary imports対応中かも @nmummau が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
Eventuous/eventuous#624 · コメント 1 件 ·
メンテナーはふだん 7 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
Eventuous/eventuous#627 · コメント 1 件 ·
メンテナーはふだん 7 日以内に返信
-
SQL Server: `append_events` does not need the `@inserted` table variable対応中かも @nmummau が 6 日前に担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 20/100
Eventuous/eventuous#619 · コメント 1 件 ·
メンテナーはふだん 7 日以内に返信
-
SQL Server: stream reads do one key lookup per event, and `IDX_EventsStream` duplicates `UQ_StreamIdAndStreamPosition`対応中かも @nmummau が 6 日前に担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 18/100
Eventuous/eventuous#618 · コメント 1 件 ·
メンテナーはふだん 7 日以内に返信
-
SQL Server: every stream lookup by name does a key lookup to get `Version`対応中かも @nmummau が 6 日前に担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 25/100
Eventuous/eventuous#617 · コメント 1 件 ·
メンテナーはふだん 7 日以内に返信
Eventuous/eventuous の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
gavin-wolfe/wolfden#104 ·
メンテナーはふだん 1 日以内に返信
-
[BUG] Still libmicrohttpd dependency is not removed properly from External-Dependency-Info.txt fileオープンtype/bug
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
[辞書] かんそうりつ->乾燥率オープン辞書
難易度 1/5 1時間未満 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
bug good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
thomhurst/TUnit#7201 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
ArduPilot/MissionPlanner#3826 ·
メンテナーはふだん 1 日以内に返信