Skip to content
Snippets Groups Projects
  1. May 18, 2022
  2. May 12, 2022
  3. May 09, 2022
  4. Apr 20, 2022
  5. Mar 23, 2022
  6. Mar 22, 2022
  7. Mar 15, 2022
  8. Feb 28, 2022
  9. Feb 09, 2022
  10. Jan 21, 2022
  11. Jan 18, 2022
  12. Jan 05, 2022
  13. Jan 03, 2022
  14. Dec 31, 2021
  15. Dec 17, 2021
    • Thomas Huth's avatar
      gitlab-ci: Speed up the msys2-64bit job by using --without-default-devices · 9f8e6cad
      Thomas Huth authored
      
      The new msys2-64bit job is often running for more than 50 minutes - and
      if the CI is currently loaded, it times out after 60 minutes. The job
      has been declared with a bigger timeout, but seems like this is getting
      ignored on the shared Gitlab-CI Windows runners, so we're currently
      seeing a lot of failures with this job. Thus we have to reduce the time
      it takes to finish this job. Since we want to test compiling the WHPX
      and HAX accelerator code with this job, switching to another target CPU
      is not really a good option, so let's reduce the amount of code that we
      have to compile with the --without-default-devices switch instead.
      
      Message-Id: <20211216082253.43899-1-thuth@redhat.com>
      Reviewed-by: default avatarPhilippe Mathieu-Daudé <philmd@redhat.com>
      Signed-off-by: default avatarThomas Huth <thuth@redhat.com>
      9f8e6cad
  16. Dec 15, 2021
    • Thomas Huth's avatar
      gitlab-ci: Test compilation on Windows with MSYS2 · 7876cba8
      Thomas Huth authored
      
      Gitlab also provides runners with Windows, we can use them to
      test compilation with MSYS2, in both, 64-bit and 32-bit.
      
      However, it takes quite a long time to set up the VM, so to stay
      in a reasonable time frame, we can only compile and check one
      target here.
      
      Message-Id: <20211115140623.104116-1-thuth@redhat.com>
      Reviewed-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
      Signed-off-by: default avatarThomas Huth <thuth@redhat.com>
      7876cba8
    • Thomas Huth's avatar
      gitlab-ci: Add cirrus-ci based tests for NetBSD and OpenBSD · f11b0a48
      Thomas Huth authored
      
      Cirrus-CI provides KVM in their Linux containers, so we can also run
      our VM-based NetBSD and OpenBSD build jobs there.
      Since the VM installation might take a while, we only run the "help"
      target on the first invocation to avoid timeouts, and then only check
      the build during the next run, once the base image has been cached.
      For the the build tests, we also only use very a limited set of target
      CPUs since compiling in these VMs is not very fast (especially the
      build on OpenBSD seems to be incredibly slow).
      
      The jobs are marked as "manual" only, since this double-indirect setup
      (with the cirrus-run script and VMs in the Cirrus-CI containers) might
      fail more often than the other jobs, and since we can trigger a limited
      amount of Cirrus-CI jobs at a time anyway (due to the restrictions in
      the free tier of Cirrus). Thus these jobs are rather added as convenience
      for contributors who would like to run the NetBSD/OpenBSD tests without
      the need of downloading and installing the corresponding VM images on
      their local machines.
      
      Message-Id: <20211209103124.121942-1-thuth@redhat.com>
      Signed-off-by: default avatarThomas Huth <thuth@redhat.com>
      f11b0a48
    • Thomas Huth's avatar
      gitlab-ci.d/buildtest: Add jobs that run the device-crash-test · f462be4c
      Thomas Huth authored
      
      The device-crash-test script has been quite neglected in the past,
      so that it bit-rot quite often. Let's add CI jobs that run this
      script for at least some targets, so that this script does not
      regress that easily anymore.
      
      Message-Id: <20211126162724.1162049-1-thuth@redhat.com>
      Reviewed-by: default avatarPhilippe Mathieu-Daudé <philmd@redhat.com>
      Signed-off-by: default avatarThomas Huth <thuth@redhat.com>
      f462be4c
  17. Nov 17, 2021
  18. Nov 16, 2021
    • Daniel P. Berrangé's avatar
      gitlab: skip cirrus jobs on master and stable branches · 9968de0a
      Daniel P. Berrangé authored
      
      On the primary QEMU repository we want the CI jobs to run on the staging
      branch as a gating CI test.
      
      Cirrus CI has very limited job concurrency, so if there are too many
      jobs triggered they'll queue up and hit the GitLab CI job timeout before
      they complete on Cirrus.
      
      If we let Cirrus jobs run again on the master branch immediately after
      merging from staging, that just increases the chances jobs will get
      queued and subsequently timeout.
      
      The same applies for merges to the stable branches.
      
      User forks meanwhile should be allowed to run Cirrus CI jobs freely.
      
      Signed-off-by: default avatarDaniel P. Berrangé <berrange@redhat.com>
      Reviewed-by: default avatarRichard Henderson <richard.henderson@linaro.org>
      Reviewed-by: default avatarThomas Huth <thuth@redhat.com>
      Reviewed-by: default avatarPhilippe Mathieu-Daudé <philmd@redhat.com>
      Reviewed-by: default avatarWillian Rampazzo <willianr@redhat.com>
      Message-Id: <20211116112757.1909176-1-berrange@redhat.com>
      Signed-off-by: default avatarAlex Bennée <alex.bennee@linaro.org>
      9968de0a
    • Philippe Mathieu-Daudé's avatar
      gitlab-ci: Split custom-runners.yml in one file per runner · 60bec83e
      Philippe Mathieu-Daudé authored
      
      To ease maintenance, add the custom-runners/ directory and
      split custom-runners.yml in 3 files, all included by the
      current custom-runners.yml:
       - ubuntu-18.04-s390x.yml
       - ubuntu-20.04-aarch64.yml
       - centos-stream-8-x86_64.yml
      
      Signed-off-by: default avatarPhilippe Mathieu-Daudé <philmd@redhat.com>
      Signed-off-by: default avatarAlex Bennée <alex.bennee@linaro.org>
      Message-Id: <20211115095608.2436223-1-philmd@redhat.com>
      Reviewed-by: default avatarWillian Rampazzo <willianr@redhat.com>
      Message-Id: <20211115142915.3797652-7-alex.bennee@linaro.org>
      60bec83e
    • Cleber Rosa's avatar
      Jobs based on custom runners: add CentOS Stream 8 · d7c2e2b3
      Cleber Rosa authored
      
      This introduces three different parts of a job designed to run
      on a custom runner managed by Red Hat.  The goals include:
      
        a) propose a model for other organizations that want to onboard
           their own runners, with their specific platforms, build
           configuration and tests.
      
        b) bring awareness to the differences between upstream QEMU and the
           version available under CentOS Stream, which is "A preview of
           upcoming Red Hat Enterprise Linux minor and major releases".
      
        c) because of b), it should be easier to identify and reduce the gap
           between Red Hat's downstream and upstream QEMU.
      
      The components of this custom job are:
      
        I) OS build environment setup code:
      
           - additions to the existing "build-environment.yml" playbook
             that can be used to set up CentOS/EL 8 systems.
      
           - a CentOS Stream 8 specific "build-environment.yml" playbook
             that adds to the generic one.
      
       II) QEMU build configuration: a script that will produce binaries with
           features as similar as possible to the ones built and packaged on
           CentOS stream 8.
      
      III) Scripts that define the minimum amount of testing that the
           binaries built with the given configuration (point II) under the
           given OS build environment (point I) should be subjected to.
      
       IV) Job definition: GitLab CI jobs that will dispatch the build/test
           jobs (see points #II and #III) to the machine specifically
           configured according to #I.
      
      Signed-off-by: default avatarCleber Rosa <crosa@redhat.com>
      Signed-off-by: default avatarAlex Bennée <alex.bennee@linaro.org>
      Reviewed-by: default avatarWillian Rampazzo <willianr@redhat.com>
      Tested-by: default avatarWillian Rampazzo <willianr@redhat.com>
      Message-Id: <20211111160501.862396-2-crosa@redhat.com>
      Message-Id: <20211115142915.3797652-6-alex.bennee@linaro.org>
      d7c2e2b3
  19. Nov 08, 2021
  20. Nov 02, 2021
  21. Oct 20, 2021
Loading