qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 04250c: travis.yml: Move gprof/gcov test acro


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] 04250c: travis.yml: Move gprof/gcov test across to gitlab
Date: Mon, 15 Feb 2021 05:04:23 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 04250c69bc100daf95a221b39ee438e679d093e8
      
https://github.com/qemu/qemu/commit/04250c69bc100daf95a221b39ee438e679d093e8
  Author: Philippe Mathieu-Daudé <philmd@redhat.com>
  Date:   2021-02-15 (Mon, 15 Feb 2021)

  Changed paths:
    M .gitlab-ci.yml
    M .travis.yml
    M MAINTAINERS
    A scripts/ci/coverage-summary.sh
    R scripts/travis/coverage-summary.sh
    M tests/docker/dockerfiles/ubuntu2004.docker

  Log Message:
  -----------
  travis.yml: Move gprof/gcov test across to gitlab

Similarly to commit 8cdb2cef3f1, move the gprof/gcov test to GitLab.

The coverage-summary.sh script is not Travis-CI specific, make it
generic.

[thuth: Add gcovr and bsdmainutils which are required for the
        coverage-summary.sh script to the ubuntu docker file,
        and use 'check' as test target]

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
Message-Id: <20201108204535.2319870-10-philmd@redhat.com>
Message-Id: <20210211045455.456371-2-thuth@redhat.com>
Message-Id: <20210211122750.22645-2-alex.bennee@linaro.org>


  Commit: c2b33c43fd6f65897adbf5209dbc08ee5cb6d47e
      
https://github.com/qemu/qemu/commit/c2b33c43fd6f65897adbf5209dbc08ee5cb6d47e
  Author: Thomas Huth <thuth@redhat.com>
  Date:   2021-02-15 (Mon, 15 Feb 2021)

  Changed paths:
    M .gitlab-ci.yml
    M .travis.yml

  Log Message:
  -----------
  travis.yml: Move the -fsanitize=undefined test to the gitlab-CI

Add it to the existing Clang job and also add a job that covers the
linux-user code with this compiler flag. To make sure that the detected
problems are not simply ignored, let's also use "-fno-sanitize-recover=..."
now instead.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210211045455.456371-3-thuth@redhat.com>
Message-Id: <20210211122750.22645-3-alex.bennee@linaro.org>


  Commit: 3382261c26d05a3c93977f9a8d7974faf60bcd31
      
https://github.com/qemu/qemu/commit/3382261c26d05a3c93977f9a8d7974faf60bcd31
  Author: Thomas Huth <thuth@redhat.com>
  Date:   2021-02-15 (Mon, 15 Feb 2021)

  Changed paths:
    M .gitlab-ci.yml
    M .travis.yml

  Log Message:
  -----------
  travis.yml: Move the --enable-modules test to the gitlab-CI

Simply add the flag to an existing job, no need for yet another
job here.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210211045455.456371-4-thuth@redhat.com>
Message-Id: <20210211122750.22645-4-alex.bennee@linaro.org>


  Commit: ac6d7074c0751f60ea0cbc4f0d3a3cf336033b69
      
https://github.com/qemu/qemu/commit/ac6d7074c0751f60ea0cbc4f0d3a3cf336033b69
  Author: Thomas Huth <thuth@redhat.com>
  Date:   2021-02-15 (Mon, 15 Feb 2021)

  Changed paths:
    M .gitlab-ci.yml
    M .travis.yml

  Log Message:
  -----------
  travis.yml: (Re-)move the --enable-debug jobs

We already have similar jobs in the gitlab-CI ("build-some-softmmu" and
"build-user-plugins"), so let's switch one of them to use --enable-debug
instead of --enable-debug-tcg, then we can simply drop these jobs from
the Travis-CI.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
Message-Id: <20210211045455.456371-5-thuth@redhat.com>
Message-Id: <20210211122750.22645-5-alex.bennee@linaro.org>


  Commit: 0c99f50c52c315d81071bb9255971e165e1d0a6f
      
https://github.com/qemu/qemu/commit/0c99f50c52c315d81071bb9255971e165e1d0a6f
  Author: Thomas Huth <thuth@redhat.com>
  Date:   2021-02-15 (Mon, 15 Feb 2021)

  Changed paths:
    M .gitlab-ci.yml
    M .travis.yml

  Log Message:
  -----------
  travis.yml: Move the -fsanitize=thread testing to the gitlab-CI

Use clang-10, so we can also use the --enable-tsan configure
option instead of only passing the flag via --extra-cflags.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210211045455.456371-6-thuth@redhat.com>
Message-Id: <20210211122750.22645-6-alex.bennee@linaro.org>


  Commit: f3cb065fc42dcbeef63057d802ae313a19e166b8
      
https://github.com/qemu/qemu/commit/f3cb065fc42dcbeef63057d802ae313a19e166b8
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2021-02-15 (Mon, 15 Feb 2021)

  Changed paths:
    R .shippable.yml
    M MAINTAINERS

  Log Message:
  -----------
  .shippable: remove the last bits

Shippable is about to sunset in May 2021 [1] and we had already moved
a chunk of the crossbuilds to GitLab. We already cross build
mips-softmmu targets since:

  6bcb5fc0f7 ("gitlab-ci: Add cross-compiling build tests")

and x86 is very well covered.

[1]: 
https://blog.shippable.com/the-next-step-in-the-evolution-of-shippable-jfrog-pipelines

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20210211122750.22645-7-alex.bennee@linaro.org>


  Commit: aa2ea7ad6c1a45f8336d9269750353ed8218a5dd
      
https://github.com/qemu/qemu/commit/aa2ea7ad6c1a45f8336d9269750353ed8218a5dd
  Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
  Date:   2021-02-15 (Mon, 15 Feb 2021)

  Changed paths:
    M .travis.yml

  Log Message:
  -----------
  travis-ci: Disable C++ optional objects on AArch64 container

Travis-CI seems to have enforced memory limit on containers,
and the 'GCC check-tcg' job started to fail on AArch64 [*]:

  [2041/3679] Compiling C++ object libcommon.fa.p/disas_nanomips.cpp.o
  FAILED: libcommon.fa.p/disas_nanomips.cpp.o
  {standard input}: Assembler messages:
  {standard input}:577781: Warning: end of file not at end of a line; newline 
inserted
  {standard input}:577882: Error: unknown pseudo-op: `.lvl35769'
  {standard input}: Error: open CFI at the end of file; missing .cfi_endproc 
directive
  c++: fatal error: Killed signal terminated program cc1plus
  compilation terminated.

Until we have a replacement for this job on Gitlab-CI, disable
compilation of C++ files by forcing the c++ compiler to /bin/false
so Meson build system can not detect it:

  $ ../configure --cxx=/bin/false

  Compilation
                       C compiler: cc
                  Host C compiler: cc
                     C++ compiler: NO

[*] https://travis-ci.org/github/qemu/qemu/jobs/757819402#L3754

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
Message-Id: <20210207121239.2288530-1-f4bug@amsat.org>
Message-Id: <20210211122750.22645-8-alex.bennee@linaro.org>


  Commit: d79f5c8b2302a8747260fb74b59ee086e7f077b6
      
https://github.com/qemu/qemu/commit/d79f5c8b2302a8747260fb74b59ee086e7f077b6
  Author: Daniel P. Berrangé <berrange@redhat.com>
  Date:   2021-02-15 (Mon, 15 Feb 2021)

  Changed paths:
    M docs/devel/testing.rst
    M tests/docker/Makefile.include
    R tests/docker/dockerfiles/travis.docker
    R tests/docker/travis
    R tests/docker/travis.py

  Log Message:
  -----------
  tests/docker: remove travis container

The travis container that we have no longer matches what travis
currently uses. As all x86 jobs are being moved to GitLab CI too,
there is no compelling reason to update the travis container. It
is simpler to just remove it.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
Message-Id: <20210209135011.1224992-2-berrange@redhat.com>
Message-Id: <20210211122750.22645-9-alex.bennee@linaro.org>


  Commit: 0dec1016a3cdaf64ed1296af4ec455134850d77c
      
https://github.com/qemu/qemu/commit/0dec1016a3cdaf64ed1296af4ec455134850d77c
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2021-02-15 (Mon, 15 Feb 2021)

  Changed paths:
    M MAINTAINERS

  Log Message:
  -----------
  MAINTAINERS: Add gdbstub.h to the "GDB stub" section

The F: patterns in the "GDB stub" section forgot gdbstub.h; add it.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Acked-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210208113729.25170-1-peter.maydell@linaro.org>
Message-Id: <20210211122750.22645-10-alex.bennee@linaro.org>


  Commit: d20711bd6d88ecd5890818b074a62a9f0858ffef
      
https://github.com/qemu/qemu/commit/d20711bd6d88ecd5890818b074a62a9f0858ffef
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2021-02-15 (Mon, 15 Feb 2021)

  Changed paths:
    M target/sh4/gdbstub.c

  Log Message:
  -----------
  target/sh4: Drop use of gdb_get_float32() and ldfl_p()

We used to make a distinction between 'float64'/'float32' types and
the 'uint64_t'/'uint32_t' types, requiring special conversion
operations to go between them.  We've now dropped this distinction as
unnecessary, and the 'float*' types remain primarily for
documentation purposes when used in places like the function
prototypes of TCG helper functions.

This means that there's no need for a special gdb_get_float32()
function to write a float32 value to the GDB protocol buffer; we can
just use gdb_get_reg32().

Similarly, for reading a value out of the GDB buffer into a float32
we can use ldl_p() and need not use ldfl_p().

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20210208113428.7181-2-peter.maydell@linaro.org>
Message-Id: <20210211122750.22645-11-alex.bennee@linaro.org>


  Commit: 7ed51401f1fbb8470170c588bf69cc1f690312e5
      
https://github.com/qemu/qemu/commit/7ed51401f1fbb8470170c588bf69cc1f690312e5
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2021-02-15 (Mon, 15 Feb 2021)

  Changed paths:
    M target/m68k/helper.c

  Log Message:
  -----------
  target/m68k: Drop use of gdb_get_float64() and ldfq_p()

We used to make a distinction between 'float64'/'float32' types and
the 'uint64_t'/'uint32_t' types, requiring special conversion
operations to go between them.  We've now dropped this distinction as
unnecessary, and the 'float*' types remain primarily for
documentation purposes when used in places like the function
prototypes of TCG helper functions.

This means that there's no need for a special gdb_get_float64()
function to write a float64 value to the GDB protocol buffer; we can
just use gdb_get_reg64().

Similarly, for reading a value out of the GDB buffer into a float64
we can use ldq_p() and need not use ldfq_p().

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Acked-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20210208113428.7181-3-peter.maydell@linaro.org>
Message-Id: <20210211122750.22645-12-alex.bennee@linaro.org>


  Commit: 34510e327e63df9ce29a1447497c7b5b7fb473d3
      
https://github.com/qemu/qemu/commit/34510e327e63df9ce29a1447497c7b5b7fb473d3
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2021-02-15 (Mon, 15 Feb 2021)

  Changed paths:
    M target/ppc/gdbstub.c
    M target/ppc/translate_init.c.inc

  Log Message:
  -----------
  target/ppc: Drop use of gdb_get_float64() and ldfq_p()

We used to make a distinction between 'float64'/'float32' types and
the 'uint64_t'/'uint32_t' types, requiring special conversion
operations to go between them.  We've now dropped this distinction as
unnecessary, and the 'float*' types remain primarily for
documentation purposes when used in places like the function
prototypes of TCG helper functions.

This means that there's no need for a special gdb_get_float64()
function to write a float64 value to the GDB protocol buffer; we can
just use gdb_get_reg64().

Similarly, for reading a value out of the GDB buffer into a float64
we can use ldq_p() and need not use ldfq_p().

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Message-Id: <20210208113428.7181-4-peter.maydell@linaro.org>
Message-Id: <20210211122750.22645-13-alex.bennee@linaro.org>


  Commit: b81cff9cd9427b08a4d1f6167e502a1db3124e3c
      
https://github.com/qemu/qemu/commit/b81cff9cd9427b08a4d1f6167e502a1db3124e3c
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2021-02-15 (Mon, 15 Feb 2021)

  Changed paths:
    M include/exec/gdbstub.h

  Log Message:
  -----------
  gdbstub: Remove unused gdb_get_float32() and gdb_get_float64()

The functions gdb_get_float32() and gdb_get_float64() are now unused;
remove them.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20210208113428.7181-5-peter.maydell@linaro.org>
Message-Id: <20210211122750.22645-14-alex.bennee@linaro.org>


  Commit: f930224fffead81e23e699517d1351e33890b6f7
      
https://github.com/qemu/qemu/commit/f930224fffead81e23e699517d1351e33890b6f7
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2021-02-15 (Mon, 15 Feb 2021)

  Changed paths:
    M docs/devel/loads-stores.rst
    M include/exec/cpu-all.h
    M include/qemu/bswap.h

  Log Message:
  -----------
  bswap.h: Remove unused float-access functions

The float-access functions stfl_*, stfq*, ldfl* and ldfq* are now
unused; remove them.  (Accesses to float64 and float32 types can be
made with the ldl/stl/ldq/stq functions, as float64 and float32 are
guaranteed to be typedefs for normal integer types.)

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20210208113428.7181-6-peter.maydell@linaro.org>
Message-Id: <20210211122750.22645-15-alex.bennee@linaro.org>


  Commit: 8886ff2844dc1a62dc4722ac65daf57c27dda2ee
      
https://github.com/qemu/qemu/commit/8886ff2844dc1a62dc4722ac65daf57c27dda2ee
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2021-02-15 (Mon, 15 Feb 2021)

  Changed paths:
    M tests/tcg/multiarch/system/Makefile.softmmu-target

  Log Message:
  -----------
  tests/tcg: fix silent skipping of softmmu gdb tests

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210211122750.22645-16-alex.bennee@linaro.org>


  Commit: 0280396a33c7210c4df5306afeab63411a41535a
      
https://github.com/qemu/qemu/commit/0280396a33c7210c4df5306afeab63411a41535a
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2021-02-15 (Mon, 15 Feb 2021)

  Changed paths:
    M .gitlab-ci.yml
    R .shippable.yml
    M .travis.yml
    M MAINTAINERS
    M docs/devel/loads-stores.rst
    M docs/devel/testing.rst
    M include/exec/cpu-all.h
    M include/exec/gdbstub.h
    M include/qemu/bswap.h
    A scripts/ci/coverage-summary.sh
    R scripts/travis/coverage-summary.sh
    M target/m68k/helper.c
    M target/ppc/gdbstub.c
    M target/ppc/translate_init.c.inc
    M target/sh4/gdbstub.c
    M tests/docker/Makefile.include
    R tests/docker/dockerfiles/travis.docker
    M tests/docker/dockerfiles/ubuntu2004.docker
    R tests/docker/travis
    R tests/docker/travis.py
    M tests/tcg/multiarch/system/Makefile.softmmu-target

  Log Message:
  -----------
  Merge remote-tracking branch 
'remotes/stsquad/tags/pull-testing-gdbstub-150221-1' into staging

testing and gdbstub updates:

  - more migration of Travis to GitLab
  - drop Travis container
  - remove last of shippable
  - clean up gdbstub MAINTAINERS
  - remove gdb_get_floatN() helpers
  - don't be quiet about skipping gdb tests

# gpg: Signature made Mon 15 Feb 2021 09:41:32 GMT
# gpg:                using RSA key 6685AE99E75167BCAFC8DF35FBD0DB095A9E2A44
# gpg: Good signature from "Alex Bennée (Master Work Key) 
<alex.bennee@linaro.org>" [full]
# Primary key fingerprint: 6685 AE99 E751 67BC AFC8  DF35 FBD0 DB09 5A9E 2A44

* remotes/stsquad/tags/pull-testing-gdbstub-150221-1:
  tests/tcg: fix silent skipping of softmmu gdb tests
  bswap.h: Remove unused float-access functions
  gdbstub: Remove unused gdb_get_float32() and gdb_get_float64()
  target/ppc: Drop use of gdb_get_float64() and ldfq_p()
  target/m68k: Drop use of gdb_get_float64() and ldfq_p()
  target/sh4: Drop use of gdb_get_float32() and ldfl_p()
  MAINTAINERS: Add gdbstub.h to the "GDB stub" section
  tests/docker: remove travis container
  travis-ci: Disable C++ optional objects on AArch64 container
  .shippable: remove the last bits
  travis.yml: Move the -fsanitize=thread testing to the gitlab-CI
  travis.yml: (Re-)move the --enable-debug jobs
  travis.yml: Move the --enable-modules test to the gitlab-CI
  travis.yml: Move the -fsanitize=undefined test to the gitlab-CI
  travis.yml: Move gprof/gcov test across to gitlab

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


Compare: https://github.com/qemu/qemu/compare/392b9a74b9b6...0280396a33c7



reply via email to

[Prev in Thread] Current Thread [Next in Thread]