All of lore.kernel.org
 help / color / mirror / Atom feed
* [PULL v2 00/15] Testing, CI and bsd-user patches
@ 2021-01-11 14:06 Thomas Huth
  2021-01-11 14:06 ` [PULL 01/15] gitlab-ci.yml: Add openSUSE Leap 15.2 for gitlab CI/CD Thomas Huth
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Thomas Huth @ 2021-01-11 14:06 UTC (permalink / raw)
  To: qemu-devel, Peter Maydell; +Cc: acho

The following changes since commit 7b09f127738ae3d0e71716cea086fc8f847a5686:

  Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20210108' into staging (2021-01-08 15:37:04 +0000)

are available in the Git repository at:

  https://gitlab.com/huth/qemu.git tags/pull-request-2021-01-11v2

for you to fetch changes up to b677001d70529df271a5d9314440bb201da40acf:

  fuzz: map all BARs and enable PCI devices (2021-01-11 14:59:21 +0100)

----------------------------------------------------------------
* Fuzzer improvements
* Add OpenSUSE leap to the gitlab-CI
* Some fixes to get our CI "green" again
* Some initial patches to update bsd-user
----------------------------------------------------------------

v2: Fixed the author field in the first patch

Alexander Bulekov (1):
      fuzz: map all BARs and enable PCI devices

Cho, Yu-Chen (1):
      gitlab-ci.yml: Add openSUSE Leap 15.2 for gitlab CI/CD

Gan Qixin (1):
      qtest/libqtest: fix heap-buffer-overflow in qtest_cb_for_every_machine()

Philippe Mathieu-Daudé (1):
      util/oslib-win32: Fix _aligned_malloc() arguments order

Qiuhao Li (7):
      fuzz: accelerate non-crash detection
      fuzz: double the IOs to remove for every loop
      fuzz: split write operand using binary approach
      fuzz: remove IO commands iteratively
      fuzz: set bits in operand of write/out to zero
      fuzz: add minimization options
      fuzz: heuristic split write based on past IOs

Stacey Son (1):
      bsd-user: move strace OS/arch dependent code to host/arch dirs

Thomas Huth (1):
      tests/acceptance: Fix race conditions in s390x tests & skip fedora on gitlab-CI

Warner Losh (2):
      bsd-user: regenerate FreeBSD's system call numbers
      bsd-user: Update strace.list for FreeBSD's latest syscalls

 .gitlab-ci.d/containers.yml                   |   5 +
 .gitlab-ci.yml                                |  31 ++
 bsd-user/arm/target_arch_sysarch.h            |  78 +++
 bsd-user/arm/target_syscall.h                 |  36 ++
 bsd-user/freebsd/os-strace.h                  |  29 ++
 bsd-user/freebsd/strace.list                  |  65 ++-
 bsd-user/freebsd/syscall_nr.h                 | 695 ++++++++++++++------------
 bsd-user/i386/target_arch_sysarch.h           |  77 +++
 bsd-user/i386/target_syscall.h                |  19 +
 bsd-user/mips/target_arch_sysarch.h           |  69 +++
 bsd-user/mips/target_syscall.h                |  52 ++
 bsd-user/mips64/target_arch_sysarch.h         |  69 +++
 bsd-user/mips64/target_syscall.h              |  53 ++
 bsd-user/netbsd/os-strace.h                   |   1 +
 bsd-user/openbsd/os-strace.h                  |   1 +
 bsd-user/sparc/target_arch_sysarch.h          |  52 ++
 bsd-user/sparc/target_syscall.h               |  24 +-
 bsd-user/sparc64/target_arch_sysarch.h        |  52 ++
 bsd-user/sparc64/target_syscall.h             |  24 +-
 bsd-user/strace.c                             |  11 +
 bsd-user/x86_64/target_arch_sysarch.h         |  76 +++
 bsd-user/x86_64/target_syscall.h              |  21 +-
 meson.build                                   |   1 +
 scripts/oss-fuzz/minimize_qtest_trace.py      | 260 ++++++++--
 tests/acceptance/machine_s390_ccw_virtio.py   |  14 +-
 tests/docker/dockerfiles/opensuse-leap.docker |  55 ++
 tests/qtest/fuzz/generic_fuzz.c               |  24 +
 tests/qtest/libqtest.c                        |   2 +-
 util/oslib-win32.c                            |   2 +-
 29 files changed, 1521 insertions(+), 377 deletions(-)
 create mode 100644 bsd-user/arm/target_arch_sysarch.h
 create mode 100644 bsd-user/arm/target_syscall.h
 create mode 100644 bsd-user/freebsd/os-strace.h
 create mode 100644 bsd-user/i386/target_arch_sysarch.h
 create mode 100644 bsd-user/mips/target_arch_sysarch.h
 create mode 100644 bsd-user/mips/target_syscall.h
 create mode 100644 bsd-user/mips64/target_arch_sysarch.h
 create mode 100644 bsd-user/mips64/target_syscall.h
 create mode 100644 bsd-user/netbsd/os-strace.h
 create mode 100644 bsd-user/openbsd/os-strace.h
 create mode 100644 bsd-user/sparc/target_arch_sysarch.h
 create mode 100644 bsd-user/sparc64/target_arch_sysarch.h
 create mode 100644 bsd-user/x86_64/target_arch_sysarch.h
 create mode 100644 tests/docker/dockerfiles/opensuse-leap.docker



^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PULL 01/15] gitlab-ci.yml: Add openSUSE Leap 15.2 for gitlab CI/CD
  2021-01-11 14:06 [PULL v2 00/15] Testing, CI and bsd-user patches Thomas Huth
@ 2021-01-11 14:06 ` Thomas Huth
  2021-01-11 14:40 ` [PULL v2 00/15] Testing, CI and bsd-user patches Philippe Mathieu-Daudé
  2021-01-11 17:47 ` Peter Maydell
  2 siblings, 0 replies; 5+ messages in thread
From: Thomas Huth @ 2021-01-11 14:06 UTC (permalink / raw)
  To: qemu-devel, Peter Maydell; +Cc: acho

From: "Cho, Yu-Chen" <acho@suse.com>

Add build-system-opensuse jobs and opensuse-leap.docker dockerfile.
Use openSUSE Leap 15.2 container image in the gitlab-CI.

Signed-off-by: Cho, Yu-Chen <acho@suse.com>
Tested-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
Reviewed-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
Message-Id: <20201229085046.8536-1-acho@suse.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
 .gitlab-ci.d/containers.yml                   |  5 ++
 .gitlab-ci.yml                                | 31 +++++++++++
 tests/docker/dockerfiles/opensuse-leap.docker | 55 +++++++++++++++++++
 3 files changed, 91 insertions(+)
 create mode 100644 tests/docker/dockerfiles/opensuse-leap.docker

diff --git a/.gitlab-ci.d/containers.yml b/.gitlab-ci.d/containers.yml
index 892ca8d838..910754a699 100644
--- a/.gitlab-ci.d/containers.yml
+++ b/.gitlab-ci.d/containers.yml
@@ -246,3 +246,8 @@ amd64-ubuntu-container:
   <<: *container_job_definition
   variables:
     NAME: ubuntu
+
+amd64-opensuse-leap-container:
+  <<: *container_job_definition
+  variables:
+    NAME: opensuse-leap
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 01c9e46410..4532f1718a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -200,6 +200,37 @@ acceptance-system-centos:
     MAKE_CHECK_ARGS: check-acceptance
   <<: *acceptance_definition
 
+build-system-opensuse:
+  <<: *native_build_job_definition
+  variables:
+    IMAGE: opensuse-leap
+    TARGETS: s390x-softmmu x86_64-softmmu aarch64-softmmu
+    MAKE_CHECK_ARGS: check-build
+  artifacts:
+    expire_in: 2 days
+    paths:
+      - build
+
+check-system-opensuse:
+  <<: *native_test_job_definition
+  needs:
+    - job: build-system-opensuse
+      artifacts: true
+  variables:
+    IMAGE: opensuse-leap
+    MAKE_CHECK_ARGS: check
+
+acceptance-system-opensuse:
+   <<: *native_test_job_definition
+   needs:
+     - job: build-system-opensuse
+       artifacts: true
+   variables:
+     IMAGE: opensuse-leap
+     MAKE_CHECK_ARGS: check-acceptance
+   <<: *acceptance_definition
+
+
 build-disabled:
   <<: *native_build_job_definition
   variables:
diff --git a/tests/docker/dockerfiles/opensuse-leap.docker b/tests/docker/dockerfiles/opensuse-leap.docker
new file mode 100644
index 0000000000..0e64893e4a
--- /dev/null
+++ b/tests/docker/dockerfiles/opensuse-leap.docker
@@ -0,0 +1,55 @@
+FROM opensuse/leap:15.2
+
+# Please keep this list sorted alphabetically
+ENV PACKAGES \
+    bc \
+    brlapi-devel \
+    bzip2 \
+    cyrus-sasl-devel \
+    gcc \
+    gcc-c++ \
+    mkisofs \
+    gettext-runtime \
+    git \
+    glib2-devel \
+    glusterfs-devel \
+    libgnutls-devel \
+    gtk3-devel \
+    libaio-devel \
+    libattr-devel \
+    libcap-ng-devel \
+    libepoxy-devel \
+    libfdt-devel \
+    libiscsi-devel \
+    libjpeg8-devel \
+    libpmem-devel \
+    libpng16-devel \
+    librbd-devel \
+    libseccomp-devel \
+    libssh-devel \
+    lzo-devel \
+    make \
+    libSDL2_image-devel \
+    ncurses-devel \
+    ninja \
+    libnuma-devel \
+    perl \
+    libpixman-1-0-devel \
+    python3-base \
+    python3-virtualenv \
+    rdma-core-devel \
+    libSDL2-devel \
+    snappy-devel \
+    libspice-server-devel \
+    systemd-devel \
+    systemtap-sdt-devel \
+    tar \
+    usbredir-devel \
+    virglrenderer-devel \
+    xen-devel \
+    vte-devel \
+    zlib-devel
+ENV QEMU_CONFIGURE_OPTS --python=/usr/bin/python3.6
+
+RUN zypper update -y && zypper --non-interactive install -y $PACKAGES
+RUN rpm -q $PACKAGES | sort > /packages.txt
-- 
2.27.0



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PULL v2 00/15] Testing, CI and bsd-user patches
  2021-01-11 14:06 [PULL v2 00/15] Testing, CI and bsd-user patches Thomas Huth
  2021-01-11 14:06 ` [PULL 01/15] gitlab-ci.yml: Add openSUSE Leap 15.2 for gitlab CI/CD Thomas Huth
@ 2021-01-11 14:40 ` Philippe Mathieu-Daudé
  2021-01-12  7:44   ` Thomas Huth
  2021-01-11 17:47 ` Peter Maydell
  2 siblings, 1 reply; 5+ messages in thread
From: Philippe Mathieu-Daudé @ 2021-01-11 14:40 UTC (permalink / raw)
  To: Thomas Huth, qemu-devel, Peter Maydell; +Cc: acho

On 1/11/21 3:06 PM, Thomas Huth wrote:
> The following changes since commit 7b09f127738ae3d0e71716cea086fc8f847a5686:
> 
>   Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20210108' into staging (2021-01-08 15:37:04 +0000)
> 
> are available in the Git repository at:
> 
>   https://gitlab.com/huth/qemu.git tags/pull-request-2021-01-11v2
> 
> for you to fetch changes up to b677001d70529df271a5d9314440bb201da40acf:
> 
>   fuzz: map all BARs and enable PCI devices (2021-01-11 14:59:21 +0100)
> 
> ----------------------------------------------------------------
> * Fuzzer improvements
> * Add OpenSUSE leap to the gitlab-CI
> * Some fixes to get our CI "green" again
> * Some initial patches to update bsd-user
> ----------------------------------------------------------------

Doh, missed the Shippable-CI job reduction :/
https://www.mail-archive.com/qemu-devel@nongnu.org/msg771079.html



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PULL v2 00/15] Testing, CI and bsd-user patches
  2021-01-11 14:06 [PULL v2 00/15] Testing, CI and bsd-user patches Thomas Huth
  2021-01-11 14:06 ` [PULL 01/15] gitlab-ci.yml: Add openSUSE Leap 15.2 for gitlab CI/CD Thomas Huth
  2021-01-11 14:40 ` [PULL v2 00/15] Testing, CI and bsd-user patches Philippe Mathieu-Daudé
@ 2021-01-11 17:47 ` Peter Maydell
  2 siblings, 0 replies; 5+ messages in thread
From: Peter Maydell @ 2021-01-11 17:47 UTC (permalink / raw)
  To: Thomas Huth; +Cc: QEMU Developers, acho

On Mon, 11 Jan 2021 at 14:06, Thomas Huth <thuth@redhat.com> wrote:
>
> The following changes since commit 7b09f127738ae3d0e71716cea086fc8f847a5686:
>
>   Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20210108' into staging (2021-01-08 15:37:04 +0000)
>
> are available in the Git repository at:
>
>   https://gitlab.com/huth/qemu.git tags/pull-request-2021-01-11v2
>
> for you to fetch changes up to b677001d70529df271a5d9314440bb201da40acf:
>
>   fuzz: map all BARs and enable PCI devices (2021-01-11 14:59:21 +0100)
>
> ----------------------------------------------------------------
> * Fuzzer improvements
> * Add OpenSUSE leap to the gitlab-CI
> * Some fixes to get our CI "green" again
> * Some initial patches to update bsd-user
> ----------------------------------------------------------------


Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/6.0
for any user-visible changes.

-- PMM


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PULL v2 00/15] Testing, CI and bsd-user patches
  2021-01-11 14:40 ` [PULL v2 00/15] Testing, CI and bsd-user patches Philippe Mathieu-Daudé
@ 2021-01-12  7:44   ` Thomas Huth
  0 siblings, 0 replies; 5+ messages in thread
From: Thomas Huth @ 2021-01-12  7:44 UTC (permalink / raw)
  To: Philippe Mathieu-Daudé, qemu-devel, Peter Maydell
  Cc: Alex Bennée, acho

On 11/01/2021 15.40, Philippe Mathieu-Daudé wrote:
> On 1/11/21 3:06 PM, Thomas Huth wrote:
>> The following changes since commit 7b09f127738ae3d0e71716cea086fc8f847a5686:
>>
>>    Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20210108' into staging (2021-01-08 15:37:04 +0000)
>>
>> are available in the Git repository at:
>>
>>    https://gitlab.com/huth/qemu.git tags/pull-request-2021-01-11v2
>>
>> for you to fetch changes up to b677001d70529df271a5d9314440bb201da40acf:
>>
>>    fuzz: map all BARs and enable PCI devices (2021-01-11 14:59:21 +0100)
>>
>> ----------------------------------------------------------------
>> * Fuzzer improvements
>> * Add OpenSUSE leap to the gitlab-CI
>> * Some fixes to get our CI "green" again
>> * Some initial patches to update bsd-user
>> ----------------------------------------------------------------
> 
> Doh, missed the Shippable-CI job reduction :/
> https://www.mail-archive.com/qemu-devel@nongnu.org/msg771079.html

I don't have a shippable-CI account, so I can't test that one. I hope Alex 
can pick that up.

  Thomas



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-01-12  7:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-11 14:06 [PULL v2 00/15] Testing, CI and bsd-user patches Thomas Huth
2021-01-11 14:06 ` [PULL 01/15] gitlab-ci.yml: Add openSUSE Leap 15.2 for gitlab CI/CD Thomas Huth
2021-01-11 14:40 ` [PULL v2 00/15] Testing, CI and bsd-user patches Philippe Mathieu-Daudé
2021-01-12  7:44   ` Thomas Huth
2021-01-11 17:47 ` Peter Maydell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.