GitHub Actions-based CI for vdsm
by Marcin Sobczyk
Hi All,
I've been working on adding GitHub Actions-based CI to vdsm today.
Feel free to check out the patches here:
https://gerrit.ovirt.org/q/topic:%22github-actions-ci%22+(status:open%20O...
Some comments:
- the linters work fine already, we can start using them
- RPM building works too in general. I think the RPM versions are not
right yet, so I'll look into this. After the 'rpm' job is done we get a
zipfile with all the built RPMs inside. In the future we may want to run
'createrepo_c' on this dir as well, so we'll have a ready-to-be-used
repository in that zip.
- 'tests' are working too, but we have a couple of failures we'd need to
look at. This job, unlike the others, runs in GitHub's Ubuntu VM inside
which we use a privileged container for running the tests.
- didn't try 'tests-storage' yet
- Not to waist precious free CI minutes and storage, we run linters
first, tests after that, but only under the condition that the linters
didn't fail, and finally we build RPMs, but this time under the
condition that the tests didn't fail.
You can find some of the runs I made in my personal fork here:
https://github.com/tinez/vdsm/actions/workflows/ci.yml
Comments, remarks and reviews are highly appreciated.
Regards, Marcin
2 years, 12 months
java-client-kubevirt in 4.5
by Sandro Bonazzola
hi,
java-client-kubevirt is failing on missing dependencies:
package: java-client-kubevirt-0.5.0-1.20211108071009.gite0a0fe8.el9.src
from copr:copr.fedorainfracloud.org:ovirt:ovirt-master-snapshot
unresolved deps:
maven-plugin-registry
maven-profile
maven-shade-plugin
I'm providing those dependencies temporarily with
ovirt-master-snapshot-static repo.
I kindly asked for them to be added to CentOS Stream 9
(see as example Bug 2017712
<https://bugzilla.redhat.com/show_bug.cgi?id=2017712> - Missing
maven-shade-plugin in CentOS Stream 9 )
But the request was rejected.
We have a few options:
1) Ask for building on CentOS Stream 9 Koji instance at
https://kojihub.stream.centos.org/koji/ as that dependency is available
there in build roots.
2) Change java-client-kubevirt for not requiring those packages (bundling
the needed jar files within the .src.rpm?)
3) Drop java-client-kubevirt completely in oVirt 4.5
4) Rebuild the whole maven stack up to those dependencies within CentOS
Virt SIG and COPR.
5) Keep the "temporary" solution as-is
How should we proceed?
--
Sandro Bonazzola
MANAGER, SOFTWARE ENGINEERING, EMEA R&D RHV
Red Hat EMEA <https://www.redhat.com/>
sbonazzo(a)redhat.com
<https://www.redhat.com/>
*Red Hat respects your work life balance. Therefore there is no need to
answer this email out of your office hours.*
2 years, 12 months
Gerrit https links broken (since server was moved?)
by Nir Soffer
Trying to "git pull" from gerrit get stuck now.
Checking https://gerrit.ovirt.org/admin/repos/vdsm
we see:
git clone "https://gerrit.ovirt.org/vdsm"
But visiting this url shows:
$ curl -i https://gerrit.ovirt.org/vdsm
HTTP/1.1 404 Not Found
Date: Thu, 25 Nov 2021 12:12:17 GMT
Server: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips
Content-Type: text/plain;charset=iso-8859-1
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: Mon, 01 Jan 1990 00:00:00 GMT
Content-Length: 9
Not Found
Same for ovirt-engine:
$ curl -i https://gerrit.ovirt.org/ovirt-engine
HTTP/1.1 404 Not Found
Date: Thu, 25 Nov 2021 12:13:13 GMT
Server: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips
Content-Type: text/plain;charset=iso-8859-1
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: Mon, 01 Jan 1990 00:00:00 GMT
Content-Length: 9
Not Found
I guess this is related to moving to new hardware yesterday?
Nir
2 years, 12 months
Planned CI system outage
by Evgheni Dereveanchin
Hi everyone,
Today we're moving jenkins.ovirt.org to new hardware which requires an
outage for all CI-related systems. Due to the size of this system, the
expected outage window is from 16:00 UTC till 22:00 UTC - no builds will be
run during this outage and the Jenkins UI will be unreachable.
I will follow up with updates after the move is complete.
--
Regards,
Evgheni Dereveanchin
3 years
OST gating: Merge aborted
by Milan Zamazal
Hi,
https://gerrit.ovirt.org/c/vdsm/+/117543 reached "OST merge attempted"
but the merge hasn't happened. The trigger log says:
+ echo 'OST_MESSAGE=Patch is good to merge'
+ touch verified
+ exit 0
[EnvInject] - Injecting environment variables from a build step.
[EnvInject] - Injecting as environment variables the properties file path 'ost'
[EnvInject] - Variables injected successfully.
[ds-ost-gating-trigger3] $ /bin/sh -xe /tmp/jenkins3506416413422390774.sh
+ [[ -f approved ]]
+ [[ -f verified ]]
+ echo 'will submit'
will submit
+ exit 0
Build step 'Groovy Postbuild' changed build result to ABORTED
Started calculate disk usage of build
Finished Calculation of disk usage of build in 0 seconds
Started calculate disk usage of workspace
Finished Calculation of disk usage of workspace in 0 seconds
Finished: ABORTED
Any idea what's wrong?
Thanks,
Milan
3 years