[U-Boot] help on using buildman

York Sun
2014-11-20T22:25:45Z

On 11/20/2014 01:46 PM, Simon Glass wrote:
> Hi York,
>
> On 20 November 2014 21:34, York Sun <yorksun@freescale.com> wrote:
>> On 11/20/2014 01:33 PM, York Sun wrote:
>>> On 11/20/2014 01:04 PM, York Sun wrote:
>>>> On 11/20/2014 12:18 PM, York Sun wrote:
>>>>>
>>>>> I don't see ARCH defined anywhere.
>>>>>
>>>>
>>>> Simon,
>>>>
>>>> I think ARCH is defined in Kconfig as SYS_ARCH. Is it possible buildman runs
>>>> out-of-order?
>>>>
>>>
>>> There is something. When the server is under heavy load, this error doesn't
>>> show. When the server is mostly idling, the error comes. Any suggestion to debug it?
>>
>> Scratch that. It is not consistent.
>
> It's a mystery to me. I haven't seen this problem in much usage and
> can only suggest digging in to figure it out.
>

Found something but not the root cause yet. For the failure run, it runs in
Makefile, passed include/config/uboot.release, but not anything under
"prepare3:". For the success run, it continues to run.

-bash-3.2$ more log
make[1]: Entering directory
`/local/jenkins/jobs/york-scm-test-upstream-before-requesting-
pull/working_upstream_qoriq/.bm-work/00/build'
GEN ./Makefile
scripts/kconfig/conf --silentoldconfig Kconfig
CHK include/config.h
UPD include/config.h
GEN include/autoconf.mk
GEN include/autoconf.mk.dep
make[1]: Leaving directory
`/local/jenkins/jobs/york-scm-test-upstream-before-requesting-p
ull/working_upstream_qoriq/.bm-work/00/build'
make[1]: Entering directory
`/local/jenkins/jobs/york-scm-test-upstream-before-requesting-
pull/working_upstream_qoriq/.bm-work/00/build'
echo "York debug here"
York debug here
CHK include/config/uboot.release
CHK include/generated/timestamp_autogenerated.h
GEN ./Makefile
UPD include/generated/timestamp_autogenerated.h
UPD include/config/uboot.release
echo "Done uboot.release"
Done uboot.release

(note, for the success run, the log would have "Using .. as source for U-Boot" here)

make[1]: Leaving directory
`/local/jenkins/jobs/york-scm-test-upstream-before-requesting-p
ull/working_upstream_qoriq/.bm-work/00/build'

Not sure if this is still buildman related, but only visible when running with
buildman.

York