* [PATCH] Revert "bitbake.conf: don't remove WARN_QA and ERROR_QA from hashes"
@ 2015-02-04 21:33 Ross Burton
2015-02-06 10:41 ` Paul Eggleton
0 siblings, 1 reply; 10+ messages in thread
From: Ross Burton @ 2015-02-04 21:33 UTC (permalink / raw)
To: openembedded-core
It turns out that changing WARN_QA and ERROR_QA results in do_configure's QA
postfunc re-executing, so changing a QA test results in a complete rebuild.
This is just too much and the lesser evil of needing to do a full rebuild to
verify changed QA flags is preferable to an enforced full rebuild.
This reverts commit daecfc3438122b5d146a59a5053e57006d55ccc4.
Signed-off-by: Ross Burton <ross.burton@intel.com>
---
meta/conf/bitbake.conf | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 907ed1e..b5b54b7 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -774,7 +774,7 @@ BB_HASHBASE_WHITELIST ?= "TMPDIR FILE PATH PWD BB_TASKHASH BBPATH DL_DIR \
USER FILESPATH STAGING_DIR_HOST STAGING_DIR_TARGET COREBASE PRSERV_HOST \
PRSERV_DUMPDIR PRSERV_DUMPFILE PRSERV_LOCKDOWN PARALLEL_MAKE \
CCACHE_DIR EXTERNAL_TOOLCHAIN CCACHE CCACHE_DISABLE LICENSE_PATH SDKPKGSUFFIX \
- WORKDIR STAMPCLEAN PKGDATA_DIR"
+ WARN_QA ERROR_QA WORKDIR STAMPCLEAN PKGDATA_DIR"
BB_HASHCONFIG_WHITELIST ?= "${BB_HASHBASE_WHITELIST} DATE TIME SSH_AGENT_PID \
SSH_AUTH_SOCK PSEUDO_BUILD BB_ENV_EXTRAWHITE DISABLE_SANITY_CHECKS \
PARALLEL_MAKE BB_NUMBER_THREADS BB_ORIGENV BB_INVALIDCONF BBINCLUDED"
--
1.7.10.4
^ permalink raw reply related [flat|nested] 10+ messages in thread* Re: [PATCH] Revert "bitbake.conf: don't remove WARN_QA and ERROR_QA from hashes"
2015-02-04 21:33 [PATCH] Revert "bitbake.conf: don't remove WARN_QA and ERROR_QA from hashes" Ross Burton
@ 2015-02-06 10:41 ` Paul Eggleton
2015-02-06 11:42 ` Richard Purdie
0 siblings, 1 reply; 10+ messages in thread
From: Paul Eggleton @ 2015-02-06 10:41 UTC (permalink / raw)
To: Ross Burton; +Cc: openembedded-core
On Wednesday 04 February 2015 21:33:36 Ross Burton wrote:
> It turns out that changing WARN_QA and ERROR_QA results in do_configure's QA
> postfunc re-executing, so changing a QA test results in a complete rebuild.
Hmm, shouldn't we be fixing this? (e.g. with vardepsexclude).
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] Revert "bitbake.conf: don't remove WARN_QA and ERROR_QA from hashes"
2015-02-06 10:41 ` Paul Eggleton
@ 2015-02-06 11:42 ` Richard Purdie
2015-02-06 14:10 ` Otavio Salvador
0 siblings, 1 reply; 10+ messages in thread
From: Richard Purdie @ 2015-02-06 11:42 UTC (permalink / raw)
To: Paul Eggleton; +Cc: openembedded-core
On Fri, 2015-02-06 at 10:41 +0000, Paul Eggleton wrote:
> On Wednesday 04 February 2015 21:33:36 Ross Burton wrote:
> > It turns out that changing WARN_QA and ERROR_QA results in do_configure's QA
> > postfunc re-executing, so changing a QA test results in a complete rebuild.
>
> Hmm, shouldn't we be fixing this? (e.g. with vardepsexclude).
Well, either the tests should rerun or they shouldn't. I'm not sure "the
configure tests don't" would be an improvement?
Cheers,
Richard
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] Revert "bitbake.conf: don't remove WARN_QA and ERROR_QA from hashes"
2015-02-06 11:42 ` Richard Purdie
@ 2015-02-06 14:10 ` Otavio Salvador
2015-02-06 14:18 ` Burton, Ross
0 siblings, 1 reply; 10+ messages in thread
From: Otavio Salvador @ 2015-02-06 14:10 UTC (permalink / raw)
To: Richard Purdie
Cc: Paul Eggleton, Patches and discussions about the oe-core layer
On Fri, Feb 6, 2015 at 9:42 AM, Richard Purdie
<richard.purdie@linuxfoundation.org> wrote:
> On Fri, 2015-02-06 at 10:41 +0000, Paul Eggleton wrote:
>> On Wednesday 04 February 2015 21:33:36 Ross Burton wrote:
>> > It turns out that changing WARN_QA and ERROR_QA results in do_configure's QA
>> > postfunc re-executing, so changing a QA test results in a complete rebuild.
>>
>> Hmm, shouldn't we be fixing this? (e.g. with vardepsexclude).
>
> Well, either the tests should rerun or they shouldn't. I'm not sure "the
> configure tests don't" would be an improvement?
I think they should re-run. Otherwise we can end having errors and QA
issues unnoticed until a full rebuild.
--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] Revert "bitbake.conf: don't remove WARN_QA and ERROR_QA from hashes"
2015-02-06 14:10 ` Otavio Salvador
@ 2015-02-06 14:18 ` Burton, Ross
2015-02-06 14:21 ` Otavio Salvador
0 siblings, 1 reply; 10+ messages in thread
From: Burton, Ross @ 2015-02-06 14:18 UTC (permalink / raw)
To: Otavio Salvador
Cc: Paul Eggleton, Patches and discussions about the oe-core layer
[-- Attachment #1: Type: text/plain, Size: 409 bytes --]
On 6 February 2015 at 14:10, Otavio Salvador <otavio@ossystems.com.br>
wrote:
> I think they should re-run. Otherwise we can end having errors and QA
> issues unnoticed until a full rebuild.
>
That was the state of things until my original patch last week. The patch
had the side-effect that changing QA tasks causing *everything* to
rebuild. I'm really not sure that's a good solution.
Ross
[-- Attachment #2: Type: text/html, Size: 824 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] Revert "bitbake.conf: don't remove WARN_QA and ERROR_QA from hashes"
2015-02-06 14:18 ` Burton, Ross
@ 2015-02-06 14:21 ` Otavio Salvador
2015-02-06 15:02 ` Martin Jansa
0 siblings, 1 reply; 10+ messages in thread
From: Otavio Salvador @ 2015-02-06 14:21 UTC (permalink / raw)
To: Burton, Ross
Cc: Paul Eggleton, Patches and discussions about the oe-core layer
On Fri, Feb 6, 2015 at 12:18 PM, Burton, Ross <ross.burton@intel.com> wrote:
>
> On 6 February 2015 at 14:10, Otavio Salvador <otavio@ossystems.com.br>
> wrote:
>>
>> I think they should re-run. Otherwise we can end having errors and QA
>> issues unnoticed until a full rebuild.
>
>
> That was the state of things until my original patch last week. The patch
> had the side-effect that changing QA tasks causing *everything* to rebuild.
> I'm really not sure that's a good solution.
If someone adds a QA tasks it is because it matters. In this case we
ought to have it in an immediate effect so it does makes sense to
rerun everything.
I know it is bad from build time point of view but predictability and
correctness is more important from my point of view.
--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] Revert "bitbake.conf: don't remove WARN_QA and ERROR_QA from hashes"
2015-02-06 14:21 ` Otavio Salvador
@ 2015-02-06 15:02 ` Martin Jansa
2015-02-06 15:13 ` Richard Purdie
0 siblings, 1 reply; 10+ messages in thread
From: Martin Jansa @ 2015-02-06 15:02 UTC (permalink / raw)
To: Otavio Salvador
Cc: Paul Eggleton, Patches and discussions about the oe-core layer
[-- Attachment #1: Type: text/plain, Size: 1191 bytes --]
On Fri, Feb 06, 2015 at 12:21:23PM -0200, Otavio Salvador wrote:
> On Fri, Feb 6, 2015 at 12:18 PM, Burton, Ross <ross.burton@intel.com> wrote:
> >
> > On 6 February 2015 at 14:10, Otavio Salvador <otavio@ossystems.com.br>
> > wrote:
> >>
> >> I think they should re-run. Otherwise we can end having errors and QA
> >> issues unnoticed until a full rebuild.
> >
> >
> > That was the state of things until my original patch last week. The patch
> > had the side-effect that changing QA tasks causing *everything* to rebuild.
> > I'm really not sure that's a good solution.
>
> If someone adds a QA tasks it is because it matters. In this case we
> ought to have it in an immediate effect so it does makes sense to
> rerun everything.
>
> I know it is bad from build time point of view but predictability and
> correctness is more important from my point of view.
Agreed, especially when someone decides to make something fatal it
should highlight all failing recipes before it's enabled in "official"
build instead of sneaking the failures one-by-one as sstate is being
invalidated by other changes.
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] Revert "bitbake.conf: don't remove WARN_QA and ERROR_QA from hashes"
2015-02-06 15:02 ` Martin Jansa
@ 2015-02-06 15:13 ` Richard Purdie
2015-02-06 15:53 ` Otavio Salvador
0 siblings, 1 reply; 10+ messages in thread
From: Richard Purdie @ 2015-02-06 15:13 UTC (permalink / raw)
To: Martin Jansa
Cc: Paul Eggleton, Otavio Salvador,
Patches and discussions about the oe-core layer
On Fri, 2015-02-06 at 16:02 +0100, Martin Jansa wrote:
> On Fri, Feb 06, 2015 at 12:21:23PM -0200, Otavio Salvador wrote:
> > On Fri, Feb 6, 2015 at 12:18 PM, Burton, Ross <ross.burton@intel.com> wrote:
> > >
> > > On 6 February 2015 at 14:10, Otavio Salvador <otavio@ossystems.com.br>
> > > wrote:
> > >>
> > >> I think they should re-run. Otherwise we can end having errors and QA
> > >> issues unnoticed until a full rebuild.
> > >
> > >
> > > That was the state of things until my original patch last week. The patch
> > > had the side-effect that changing QA tasks causing *everything* to rebuild.
> > > I'm really not sure that's a good solution.
> >
> > If someone adds a QA tasks it is because it matters. In this case we
> > ought to have it in an immediate effect so it does makes sense to
> > rerun everything.
> >
> > I know it is bad from build time point of view but predictability and
> > correctness is more important from my point of view.
>
> Agreed, especially when someone decides to make something fatal it
> should highlight all failing recipes before it's enabled in "official"
> build instead of sneaking the failures one-by-one as sstate is being
> invalidated by other changes.
Thinking about this from the other angle. Should someone having a
different set of WARN/ERROR local settings mean they don't reuse sstate?
Cheers,
Richard
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] Revert "bitbake.conf: don't remove WARN_QA and ERROR_QA from hashes"
2015-02-06 15:13 ` Richard Purdie
@ 2015-02-06 15:53 ` Otavio Salvador
2015-02-06 16:29 ` Paul Eggleton
0 siblings, 1 reply; 10+ messages in thread
From: Otavio Salvador @ 2015-02-06 15:53 UTC (permalink / raw)
To: Richard Purdie
Cc: Paul Eggleton, Patches and discussions about the oe-core layer
On Fri, Feb 6, 2015 at 1:13 PM, Richard Purdie
<richard.purdie@linuxfoundation.org> wrote:
> On Fri, 2015-02-06 at 16:02 +0100, Martin Jansa wrote:
>> On Fri, Feb 06, 2015 at 12:21:23PM -0200, Otavio Salvador wrote:
>> > On Fri, Feb 6, 2015 at 12:18 PM, Burton, Ross <ross.burton@intel.com> wrote:
>> > >
>> > > On 6 February 2015 at 14:10, Otavio Salvador <otavio@ossystems.com.br>
>> > > wrote:
>> > >>
>> > >> I think they should re-run. Otherwise we can end having errors and QA
>> > >> issues unnoticed until a full rebuild.
>> > >
>> > >
>> > > That was the state of things until my original patch last week. The patch
>> > > had the side-effect that changing QA tasks causing *everything* to rebuild.
>> > > I'm really not sure that's a good solution.
>> >
>> > If someone adds a QA tasks it is because it matters. In this case we
>> > ought to have it in an immediate effect so it does makes sense to
>> > rerun everything.
>> >
>> > I know it is bad from build time point of view but predictability and
>> > correctness is more important from my point of view.
>>
>> Agreed, especially when someone decides to make something fatal it
>> should highlight all failing recipes before it's enabled in "official"
>> build instead of sneaking the failures one-by-one as sstate is being
>> invalidated by other changes.
>
> Thinking about this from the other angle. Should someone having a
> different set of WARN/ERROR local settings mean they don't reuse sstate?
It should be checked against the different setting. If the price for
it is sstate invalidness, so be it.
--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] Revert "bitbake.conf: don't remove WARN_QA and ERROR_QA from hashes"
2015-02-06 15:53 ` Otavio Salvador
@ 2015-02-06 16:29 ` Paul Eggleton
0 siblings, 0 replies; 10+ messages in thread
From: Paul Eggleton @ 2015-02-06 16:29 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer; +Cc: Otavio Salvador
On Friday 06 February 2015 13:53:42 Otavio Salvador wrote:
> On Fri, Feb 6, 2015 at 1:13 PM, Richard Purdie
>
> <richard.purdie@linuxfoundation.org> wrote:
> > On Fri, 2015-02-06 at 16:02 +0100, Martin Jansa wrote:
> >> On Fri, Feb 06, 2015 at 12:21:23PM -0200, Otavio Salvador wrote:
> >> > On Fri, Feb 6, 2015 at 12:18 PM, Burton, Ross <ross.burton@intel.com>
wrote:
> >> > > On 6 February 2015 at 14:10, Otavio Salvador
> >> > > <otavio@ossystems.com.br>
> >> > >
> >> > > wrote:
> >> > >> I think they should re-run. Otherwise we can end having errors and
> >> > >> QA
> >> > >> issues unnoticed until a full rebuild.
> >> > >
> >> > > That was the state of things until my original patch last week. The
> >> > > patch
> >> > > had the side-effect that changing QA tasks causing *everything* to
> >> > > rebuild.
> >> > > I'm really not sure that's a good solution.
> >> >
> >> > If someone adds a QA tasks it is because it matters. In this case we
> >> > ought to have it in an immediate effect so it does makes sense to
> >> > rerun everything.
> >> >
> >> > I know it is bad from build time point of view but predictability and
> >> > correctness is more important from my point of view.
> >>
> >> Agreed, especially when someone decides to make something fatal it
> >> should highlight all failing recipes before it's enabled in "official"
> >> build instead of sneaking the failures one-by-one as sstate is being
> >> invalidated by other changes.
> >
> > Thinking about this from the other angle. Should someone having a
> > different set of WARN/ERROR local settings mean they don't reuse sstate?
>
> It should be checked against the different setting. If the price for
> it is sstate invalidness, so be it.
I honestly don't think this is right. The value of this variable does not
belong in the signature - it does not affect the output of do_configure.
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2015-02-06 16:29 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-04 21:33 [PATCH] Revert "bitbake.conf: don't remove WARN_QA and ERROR_QA from hashes" Ross Burton
2015-02-06 10:41 ` Paul Eggleton
2015-02-06 11:42 ` Richard Purdie
2015-02-06 14:10 ` Otavio Salvador
2015-02-06 14:18 ` Burton, Ross
2015-02-06 14:21 ` Otavio Salvador
2015-02-06 15:02 ` Martin Jansa
2015-02-06 15:13 ` Richard Purdie
2015-02-06 15:53 ` Otavio Salvador
2015-02-06 16:29 ` Paul Eggleton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox