[yocto] do_rootfs fails - corner case QA/heuristics?

Felix Lelchuk felix.lelchuk at gmx.de
Mon Apr 29 13:09:32 PDT 2019


I'm facing some strange problems trying to backport old 1.9 Ruby to Thud Poky.
All packages build fine but the image's do_rootfs fails with below message and
without any image winding up in tmp/deploy/images/<machine>:

NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: my-image-1.0-r0 do_rootfs: [log_check] my-image: found 2 error messages in the logfile:
[log_check] D: create     040755  1 (   0,   0)     0 /usr/share/ri/1.9.1/system/Net/HTTPExpectationFailed
[log_check] D: create     040755  1 (   0,   0)     0 /usr/share/ri/1.9.1/system/Net/HTTPPreconditionFailed

ERROR: my-image-1.0-r0 do_rootfs: Function failed: do_rootfs
ERROR: Logfile of failure stored in: <image-workdir>/1.0-r0/temp/log.do_rootfs.19421
ERROR: Task (my-image.bb:do_rootfs) failed with exit code '1'
NOTE: Tasks Summary: Attempted 7927 tasks of which 7800 didn't need to be rerun and 1 failed.

I believe there are some QA-related heuristics in place which dislike the naming of the two mentioned files for they contain "Failed" in their filename. Unlike Thud, that used to work in Krogoth.

If this was a pure QA-warning I'd assume there is a switch to ignore it but it seems to be treated like an actual error.

I'd be glad to hear about the best way to proceed with this. Thank you!

Best Regards,

Felix Lelchuk

More information about the yocto mailing list