[yocto] yocto-autobuilder: Nightly build not building nightly
Bryan Evenson
bevenson at melinkcorp.com
Mon Oct 14 08:43:49 PDT 2013
Elizabeth,
> -----Original Message-----
> From: Flanagan, Elizabeth [mailto:elizabeth.flanagan at intel.com]
> Sent: Monday, October 14, 2013 10:57 AM
> To: Bryan Evenson
> Cc: yocto at yoctoproject.org
> Subject: Re: [yocto] yocto-autobuilder: Nightly build not building
> nightly
>
> Bryan,
>
> This is probably because you only have a ForceScheduler implemented
> which is always on by default. Timed schedulers have to be added. Can
> you post the rest of your nightly-foo?
>
> You'll need a top level section within that conf that contains:
>
> 'name_of_scheduler':
> {'type': 'Nightly'}
>
> See: http://git.yoctoproject.org/cgit.cgi/yocto-
> autobuilder/tree/README-NEW-AUTOBUILDER
> for more info on scheduler props
I added the following to my buildset configuration:
scheduler: [{'nightly-scheduler' :
{'type':'Nightly',
'hour':'2',
'minute':'0',}}]
And I restarted the autobuilder ("./yocto-stop-autobuilder both" and
"./yocto-start-autobuilder both" from the command line). Now when
I go to the waterfall display for my autobuilder it shows the current
for my buildset as "waiting next in ~14 hrs 27 min at 2:00". I'll
see if the build triggers okay tomorrow, but it looks hopeful. If
I get impatient I may change the build time to later today.
I'll also note that the hour and minute parameter were required for
the scheduler to work. If I didn't set these values, the autobuilder
failed to start. I'll post a patch to update the documentation to note
that these values are required.
And for completeness, here is my nightly build config as it stands
right now:
[nightly-foo]
builders: 'builder1'
repos: [{'poky':
{'repourl':'git://git.yoctoproject.org/poky',
'layerversion':{'core':'meta', 'yoctobsp':'meta-yocto-bsp'},
'branch':'dylan'}},
{'meta-atmel':
{'repourl':'git://github.com/evensonbryan/meta-atmel',
'branch':'master'}},
{'meta-openembedded':
{'repourl':'git://git.openembedded.org/meta-openembedded',
'branch':'dylan'}}]
steps: [{'SetDest':{}},
{'CheckOutLayers': {}},
{'RunPreamble': {}},
{'GetDistroVersion' : {'distro': 'poky'}},
{'CreateAutoConf': {'machine': 'at91sam9x5ek', 'SDKMACHINE' : 'i686', 'distro': 'poky', 'buildhistory': True}},
{'CreateBBLayersConf': {'buildprovider' : 'yocto', 'layerdirs':
['meta-atmel', 'meta-openembedded/meta-oe', 'meta-openembedded/meta-networking']}},
{'BuildImages': {'images': 'core-image-minimal'}},
{'SyncPersistDB' : {'commit' : True, 'distro':'poky'}},
{'PublishLayerTarballs':{}},
{'PublishArtifacts': {'artifacts': ['at91sam9x5ek', 'ipk']}}]
scheduler: [{'nightly-scheduler' :
{'type':'Nightly',
'hour':'2',
'minute':'0',}}]
Thanks,
Bryan Evenson
>
> -b
>
> On Mon, Oct 14, 2013 at 6:46 AM, Bryan Evenson
> <bevenson at melinkcorp.com> wrote:
> > All,
> >
> > I have a local yocto-autobuilder setup (using yocto-autobuilder
> master) which I can do a build of my own setup. I created my own
> nightly-foo.conf file and verified that a forced build of this builds
> without errors. However, the nightly builds are not triggering and I'm
> wondering what I missed.
> >
> > I modified yoctoAB.conf to only include my buildset. So my
> yoctoAB.conf now looks like this:
> >
> > [BuildSets]
> > Order: ['nightly-foo']
> >
> > I set this up near the beginning of October and there has not been a
> nightly build triggered since my last forced build. At first I thought
> it was because the layers I am using have not been updated, as I'm
> using the Dylan branch for everything. However, poky/dylan just
> received some updates a few days ago and my autobuilder has not yet
> triggered a new nightly build.
> >
> > Is there something I need to add to my nightly-foo.conf to get the
> nightly build to trigger? Or is there a different configuration file
> that I need to modify?
> >
> > Thanks,
> > Bryan Evenson
> > _______________________________________________
> > yocto mailing list
> > yocto at yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/yocto
>
>
>
> --
> Elizabeth Flanagan
> Yocto Project
> Build and Release
More information about the yocto
mailing list