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

Ayoub Zaki ayoub.zaki at embexus.com
Wed Nov 8 08:41:42 PST 2017


Hi,

On 08.11.2017 17:33, Burton, Ross 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 
> <mailto: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)
>

Do you have a Ryzen 7 based CPU ?!

In this case Ubuntu 16.4 with Linux kernel 4.4.x is know to be broken
You should upgrade your System with a recent kernel !!!


>     (so really confused)
>
>
>
>     On Wed, Nov 8, 2017 at 11:24 AM, Burton, Ross
>     <ross.burton at intel.com <mailto: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
>         <mailto: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 <mailto: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 <mailto:yocto at yoctoproject.org>
>             https://lists.yoctoproject.org/listinfo/yocto
>             <https://lists.yoctoproject.org/listinfo/yocto>
>
>
>
>
>
>

-- 
Ayoub Zaki
Embedded Systems Consultant

Vaihinger Straße 2/1
D-71634 Ludwigsburg

Tel.     : +4971415074546
Mobile   : +4917662901545
Email    : ayoub.zaki at embexus.com
Homepage : https://embexus.com
VAT No.  : DE313902634




More information about the yocto mailing list