run upstream tests
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 25/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Necesita aclaración
- Estado de actividad
- Estancado
- Área
- devops, testing-qa
Línea de trabajo
Comienza con debian/tests/run-all de Debian y test/runner.rb de Ruby; después, compara ese enfoque posterior a la compilación con el flujo de pruebas existente de la imagen de Docker y los fallos reportados de ruby:slim. Se considera terminado cuando las pruebas upstream se ejecutan después de crear la imagen, los fallos se han resuelto o excluido y cada exclusión está documentada con una justificación.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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).
- Lenguaje dominante
- Shell
- Estrellas
- 624
- Forks
- 322
- Merge medio
- 22 d 3 h
- PR fusionados (30 d)
- 1
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de docker-library/ruby
-
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
docker-library/ruby#507 · 1 comentario ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
docker-library/ruby#502 · 3 comentarios ·
-
Add Windows Server Core variants AbiertoRequest
Dificultad 5/5 Más de una semana Aptitud para principiantes 30/100
docker-library/ruby#130 · 7 comentarios · 1 reacción ·
Todos los issues de docker-library/ruby
Issues similares
-
[Bug] reef-hermes tells me to resume with hermes --resume, which does not work from my shell Abiertoarea: harness bug status: needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Human-Agent-Society/reef#625 ·
-
module: core
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
bigbluebutton/bigbluebutton#25849 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
vercel-labs/just-bash#464 ·
-
area:sandbox documentation enhancement platform:linux
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
anthropics/claude-code#96664 ·
-
cost:cheap severity:medium
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
fairagro/m4.2_sql_to_arc#227 ·