openembedded-core.lists.openembedded.org archive mirror
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Joshua Watt <jpewhacker@gmail.com>
Cc: openembedded-core <openembedded-core@lists.openembedded.org>
Subject: Re: Debug from failing hashequiv builds - server side problem?
Date: Sun, 22 Dec 2019 12:49:14 +0000	[thread overview]
Message-ID: <a73ba44d3f16704691971ebfede683de21b2e65d.camel@linuxfoundation.org> (raw)
In-Reply-To: <f92e77c992efa93542732e335a99177b5903a11f.camel@linuxfoundation.org>

On Sun, 2019-12-22 at 12:08 +0000, Richard Purdie wrote:
> On Sun, 2019-12-22 at 10:54 +0000, Richard Purdie wrote:
> > I did a little digging on the weird hash equiv failure. I've
> > attached two logs, one is the simplified console output, the other
> > is the reams of debug.

I did a bit more thinking about this. These hashes represent m4-native.

We do have a problem that a given input hash for m4-native can
represent two different output states depending on the architecture it
was built on.

For the same input hash, the output hash of these two things will never
match. Nor will there ever be present sstate for them to trigger the
report equiv mechanism.

At query time in a clean build, the hashserver cannot know which of the
two output hashes it needs to return the value for.

I can think of two possible options:

a) When we report after running a task, we check if that input hash
already has a value and then reuse it for the output hash mapping.

b) We start adding some kind of suffix to the reported hashes for
native output which is used within the hash equiv server but not
sstate.

I freely admit this needs much more thought...

Cheers,

Richard



  reply	other threads:[~2019-12-22 12:49 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-22 10:54 Debug from failing hashequiv builds - server side problem? Richard Purdie
2019-12-22 12:08 ` Richard Purdie
2019-12-22 12:49   ` Richard Purdie [this message]
2019-12-22 16:00     ` Joshua Watt
2019-12-22 16:09       ` Richard Purdie
2019-12-22 16:17         ` Joshua Watt
2019-12-22 16:22           ` Joshua Watt
2019-12-22 21:25             ` Richard Purdie
2019-12-27 19:55               ` Joshua Watt
2019-12-28 11:55                 ` Richard Purdie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a73ba44d3f16704691971ebfede683de21b2e65d.camel@linuxfoundation.org \
    --to=richard.purdie@linuxfoundation.org \
    --cc=jpewhacker@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).