* [PATCH 0/5] Enable swabber integration for host-contamination detection
@ 2010-11-12 21:31 Joshua Lock
2010-11-12 22:14 ` Darren Hart
0 siblings, 1 reply; 3+ messages in thread
From: Joshua Lock @ 2010-11-12 21:31 UTC (permalink / raw)
To: poky
This set of patches adds a user class to do host-contamination detection
whilst
building a Poky image.
The class uses a bitbake-runtask wrapper script which wraps calls to
bitbake-runtask in strace and logs the strace output for later
processing.
Similar to rm_work the class adds an extra task at the end of the build
to run
the swabber tool over the strace logs and generate a contamination
report.
The classes disables PARALLEL_MAKE on several packages which refused to
run
under strace with parallelism enabled.
I have succesfully built all packages in poky-image-minimal under strace
with
this patchset.
The final two patches in the series update the version of swabber to the
latest
git HEAD and updates the command in the class to work with this
revision.
The hard coded paths are undesirable and don't work reliably across
distributions, for example Fedora 14 ships Python 2.7. They will be
removed
when a future swabber update includes provisioning for handling such
things
through configuration files.
Pull URL: git://git.pokylinux.org/poky-contrib.git
Branch: josh/swabber
Browse:
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=josh/swabber
Thanks,
Joshua Lock <josh@linux.intel.com>
---
Joshua Lock (5):
bitbake-runtask-strace: simple shell script to wrap tasks in a strace
call
image-swab: introduce a class for generating swabber reports
gitignore: ignore the default downloads directory
poky-default-revisions: bump swabber version
image-swab: update swabber command for latest version
.gitignore | 1 +
bitbake/bin/bitbake-runtask-strace | 8 ++
meta/classes/image-swab.bbclass | 83
++++++++++++++++++++
.../conf/distro/include/poky-default-revisions.inc | 2 +-
meta/conf/local.conf.sample | 1 +
5 files changed, 94 insertions(+), 1 deletions(-)
create mode 100755 bitbake/bin/bitbake-runtask-strace
create mode 100644 meta/classes/image-swab.bbclass
--
1.7.3.2
--
Joshua Lock
Intel Open Source Technology Centre
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH 0/5] Enable swabber integration for host-contamination detection
2010-11-12 21:31 [PATCH 0/5] Enable swabber integration for host-contamination detection Joshua Lock
@ 2010-11-12 22:14 ` Darren Hart
2010-11-15 12:53 ` Joshua Lock
0 siblings, 1 reply; 3+ messages in thread
From: Darren Hart @ 2010-11-12 22:14 UTC (permalink / raw)
To: Joshua Lock; +Cc: poky
Hi Josh,
Did you send this with send-pull-request? If so, what are you using for
sendmail. The patches didn't come through as replies to the cover letter
- I need to understand why and see if I can address it.
Thanks,
--
Darren
On 11/12/2010 01:31 PM, Joshua Lock wrote:
>
> This set of patches adds a user class to do host-contamination detection
> whilst
> building a Poky image.
>
> The class uses a bitbake-runtask wrapper script which wraps calls to
> bitbake-runtask in strace and logs the strace output for later
> processing.
> Similar to rm_work the class adds an extra task at the end of the build
> to run
> the swabber tool over the strace logs and generate a contamination
> report.
>
> The classes disables PARALLEL_MAKE on several packages which refused to
> run
> under strace with parallelism enabled.
>
> I have succesfully built all packages in poky-image-minimal under strace
> with
> this patchset.
>
> The final two patches in the series update the version of swabber to the
> latest
> git HEAD and updates the command in the class to work with this
> revision.
> The hard coded paths are undesirable and don't work reliably across
> distributions, for example Fedora 14 ships Python 2.7. They will be
> removed
> when a future swabber update includes provisioning for handling such
> things
> through configuration files.
>
> Pull URL: git://git.pokylinux.org/poky-contrib.git
> Branch: josh/swabber
> Browse:
> http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=josh/swabber
>
> Thanks,
> Joshua Lock<josh@linux.intel.com>
> ---
>
>
> Joshua Lock (5):
> bitbake-runtask-strace: simple shell script to wrap tasks in a strace
> call
> image-swab: introduce a class for generating swabber reports
> gitignore: ignore the default downloads directory
> poky-default-revisions: bump swabber version
> image-swab: update swabber command for latest version
>
> .gitignore | 1 +
> bitbake/bin/bitbake-runtask-strace | 8 ++
> meta/classes/image-swab.bbclass | 83
> ++++++++++++++++++++
> .../conf/distro/include/poky-default-revisions.inc | 2 +-
> meta/conf/local.conf.sample | 1 +
> 5 files changed, 94 insertions(+), 1 deletions(-)
> create mode 100755 bitbake/bin/bitbake-runtask-strace
> create mode 100644 meta/classes/image-swab.bbclass
>
--
Darren Hart
Embedded Linux Kernel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 0/5] Enable swabber integration for host-contamination detection
2010-11-12 22:14 ` Darren Hart
@ 2010-11-15 12:53 ` Joshua Lock
0 siblings, 0 replies; 3+ messages in thread
From: Joshua Lock @ 2010-11-15 12:53 UTC (permalink / raw)
To: Darren Hart; +Cc: poky
On Fri, 2010-11-12 at 14:14 -0800, Darren Hart wrote:
> Hi Josh,
>
> Did you send this with send-pull-request? If so, what are you using for
> sendmail. The patches didn't come through as replies to the cover letter
> - I need to understand why and see if I can address it.
I did not, nothing to understand ;-)
I generated with create-pull-request and then realised that configuring
a sendmail compatible MUA would take more than a few minutes, as it was
getting late into Friday evening I cheated and used Evolution.
Cheers,
Joshua
--
Joshua Lock
Intel Open Source Technology Centre
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-11-15 12:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-12 21:31 [PATCH 0/5] Enable swabber integration for host-contamination detection Joshua Lock
2010-11-12 22:14 ` Darren Hart
2010-11-15 12:53 ` Joshua Lock
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.