Build failed with missing dependency

David Caro dcaro at redhat.com
Tue Sep 29 16:36:04 UTC 2015


I think I've found the issue, when mock runs it's set to use yum-deprecated as
yum program for distros that have it (as there's an issue when running dnf from
the el* slaves, using yum on all works well, that is run outside the chroot),
that puts all the repos config only in the yum.conf, as it uses the config
from inside the chroot, but inside the chroot we are using yum directly, and
that, by default on dnf-enabled distros, runs dnf instead, and dnf and yum
configs are different so it's not properly picking up the dnf config, I'll add
a small work-around so we can use dnf inside the chroot transparently and have
both properly configured.


Will confirm and send a patch today

On 09/29, Piotr Kliczewski wrote:
> Thank you Sahina.
> 
> David is that good enough for you?
> 
> On Tue, Sep 29, 2015 at 3:40 PM, Sahina Bose <sabose at redhat.com> wrote:
> > Piotr,
> >
> > gluster dependencies are available at
> > http://download.gluster.org/pub/gluster/glusterfs/3.7/LATEST/Fedora and
> > http://download.gluster.org/pub/gluster/glusterfs/LATEST/Fedora/
> >
> > Is this the location being used for build?
> >
> >
> > On 09/29/2015 06:07 PM, Piotr Kliczewski wrote:
> >>
> >> Sahina can you advice where to look for missing dependency?
> >>
> >> David says that it is not available in official fedora repo.
> >>
> >> On Tue, Sep 29, 2015 at 10:15 AM, Piotr Kliczewski
> >> <piotr.kliczewski at gmail.com> wrote:
> >>>
> >>> On Tue, Sep 29, 2015 at 9:55 AM, David Caro <dcaro at redhat.com> wrote:
> >>>>
> >>>> On 09/29, Piotr Kliczewski wrote:
> >>>>>
> >>>>> On Tue, Sep 29, 2015 at 9:26 AM, David Caro <dcaro at redhat.com> wrote:
> >>>>>>
> >>>>>> On 09/29, Piotr Kliczewski wrote:
> >>>>>>>
> >>>>>>> I rerun the job for the same patch but it failed again with:
> >>>>>>>
> >>>>>>> Last metadata expiration check performed 0:00:09 ago on Tue Sep 29
> >>>>>>> 06:59:26 2015.
> >>>>>>> Error: nothing provides glusterfs-geo-replication >= 3.7.1 needed by
> >>>>>>> vdsm-gluster-4.17.2-188.gitef256fe.fc22.noarch.
> >>>>>>>
> >>>>>>> Maybe it is an issue of the slave that it was running on.
> >>>>>>
> >>>>>> It runs inside mock, so it's quite unlikely to be an issue in the
> >>>>>> slave, you
> >>>>>> can try running yourself locally:
> >>>>>>
> >>>>>>
> >>>>>> http://www.ovirt.org/index.php?title=CI/Build_and_test_standards#Testing_the_scripts_locally
> >>>>>>
> >>>>>>
> >>>>> I triggered my local mock build but it failed with different issue. I
> >>>>> used my f21 to do it and it ended
> >>>>> up failing due to different version of pyflakes.
> >>>>>
> >>>>> My local was pyflakes-0.7.3 whereas jenkins used pyflakes-0.8.1.
> >>>>>
> >>>>> I will run it on my f22 now.
> >>>>
> >>>>
> >>>> If you use mock, it does not care what distro your laptop has (as long
> >>>> as it
> >>>> has a relatively new version of mock).
> >>>>
> >>>> You can run fc22 chroot on a fc21 laptop and you should not get any
> >>>> pyflakes
> >>>> version issue. So I'm not sure what are you running but it looks like
> >>>> you are
> >>>> not running it inside mock.
> >>>>
> >>>> Ping me on irc if you need help running it manually, it should be fairly
> >>>> easy.
> >>>>
> >>> I just replied to David only so adding my reply to the list as well:
> >>>
> >>>
> >>> I am running the commands as there is in the link you added here. I
> >>> run it on my f22 and
> >>> failed with pyflake version. Why is there any difference in version
> >>> between jenkins and
> >>> local build?
> >>>
> >>> Let's talk on irc.
> >>>
> >>>>>>> On Mon, Sep 28, 2015 at 9:24 PM, Dan Kenigsberg <danken at redhat.com>
> >>>>>>> wrote:
> >>>>>>>>
> >>>>>>>> On Mon, Sep 28, 2015 at 03:48:24PM +0200, Piotr Kliczewski wrote:
> >>>>>>>>>
> >>>>>>>>> HI,
> >>>>>>>>>
> >>>>>>>>> I can see that vdsm build [1] with following error:
> >>>>>>>>>
> >>>>>>>>> Error: nothing provides glusterfs-geo-replication >= 3.7.1 needed
> >>>>>>>>> by
> >>>>>>>>> vdsm-gluster-4.17.2-188.gitef256fe.fc22.noarch.
> >>>>>>>>>
> >>>>>>>>> Can someone please take a look at it?
> >>>>>>>>>
> >>>>>>>>> Thanks,
> >>>>>>>>> Piotr
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>> [1]
> >>>>>>>>> http://jenkins.ovirt.org/job/vdsm_master_check-patch-fc22-x86_64/837
> >>>>>>>>
> >>>>>>>> Could it be a temporary unavailability of
> >>>>>>>>
> >>>>>>>> http://download.gluster.org/pub/gluster/glusterfs/LATEST/Fedora/fedora-22/x86_64/
> >>>>>>>> ?
> >>>>>>>>
> >>>>>>>> I see that later runs of the same job do succeed.
> >>>>>>>
> >>>>>>> _______________________________________________
> >>>>>>> Infra mailing list
> >>>>>>> Infra at ovirt.org
> >>>>>>> http://lists.ovirt.org/mailman/listinfo/infra
> >>>>>>
> >>>>>> --
> >>>>>> David Caro
> >>>>>>
> >>>>>> Red Hat S.L.
> >>>>>> Continuous Integration Engineer - EMEA ENG Virtualization R&D
> >>>>>>
> >>>>>> Tel.: +420 532 294 605
> >>>>>> Email: dcaro at redhat.com
> >>>>>> Web: www.redhat.com
> >>>>>> RHT Global #: 82-62605
> >>>>
> >>>> --
> >>>> David Caro
> >>>>
> >>>> Red Hat S.L.
> >>>> Continuous Integration Engineer - EMEA ENG Virtualization R&D
> >>>>
> >>>> Tel.: +420 532 294 605
> >>>> Email: dcaro at redhat.com
> >>>> Web: www.redhat.com
> >>>> RHT Global #: 82-62605
> >
> >

-- 
David Caro

Red Hat S.L.
Continuous Integration Engineer - EMEA ENG Virtualization R&D

Tel.: +420 532 294 605
Email: dcaro at redhat.com
Web: www.redhat.com
RHT Global #: 82-62605
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://lists.ovirt.org/pipermail/infra/attachments/20150929/dab96202/attachment.sig>


More information about the Infra mailing list