bst artifact pull: 'artifact not found' is success
- Lingua principale
- Python
- Stelle
- 140
- Fork
- 45
- Merge medio
- 1g 3h
- PR unite (30g)
- 6
Descrizione
[See original issue on GitLab](https://gitlab.com/BuildStream/buildstream/-/issues/970)
In GitLab by [[Gitlab user @aevri]](https://gitlab.com/aevri) on Mar 21, 2019, 17:50
## Summary
[//]: # (Summarize the bug encountered concisely)
If you try to `bst artifact pull` an artifact that the server does not have, the command exits with code `0` and prints 'SUCCESS'.
It seems that it should exit with non-zero and print less positive text about the operation.
## Steps to reproduce
[//]: # (How one can reproduce the issue - this is very important)
```bash
git clone https://gitlab.com/buildstream/buildstream.git
cd buildstream/doc/examples/running-commands
REPO=$(mktemp -d)
bst-artifact-server "$REPO" -p 8888 &
cat >>project.conf <
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia in doc/examples/running-commands e riproduci il comportamento con bst artifact pull hello.bst su un repository bst-artifact-server vuoto. Traccia l’effetto del pull ignorato sul riepilogo finale della pipeline e sul codice di uscita; il lavoro è completato quando un artefatto mancante segnala un errore, include il contesto dell’artefatto e termina con un codice di uscita diverso da zero, come mostrato nell’output previsto.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python
- Ambito
- build-system, cli
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100