Skip to contentSkip to conversation

taskhash mismatch

meta-raspberrypi Trevor Woerner 5 participants 12 messages Oct 2, 2016 – Oct 14, 2016

lore
Share & tools
lore
#0 lore raw

Hi,

For the last week or so my raspberry pi builds have been failing with:

ERROR: core-image-minimal-1.0-r0 do_image_rpi_sdimg: Taskhash mismatch 2920e557ac3a011d5679a52590cb664d versus a47bfc12fdfa29c58fe72cf8e0a28e91 for /z/raspi2/poky/meta/recipes-core/images/core-image-minimal.bb.do_image_rpi_sdimg
ERROR: Taskhash mismatch 2920e557ac3a011d5679a52590cb664d versus a47bfc12fdfa29c58fe72cf8e0a28e91 for /z/raspi2/poky/meta/recipes-core/images/core-image-minimal.bb.do_image_rpi_sdimg

This is with both poky and oe+bitbake, master branches all around, and fully up-to-date. Before sending this email I pulled yet again and re-tested just to confirm.

Poky:

Build Configuration:
BB_VERSION = "1.31.1"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "SUSELINUX-42.1"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "raspberrypi"
DISTRO = "poky"
DISTRO_VERSION = "2.1+snapshot-20161002"
TUNE_FEATURES = "arm armv6 vfp arm1176jzfs callconvention-hard"
TARGET_FPU = "hard"
meta
meta-poky = "master:3a73fe0efcb7aeefcca7011bba887caad03d4d03"
meta-raspberrypi = "master:4817e2c087097c02755d6309304878e42cf61d3c"

OE + bitbake:

Build Configuration:
BB_VERSION = "1.31.1"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "SUSELINUX-42.1"
TARGET_SYS = "arm-oe-linux-gnueabi"
MACHINE = "raspberrypi"
DISTRO = "nodistro"
DISTRO_VERSION = "nodistro.0"
TUNE_FEATURES = "arm armv6 vfp arm1176jzfs callconvention-hard"
TARGET_FPU = "hard"
meta = "master:21cc2a3f63ea260dbf6b50e2fd4dd50cacdd9935"
meta-raspberrypi = "master:4817e2c087097c02755d6309304878e42cf61d3c"

#1 lore raw
Quoted 14 lines · Trevor Woerner

Hi,

For the last week or so my raspberry pi builds have been failing with:

ERROR: core-image-minimal-1.0-r0 do_image_rpi_sdimg: Taskhash mismatch 2920e557ac3a011d5679a52590cb664d versus a47bfc12fdfa29c58fe72cf8e0a28e91 for /z/raspi2/poky/meta/recipes-core/images/core-image-minimal.bb.do_image_rpi_sdimg
ERROR: Taskhash mismatch 2920e557ac3a011d5679a52590cb664d versus a47bfc12fdfa29c58fe72cf8e0a28e91 for /z/raspi2/poky/meta/recipes-core/images/core-image-minimal.bb.do_image_rpi_sdimg

This is with both poky and oe+bitbake, master branches all around, and fully up-to-date. Before sending this email I pulled yet again and re-tested just to confirm.

is it due to use of DATE and TIME issue ? I think there was such a patch proposed to meta-rpi see
http://git.yoctoproject.org/cgit/cgit.cgi/meta-raspberrypi/commit/?id=4c02c7ce07121c2f5367204445f93199d828bb10

Quoted 35 lines

Poky:

Build Configuration:
BB_VERSION = "1.31.1"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "SUSELINUX-42.1"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "raspberrypi"
DISTRO = "poky"
DISTRO_VERSION = "2.1+snapshot-20161002"
TUNE_FEATURES = "arm armv6 vfp arm1176jzfs callconvention-hard"
TARGET_FPU = "hard"
meta
meta-poky = "master:3a73fe0efcb7aeefcca7011bba887caad03d4d03"
meta-raspberrypi = "master:4817e2c087097c02755d6309304878e42cf61d3c"

OE + bitbake:

Build Configuration:
BB_VERSION = "1.31.1"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "SUSELINUX-42.1"
TARGET_SYS = "arm-oe-linux-gnueabi"
MACHINE = "raspberrypi"
DISTRO = "nodistro"
DISTRO_VERSION = "nodistro.0"
TUNE_FEATURES = "arm armv6 vfp arm1176jzfs callconvention-hard"
TARGET_FPU = "hard"
meta = "master:21cc2a3f63ea260dbf6b50e2fd4dd50cacdd9935"
meta-raspberrypi = "master:4817e2c087097c02755d6309304878e42cf61d3c"
--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

#2 lore raw

Hi Khem,

I have the same issue.
Get the latest master branches of poky, meta-raspberrypi and meta-oe. Built a core-image-x11 and get the error:

ERROR: core-image-x11-1.0-r0 do_image_rpi_sdimg: Taskhash mismatch d77076c1266433c3dcd51a78947f273f versus 0eb1129a3545034a516ca72e5804ac33 for /home/kai/yocto/poky-krogoth/meta/recipes-graphics/images/core-image-x11.bb.do_image_rpi_sdimg
ERROR: Taskhash mismatch d77076c1266433c3dcd51a78947f273f versus 0eb1129a3545034a516ca72e5804ac33 for /home/kai/yocto/poky-krogoth/meta/recipes-graphics/images/core-image-x11.bb.do_image_rpi_sdimg

Karim

________________________________
De : [email protected] <[email protected]> de la part de Khem Raj <[email protected]> Envoyé : lundi 3 octobre 2016 01:51
À : Trevor Woerner
Cc : [email protected]
Objet : Re: [yocto] [meta-raspberrypi] taskhash mismatch

Quoted 13 lines · Trevor Woerner

Hi,

For the last week or so my raspberry pi builds have been failing with:

ERROR: core-image-minimal-1.0-r0 do_image_rpi_sdimg: Taskhash mismatch 2920e557ac3a011d5679a52590cb664d versus a47bfc12fdfa29c58fe72cf8e0a28e91 for /z/raspi2/poky/meta/recipes-core/images/core-image-minimal.bb.do_image_rpi_sdimg
ERROR: Taskhash mismatch 2920e557ac3a011d5679a52590cb664d versus a47bfc12fdfa29c58fe72cf8e0a28e91 for /z/raspi2/poky/meta/recipes-core/images/core-image-minimal.bb.do_image_rpi_sdimg

This is with both poky and oe+bitbake, master branches all around, and fully up-to-date. Before sending this email I pulled yet again and re-tested just to confirm.

is it due to use of DATE and TIME issue ? I think there was such a patch proposed to meta-rpi see
http://git.yoctoproject.org/cgit/cgit.cgi/meta-raspberrypi/commit/?id=4c02c7ce07121c2f5367204445f93199d828bb10

Quoted 27 lines

Poky:

Build Configuration:
BB_VERSION = "1.31.1"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "SUSELINUX-42.1"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "raspberrypi"
DISTRO = "poky"
DISTRO_VERSION = "2.1+snapshot-20161002"
TUNE_FEATURES = "arm armv6 vfp arm1176jzfs callconvention-hard"
TARGET_FPU = "hard"
meta
meta-poky = "master:3a73fe0efcb7aeefcca7011bba887caad03d4d03"
meta-raspberrypi = "master:4817e2c087097c02755d6309304878e42cf61d3c"

OE + bitbake:

Build Configuration:
BB_VERSION = "1.31.1"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "SUSELINUX-42.1"
TARGET_SYS = "arm-oe-linux-gnueabi"
MACHINE = "raspberrypi"
DISTRO = "nodistro"
DISTRO_VERSION = "nodistro.0"
TUNE_FEATURES = "arm armv6 vfp arm1176jzfs callconvention-hard"

Quoted 8 lines

TARGET_FPU = "hard"
meta = "master:21cc2a3f63ea260dbf6b50e2fd4dd50cacdd9935"
meta-raspberrypi = "master:4817e2c087097c02755d6309304878e42cf61d3c"
--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

yocto Info Page<https://lists.yoctoproject.org/listinfo/yocto>
lists.yoctoproject.org
Discussion of all things about the Yocto Project. Read our Community Guidelines or learn more about how to participate in other community discussions.

#3 lore raw

Hi all,

Note: I just launched the build again with bitbake -k core-image-x11....and

the error did not occur again.
Well, a bit weird. Don't really know why does this error raised though.

Karim

________________________________
De : [email protected] <[email protected]> de la part de Karim ATIKI <[email protected]> Envoyé : lundi 3 octobre 2016 18:31
À : Khem Raj; yocto
Objet : Re: [yocto] [meta-raspberrypi] taskhash mismatch

Hi Khem,

I have the same issue.
Get the latest master branches of poky, meta-raspberrypi and meta-oe. Built a core-image-x11 and get the error:

ERROR: core-image-x11-1.0-r0 do_image_rpi_sdimg: Taskhash mismatch d77076c1266433c3dcd51a78947f273f versus 0eb1129a3545034a516ca72e5804ac33 for /home/kai/yocto/poky-krogoth/meta/recipes-graphics/images/core-image-x11.bb.do_image_rpi_sdimg
ERROR: Taskhash mismatch d77076c1266433c3dcd51a78947f273f versus 0eb1129a3545034a516ca72e5804ac33 for /home/kai/yocto/poky-krogoth/meta/recipes-graphics/images/core-image-x11.bb.do_image_rpi_sdimg

Karim

________________________________
De : [email protected] <[email protected]> de la part de Khem Raj <[email protected]> Envoyé : lundi 3 octobre 2016 01:51
À : Trevor Woerner
Cc : [email protected]
Objet : Re: [yocto] [meta-raspberrypi] taskhash mismatch

Quoted 13 lines · Trevor Woerner

Hi,

For the last week or so my raspberry pi builds have been failing with:

ERROR: core-image-minimal-1.0-r0 do_image_rpi_sdimg: Taskhash mismatch 2920e557ac3a011d5679a52590cb664d versus a47bfc12fdfa29c58fe72cf8e0a28e91 for /z/raspi2/poky/meta/recipes-core/images/core-image-minimal.bb.do_image_rpi_sdimg
ERROR: Taskhash mismatch 2920e557ac3a011d5679a52590cb664d versus a47bfc12fdfa29c58fe72cf8e0a28e91 for /z/raspi2/poky/meta/recipes-core/images/core-image-minimal.bb.do_image_rpi_sdimg

This is with both poky and oe+bitbake, master branches all around, and fully up-to-date. Before sending this email I pulled yet again and re-tested just to confirm.

is it due to use of DATE and TIME issue ? I think there was such a patch proposed to meta-rpi see
http://git.yoctoproject.org/cgit/cgit.cgi/meta-raspberrypi/commit/?id=4c02c7ce07121c2f5367204445f93199d828bb10

Quoted 27 lines

Poky:

Build Configuration:
BB_VERSION = "1.31.1"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "SUSELINUX-42.1"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "raspberrypi"
DISTRO = "poky"
DISTRO_VERSION = "2.1+snapshot-20161002"
TUNE_FEATURES = "arm armv6 vfp arm1176jzfs callconvention-hard"
TARGET_FPU = "hard"
meta
meta-poky = "master:3a73fe0efcb7aeefcca7011bba887caad03d4d03"
meta-raspberrypi = "master:4817e2c087097c02755d6309304878e42cf61d3c"

OE + bitbake:

Build Configuration:
BB_VERSION = "1.31.1"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "SUSELINUX-42.1"
TARGET_SYS = "arm-oe-linux-gnueabi"
MACHINE = "raspberrypi"
DISTRO = "nodistro"
DISTRO_VERSION = "nodistro.0"
TUNE_FEATURES = "arm armv6 vfp arm1176jzfs callconvention-hard"

Quoted 8 lines

TARGET_FPU = "hard"
meta = "master:21cc2a3f63ea260dbf6b50e2fd4dd50cacdd9935"
meta-raspberrypi = "master:4817e2c087097c02755d6309304878e42cf61d3c"
--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

yocto Info Page<https://lists.yoctoproject.org/listinfo/yocto>
lists.yoctoproject.org
Discussion of all things about the Yocto Project. Read our Community Guidelines or learn more about how to participate in other community discussions.

#4 lore raw
Quoted 4 lines · Karim ATIKI

Note: I just launched the build again with bitbake -k core-image-x11....and

the error did not occur again.
Well, a bit weird. Don't really know why does this error raised though.

It looks like the patch to which Khem refers was just added and pushed within the last couple hours :-)

Quoted 2 lines

is it due to use of DATE and TIME issue ? I think there was such a patch proposed to meta-rpi see
http://git.yoctoproject.org/cgit/cgit.cgi/meta-raspberrypi/commit/?id=4c02c7ce07121c2f5367204445f93199d828bb10

#5 lore raw

Odd... even with this patch I'm still seeing sporadic failures :-(

Quoted 11 lines · Trevor Woerner
Quoted 4 lines · Karim ATIKI

Note: I just launched the build again with bitbake -k core-image-x11....and

the error did not occur again.
Well, a bit weird. Don't really know why does this error raised though.

It looks like the patch to which Khem refers was just added and pushed within the last couple hours :-)

Quoted 2 lines

is it due to use of DATE and TIME issue ? I think there was such a patch proposed to meta-rpi see
http://git.yoctoproject.org/cgit/cgit.cgi/meta-raspberrypi/commit/?id=4c02c7ce07121c2f5367204445f93199d828bb10

#6 lore raw

I guess you need to look at sognatures and see why its changing.

Quoted 19 lines · Trevor Woerner

Odd... even with this patch I'm still seeing sporadic failures :-(

Quoted 2 lines · Trevor Woerner
Quoted 1 line · Karim ATIKI

Note: I just launched the build again with bitbake -k

core-image-x11....and

Quoted 5 lines
Quoted 3 lines

the error did not occur again.
Well, a bit weird. Don't really know why does this error raised though.

It looks like the patch to which Khem refers was just added and pushed

within

Quoted 3 lines

the last couple hours :-)

Quoted 1 line

is it due to use of DATE and TIME issue ? I think there was such a

patch proposed to meta-rpi see

Quoted 1 line
Quoted 1 line

http://git.yoctoproject.org/cgit/cgit.cgi/meta-raspberrypi/commit/?id=

4c02c7ce07121c2f5367204445f93199d828bb10

#7 lore raw
Quoted 2 lines · Trevor Woerner
Quoted 1 line

Odd... even with this patch I'm still seeing sporadic failures :-(

Quoted 1 line · Khem Raj

I guess you need to look at sognatures and see why its changing.

Actually, it's not that sporadic, simply doing:

	$ bitbake -c clean core-image-minimal
	$ bitbake core-image-minimal

shows the taskhash mismatch error repeatedly:

	core-image-minimal-1.0-r0 do_image_rpi_sdimg: Taskhash mismatch 536a3bcf4ac29225841c369636b533ff versus 8fadff5d0ef51aa648ed359d5dd7f944

Or I could just perform clean builds in succession.

The reported hashes are always the same: from 536a3bc... to 8fadff5... This mismatch happens _during_ the build, not between two subsequent builds.

I'm not sure how to compare hashes, every subsequent build produces the same two hashes. The build always ends with:

	tmp-glibc/stamps/raspberrypi2-oe-linux-gnueabi/core-image-minimal/1.0-r0.do_image_rpi_sdimg.8fadff5d0ef51aa648ed359d5dd7f944
	tmp-glibc/stamps/raspberrypi2-oe-linux-gnueabi/core-image-minimal/1.0-r0.do_image_rpi_sdimg.sigdata.8fadff5d0ef51aa648ed359d5dd7f944

so a "bitbake-diffsigs -t ..." will always be blank.

#8 lore raw
In reply to Trevor Woerner
Quoted 5 lines · Trevor Woerner
Quoted 4 lines · Karim ATIKI

Note: I just launched the build again with bitbake -k core-image-x11....and

the error did not occur again.
Well, a bit weird. Don't really know why does this error raised though.

Unless you made a change to the image, your second bitbake command will have no effect which is [probably] why no message.

Also note that this is labeled "Error", but the image is actually built

Quoted 3 lines

It looks like the patch to which Khem refers was just added and pushed within the last couple hours :-)

Actually, it was pushed on 2016-09-16

Quoted 3 lines
Quoted 3 lines

is it due to use of DATE and TIME issue ? I think there was such a patch proposed to meta-rpi see
http://git.yoctoproject.org/cgit/cgit.cgi/meta-raspberrypi/commit/?id=4c02c7ce07121c2f5367204445f93199d828bb10

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#9 lore raw
In reply to Trevor Woerner
Quoted 38 lines · Trevor Woerner

Hi,

For the last week or so my raspberry pi builds have been failing with:

ERROR: core-image-minimal-1.0-r0 do_image_rpi_sdimg: Taskhash mismatch 2920e557ac3a011d5679a52590cb664d versus a47bfc12fdfa29c58fe72cf8e0a28e91 for /z/raspi2/poky/meta/recipes-core/images/core-image-minimal.bb.do_image_rpi_sdimg
ERROR: Taskhash mismatch 2920e557ac3a011d5679a52590cb664d versus a47bfc12fdfa29c58fe72cf8e0a28e91 for /z/raspi2/poky/meta/recipes-core/images/core-image-minimal.bb.do_image_rpi_sdimg

This is with both poky and oe+bitbake, master branches all around, and fully up-to-date. Before sending this email I pulled yet again and re-tested just to confirm.

Poky:

Build Configuration:
BB_VERSION = "1.31.1"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "SUSELINUX-42.1"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "raspberrypi"
DISTRO = "poky"
DISTRO_VERSION = "2.1+snapshot-20161002"
TUNE_FEATURES = "arm armv6 vfp arm1176jzfs callconvention-hard"
TARGET_FPU = "hard"
meta
meta-poky = "master:3a73fe0efcb7aeefcca7011bba887caad03d4d03"
meta-raspberrypi = "master:4817e2c087097c02755d6309304878e42cf61d3c"

OE + bitbake:

Build Configuration:
BB_VERSION = "1.31.1"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "SUSELINUX-42.1"
TARGET_SYS = "arm-oe-linux-gnueabi"
MACHINE = "raspberrypi"
DISTRO = "nodistro"
DISTRO_VERSION = "nodistro.0"
TUNE_FEATURES = "arm armv6 vfp arm1176jzfs callconvention-hard"

Quoted 8 lines

TARGET_FPU = "hard"
meta = "master:21cc2a3f63ea260dbf6b50e2fd4dd50cacdd9935"
meta-raspberrypi = "master:4817e2c087097c02755d6309304878e42cf61d3c"
--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

I know I'm kinda late to the party but just wanted to say that this was fixed in master. Cheers!

--
Andrei Gherzan

#10 lore raw
Quoted 2 lines · Andrei Gherzan

I know I'm kinda late to the party but just wanted to say that this was fixed in master. Cheers!

Excellent. I just tried 3 builds in a row and they all succeeded!

Thanks for the update.

#11 lore raw
Quoted 7 lines · Trevor Woerner
Quoted 2 lines · Andrei Gherzan

I know I'm kinda late to the party but just wanted to say that this was fixed in master. Cheers!

Excellent. I just tried 3 builds in a row and they all succeeded!

Thanks for the update.

Great to hear this. Enjoy!

--
Andrei Gherzan