Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/2] sanity: implement network connectivity test v2
@ 2011-06-20 18:09 Joshua Lock
       [not found] ` <cover.1308593086.git.josh@linux.intel.com>
  0 siblings, 1 reply; 10+ messages in thread
From: Joshua Lock @ 2011-06-20 18:09 UTC (permalink / raw)
  To: openembedded-core

v2 of this change set based on feedback from Jeremy Puhlman.
Changes since v1:
* Allow checked URI's to be configurable. Note: I opted to leave the fallback
hard coded. I can certainly remove this and add them toa  configuration file
somewhere if desired. If this is requested I'll probably remove the
DISABLE_NETWORK_SANITY variable and just disable the check if
CONNECTIVITY_CHECK_URIS is unset.
* Don't copy the data structure if it's not needed.

"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 error message points to a wiki page[2] which is pretty vanilla right now
but the intention would be to flesh it out with guidance on common
proxy/nat/etc issues."

The following changes since commit 835d817f1ba7b99167743fdb86ba80f3a07bd82d:

  systemtap: remove non-core COMPATIBLE_MACHINES (2011-06-16 22:12:40 +0100)

are available in the git repository at:
  git://git.openembedded.net/openembedded-core-contrib 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 |   50 ++++++++++++++++++++++++++++++++++++-------
 1 files changed, 42 insertions(+), 8 deletions(-)

-- 
1.7.5.2




^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2011-06-28 14:17 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-20 18:09 [PATCH 0/2] sanity: implement network connectivity test v2 Joshua Lock
     [not found] ` <cover.1308593086.git.josh@linux.intel.com>
2011-06-20 18:09   ` [PATCH 1/2] sanity.bbclass: pass the data object to the less frequent test harnesses Joshua Lock
2011-06-20 18:09   ` [PATCH 2/2] sanity: implement network connectivity test Joshua Lock
2011-06-26  0:53     ` Saul Wold
2011-06-26  1:56       ` Joshua Lock
2011-06-26  2:33       ` Khem Raj
2011-06-26 17:37         ` Joshua Lock
2011-06-26 18:08           ` Khem Raj
2011-06-27 15:03             ` Joshua Lock
2011-06-28 14:13             ` Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox