Patchwork [RFC,0/2] Sanity check network connectivity

login
register
mail settings
Submitter Joshua Lock
Date June 29, 2011, 9:55 p.m.
Message ID <cover.1309383978.git.josh@linux.intel.com>
Download mbox
Permalink /patch/6711/
State New, archived
Headers show

Pull-request

git://git.openembedded.org/openembedded-core-contrib josh/connection-test

Comments

Joshua Lock - June 29, 2011, 9:55 p.m.
v3 of this change set based on extra feedback from Khem Raj.
Changes since v2:
* Remove references to Yocto, don't offer default uri's to check
* Make the error message configurable through a variable, CONNECTIVITY_CHECK_MSG,
whilst providing a reasonable default.

"In response to a Yocto Bugzilla request[1] I've written a sanity test to
check whether BitBake is able to fecth from http, https and git sources. The
idea being that if the user is behing a proxy and this test fails we can more
easily help them diagnose and fix their problem.

I've built on the existing infrastructure for less frequent sanity tests so
whilst this test is reasonably heavy it will only run when TMPDIR changes
(usually first run?). Further I added a variable to disable just this sanity
check. People shipping offline installs to customers should just be able to
set the variable in their shipped configuration and not worry about this
sanity check irritating people."

The following changes since commit ff014d9634638457622f6019b163e75bafcefada:

  task-base: add 3G into DISTRO_FEATURE (2011-06-29 14:46:46 +0100)

are available in the git repository at:
  git://git.openembedded.org/openembedded-core-contrib josh/connection-test
  http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=josh/connection-test

Joshua Lock (2):
  sanity.bbclass: pass the data object to the less frequent test
    harnesses
  sanity: implement network connectivity test

 meta/classes/sanity.bbclass |   53 ++++++++++++++++++++++++++++++++++++------
 1 files changed, 45 insertions(+), 8 deletions(-)
Koen Kooi - June 29, 2011, 10 p.m.
Op 29 jun 2011, om 23:55 heeft Joshua Lock het volgende geschreven:

> v3 of this change set based on extra feedback from Khem Raj.
> Changes since v2:
> * Remove references to Yocto, don't offer default uri's to check

Can't you offer an oe.org url to check instead?
Joshua Lock - June 30, 2011, 12:23 a.m.
On Thu, 2011-06-30 at 00:00 +0200, Koen Kooi wrote:
> Op 29 jun 2011, om 23:55 heeft Joshua Lock het volgende geschreven:
> 
> > v3 of this change set based on extra feedback from Khem Raj.
> > Changes since v2:
> > * Remove references to Yocto, don't offer default uri's to check
> 
> Can't you offer an oe.org url to check instead?

Can we? Sure. Should we? I don't know...

If this is deemed desirable perhaps we'll need some small uri's to fetch
from and test at least http, https and git fetches. Any suggestions?

Could this be a follow on patch?

Joshua