[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 3/4] docs: show stdout/stderr when meson fails build test
|
From: |
Daniel P . Berrangé |
|
Subject: |
Re: [PATCH 3/4] docs: show stdout/stderr when meson fails build test |
|
Date: |
Thu, 5 Nov 2020 11:02:35 +0000 |
|
User-agent: |
Mutt/1.14.6 (2020-07-11) |
On Mon, Nov 02, 2020 at 01:48:00PM +0000, Peter Maydell wrote:
> On Mon, 2 Nov 2020 at 13:09, Daniel P. Berrangé <berrange@redhat.com> wrote:
> >
> > It is hard to diagnose why Sphinx fails in a CI environment, as we
> > discard the stdout/err and just print a generic error message.
> >
> > Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
>
> This kind of detailed-diagnostics should go into whatever
> meson's equivalent of config.log is. There's an argument
> for printing it if the user asked for --enable-docs specifically,
> but if we're doing the usual "see if it works, use it if it does"
> logic then we shouldn't be printing diagnostic logging from
> Sphinx (which can be pretty ugly and longwinded) in the middle
> of the meson output, IMHO.
Turns out this is already recorded in build/meson-logs/meson-log.txt
by default. We can probably publish the file as an artifact in
gitlab CI to aid debugging.
Regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
- [PATCH 0/4] Publish docs as GitLab Pages, Daniel P . Berrangé, 2020/11/02
- [PATCH 3/4] docs: show stdout/stderr when meson fails build test, Daniel P . Berrangé, 2020/11/02
- [PATCH 4/4] docs: add "page source" link to sphinx documentation, Daniel P . Berrangé, 2020/11/02
- Re: [PATCH 0/4] Publish docs as GitLab Pages, Philippe Mathieu-Daudé, 2020/11/02
- Re: [PATCH 0/4] Publish docs as GitLab Pages, Thomas Huth, 2020/11/09