Re: Windows buildfarm support, or lack of it

Lists: pgsql-hackers
From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-hackers(at)postgreSQL(dot)org
Subject: Windows buildfarm support, or lack of it
Date: 2006-07-16 14:29:20
Message-ID: 29837.1153060160@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

What's wrong with this picture?

http://www.pgbuildfarm.org/cgi-bin/show_status.pl

Notice how all the red is at the bottom of the report? That's because
all the Windows machines are at the bottom, indicating that they haven't
reported recently. AFAICT, snake is the only Windows machine that
actually runs the buildfarm on a regular schedule, and even it is just
running once a day. So, while the timescale for finding out if a commit
breaks or fixes other platforms is just a couple hours, we generally
need a full day to find out about Windows. For a platform that requires
as much special-case care and feeding as the Windows code does, that's
not very acceptable. For a platform that's as ubiquitous as Windows
allegedly is, that's pretty surprising. You'd think we could find a
couple of people willing to run buildfarm tests every four hours or
so, as many of the Unix buildfarm members do.

(Yeah, I'm a bit ticked off after waiting overnight to find out if
yesterday's commits fixed Windows, and getting up to find no new
data.)

regards, tom lane


From: Kris Jurka <books(at)ejurka(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgreSQL(dot)org, dpage(at)vale-housing(dot)co(dot)uk
Subject: Re: Windows buildfarm support, or lack of it
Date: 2006-07-16 14:44:00
Message-ID: Pine.BSO.4.63.0607160938480.15425@leary2.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On Sun, 16 Jul 2006, Tom Lane wrote:

> [windows buildfarm machines run irregularly]

For my part the difficulty is scheduling. As a primarily unix user I
understand cron, but have no idea what the windows equivalent is. For my
cygwin buildfarm member I setup cron, but the make step failed for every
build for unknown reasons while succeeding if not run from cron. That
further demotivated me from scheduling mingw builds. Perhaps snake's
maintainer could share his configuration?

Kris Jurka


From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Windows buildfarm support, or lack of it
Date: 2006-07-16 16:12:19
Message-ID: E7F85A1B5FF8D44C8A1AF6885BC9A0E48508A7@ratbert.vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

-----Original Message-----
From: pgsql-hackers-owner(at)postgresql(dot)org on behalf of Tom Lane
Sent: Sun 7/16/2006 3:29 PM
To: pgsql-hackers(at)postgresql(dot)org
Subject: [HACKERS] Windows buildfarm support, or lack of it

> AFAICT, snake is the only Windows machine that
> actually runs the buildfarm on a regular schedule, and even it is just
> running once a day.

I can bump that up as high as you'd like within reason. 4? 6 times a day?

I have spare licences for most versions of Windows as well, so if Microsoft's virtual server product is not too expensive for us I can probably add a few platform variations to that box. I'll look into it.

Regards, Dave.


From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: "Kris Jurka" <books(at)ejurka(dot)com>, "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: Windows buildfarm support, or lack of it
Date: 2006-07-16 16:15:57
Message-ID: E7F85A1B5FF8D44C8A1AF6885BC9A0E48508A8@ratbert.vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

-----Original Message-----
From: Kris Jurka [mailto:books(at)ejurka(dot)com]
Sent: Sun 7/16/2006 3:44 PM
To: Tom Lane
Cc: pgsql-hackers(at)postgreSQL(dot)org; Dave Page
Subject: Re: [HACKERS] Windows buildfarm support, or lack of it

> For my part the difficulty is scheduling. As a primarily unix user I
> understand cron, but have no idea what the windows equivalent is. For my
> cygwin buildfarm member I setup cron, but the make step failed for every
> build for unknown reasons while succeeding if not run from cron. That
> further demotivated me from scheduling mingw builds. Perhaps snake's
> maintainer could share his configuration?

I run a simple batch script that fires the run off under msys from the Windows Task Scheduler. I'll happily help out anyone who wants to get a build running.

Regards, Dave.


From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: Kris Jurka <books(at)ejurka(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org, dpage(at)vale-housing(dot)co(dot)uk
Subject: Re: Windows buildfarm support, or lack of it
Date: 2006-07-16 16:32:11
Message-ID: 44BA6A0B.6000401@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Kris Jurka wrote:
>
>
> On Sun, 16 Jul 2006, Tom Lane wrote:
>
>> [windows buildfarm machines run irregularly]
>
> For my part the difficulty is scheduling. As a primarily unix user I
> understand cron, but have no idea what the windows equivalent is. For
> my cygwin buildfarm member I setup cron, but the make step failed for
> every build for unknown reasons while succeeding if not run from cron.
> That further demotivated me from scheduling mingw builds. Perhaps
> snake's maintainer could share his configuration?

There is job schedulers for Windows. I have no idea how good or bad they
are.

Joshua D. Drake

>
> Kris Jurka
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly
>

--

=== The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
Providing the most comprehensive PostgreSQL solutions since 1997
http://www.commandprompt.com/


From: "Nathan Buchanan" <nbinont(at)yahoo(dot)ca>
To: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
Cc: "Kris Jurka" <books(at)ejurka(dot)com>, "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org, dpage(at)vale-housing(dot)co(dot)uk
Subject: Re: Windows buildfarm support, or lack of it
Date: 2006-07-16 16:52:17
Message-ID: d51c18ed0607160952n2eb47925l1f16db02e0b3f082@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On 7/16/06, Joshua D. Drake <jd(at)commandprompt(dot)com> wrote:
>
> Kris Jurka wrote:
> >
> >
> > On Sun, 16 Jul 2006, Tom Lane wrote:
> >
> >> [windows buildfarm machines run irregularly]
> >
> > For my part the difficulty is scheduling. As a primarily unix user I
> > understand cron, but have no idea what the windows equivalent is. For
> > my cygwin buildfarm member I setup cron, but the make step failed for
> > every build for unknown reasons while succeeding if not run from cron.
> > That further demotivated me from scheduling mingw builds. Perhaps
> > snake's maintainer could share his configuration?
>
> There is job schedulers for Windows. I have no idea how good or bad they
> are.

This might help:
http://support.microsoft.com/default.aspx?scid=kb;en-us;308569&sd=tech The
windows scheduler is ok. I think Dave is doing it the best way.

Nathan

Joshua D. Drake
>
>
> >
> > Kris Jurka
> >
> > ---------------------------(end of broadcast)---------------------------
> > TIP 1: if posting/reading through Usenet, please send an appropriate
> > subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> > message can get through to the mailing list cleanly
> >
>
>
> --
>
> === The PostgreSQL Company: Command Prompt, Inc. ===
> Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
> Providing the most comprehensive PostgreSQL solutions since 1997
> http://www.commandprompt.com/
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: don't forget to increase your free space map settings
>


From: Petr Jelinek <pjmodos(at)pjmodos(dot)net>
To: Dave Page <dpage(at)vale-housing(dot)co(dot)uk>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Windows buildfarm support, or lack of it
Date: 2006-07-16 17:05:01
Message-ID: 44BA71BD.6060303@pjmodos.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Dave Page wrote:
>
> I have spare licences for most versions of Windows as well, so if Microsoft's virtual server product is not too expensive for us I can probably add a few platform variations to that box. I'll look into it.

In fact MS released Virtual PC 2004 for free a couple days ago
(http://www.microsoft.com/windows/virtualpc/default.mspx)

--
Regards
Petr Jelinek (PJMODOS)


From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Dave Page <dpage(at)vale-housing(dot)co(dot)uk>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Windows buildfarm support, or lack of it
Date: 2006-07-16 17:12:24
Message-ID: 44BA7378.9070800@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Dave Page wrote:
>
> -----Original Message-----
> From: pgsql-hackers-owner(at)postgresql(dot)org on behalf of Tom Lane
> Sent: Sun 7/16/2006 3:29 PM
> To: pgsql-hackers(at)postgresql(dot)org
> Subject: [HACKERS] Windows buildfarm support, or lack of it
>
>
>> AFAICT, snake is the only Windows machine that
>> actually runs the buildfarm on a regular schedule, and even it is just
>> running once a day.
>>
>
> I can bump that up as high as you'd like within reason. 4? 6 times a day?
>
>

Let's go for 6, at least for HEAD. Under normal use buildfarm doesn't
actually do anything unless it detects a change in the source, and it
makes sure there isn't a collision by using a lockfile. That means it is
safe to schedule builds fairly frequently.

cheers

andrew


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: Dave Page <dpage(at)vale-housing(dot)co(dot)uk>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Windows buildfarm support, or lack of it
Date: 2006-07-16 17:46:31
Message-ID: 18304.1153071991@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
> Dave Page wrote:
>> I can bump that up as high as you'd like within reason. 4? 6 times a day?

> Let's go for 6, at least for HEAD.

There's probably no need to check the back branches oftener than once a
day, but if you can do HEAD every 4 hours that'd be great ...

regards, tom lane


From: Josh Berkus <josh(at)agliodbs(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Andrew Dunstan <andrew(at)dunslane(dot)net>, Dave Page <dpage(at)vale-housing(dot)co(dot)uk>
Subject: Re: Windows buildfarm support, or lack of it
Date: 2006-07-16 18:04:05
Message-ID: 200607161104.05497.josh@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Andrew, Tom:

I'm putting a solicitation in this week's PWN for more Windows buildfarm
members. With 250,000 Windows+PostgreSQL users out there, you'd think a few
people would step up.

Dave, I think you may need to give Andrew Windows buildfarm instructions to
put up at www.pgbuildfarm.org.

--
Josh Berkus
PostgreSQL @ Sun
San Francisco


From: Stefan Kaltenbrunner <stefan(at)kaltenbrunner(dot)cc>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Andrew Dunstan <andrew(at)dunslane(dot)net>, Dave Page <dpage(at)vale-housing(dot)co(dot)uk>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Windows buildfarm support, or lack of it
Date: 2006-07-16 18:05:11
Message-ID: 44BA7FD7.6080709@kaltenbrunner.cc
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Tom Lane wrote:
> Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
>> Dave Page wrote:
>>> I can bump that up as high as you'd like within reason. 4? 6 times a day?
>
>> Let's go for 6, at least for HEAD.
>
> There's probably no need to check the back branches oftener than once a
> day, but if you can do HEAD every 4 hours that'd be great ...

I will have seahorse doing Windows builds at the same rate then ...

Stefan


From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Andrew Dunstan" <andrew(at)dunslane(dot)net>
Cc: <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Windows buildfarm support, or lack of it
Date: 2006-07-16 18:18:15
Message-ID: E7F85A1B5FF8D44C8A1AF6885BC9A0E40154BF8B@ratbert.vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

> -----Original Message-----
> From: Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us]
> Sent: 16 July 2006 18:47
> To: Andrew Dunstan
> Cc: Dave Page; pgsql-hackers(at)postgresql(dot)org
> Subject: Re: [HACKERS] Windows buildfarm support, or lack of it
>
> Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
> > Dave Page wrote:
> >> I can bump that up as high as you'd like within reason. 4?
> 6 times a day?
>
> > Let's go for 6, at least for HEAD.
>
> There's probably no need to check the back branches oftener
> than once a
> day, but if you can do HEAD every 4 hours that'd be great ...

NP - next run is at 2200BST.

Regards, Dave.


From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: "Josh Berkus" <josh(at)agliodbs(dot)com>, <pgsql-hackers(at)postgresql(dot)org>
Cc: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Andrew Dunstan" <andrew(at)dunslane(dot)net>
Subject: Re: Windows buildfarm support, or lack of it
Date: 2006-07-16 18:28:33
Message-ID: E7F85A1B5FF8D44C8A1AF6885BC9A0E40154BF8E@ratbert.vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

> -----Original Message-----
> From: Josh Berkus [mailto:josh(at)agliodbs(dot)com]
> Sent: 16 July 2006 19:04
> To: pgsql-hackers(at)postgresql(dot)org
> Cc: Tom Lane; Andrew Dunstan; Dave Page
> Subject: Re: [HACKERS] Windows buildfarm support, or lack of it
>
> Andrew, Tom:
>
> I'm putting a solicitation in this week's PWN for more
> Windows buildfarm
> members. With 250,000 Windows+PostgreSQL users out there,
> you'd think a few
> people would step up.
>
> Dave, I think you may need to give Andrew Windows buildfarm
> instructions to
> put up at www.pgbuildfarm.org.

<grin>It was Andrew that gave me instructions! I'll see if I can write
up the important points though.

/D


From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Kris Jurka <books(at)ejurka(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org, dpage(at)vale-housing(dot)co(dot)uk
Subject: Re: Windows buildfarm support, or lack of it
Date: 2006-07-16 20:08:27
Message-ID: 44BA9CBB.3000801@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Kris Jurka wrote:
> For my cygwin buildfarm member I setup cron, but the make step
> failed for every build for unknown reasons while succeeding if not run
> from cron.

Is this still happening? We should try to get to the bottom of it.

cheers

andrew


From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: "Petr Jelinek" <pjmodos(at)pjmodos(dot)net>
Cc: "PostgreSQL-development" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Windows buildfarm support, or lack of it
Date: 2006-07-18 13:46:39
Message-ID: E7F85A1B5FF8D44C8A1AF6885BC9A0E40154C041@ratbert.vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

> -----Original Message-----
> From: Petr Jelinek [mailto:pjmodos(at)pjmodos(dot)net]
> Sent: 16 July 2006 18:05
> To: Dave Page
> Cc: PostgreSQL-development
> Subject: Re: Windows buildfarm support, or lack of it
>
> Dave Page wrote:
> >
> > I have spare licences for most versions of Windows as well,
> so if Microsoft's virtual server product is not too expensive
> for us I can probably add a few platform variations to that
> box. I'll look into it.
>
> In fact MS released Virtual PC 2004 for free a couple days ago
> (http://www.microsoft.com/windows/virtualpc/default.mspx)

It seems that VMWare are following suit - their entry level VMWare
Server is now free for Windows and Linux :-)

http://www.vmware.com/products/server/

Regards, Dave.


From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Dave Page <dpage(at)vale-housing(dot)co(dot)uk>
Cc: Petr Jelinek <pjmodos(at)pjmodos(dot)net>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Windows buildfarm support, or lack of it
Date: 2006-07-18 16:35:46
Message-ID: 44BD0DE2.3000105@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Dave Page wrote:

>
>
>It seems that VMWare are following suit - their entry level VMWare
>Server is now free for Windows and Linux :-)
>
>http://www.vmware.com/products/server/
>
>
>

It has been for some time, at least in Beta, so I'm not sure who really
went first.

We should be supplying a sample applicance for VMware server that
showcases our stuff - maybe the LiveCD project guys could do that?

cheers

andrew


From: Jim Nasby <decibel(at)decibel(dot)org>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: Kris Jurka <books(at)ejurka(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org, dpage(at)vale-housing(dot)co(dot)uk
Subject: Re: Windows buildfarm support, or lack of it
Date: 2006-07-25 00:39:11
Message-ID: 72EAD77B-3074-481D-BDA9-27949255C864@decibel.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On Jul 16, 2006, at 3:08 PM, Andrew Dunstan wrote:
> Kris Jurka wrote:
>> For my cygwin buildfarm member I setup cron, but the make step
>> failed for every build for unknown reasons while succeeding if not
>> run from cron.
>
>
> Is this still happening? We should try to get to the bottom of it.

Try setting a more complete $PATH; there's a good chance that make
isn't able to find something it needs.
--
Jim C. Nasby, Sr. Engineering Consultant jnasby(at)pervasive(dot)com
Pervasive Software http://pervasive.com work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461


From: "Magnus Hagander" <mha(at)sollentuna(dot)net>
To: "Petr Jelinek" <pjmodos(at)pjmodos(dot)net>, "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
Cc: "PostgreSQL-development" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Windows buildfarm support, or lack of it
Date: 2006-08-18 13:11:26
Message-ID: 6BCB9D8A16AC4241919521715F4D8BCEA35550@algol.sollentuna.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

> > I have spare licences for most versions of Windows as well, so if
> Microsoft's virtual server product is not too expensive for us I
> can probably add a few platform variations to that box. I'll look
> into it.
>
> In fact MS released Virtual PC 2004 for free a couple days ago
> (http://www.microsoft.com/windows/virtualpc/default.mspx)

FWIW, Virtual Server 2005 R2 Enterprise Edition (how's that for a
product name) is also a free download from MS (provided you have a
license for the underlying OS, but since it runs only on Win2k3, what'd
they expect..)

//Magnus