* [PATCH v2] gitlab-ci.yml: Add openSUSE Leap 15.2 for gitlab CI/CD
@ 2020-11-30 4:26 Cho, Yu-Chen
2020-11-30 8:28 ` Thomas Huth
2020-11-30 9:14 ` Philippe Mathieu-Daudé
0 siblings, 2 replies; 12+ messages in thread
From: Cho, Yu-Chen @ 2020-11-30 4:26 UTC (permalink / raw)
To: qemu-devel
Cc: thuth, philmd, wainersm, alex.bennee, fam, cfontana, brogers, lyan, acho
v2:
Drop some package from dockerfile to make docker image more light.
v1:
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>
---
.gitlab-ci.d/containers.yml | 5 ++
.gitlab-ci.yml | 30 +++++++++++
tests/docker/dockerfiles/opensuse-leap.docker | 54 +++++++++++++++++++
3 files changed, 89 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 d0173e82b1..6a256fe07b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -195,6 +195,36 @@ 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..8b0d915bff
--- /dev/null
+++ b/tests/docker/dockerfiles/opensuse-leap.docker
@@ -0,0 +1,54 @@
+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 \
+ usbredir-devel \
+ virglrenderer-devel \
+ xen-devel \
+ vte-devel \
+ zlib-devel
+ENV QEMU_CONFIGURE_OPTS --python=/usr/bin/python3.8
+
+RUN zypper update -y && zypper --non-interactive install -y $PACKAGES
+RUN rpm -q $PACKAGES | sort > /packages.txt
--
2.29.2
^ permalink raw reply related [flat|nested] 12+ messages in thread
* Re: [PATCH v2] gitlab-ci.yml: Add openSUSE Leap 15.2 for gitlab CI/CD
2020-11-30 4:26 [PATCH v2] gitlab-ci.yml: Add openSUSE Leap 15.2 for gitlab CI/CD Cho, Yu-Chen
@ 2020-11-30 8:28 ` Thomas Huth
2020-11-30 9:11 ` Philippe Mathieu-Daudé
2020-11-30 9:14 ` Philippe Mathieu-Daudé
1 sibling, 1 reply; 12+ messages in thread
From: Thomas Huth @ 2020-11-30 8:28 UTC (permalink / raw)
To: Cho, Yu-Chen, qemu-devel
Cc: fam, Liang Yan, philmd, wainersm, brogers, cfontana, alex.bennee
On 30/11/2020 05.26, Cho, Yu-Chen wrote:
> v2:
> Drop some package from dockerfile to make docker image more light.
>
> v1:
> 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>
> ---
> .gitlab-ci.d/containers.yml | 5 ++
> .gitlab-ci.yml | 30 +++++++++++
> tests/docker/dockerfiles/opensuse-leap.docker | 54 +++++++++++++++++++
> 3 files changed, 89 insertions(+)
> create mode 100644 tests/docker/dockerfiles/opensuse-leap.docker
Hi!
Sorry, I was too busy to reply last week ... you could also simply ping on
the v2 that you've sent last week, but anyway, let's now continue discussion
here. I gave it a try, and runtime is much better now, indeed:
https://gitlab.com/huth/qemu/-/jobs/868942587
So:
Tested-by: Thomas Huth <thuth@redhat.com>
Patch looks also fine to me, you should just not put the version log above
the "---" but below, otherwise the version log will show up in the final
patch when it gets picked up with "git am".
No need to resend just because of this, though, I can fix that when picking
up the patch. I'll queue for my testing tree and send it once the hard
freeze is over.
Thomas
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH v2] gitlab-ci.yml: Add openSUSE Leap 15.2 for gitlab CI/CD
2020-11-30 8:28 ` Thomas Huth
@ 2020-11-30 9:11 ` Philippe Mathieu-Daudé
0 siblings, 0 replies; 12+ messages in thread
From: Philippe Mathieu-Daudé @ 2020-11-30 9:11 UTC (permalink / raw)
To: Thomas Huth, Cho, Yu-Chen, qemu-devel
Cc: fam, Liang Yan, wainersm, brogers, cfontana, alex.bennee
On 11/30/20 9:28 AM, Thomas Huth wrote:
> On 30/11/2020 05.26, Cho, Yu-Chen wrote:
>> v2:
>> Drop some package from dockerfile to make docker image more light.
>>
>> v1:
>> 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>
>> ---
>> .gitlab-ci.d/containers.yml | 5 ++
>> .gitlab-ci.yml | 30 +++++++++++
>> tests/docker/dockerfiles/opensuse-leap.docker | 54 +++++++++++++++++++
Can we have this file covered by Yu-Chen in MAINTAINERS
(at least as Reviewer)?
>> 3 files changed, 89 insertions(+)
>> create mode 100644 tests/docker/dockerfiles/opensuse-leap.docker
>
> Hi!
>
> Sorry, I was too busy to reply last week ... you could also simply ping on
> the v2 that you've sent last week, but anyway, let's now continue discussion
> here. I gave it a try, and runtime is much better now, indeed:
>
> https://gitlab.com/huth/qemu/-/jobs/868942587
>
> So:
>
> Tested-by: Thomas Huth <thuth@redhat.com>
>
> Patch looks also fine to me, you should just not put the version log above
> the "---" but below, otherwise the version log will show up in the final
> patch when it gets picked up with "git am".
>
> No need to resend just because of this, though, I can fix that when picking
> up the patch. I'll queue for my testing tree and send it once the hard
> freeze is over.
>
> Thomas
>
>
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH v2] gitlab-ci.yml: Add openSUSE Leap 15.2 for gitlab CI/CD
2020-11-30 4:26 [PATCH v2] gitlab-ci.yml: Add openSUSE Leap 15.2 for gitlab CI/CD Cho, Yu-Chen
2020-11-30 8:28 ` Thomas Huth
@ 2020-11-30 9:14 ` Philippe Mathieu-Daudé
2020-12-03 3:38 ` AL Yu-Chen Cho
1 sibling, 1 reply; 12+ messages in thread
From: Philippe Mathieu-Daudé @ 2020-11-30 9:14 UTC (permalink / raw)
To: Cho, Yu-Chen, qemu-devel
Cc: fam, thuth, lyan, wainersm, brogers, cfontana, Willian Rampazzo,
alex.bennee
On 11/30/20 5:26 AM, Cho, Yu-Chen wrote:
> v2:
> Drop some package from dockerfile to make docker image more light.
>
> v1:
> 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>
> ---
> .gitlab-ci.d/containers.yml | 5 ++
> .gitlab-ci.yml | 30 +++++++++++
> tests/docker/dockerfiles/opensuse-leap.docker | 54 +++++++++++++++++++
> 3 files changed, 89 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 d0173e82b1..6a256fe07b 100644
> --- a/.gitlab-ci.yml
> +++ b/.gitlab-ci.yml
> @@ -195,6 +195,36 @@ acceptance-system-centos:
> MAKE_CHECK_ARGS: check-acceptance
> <<: *acceptance_definition
>
What about adding in a comment who is the maintainer
of these jobs? Some sort of contact in case there is
a OpenSUSE specific issue for example.
See:
https://www.mail-archive.com/qemu-devel@nongnu.org/msg758968.html
> +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:
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH v2] gitlab-ci.yml: Add openSUSE Leap 15.2 for gitlab CI/CD
2020-11-30 9:14 ` Philippe Mathieu-Daudé
@ 2020-12-03 3:38 ` AL Yu-Chen Cho
0 siblings, 0 replies; 12+ messages in thread
From: AL Yu-Chen Cho @ 2020-12-03 3:38 UTC (permalink / raw)
To: Philippe Mathieu-Daudé, qemu-devel
Cc: thuth, wainersm, alex.bennee, fam, cfontana, brogers, lyan,
Willian Rampazzo
On Mon, 2020-11-30 at 10:14 +0100, Philippe Mathieu-Daudé wrote:
> On 11/30/20 5:26 AM, Cho, Yu-Chen wrote:
> > v2:
> > Drop some package from dockerfile to make docker image more light.
> >
> > v1:
> > 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>
> > ---
> > .gitlab-ci.d/containers.yml | 5 ++
> > .gitlab-ci.yml | 30 +++++++++++
> > tests/docker/dockerfiles/opensuse-leap.docker | 54
> > +++++++++++++++++++
> > 3 files changed, 89 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 d0173e82b1..6a256fe07b 100644
> > --- a/.gitlab-ci.yml
> > +++ b/.gitlab-ci.yml
> > @@ -195,6 +195,36 @@ acceptance-system-centos:
> > MAKE_CHECK_ARGS: check-acceptance
> > <<: *acceptance_definition
> >
>
> What about adding in a comment who is the maintainer
> of these jobs? Some sort of contact in case there is
> a OpenSUSE specific issue for example.
>
I am glad to be a maintainer or reviewer for the openSUSE specific
issue.
> See:
> https://www.mail-archive.com/qemu-devel@nongnu.org/msg758968.html
>
> > +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:
^ permalink raw reply [flat|nested] 12+ messages in thread
* [PATCH] gitlab-ci.yml: Add openSUSE Tumbleweed and Leap for gitlab CI/CD
@ 2020-11-16 11:30 Yu-Chen, Cho
2020-11-24 9:45 ` [PATCH v2] gitlab-ci.yml: Add openSUSE Leap 15.2 " Cho, Yu-Chen
0 siblings, 1 reply; 12+ messages in thread
From: Yu-Chen, Cho @ 2020-11-16 11:30 UTC (permalink / raw)
To: qemu-devel
Cc: thuth, philmd, wainersm, alex.bennee, fam, cfontana, brogers, lyan
Add build-system-opensusetw and build-system-opensuse152 jobs and
add opensuse152.docker and opensusetw.docker dockerfile.
Use openSUSE Tumbleweed and openSUSE Leap 15.2 container image in the
gitlab-CI.
Signed-off-by: Yu-Chen, Cho <acho@suse.com>
---
.gitlab-ci.d/containers.yml | 10 +++
.gitlab-ci.yml | 60 ++++++++++++++
tests/docker/dockerfiles/opensuse152.docker | 88 ++++++++++++++++++++
tests/docker/dockerfiles/opensusetw.docker | 89 +++++++++++++++++++++
4 files changed, 247 insertions(+)
create mode 100644 tests/docker/dockerfiles/opensuse152.docker
create mode 100644 tests/docker/dockerfiles/opensusetw.docker
diff --git a/.gitlab-ci.d/containers.yml b/.gitlab-ci.d/containers.yml
index 11d079ea58..449a00de70 100644
--- a/.gitlab-ci.d/containers.yml
+++ b/.gitlab-ci.d/containers.yml
@@ -48,6 +48,16 @@ amd64-debian11-container:
variables:
NAME: debian11
+amd64-opensuseTW-container:
+ <<: *container_job_definition
+ variables:
+ NAME: opensusetw
+
+amd64-opensuse152-container:
+ <<: *container_job_definition
+ variables:
+ NAME: opensuse152
+
alpha-debian-cross-container:
<<: *container_job_definition
stage: containers-layer2
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9a8b375188..540a700596 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -195,6 +195,66 @@ acceptance-system-centos:
MAKE_CHECK_ARGS: check-acceptance
<<: *acceptance_definition
+build-system-opensusetw:
+ <<: *native_build_job_definition
+ variables:
+ IMAGE: opensusetw
+ TARGETS: s390x-softmmu x86_64-softmmu aarch64-softmmu
+ MAKE_CHECK_ARGS: check-build
+ artifacts:
+ expire_in: 2 days
+ paths:
+ - build
+
+check-system-opensusetw:
+ <<: *native_test_job_definition
+ needs:
+ - job: build-system-opensusetw
+ artifacts: true
+ variables:
+ IMAGE: opensusetw
+ MAKE_CHECK_ARGS: check
+
+acceptance-system-opensusetw:
+ <<: *native_test_job_definition
+ needs:
+ - job: build-system-opensusetw
+ artifacts: true
+ variables:
+ IMAGE: opensusetw
+ MAKE_CHECK_ARGS: check-acceptance
+ <<: *acceptance_definition
+
+build-system-opensuse152:
+ <<: *native_build_job_definition
+ variables:
+ IMAGE: opensuse152
+ TARGETS: s390x-softmmu x86_64-softmmu aarch64-softmmu
+ MAKE_CHECK_ARGS: check-build
+ artifacts:
+ expire_in: 2 days
+ paths:
+ - build
+
+check-system-opensuse152:
+ <<: *native_test_job_definition
+ needs:
+ - job: build-system-opensuse152
+ artifacts: true
+ variables:
+ IMAGE: opensuse152
+ MAKE_CHECK_ARGS: check
+
+acceptance-system-opensuse152:
+ <<: *native_test_job_definition
+ needs:
+ - job: build-system-opensuse152
+ artifacts: true
+ variables:
+ IMAGE: opensuse152
+ MAKE_CHECK_ARGS: check-acceptance
+ <<: *acceptance_definition
+
build-disabled:
<<: *native_build_job_definition
variables:
diff --git a/tests/docker/dockerfiles/opensuse152.docker b/tests/docker/dockerfiles/opensuse152.docker
new file mode 100644
index 0000000000..712eb4fe3a
--- /dev/null
+++ b/tests/docker/dockerfiles/opensuse152.docker
@@ -0,0 +1,88 @@
+FROM opensuse/leap:15.2
+
+RUN zypper update -y
+
+# Please keep this list sorted alphabetically
+ENV PACKAGES \
+ bc \
+ brlapi-devel \
+ bzip2 \
+ libzip-devel \
+ ccache \
+ clang \
+ cyrus-sasl-devel \
+ dbus-1 \
+ device-mapper-devel \
+ gcc \
+ gcc-c++ \
+ mkisofs \
+ gettext-runtime \
+ git \
+ glib2-devel \
+ glusterfs-devel \
+ libgnutls-devel \
+ gtk3-devel \
+ hostname \
+ libaio-devel \
+ libasan5 \
+ libattr-devel \
+ libblockdev-devel \
+ libcap-ng-devel \
+ libcurl-devel \
+ libepoxy-devel \
+ libfdt-devel \
+ libiscsi-devel \
+ libjpeg8-devel \
+ libpmem-devel \
+ libpng16-devel \
+ librbd-devel \
+ libseccomp-devel \
+ libssh-devel \
+ libubsan0 \
+ libudev-devel \
+ libxml2-devel \
+ libzstd-devel \
+ llvm \
+ lzo-devel \
+ make \
+ mingw32-filesystem \
+ glibc-devel-32bit \
+ libSDL2_image-devel \
+ mingw64-binutils \
+ nmap \
+ ncat \
+ ncurses-devel \
+ libnettle-devel \
+ ninja \
+ mozilla-nss-devel \
+ libnuma-devel \
+ perl \
+ libpixman-1-0-devel \
+ python3-base \
+ python3-PyYAML \
+ python3-numpy \
+ python3-opencv \
+ python3-Pillow \
+ python3-pip \
+ python3-Sphinx \
+ python3-virtualenv \
+ rdma-core-devel \
+ libSDL2-devel \
+ snappy-devel \
+ sparse \
+ libspice-server-devel \
+ systemd-devel \
+ systemtap-sdt-devel \
+ tar \
+ tesseract-ocr \
+ tesseract-ocr-traineddata-english \
+ usbredir-devel \
+ virglrenderer-devel \
+ libvte-2_91-0 \
+ which \
+ xen-devel \
+ zlib-devel
+ENV QEMU_CONFIGURE_OPTS --python=/usr/bin/python3.8
+
+RUN zypper --non-interactive install -y $PACKAGES
+RUN rpm -q $PACKAGES | sort > /packages.txt
diff --git a/tests/docker/dockerfiles/opensusetw.docker b/tests/docker/dockerfiles/opensusetw.docker
new file mode 100644
index 0000000000..21edd8039a
--- /dev/null
+++ b/tests/docker/dockerfiles/opensusetw.docker
@@ -0,0 +1,89 @@
+FROM opensuse/tumbleweed
+
+RUN zypper update -y
+
+# Please keep this list sorted alphabetically
+ENV PACKAGES \
+ bc \
+ brlapi-devel \
+ bzip2 \
+ libzip-devel \
+ ccache \
+ clang \
+ cyrus-sasl-devel \
+ dbus-1 \
+ device-mapper-devel \
+ diffutils \
+ gcc \
+ gcc-c++ \
+ mkisofs \
+ gettext-runtime \
+ git \
+ glib2-devel \
+ glusterfs-devel \
+ libgnutls-devel \
+ gtk3-devel \
+ hostname \
+ libaio-devel \
+ libasan5 \
+ libattr-devel \
+ libblockdev-devel \
+ libcap-ng-devel \
+ libcurl-devel \
+ libepoxy-devel \
+ libfdt-devel \
+ libiscsi-devel \
+ libjpeg8-devel \
+ libpmem-devel \
+ libpng16-devel \
+ librbd-devel \
+ libseccomp-devel \
+ libssh-devel \
+ libubsan0 \
+ libudev-devel \
+ libxml2-devel \
+ libzstd-devel \
+ llvm \
+ lzo-devel \
+ make \
+ mingw32-binutils \
+ glibc-devel-32bit \
+ libSDL2_image-devel \
+ mingw64-binutils \
+ nmap \
+ ncat \
+ ncurses-devel \
+ libnettle-devel \
+ ninja \
+ mozilla-nss-devel \
+ libnuma-devel \
+ perl \
+ libpixman-1-0-devel \
+ python38-base \
+ python3-PyYAML \
+ python3-numpy \
+ python3-opencv \
+ python3-Pillow \
+ python3-pip \
+ python3-Sphinx \
+ python3-virtualenv \
+ rdma-core-devel \
+ libSDL2-devel \
+ snappy-devel \
+ sparse \
+ libspice-server-devel \
+ systemd-devel \
+ systemtap-sdt-devel \
+ tar \
+ tesseract-ocr \
+ tesseract-ocr-traineddata-english \
+ usbredir-devel \
+ virglrenderer-devel \
+ libvte-2_91-0 \
+ which \
+ xen-devel \
+ zlib-devel
+ENV QEMU_CONFIGURE_OPTS --python=/usr/bin/python3.8
+
+RUN zypper --non-interactive install -y $PACKAGES
+RUN rpm -q $PACKAGES | sort > /packages.txt
--
2.29.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH v2] gitlab-ci.yml: Add openSUSE Leap 15.2 for gitlab CI/CD
2020-11-16 11:30 [PATCH] gitlab-ci.yml: Add openSUSE Tumbleweed and Leap " Yu-Chen, Cho
@ 2020-11-24 9:45 ` Cho, Yu-Chen
2020-12-08 6:55 ` Thomas Huth
0 siblings, 1 reply; 12+ messages in thread
From: Cho, Yu-Chen @ 2020-11-24 9:45 UTC (permalink / raw)
To: qemu-devel
Cc: thuth, philmd, wainersm, alex.bennee, fam, cfontana, brogers, lyan
v2:
Drop some package from dockerfile to make docker image more light.
v1:
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>
---
.gitlab-ci.d/containers.yml | 5 ++
.gitlab-ci.yml | 30 +++++++++++
tests/docker/dockerfiles/opensuse-leap.docker | 54 +++++++++++++++++++
3 files changed, 89 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 d0173e82b1..6a256fe07b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -195,6 +195,36 @@ 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..8b0d915bff
--- /dev/null
+++ b/tests/docker/dockerfiles/opensuse-leap.docker
@@ -0,0 +1,54 @@
+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 \
+ usbredir-devel \
+ virglrenderer-devel \
+ xen-devel \
+ vte-devel \
+ zlib-devel
+ENV QEMU_CONFIGURE_OPTS --python=/usr/bin/python3.8
+
+RUN zypper update -y && zypper --non-interactive install -y $PACKAGES
+RUN rpm -q $PACKAGES | sort > /packages.txt
--
2.29.2
^ permalink raw reply related [flat|nested] 12+ messages in thread
* Re: [PATCH v2] gitlab-ci.yml: Add openSUSE Leap 15.2 for gitlab CI/CD
2020-11-24 9:45 ` [PATCH v2] gitlab-ci.yml: Add openSUSE Leap 15.2 " Cho, Yu-Chen
@ 2020-12-08 6:55 ` Thomas Huth
2020-12-08 8:25 ` AL Yu-Chen Cho
2020-12-10 9:32 ` AL Yu-Chen Cho via
0 siblings, 2 replies; 12+ messages in thread
From: Thomas Huth @ 2020-12-08 6:55 UTC (permalink / raw)
To: Cho, Yu-Chen, qemu-devel
Cc: fam, lyan, philmd, wainersm, brogers, cfontana, alex.bennee
On 24/11/2020 10.45, Cho, Yu-Chen wrote:
> v2:
> Drop some package from dockerfile to make docker image more light.
>
> v1:
> 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>
> ---
> .gitlab-ci.d/containers.yml | 5 ++
> .gitlab-ci.yml | 30 +++++++++++
> tests/docker/dockerfiles/opensuse-leap.docker | 54 +++++++++++++++++++
> 3 files changed, 89 insertions(+)
> create mode 100644 tests/docker/dockerfiles/opensuse-leap.docker
Hi!
While trying to pick up your patch, I noticed that it is failing now in the
gitlab-CI:
https://gitlab.com/huth/qemu/-/jobs/896384459
Could you please have a look and send a fixed v3?
Thanks,
Thomas
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH v2] gitlab-ci.yml: Add openSUSE Leap 15.2 for gitlab CI/CD
2020-12-08 6:55 ` Thomas Huth
@ 2020-12-08 8:25 ` AL Yu-Chen Cho
2020-12-10 9:32 ` AL Yu-Chen Cho via
1 sibling, 0 replies; 12+ messages in thread
From: AL Yu-Chen Cho @ 2020-12-08 8:25 UTC (permalink / raw)
To: Thomas Huth, qemu-devel
Cc: philmd, wainersm, alex.bennee, fam, cfontana, brogers, lyan
On Tue, 2020-12-08 at 07:55 +0100, Thomas Huth wrote:
> On 24/11/2020 10.45, Cho, Yu-Chen wrote:
> > v2:
> > Drop some package from dockerfile to make docker image more light.
> >
> > v1:
> > 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>
> > ---
> > .gitlab-ci.d/containers.yml | 5 ++
> > .gitlab-ci.yml | 30 +++++++++++
> > tests/docker/dockerfiles/opensuse-leap.docker | 54
> > +++++++++++++++++++
> > 3 files changed, 89 insertions(+)
> > create mode 100644 tests/docker/dockerfiles/opensuse-leap.docker
>
> Hi!
>
> While trying to pick up your patch, I noticed that it is failing now
> in the
> gitlab-CI:
>
> https://gitlab.com/huth/qemu/-/jobs/896384459
>
> Could you please have a look and send a fixed v3?
>
No problem, will submit v3 soon.
Cheers,
AL
> Thanks,
> Thomas
>
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH v2] gitlab-ci.yml: Add openSUSE Leap 15.2 for gitlab CI/CD
2020-12-08 6:55 ` Thomas Huth
2020-12-08 8:25 ` AL Yu-Chen Cho
@ 2020-12-10 9:32 ` AL Yu-Chen Cho via
2020-12-11 13:09 ` Thomas Huth
1 sibling, 1 reply; 12+ messages in thread
From: AL Yu-Chen Cho via @ 2020-12-10 9:32 UTC (permalink / raw)
To: Thomas Huth, qemu-devel
Cc: fam, lyan, philmd, wainersm, brogers, cfontana, alex.bennee
Hi Thomas,
I try to reproduce this failed in my repo, but it seems works fine.
Would you please give it a try again? I think you maybe just hit a bad
point in time...
Cheers,
AL
On Tue, 2020-12-08 at 07:55 +0100, Thomas Huth wrote:
> On 24/11/2020 10.45, Cho, Yu-Chen wrote:
> > v2:
> > Drop some package from dockerfile to make docker image more light.
> >
> > v1:
> > 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>
> > ---
> > .gitlab-ci.d/containers.yml | 5 ++
> > .gitlab-ci.yml | 30 +++++++++++
> > tests/docker/dockerfiles/opensuse-leap.docker | 54
> > +++++++++++++++++++
> > 3 files changed, 89 insertions(+)
> > create mode 100644 tests/docker/dockerfiles/opensuse-leap.docker
>
> Hi!
>
> While trying to pick up your patch, I noticed that it is failing now
> in the
> gitlab-CI:
>
> https://gitlab.com/huth/qemu/-/jobs/896384459
>
> Could you please have a look and send a fixed v3?
>
> Thanks,
> Thomas
>
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH v2] gitlab-ci.yml: Add openSUSE Leap 15.2 for gitlab CI/CD
2020-12-10 9:32 ` AL Yu-Chen Cho via
@ 2020-12-11 13:09 ` Thomas Huth
2020-12-18 10:56 ` Thomas Huth
0 siblings, 1 reply; 12+ messages in thread
From: Thomas Huth @ 2020-12-11 13:09 UTC (permalink / raw)
To: AL Yu-Chen Cho, qemu-devel
Cc: fam, lyan, philmd, wainersm, brogers, cfontana, alex.bennee
On 10/12/2020 10.32, AL Yu-Chen Cho wrote:
> Hi Thomas,
>
> I try to reproduce this failed in my repo, but it seems works fine.
> Would you please give it a try again? I think you maybe just hit a bad
> point in time...
I just re-tried, but it still fails for me:
https://gitlab.com/huth/qemu/-/jobs/905376471
Did you also rebase your branch to the latest master version?
Thomas
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH v2] gitlab-ci.yml: Add openSUSE Leap 15.2 for gitlab CI/CD
2020-12-11 13:09 ` Thomas Huth
@ 2020-12-18 10:56 ` Thomas Huth
2020-12-24 8:55 ` Cho Yu-Chen
0 siblings, 1 reply; 12+ messages in thread
From: Thomas Huth @ 2020-12-18 10:56 UTC (permalink / raw)
To: AL Yu-Chen Cho, qemu-devel
Cc: fam, lyan, alex.bennee, wainersm, brogers, cfontana, philmd
On 11/12/2020 14.09, Thomas Huth wrote:
> On 10/12/2020 10.32, AL Yu-Chen Cho wrote:
>> Hi Thomas,
>>
>> I try to reproduce this failed in my repo, but it seems works fine.
>> Would you please give it a try again? I think you maybe just hit a bad
>> point in time...
>
> I just re-tried, but it still fails for me:
>
> https://gitlab.com/huth/qemu/-/jobs/905376471
>
> Did you also rebase your branch to the latest master version?
I just gave it yet another try to really rule out that it was not a
temporary problem, but the "acceptance" job still fails for me:
https://gitlab.com/huth/qemu/-/jobs/920543768
Would it make sense to drop the "acceptance-system-opensuse" job part of the
patch for now to get at least the basic compile-coverage in?
Thomas
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH v2] gitlab-ci.yml: Add openSUSE Leap 15.2 for gitlab CI/CD
2020-12-18 10:56 ` Thomas Huth
@ 2020-12-24 8:55 ` Cho Yu-Chen
0 siblings, 0 replies; 12+ messages in thread
From: Cho Yu-Chen @ 2020-12-24 8:55 UTC (permalink / raw)
To: Thomas Huth
Cc: fam, lyan, philmd, qemu-devel, wainersm, brogers, cfontana,
alex.bennee, AL Yu-Chen Cho
Hi Thomas,
Sorry for late reply,
Thomas Huth <thuth@redhat.com> 於 2020年12月18日 週五 下午7:14寫道:
>
> On 11/12/2020 14.09, Thomas Huth wrote:
> > On 10/12/2020 10.32, AL Yu-Chen Cho wrote:
> >> Hi Thomas,
> >>
> >> I try to reproduce this failed in my repo, but it seems works fine.
> >> Would you please give it a try again? I think you maybe just hit a bad
> >> point in time...
> >
> > I just re-tried, but it still fails for me:
> >
> > https://gitlab.com/huth/qemu/-/jobs/905376471
> >
> > Did you also rebase your branch to the latest master version?
>
> I just gave it yet another try to really rule out that it was not a
> temporary problem, but the "acceptance" job still fails for me:
>
> https://gitlab.com/huth/qemu/-/jobs/920543768
>
> Would it make sense to drop the "acceptance-system-opensuse" job part of the
> patch for now to get at least the basic compile-coverage in?
>
Yes, I tried to fix the "acceptance-system-opensuse" error but still
got weird error in:
VENV /builds/huth/qemu/build/tests/venv
57Error: Command '['/builds/huth/qemu/build/tests/venv/bin/python3',
'-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero
exit status 1.
So I will submit the v3 to drop it for now, thanks a lot.
Cheers,
AL
> Thomas
>
>
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2020-12-24 8:57 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-30 4:26 [PATCH v2] gitlab-ci.yml: Add openSUSE Leap 15.2 for gitlab CI/CD Cho, Yu-Chen
2020-11-30 8:28 ` Thomas Huth
2020-11-30 9:11 ` Philippe Mathieu-Daudé
2020-11-30 9:14 ` Philippe Mathieu-Daudé
2020-12-03 3:38 ` AL Yu-Chen Cho
-- strict thread matches above, loose matches on Subject: below --
2020-11-16 11:30 [PATCH] gitlab-ci.yml: Add openSUSE Tumbleweed and Leap " Yu-Chen, Cho
2020-11-24 9:45 ` [PATCH v2] gitlab-ci.yml: Add openSUSE Leap 15.2 " Cho, Yu-Chen
2020-12-08 6:55 ` Thomas Huth
2020-12-08 8:25 ` AL Yu-Chen Cho
2020-12-10 9:32 ` AL Yu-Chen Cho via
2020-12-11 13:09 ` Thomas Huth
2020-12-18 10:56 ` Thomas Huth
2020-12-24 8:55 ` Cho Yu-Chen
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.