Skip to contentSkip to conversation

testing, build and plugin updates

GIT PULL Alex Bennée 2 participants 2 messages Jul 12, 2021 – Jul 13, 2021

lore
Share & tools
lore
#0 lore raw

The following changes since commit bd38ae26cea0d1d6a97f930248df149204c210a2:

Merge remote-tracking branch 'remotes/rth-gitlab/tags/pull-tcg-20210710' into staging (2021-07-12 11:02:39 +0100)

are available in the Git repository at:

https://github.com/stsquad/qemu.git tags/pull-testing-and-plugins-120721-4

for you to fetch changes up to 312ad3f702789db630c8e43aaad718a1459b2018:

MAINTAINERS: Added myself as a reviewer for TCG Plugins (2021-07-12 20:13:24 +0100)

----------------------------------------------------------------
Testing and plugin updates:

- custom runner playbooks for configuring GitLab runners
- integrate Cirrus jobs into GitLab via cirrus-run
- clean-up docker package lists
- bump NetBSD to 9.2
- bump OpenBSD to 6.9
- make test-mmap more hexagon friendly
- fixup handling of hostaddr for plugins
- disallow some incompatible plugin configurations
- enable plugins by default for most TCG builds
- honour main build -Wall settings for plugins
- new execlog plugin
- new cache modelling plugin
- fix io_uring build regression
- disable modular TCG on Darwin

----------------------------------------------------------------
Alex Bennée (9):
tests/tcg: also disable the signals test for plugins tests/tcg: make test-mmap a little less aggressive
plugins: fix-up handling of internal hostaddr for 32 bit meson.build: move TCG plugin summary output
configure: don't allow plugins to be enabled for a non-TCG build
configure: add an explicit static and plugins check
configure: stop user enabling plugins on Windows for now tcg/plugins: enable by default for most TCG builds contrib/plugins: enable -Wall for building plugins

Alexandre Iooss (2):
contrib/plugins: add execlog to log instruction execution and memory access docs/devel: tcg-plugins: add execlog plugin description

Brad Smith (2):
tests/vm: update NetBSD to 9.2
tests/vm: update openbsd to release 6.9

Cleber Rosa (4):
Jobs based on custom runners: documentation and configuration placeholder Jobs based on custom runners: build environment docs and playbook Jobs based on custom runners: docs and gitlab-runner setup playbook Jobs based on custom runners: add job definitions for QEMU's machines

Daniel P. Berrangé (18):
build: validate that system capstone works before using it
gitlab: support for FreeBSD 12, 13 and macOS 11 via cirrus-run
cirrus: delete FreeBSD and macOS jobs
hw/usb/ccid: remove references to NSS
tests/docker: don't use BUILDKIT in GitLab either tests/docker: use project specific container registries tests/docker: use explicit docker.io registry tests/docker: remove FEATURES env var from templates tests/docker: fix sorting in package lists tests/docker: fix mistakes in centos package lists tests/docker: fix mistakes in fedora package list tests/docker: fix mistakes in ubuntu package lists tests/docker: remove mingw packages from Fedora tests/docker: expand centos8 package list tests/docker: expand fedora package list tests/docker: expand ubuntu1804 package list tests/docker: expand ubuntu2004 package list tests/docker: expand opensuse-leap package list

Mahmoud Mandour (5):
plugins: Added a new cache modelling plugin plugins/cache: Enable cache parameterization plugins/cache: Added FIFO and LRU eviction policies docs/devel: Added cache plugin to the plugins docs
MAINTAINERS: Added myself as a reviewer for TCG Plugins

Paolo Bonzini (2):
meson: fix condition for io_uring stubs
disable modular TCG on Darwin

 docs/ccid.txt                                      |  15 +-
 docs/devel/ci.rst                                  | 127 ++++
 docs/devel/index.rst                               |   1 +
 docs/devel/tcg-plugins.rst                         |  86 ++-
 .gitlab-ci.d/cirrus/README.rst                     |  54 ++
 configure                                          | 142 +++--
 meson.build                                        |  21 +-
 include/qemu/plugin-memory.h                       |   2 +-
 accel/tcg/cputlb.c                                 |   2 +-
 contrib/plugins/cache.c                            | 641 +++++++++++++++++++++
 contrib/plugins/execlog.c                          | 153 +++++
 plugins/api.c                                      |   4 +-
 tests/tcg/multiarch/test-mmap.c                    | 208 +++----
 .cirrus.yml                                        |  55 --
 .gitlab-ci.d/buildtest.yml                         |  23 -
 .gitlab-ci.d/cirrus.yml                            | 102 ++++
 .gitlab-ci.d/cirrus/build.yml                      |  35 ++
 .gitlab-ci.d/cirrus/freebsd-12.vars                |  13 +
 .gitlab-ci.d/cirrus/freebsd-13.vars                |  13 +
 .gitlab-ci.d/cirrus/macos-11.vars                  |  15 +
 .gitlab-ci.d/custom-runners.yml                    | 222 +++++++
 .gitlab-ci.d/qemu-project.yml                      |   2 +
 .travis.yml                                        |  12 +-
 MAINTAINERS                                        |   2 +
 contrib/plugins/Makefile                           |   4 +-
 scripts/ci/setup/.gitignore                        |   2 +
 scripts/ci/setup/build-environment.yml             | 116 ++++
 scripts/ci/setup/gitlab-runner.yml                 |  71 +++
 scripts/ci/setup/inventory.template                |   1 +
 scripts/ci/setup/vars.yml.template                 |  12 +
 scripts/coverity-scan/coverity-scan.docker         |   1 -
 stubs/meson.build                                  |   4 +-
 tests/docker/common.rc                             |  19 +-
 tests/docker/docker.py                             |   4 +-
 tests/docker/dockerfiles/centos8.docker            |  82 ++-
 .../docker/dockerfiles/debian-xtensa-cross.docker  |   2 +-
 tests/docker/dockerfiles/debian10.docker           |   4 +-
 tests/docker/dockerfiles/debian11.docker           |   2 +-
 tests/docker/dockerfiles/fedora-cris-cross.docker  |   2 +-
 tests/docker/dockerfiles/fedora-i386-cross.docker  |   2 +-
 tests/docker/dockerfiles/fedora-win32-cross.docker |   3 +-
 tests/docker/dockerfiles/fedora-win64-cross.docker |   3 +-
 tests/docker/dockerfiles/fedora.docker             |  67 +--
 tests/docker/dockerfiles/opensuse-leap.docker      |  77 ++-
 tests/docker/dockerfiles/ubuntu.docker             |   4 +-
 tests/docker/dockerfiles/ubuntu1804.docker         |  70 ++-
 tests/docker/dockerfiles/ubuntu2004.docker         |  64 +-
 tests/docker/run                                   |   3 -
 tests/docker/test-clang                            |   2 +-
 tests/docker/test-debug                            |   2 +-
 tests/docker/test-mingw                            |   3 +-
 tests/docker/test-misc                             |   2 +-
 tests/docker/test-tsan                             |   2 +-
 tests/tcg/hexagon/Makefile.target                  |   9 -
 tests/tcg/i386/Makefile.target                     |   3 +
 tests/tcg/multiarch/Makefile.target                |   2 +
 tests/vm/netbsd                                    |   4 +-
 tests/vm/openbsd                                   |   4 +-
 58 files changed, 2225 insertions(+), 377 deletions(-)
 create mode 100644 docs/devel/ci.rst
 create mode 100644 .gitlab-ci.d/cirrus/README.rst
 create mode 100644 contrib/plugins/cache.c
 create mode 100644 contrib/plugins/execlog.c
 create mode 100644 .gitlab-ci.d/cirrus.yml
 create mode 100644 .gitlab-ci.d/cirrus/build.yml
 create mode 100644 .gitlab-ci.d/cirrus/freebsd-12.vars
 create mode 100644 .gitlab-ci.d/cirrus/freebsd-13.vars
 create mode 100644 .gitlab-ci.d/cirrus/macos-11.vars
 create mode 100644 .gitlab-ci.d/custom-runners.yml
 create mode 100644 scripts/ci/setup/.gitignore
 create mode 100644 scripts/ci/setup/build-environment.yml
 create mode 100644 scripts/ci/setup/gitlab-runner.yml
 create mode 100644 scripts/ci/setup/inventory.template
 create mode 100644 scripts/ci/setup/vars.yml.template
Signature · 1 line
2.20.1
#1 lore raw
Quoted 16 lines · Alex Bennée

The following changes since commit bd38ae26cea0d1d6a97f930248df149204c210a2:

Merge remote-tracking branch 'remotes/rth-gitlab/tags/pull-tcg-20210710' into staging (2021-07-12 11:02:39 +0100)

are available in the Git repository at:

https://github.com/stsquad/qemu.git tags/pull-testing-and-plugins-120721-4

for you to fetch changes up to 312ad3f702789db630c8e43aaad718a1459b2018:

MAINTAINERS: Added myself as a reviewer for TCG Plugins (2021-07-12 20:13:24 +0100)

----------------------------------------------------------------
Testing and plugin updates:

Quoted 14 lines

- custom runner playbooks for configuring GitLab runners
- integrate Cirrus jobs into GitLab via cirrus-run
- clean-up docker package lists
- bump NetBSD to 9.2
- bump OpenBSD to 6.9
- make test-mmap more hexagon friendly
- fixup handling of hostaddr for plugins
- disallow some incompatible plugin configurations
- enable plugins by default for most TCG builds
- honour main build -Wall settings for plugins
- new execlog plugin
- new cache modelling plugin
- fix io_uring build regression
- disable modular TCG on Darwin

Fails to build, OSX, when trying to link qemu-system-alpha-unsigned:

Undefined symbols for architecture x86_64:
"_qemu_plugin_hwaddr_to_raddr", referenced from:
-exported_symbol[s_list] command line option
"_qemu_plugin_ram_addr_from_host", referenced from:
-exported_symbol[s_list] command line option
"_qemu_plugin_register_vcpu_mem_haddr_cb", referenced from:
-exported_symbol[s_list] command line option
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Fails to build, NetBSD and OpenBSD VMs:

Run-time dependency zlib found: YES 1.2.10
Run-time dependency liburing found: NO (tried pkgconfig) Run-time dependency libxml-2.0 found: YES 2.9.12 Run-time dependency libnfs found: NO (tried pkgconfig) Run-time dependency appleframeworks found: NO (tried framework) Run-time dependency libseccomp found: NO (tried pkgconfig) Has header "cap-ng.h" : NO
Run-time dependency xkbcommon found: YES 1.1.0 Library rt found: YES

../src/meson.build:458:2: ERROR: C shared or static library 'dl' not found

A full log can be found at /home/qemu/qemu-test.sxOhBV/build/meson-logs/meson-log.txt

ERROR: meson setup failed

Also, the Gitlab CI pipeline page has some odd "manual action" items in the pipeline and some of the jobs hit the 1 hour timeout,
eg: https://gitlab.com/qemu-project/qemu/-/jobs/1420815244

thanks
-- PMM