[Gluster-devel] Centos8/RHEL8 Nightly Build for glusterfs needs to be created

Rinku Kothiya rkothiya at redhat.com
Tue Oct 13 13:53:56 UTC 2020

Hi Team,

I have been trying to run the following command to fix the centos ci
nightly builds but Its failing I am not sure what's wrong here.
Any help would be appreciated.

# /usr/bin/mock --root epel-8-x86_64 --with=gnfs --resultdir
/srv/gluster/nightly/master/8/x86_64 --rebuild
RPM build errors:
error: Directory not found:
error: File not found:
error: File not found:
error: File not found:
    Directory not found:
    File not found:
    File not found:
    File not found:
Finish: rpmbuild glusterfs-20201007.d1d7a6f-0.0.autobuild.src.rpm
Finish: build phase for glusterfs-20201007.d1d7a6f-0.0.autobuild.src.rpm
Config(epel-8-x86_64) 6 minutes 19 seconds
INFO: Results and/or logs in: /srv/gluster/nightly/master/8/x86_64
INFO: Cleaning up build root ('cleanup_on_failure=True')
Start: clean chroot
Finish: clean chroot
ERROR: Command failed:
 # /usr/bin/systemd-nspawn -q -M e76a1e2f68cc4c88af4159fea2987ad1 -D
/var/lib/mock/epel-8-x86_64/root -a -u mockbuild --capability=cap_ipc_lock
--bind=/tmp/mock-resolv.kxdftj8r:/etc/resolv.conf --bind=/dev/loop-control
--bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3
--bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7
--bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11
--setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir
--setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin
--setenv=PROMPT_COMMAND=printf "\033]0;<mock-chroot>\007"
--setenv=PS1=<mock-chroot> \s-\v\$  --setenv=LANG=C.UTF-8 --resolv-conf=off
bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps


On Fri, Oct 9, 2020 at 12:22 PM Niels de Vos <ndevos at redhat.com> wrote:

> On Thu, Oct 08, 2020 at 04:21:50PM +0530, Rinku Kothiya wrote:
> > Hi Niels,
> >
> > Yaniv wanted the glusterfs nightly builds generated to be tested for
> > performance bottlenecks.
> >
> > I was working on the below project :
> > https://github.com/gluster/gluster-performance-test-suite
> >
> > As of now we are running the above script on the glusterfs-nightly builds
> > every night through a jenkins machine.
> > Currently we have only been using Glusterfs-EL7 Nightly builds. But for
> > testing the Gusfterfs-EL8 nightly build, I  need those nightly builds to
> be
> > generated.
> > I raised a request with Deepshikha and she said that you have been
> looking
> > at it in the past.
> Please have a look at the Jenkins Jobs Builder scripts from
> https://github.com/gluster/centosci/ that are used to run these jobs.
> For the nightly GlusterFS builds, there are two jobs involved:
> 1. jobs/build-rpms.yml contains the different versions and architectures
>    that the gluster_build-rpms job can build. It needs to be extended to
>    support the `release-8` branch
> 2. jobs/nightly-rpm-builds.yml does the triggering of the 1st job. It
>    passes parameters to the job, which then will do the builds. Som in
>    order to add a build for GlusterFS-8, inlucde an new `trigger-build`
>    section.
> 3. jobs/scripts/nightly-builds/nightly-builds.sh is the script that does
>    the actual work. You should be able to execute it manually on a
>    CentOS system (set the environment like the parameters from 2) and
>    see if it works for GlusterFS-8. Ideally the script does not need any
>    changes.
> You can send a PR with changes that you need, and once it is merged (by
> Deepshika or one of the other active maintainers), it should
> automatically get updated in the Jenkins environment, and the next day
> there should be a new "Gluster 8 Nightly" repository.
> Adding gluster-devel to CC, as this information should enable others to
> add or improve CI jobs too.
> Good luck!
> Niels
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gluster.org/pipermail/gluster-devel/attachments/20201013/89435a4f/attachment.html>

More information about the Gluster-devel mailing list