From: Daniel Vetter <daniel@ffwll.ch>
To: IGT development <igt-dev@lists.freedesktop.org>
Cc: Petri Latvala <petri.latvala@intel.com>,
Daniel Vetter <daniel.vetter@intel.com>
Subject: Re: [igt-dev] [PATCH i-g-t] gitlab-CI: Keep build artifacts when arm64-test fails
Date: Thu, 29 Nov 2018 19:31:18 +0100 [thread overview]
Message-ID: <20181129183118.GQ21184@phenom.ffwll.local> (raw)
In-Reply-To: <20181129152404.32546-1-daniel.vetter@ffwll.ch>
On Thu, Nov 29, 2018 at 04:24:04PM +0100, Daniel Vetter wrote:
> There's something very funky going on with the occasional commit
> consistently failing, e.g.
>
> https://gitlab.freedesktop.org/drm/igt-gpu-tools/-/jobs/51208
>
> We need to catch it to understand what happens.
>
> v2: Also dump the environment (Petri)
>
> Cc: Petri Latvala <petri.latvala@intel.com>
> Acked-by: Petri Latvala <petri.latvala@intel.com>
> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Just crossed my mind: Should we do this for all jobs at the test stage, in
case of failures? For testcases usually the log output from ninja isn't
good enough (as opposed to compile fail, that's generally totally clear
with just the gcc output).
-Daniel
> ---
> .gitlab-ci.yml | 8 +++++++-
> 1 file changed, 7 insertions(+), 1 deletion(-)
>
> diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
> index 0e55e3157a69..bcc32cd9c71f 100644
> --- a/.gitlab-ci.yml
> +++ b/.gitlab-ci.yml
> @@ -97,7 +97,13 @@ test:ninja-test-arm64:
> dependencies:
> - build:tests-debian-meson-arm64
> stage: test
> - script: ninja -C build test
> + script:
> + - env > build/envdump.txt
> + - ninja -C build test
> + artifacts:
> + paths:
> + - build
> + when: on_failure
>
> test:test-list-diff:
> dependencies:
> --
> 2.19.1
>
--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
prev parent reply other threads:[~2018-11-29 18:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-29 15:24 [igt-dev] [PATCH i-g-t] gitlab-CI: Keep build artifacts when arm64-test fails Daniel Vetter
2018-11-29 17:47 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork
2018-11-29 18:31 ` Daniel Vetter [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20181129183118.GQ21184@phenom.ffwll.local \
--to=daniel@ffwll.ch \
--cc=daniel.vetter@intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=petri.latvala@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox