run upstream tests
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 領域
- devops, testing-qa
調査の方向性
Debian の debian/tests/run-all と Ruby の test/runner.rb から始め、その後、そのビルド後のアプローチを既存の Docker イメージのテストフローおよび報告されている ruby:slim の失敗と比較します。イメージのビルド後に upstream テストが実行され、失敗が解決または除外され、各除外が理由とともに文書化されていれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Similar to https://github.com/docker-library/golang/issues/552, there are a lot of upstream tests we could run and should run somewhere, but during build doesn't necessarily make sense.
In https://salsa.debian.org/ruby-team/ruby/-/blob/5b91c2c6b64195da7110d341daba904b9d12c9d5/debian/tests/run-all, we can see that Debian does some clever things to run a lot of the upstream tests post-build via "autopkgtests" (which is very akin to how we run tests on our images after they're built -- they typically run against the built + installed packages).
The basic gist is ruby test/runner.rb, and Debian's got a pretty hefty collection of tests they exclude which will probably inspire tests we need to exclude too (especially # FIXME for now, we are excluding the tests for C extensions; couldn't figure out how to properly build them without building everything else, since we'll have the same issue with doing this post-build).
So we'll need to recreate our "download the source code" logic to get the test files back, but that's the easy part. My own very basic testing of this idea on ruby:slim comes up with "7 failures, 6 errors, 176 skips", so there's clearly some work to do here (for each of those, fixing the image, accommodating the test somehow with runtime flags/packages/etc, or building up a list of tests to skip and writing down justifications for why we think they're valid to skip/ignore).
- 主要言語
- Shell
- スター
- 624
- フォーク
- 322
- 平均マージ
- 22日 3時間
- マージ済み PR(30日)
- 1
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
docker-library/ruby のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
docker-library/ruby#507 · コメント 1 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
docker-library/ruby#502 · コメント 3 件 ·
-
Request
難易度 5/5 1週間以上 初心者へのやさしさ 30/100
docker-library/ruby#130 · コメント 7 件 · リアクション 1 件 ·
docker-library/ruby の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
bug easy help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
lacs-project/sysknife#503 ·
-
help wanted kind/documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
liquidmetal-dev/flintlock#1239 ·