----- Original Message -----
> From: "Cleber Rosa" <cr...@redhat.com>
> To: "Peter Maydell" <peter.mayd...@linaro.org>
> Cc: "Alex Bennée" <alex.ben...@linaro.org>, "QEMU Developers"
> <qemu-devel@nongnu.org>, "Fam Zheng" <f...@euphon.net>,
> "Eduardo Habkost" <ehabk...@redhat.com>, "Beraldo Leal" <bl...@redhat.com>,
> "Philippe Mathieu-Daudé"
> <phi...@redhat.com>, "Thomas Huth" <th...@redhat.com>, "Wainer dos Santos
> Moschetta" <waine...@redhat.com>, "Erik
> Skultety" <eskul...@redhat.com>, "Willian Rampazzo" <wramp...@redhat.com>,
> "Wainer Moschetta" <wmosc...@redhat.com>
> Sent: Monday, March 16, 2020 8:26:46 AM
> Subject: Re: [PATCH 0/5] QEMU Gating CI
>
>
>
> ----- Original Message -----
> > From: "Peter Maydell" <peter.mayd...@linaro.org>
> > To: "Cleber Rosa" <cr...@redhat.com>
> > Cc: "Alex Bennée" <alex.ben...@linaro.org>, "QEMU Developers"
> > <qemu-devel@nongnu.org>, "Fam Zheng" <f...@euphon.net>,
> > "Eduardo Habkost" <ehabk...@redhat.com>, "Beraldo Leal" <bl...@redhat.com>,
> > "Philippe Mathieu-Daudé"
> > <phi...@redhat.com>, "Thomas Huth" <th...@redhat.com>, "Wainer dos Santos
> > Moschetta" <waine...@redhat.com>, "Erik
> > Skultety" <eskul...@redhat.com>, "Willian Rampazzo" <wramp...@redhat.com>,
> > "Wainer Moschetta" <wmosc...@redhat.com>
> > Sent: Monday, March 16, 2020 8:12:16 AM
> > Subject: Re: [PATCH 0/5] QEMU Gating CI
> >
> > On Mon, 16 Mar 2020 at 12:04, Cleber Rosa <cr...@redhat.com> wrote:
> > > A few possible reasons come to my mind:
> > >
> > > 1) It usually takes a few seconds after the push for the pipeline to
> > >
> > > 2) If you've pushed to a repo different than
> > > gitlab.com/qemu-project/qemu,
> > > you'd have to tweak the project ID (-p|--project-id).
> > >
> > > 3) The local branch is not called "staging", so the script can not find
> > > the
> > > commit ID, in that case you can use -c|--commit.
> >
> > Yes, the local branch is something else for the purposes of
> > testing this series. But using --commit doesn't work either:
> >
> > $ ./contrib/ci/scripts/gitlab-pipeline-status --verbose --commit
> > 81beaaab0851fe8c4db971 --wait
> > ERROR: No pipeline found
> > failure
> >
>
> This may be a bug in the script because I was not expecting two
> pipelines for the same commit. Checking...
>
Looks like the GitLab API requires a 40 char commit ID, so this
should work:
$ ./contrib/ci/scripts/gitlab-pipeline-status --verbose --commit
81beaaab0851fe8c4db971df555600152bb83a6c --wait
It'll stay silent at first, but then will print a message every 60 seconds.
Thanks,
- Cleber.