Buildfarm client version 4.3 released

Started by Andrew Dunstanabout 15 years ago6 messages
#1Andrew Dunstan
andrew@dunslane.net

Buildfarm client version 4.3 has been released. It can be downloaded
from <http://pgfoundry.org/frs/?group_id=1000040&gt;

Changes:

*

Add setnotes.pl, allowing users to set a note on their animals.

*

Support buildfarm client maintained git mirror, original suggestion from R�mi Zara.

*

Send id of current git head to server, suggestion from David Fetter.

*

Move to tag based script versioning scheme not so dependent on CVS.

*

Send frozen copy of config to server.

I want to move to the new versioning scheme exclusively on the server
very shortly, so buildfarm owners are urged to upgrade to this release ASAP.

cheers

andrew

#2Andrew Dunstan
andrew@dunslane.net
In reply to: Andrew Dunstan (#1)
Re: Buildfarm client version 4.3 released

On 11/07/2010 05:34 PM, Andrew Dunstan wrote:

Buildfarm client version 4.3 has been released. It can be downloaded
from <http://pgfoundry.org/frs/?group_id=1000040&gt;

A small bug was in this release, so it has been withdrawn, and replaced
with a new release 4.4.

cheers

andrew

#3David Fetter
david@fetter.org
In reply to: Andrew Dunstan (#2)
Re: [Pgbuildfarm-members] Buildfarm client version 4.3 released

On Sun, Nov 07, 2010 at 06:46:53PM -0500, Andrew Dunstan wrote:

On 11/07/2010 05:34 PM, Andrew Dunstan wrote:

Buildfarm client version 4.3 has been released. It can be
downloaded from <http://pgfoundry.org/frs/?group_id=1000040&gt;

A small bug was in this release, so it has been withdrawn, and
replaced with a new release 4.4.

Upgraded bobcat to 4.4. No catastrophes so far :)

Cheers,
David.
--
David Fetter <david@fetter.org> http://fetter.org/
Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter
Skype: davidfetter XMPP: david.fetter@gmail.com
iCal: webcal://www.tripit.com/feed/ical/people/david74/tripit.ics

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate

#4Jeremy Drake
jeremyd@jdrake.com
In reply to: Andrew Dunstan (#2)
Re: [Pgbuildfarm-members] Buildfarm client version 4.3 released

On Sun, 7 Nov 2010, Andrew Dunstan wrote:

On 11/07/2010 05:34 PM, Andrew Dunstan wrote:

Buildfarm client version 4.3 has been released. It can be downloaded from
<http://pgfoundry.org/frs/?group_id=1000040&gt;

A small bug was in this release, so it has been withdrawn, and replaced with a
new release 4.4.

I just upgraded to build-farm-4.4 on mongoose, and got the following
error:

Can't store REGEXP items at blib/lib/Storable.pm (autosplit into
blib/lib/auto/Storable/_freeze.al) line 339, at
/data/local/jeremyd/postgres/build-farm-4.4/run_web_txn.pl line 75
(Log::Agent could not fix it)
Web txn failed with status: 255

I am reverting to my previously working version (4.1) for now...

#5Andrew Dunstan
andrew@dunslane.net
In reply to: Jeremy Drake (#4)
Re: [Pgbuildfarm-members] Buildfarm client version 4.3 released

On 11/08/2010 03:41 AM, Jeremy Drake wrote:

On Sun, 7 Nov 2010, Andrew Dunstan wrote:

On 11/07/2010 05:34 PM, Andrew Dunstan wrote:

Buildfarm client version 4.3 has been released. It can be downloaded from
<http://pgfoundry.org/frs/?group_id=1000040&gt;

A small bug was in this release, so it has been withdrawn, and replaced with a
new release 4.4.

I just upgraded to build-farm-4.4 on mongoose, and got the following
error:

Can't store REGEXP items at blib/lib/Storable.pm (autosplit into
blib/lib/auto/Storable/_freeze.al) line 339, at
/data/local/jeremyd/postgres/build-farm-4.4/run_web_txn.pl line 75
(Log::Agent could not fix it)
Web txn failed with status: 255

I am reverting to my previously working version (4.1) for now...

Ouch. That's a sad regression in perl 5.12. Can you try with the
following patch, which I think will fix it?

thanks

andrew

Index: run_web_txn.pl
===================================================================
RCS file: /cvsroot/pgbuildfarm/client-code/run_web_txn.pl,v
retrieving revision 1.9
diff -c -r1.9 run_web_txn.pl
*** run_web_txn.pl    7 Nov 2010 23:35:29 -0000    1.9
--- run_web_txn.pl    8 Nov 2010 09:58:40 -0000
***************
*** 72,77 ****
--- 72,85 ----
   $sconf =~ s/.*(\$Script_Config)/$1/ms;
   my $Script_Config;
   eval $sconf;
+ # very modern Storable modules choke on regexes
+ # the server has no need of them anyway, so just chop them out
+ # they are still there in the text version used for reporting
+ foreach my $k ( keys %$Script_Config )
+ {
+     delete $Script_Config->{$k}
+       if ref($Script_Config->{$k}) eq q(Regexp);
+ }
   my $frozen_sconf = nfreeze $Script_Config;

# make the base64 data escape-proof; = is probably ok but no harm done

#6Jeremy Drake
pgbuildfarm@jdrake.com
In reply to: Andrew Dunstan (#5)
Re: [Pgbuildfarm-members] Buildfarm client version 4.3 released

On Mon, 8 Nov 2010, Andrew Dunstan wrote:

On 11/08/2010 03:41 AM, Jeremy Drake wrote:

I just upgraded to build-farm-4.4 on mongoose, and got the following
error:

Can't store REGEXP items at blib/lib/Storable.pm (autosplit into
blib/lib/auto/Storable/_freeze.al) line 339, at
/data/local/jeremyd/postgres/build-farm-4.4/run_web_txn.pl line 75
(Log::Agent could not fix it)
Web txn failed with status: 255

Ouch. That's a sad regression in perl 5.12. Can you try with the following
patch, which I think will fix it?

thanks

andrew

This seems to have done the trick. I applied the patch this morning and
updated my cron tasks to use the 4.4 client again, and several builds have
run successfully today.

Index: run_web_txn.pl
===================================================================
RCS file: /cvsroot/pgbuildfarm/client-code/run_web_txn.pl,v
retrieving revision 1.9
diff -c -r1.9 run_web_txn.pl
*** run_web_txn.pl    7 Nov 2010 23:35:29 -0000    1.9
--- run_web_txn.pl    8 Nov 2010 09:58:40 -0000
***************
*** 72,77 ****
--- 72,85 ----
$sconf =~ s/.*(\$Script_Config)/$1/ms;
my $Script_Config;
eval $sconf;
+ # very modern Storable modules choke on regexes
+ # the server has no need of them anyway, so just chop them out
+ # they are still there in the text version used for reporting
+ foreach my $k ( keys %$Script_Config )
+ {
+     delete $Script_Config->{$k}
+       if ref($Script_Config->{$k}) eq q(Regexp);
+ }
my $frozen_sconf = nfreeze $Script_Config;

# make the base64 data escape-proof; = is probably ok but no harm done

_______________________________________________
Pgbuildfarm-members mailing list
Pgbuildfarm-members@pgfoundry.org
http://pgfoundry.org/mailman/listinfo/pgbuildfarm-members

--
Democracy is also a form of worship. It is the worship of Jackals by
Jackasses.
-- H. L. Mencken