[yocto] Annoying "rerun to fix" bug for bitbake: task failed, but rerun can fix it.

Jerry Lian jerry.lian at gmail.com
Wed Nov 8 08:47:22 PST 2017


Really, only me got this problem?




On Wed, Nov 8, 2017 at 11:40 AM, Burton, Ross <ross.burton at intel.com> wrote:

> The failure doesn't happen for anyone else.  You're literally saying "it
> breaks" but not even saying what "it" is, or how "it" is breaking.
>
> Ross
>
> On 8 November 2017 at 16:38, Jerry Lian <jerry.lian at gmail.com> wrote:
>
>> Isn't my problem clear: the failure pop-up randomly!
>> Do you mean the random failure also help you for debugging?
>>
>>
>>
>>
>> On Wed, Nov 8, 2017 at 11:33 AM, Burton, Ross <ross.burton at intel.com>
>> wrote:
>>
>>> Well next time it happens feel free to reply to this thread. Otherwise
>>> you're asking us "fix my problem" without saying what the problem is.
>>>
>>> Ross
>>>
>>> On 8 November 2017 at 16:31, Jerry Lian <jerry.lian at gmail.com> wrote:
>>>
>>>> So that is further tricky part:
>>>> * it may fail when finishing 20%, 40% 60%, 80%
>>>> * And the failure last time may not appear next time.
>>>> * So it just pop-up randomly
>>>>
>>>> (By the way, I just build brand new PC with 16 threads CPU, 32G memory,
>>>> and install Ubuntu 16.4.3 with ESXI-6.5)
>>>> (so really confused)
>>>>
>>>>
>>>>
>>>> On Wed, Nov 8, 2017 at 11:24 AM, Burton, Ross <ross.burton at intel.com>
>>>> wrote:
>>>>
>>>>> The autobuilder does about 50 builds a night using pure poky and we
>>>>> don't see this, so again: what recipe and what errors?
>>>>>
>>>>> Ross
>>>>>
>>>>> On 8 November 2017 at 16:22, Jerry Lian <jerry.lian at gmail.com> wrote:
>>>>>
>>>>>> I am not talking about my own layer or recipe.
>>>>>> It happens even when I run the demo QEMU/beaglebone builds.
>>>>>> (I just download poky, and make NO modifications)
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Wed, Nov 8, 2017 at 10:56 AM, Eric Schwarz <
>>>>>> eas at sw-optimization.com> wrote:
>>>>>>
>>>>>>> Most likely a dependency problem of the package which fails w/ exit
>>>>>>> code 1.
>>>>>>> Check the dependencies in the recipe and w/ Yocto's bitbake it self.
>>>>>>>
>>>>>>> Cheers
>>>>>>> Eric
>>>>>>>
>>>>>>>
>>>>>>> Am 08.11.2017 16:49, schrieb Jerry Lian:
>>>>>>>
>>>>>>> I am not sure whether it is a bug or an error: * Quite often,
>>>>>>>> bitbake will fail before finishing, with message like: ... task failed with
>>>>>>>> exit code 1... * But if you rerun bitbake, it will continue to build. * So
>>>>>>>> sometimes I have to rerun many times for finish one build ---- annoying!
>>>>>>>> (by the way, my CPU can run 16 threads)
>>>>>>>>
>>>>>>>> Any idea to clear this annoying bug? thanks.
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>> --
>>>>>> _______________________________________________
>>>>>> yocto mailing list
>>>>>> yocto at yoctoproject.org
>>>>>> https://lists.yoctoproject.org/listinfo/yocto
>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20171108/91a8d637/attachment.html>


More information about the yocto mailing list