[OE-core] [WIP][PATCHv2] report-error: Allow to upload reports automatically

Martin Jansa martin.jansa at gmail.com
Sun Mar 30 11:25:17 UTC 2014


On Mon, Mar 17, 2014 at 11:03:06AM +0000, Paul Eggleton wrote:
> On Monday 17 March 2014 10:38:05 Richard Purdie wrote:
> > On Mon, 2014-03-17 at 10:25 +0100, Martin Jansa wrote:
> > > * useful when distro wants to collect build statistics from
> > > 
> > >   all users/developers without any manual interaction from them
> > > 
> > > Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
> > > ---
> > > 
> > >  meta/classes/report-error.bbclass    | 103
> > >  ++++++++++++++++++++++++++++++++++- meta/conf/local.conf.sample.extended
> > >  |  20 +++++++
> > >  2 files changed, 121 insertions(+), 2 deletions(-)
> > 
> > I get worried about this as people could (rightly) be very nervous about
> > the system sharing information with a remote server without their
> > knowledge. Adding in this functionality makes it look as if that is the
> > intent of the system.
> > 
> > This is why there was a two step process, first to save out the data and
> > second to have the user upload it (once they'd looked at what it was
> > sharing).
> > 
> > Does anyone else have thoughts on this?
> 
> I have the same concerns. It's fine if people enable this in their own build 
> server's local.conf / auto.conf; but if someone were to put this into their 
> distro config which is downloaded and used by someone to do their own builds 
> with configuration or additional components that they do not wish to share, 
> there's the potential for that person to be unaware that their build failures 
> will be uploaded and shared automatically.

My use-case was private distro, where it's imho valid to gather
build stats from every build which happens in the company (we're using
it to find builds which weren't configured correctly, e.g. referencing
non-existent premirror/sstate-mirror etc).

Should I just change the description and commit message so that it
doesn't promote it for distro config to use it or should I keep it all
private?

I'm thinking about using this also in my bitbake world builds and it's
also easier to enable it in config there, than parsing the log and
calling send-error-report from jenkins job config when report was
created.

Should I use error-report-web installed on yoctoproject.org or create my own
instance somewhere?

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20140330/22248e12/attachment-0002.sig>


More information about the Openembedded-core mailing list