Message ID | 20201117173635.29101-7-alex.bennee@linaro.org |
---|---|
State | New |
Headers | show |
Series | testing fixes (avocado, gitlab) | expand |
On 17/11/2020 18.36, Alex Bennée wrote: > From: Philippe Mathieu-Daudé <philmd@redhat.com> > > Similarly to commit 8cdb2cef3f1, move the trace backend > tests to GitLab. > > Note the User-Space Tracer backend is still tested on > Ubuntu by the s390x jobs on Travis-CI. > > Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> > Message-Id: <20201111121234.3246812-3-philmd@redhat.com> > Signed-off-by: Alex Bennée <alex.bennee@linaro.org> > --- > .gitlab-ci.yml | 18 ++++++++++++++++++ > .travis.yml | 19 ------------------- > 2 files changed, 18 insertions(+), 19 deletions(-) > > diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml > index b406027a55..d0173e82b1 100644 > --- a/.gitlab-ci.yml > +++ b/.gitlab-ci.yml > @@ -415,6 +415,24 @@ check-crypto-only-gnutls: > IMAGE: centos7 > MAKE_CHECK_ARGS: check > > +# We don't need to exercise every backend with every front-end > +build-trace-multi-user: > + <<: *native_build_job_definition > + variables: > + IMAGE: ubuntu2004 > + CONFIGURE_ARGS: --enable-trace-backends=log,simple,syslog --disable-system > + > +build-trace-ftrace-system: > + <<: *native_build_job_definition > + variables: > + IMAGE: ubuntu2004 > + CONFIGURE_ARGS: --enable-trace-backends=ftrace --target-list=x86_64-softmmu > + > +build-trace-ust-system: > + <<: *native_build_job_definition > + variables: > + IMAGE: ubuntu2004 > + CONFIGURE_ARGS: --enable-trace-backends=ust --target-list=x86_64-softmmu Hmmm, do we really need separate build jobs for this, or could we maybe rather simply add the options to some existing jobs instead (to save some CI cycles)? Thomas
On 18/11/2020 10.54, Thomas Huth wrote: > On 17/11/2020 18.36, Alex Bennée wrote: >> From: Philippe Mathieu-Daudé <philmd@redhat.com> >> >> Similarly to commit 8cdb2cef3f1, move the trace backend >> tests to GitLab. >> >> Note the User-Space Tracer backend is still tested on >> Ubuntu by the s390x jobs on Travis-CI. >> >> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> >> Message-Id: <20201111121234.3246812-3-philmd@redhat.com> >> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> >> --- >> .gitlab-ci.yml | 18 ++++++++++++++++++ >> .travis.yml | 19 ------------------- >> 2 files changed, 18 insertions(+), 19 deletions(-) >> >> diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml >> index b406027a55..d0173e82b1 100644 >> --- a/.gitlab-ci.yml >> +++ b/.gitlab-ci.yml >> @@ -415,6 +415,24 @@ check-crypto-only-gnutls: >> IMAGE: centos7 >> MAKE_CHECK_ARGS: check >> >> +# We don't need to exercise every backend with every front-end >> +build-trace-multi-user: >> + <<: *native_build_job_definition >> + variables: >> + IMAGE: ubuntu2004 >> + CONFIGURE_ARGS: --enable-trace-backends=log,simple,syslog --disable-system >> + >> +build-trace-ftrace-system: >> + <<: *native_build_job_definition >> + variables: >> + IMAGE: ubuntu2004 >> + CONFIGURE_ARGS: --enable-trace-backends=ftrace --target-list=x86_64-softmmu >> + >> +build-trace-ust-system: >> + <<: *native_build_job_definition >> + variables: >> + IMAGE: ubuntu2004 >> + CONFIGURE_ARGS: --enable-trace-backends=ust --target-list=x86_64-softmmu > > Hmmm, do we really need separate build jobs for this, or could we maybe > rather simply add the options to some existing jobs instead (to save some CI > cycles)? I guess we can still consolidate later ... but since Travis is now limiting the CI minutes, we definitely have to move this over, so: Acked-by: Thomas Huth <thuth@redhat.com>
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b406027a55..d0173e82b1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -415,6 +415,24 @@ check-crypto-only-gnutls: IMAGE: centos7 MAKE_CHECK_ARGS: check +# We don't need to exercise every backend with every front-end +build-trace-multi-user: + <<: *native_build_job_definition + variables: + IMAGE: ubuntu2004 + CONFIGURE_ARGS: --enable-trace-backends=log,simple,syslog --disable-system + +build-trace-ftrace-system: + <<: *native_build_job_definition + variables: + IMAGE: ubuntu2004 + CONFIGURE_ARGS: --enable-trace-backends=ftrace --target-list=x86_64-softmmu + +build-trace-ust-system: + <<: *native_build_job_definition + variables: + IMAGE: ubuntu2004 + CONFIGURE_ARGS: --enable-trace-backends=ust --target-list=x86_64-softmmu check-patch: stage: build diff --git a/.travis.yml b/.travis.yml index bac085f800..1f80bdb624 100644 --- a/.travis.yml +++ b/.travis.yml @@ -232,25 +232,6 @@ jobs: - TEST_CMD="" - # We don't need to exercise every backend with every front-end - - name: "GCC trace log,simple,syslog (user)" - env: - - CONFIG="--enable-trace-backends=log,simple,syslog --disable-system" - - TEST_CMD="" - - - - name: "GCC trace ftrace (x86_64-softmmu)" - env: - - CONFIG="--enable-trace-backends=ftrace --target-list=x86_64-softmmu" - - TEST_CMD="" - - - - name: "GCC trace ust (x86_64-softmmu)" - env: - - CONFIG="--enable-trace-backends=ust --target-list=x86_64-softmmu" - - TEST_CMD="" - - # Using newer GCC with sanitizers - name: "GCC9 with sanitizers (softmmu)" dist: bionic