containers / containers/BuildSourceImage
bug: CI fails with trailing slash on `-o .../` path
- Lingua principale
- Shell
- Stelle
- 32
- Fork
- 13
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
```
==> Running integration tests
TMPDIR= bats test/
1..7
ok 1 Help
ok 2 Version
ok 3 List Drivers
ok 4 No input
not ok 5 build from RPMS
# (in test file test/01-from_rpms.bats, line 15)
# `[[ ${lines[${n}]} =~ "[SrcImg][INFO] copied to oci:/output:latest-source" ]]' failed
# temporary directory: /tmp/tmp.YGAMC0VanG
ok 6 build from RPMS and push
not ok 7 Build from image reference
# (in test file test/02-from_image_ref.bats, line 21)
# `[[ ${lines[${n}]} =~ "[SrcImg][INFO] copied to oci:/output:latest-source" ]]' failed
# temporary directory: /tmp/tmp.aOWxgoZTUf
make: *** [test-integration] Error 1
```
but I could not get this to reproduce by running `podman run -it -v $(pwd)/SRCRPMS:/data:ro bsi -s /data -o /output/` directly
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Inizia dalle asserzioni fallite in test/01-from_rpms.bats alla riga 15 e in test/02-from_image_ref.bats alla riga 21, quindi esegui il target make test-integration. Confronta l'invocazione CI con podman run usando -o /output/ e determina il comportamento previsto per una barra finale; il lavoro è terminato quando i test di integrazione passano per quel percorso.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- shell
- Ambito
- cli
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 45/100