Re: Should we get an account and add them to the Xenofarm?

Anders Qvist <[email protected]> Fri, 10 Jan 2003 18:18:11 +0100
Newsgroups gmane.comp.python.snake-farm.user
Message-ID <[email protected]>
On Fri, Jan 10, 2003 at 11:22:52AM -0500, Neal Norwitz wrote:
> On Fri, Jan 10, 2003 at 05:13:19PM +0100, Anders Qvist wrote:
> > On Fri, Jan 10, 2003 at 04:29:57PM +0100, Laura Creighton wrote:
> > > > 
> > > > This may be difficult if not impossible.  Unless the testdrive setup
> > > > has changed, HP used to prevent all outgoing connections through their
> > > > firewall.  This means you cannot do a cvs update from their machines
> > > > to pull down the latest python.  You would have to ship a tarball
> > > > there each time.
> > 
> > Technically, this is not necessary. xenofarm gets the sources by HTTP
> > in the build package. We can hack it so it leaves the source in place.
> > It's still gonna make things difficult if you want to test manually,
> > but it won't stop xenofarm.
> > 
> > We need to be able to run cron jobs on the host. Disk requirement is a
> > full python build, plus a tar ball and some extras, cirka 250Mb.
> 
> crontab -e executed, I didn't test if it worked.
> I will try to write a letter as Laura requested later.
> 
> > Ports:
> >   In: ssh
> >   Out: HTTP (GET & PUT) (one host)
> 
> HTTP (port 80) out did not work to a public www site.  What is the IP
> address of the machine?

The client script uses wget to load the build package from

  http://www.lysator.liu.se/xenofarm/python/builds/latest

eg:

  wget --referer="$node" --dot-style=binary -N "$geturl"

where $geturl is the above URL.

It then uses a locally compiled program called put to do HTTP PUT of
the result package to a similar URL:

  http://www.lysator.liu.se/xenofarm/python/builds/result

These URLs are in fact Roxen modules (www.roxen.com) that know how to
supply and receive build packages.

> > Requirements for running the xenofarm client:
> > 
> > #  gzip
> > #  wget              Must handle -N and set the timestamp correctly.
> 
> wget is not there, but we could build it.

That's OK. It's not that big, and portable enough to be used in
xenofarm.
-- 
Anders "Quest" Qvist

"We've all heard that a million monkeys banging on a million typewriters
will eventually reproduce the entire works of Shakespeare. Now, thanks 
to the Internet, we know this is not true." -- Robert Wilensky