[Pushmi-users] RE: Pushmi-users Digest, Vol 3, Issue 3

Lee Webb lwebb at clear2pay.com.au
Tue Jul 10 19:59:46 EDT 2007


Hi Chia-liang,

Cheers for the speedy reply.

Re: versions

Master & slave are running:

lwebb at hamsambo ~/pushmi $ svn --version
svn, version 1.4.2 (r22196)
   compiled Mar 14 2007, 20:43:24

lwebb at hamsambo ~/pushmi $ rpm -qa | grep subversion
subversion-perl-1.4.2-2.el5
subversion-1.4.2-2.el5
subversion-1.4.2-2.el5

Re: authz

Yes I am running some authz on the server. The user that is configured
within pushmi has totally access to the repo though.

In my testing I'm trying to avoid placing any additional configuration
into the master (ie mod perl directives) . But a re-read of the README
leads me to believe that this is my mis-configuration.

Re: multiple threads

Yes, pushmi appears to be running a number of threads:

lwebb     2190  9.8  1.2 247268 51212 pts/0    S+   09:48   0:01  |
\_ /usr/bin/perl -w ./pushmi sync --nowait /tmp/SUP-569/slave
lwebb     2191  3.8  1.3 255344 54476 pts/0    S+   09:48   0:00  |
\_ /usr/bin/perl -w ./pushmi sync --nowait /tmp/SUP-569/slave
lwebb     2268  0.0  0.0   8856  1084 pts/0    S+   09:48   0:00  |
\_ /bin/sh /tmp/SUP-569/slave/hooks/pre-commit /tmp/SUP-569/slave 9-1
lwebb     2269  0.0  0.3 135012 12428 pts/0    R+   09:48   0:00  |
\_ /usr/bin/perl  pushmi runhook /tmp/SUP-569/slave --txnname 9-1

Re: network dumps

I will look into this today & see what I can get.

Re: tests

I did run the tests for SVK & Pushmi with mixed success.
(make test output is attached for both)

I forged ahead anyway & installed Pushmi in the hope that I would have
something to test

SVK had one error:

Failed Test        Stat Wstat Total Fail  List of Failed
------------------------------------------------------------------------
-------
t/05svm-branches.t    1   256     4    1  4
3 tests and 19 subtests skipped.
Failed 1/129 test scripts. 1/1988 subtests failed.
Files=129, Tests=1988, 394 wallclock secs (214.10 cusr + 41.59 csys =
255.69 CPU)
Failed 1/129 test programs. 1/1988 subtests failed.
make: *** [test_dynamic] Error 255

t/05svm-branches.................# Different at 5:
# 
# Copied From: /1.0, Rev. 3

#   Failed test 'info //2.0'
#   at t/05svm-branches.t line 44.
# Depot Path: //2.0
# Revision: 4
# Last Changed Rev.: 4
# Last Changed Date: 2007-07-11
# Mirrored From: file:///tmp/svk-886-1/2.0, Rev. 2
# 
# Looks like you failed 1 test of 4.
dubious
        Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 4
        Failed 1/4 tests, 75.00% okay

Pushmi wasn't able to complete any tests :(

I have a feeling that the tests are assuming that apache is built &
deployed in a different way than what is deployed on a CentOS system.

The tests try to run but hang somewhere within t/basic (probably because
apache isn't running correctly in the setup?)

lwebb at hamsambo ~/pushmi $ make test PREFIX=/tmp/SUP-569 | tee build.log
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t t/*/*.t
t/00use...........ok
t/auth-relayed..... Warning: cant find /etc/httpd/conf/mime.types
# http://localhost:5008/svn
. Warning: cant find /etc/httpd/conf/mime.types
httpd: Syntax error on line 52 of
/home/lwebb/pushmi/t/apache_master/conf/httpd.conf: Cannot load
/usr/lib64/httpd/modules/mod_auth.so into server: /us
r/lib64/httpd/modules/mod_auth.so: cannot open shared object file: No
such file or directory
No such file or directory at
/tmp/SUP-569/lib/perl5/site_perl/5.8.8/RunApp/Control/ApacheCtl.pm line
9, <DATA> line 1.
# Looks like your test died before it could output anything.
dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-7
        Failed 7/7 tests, 0.00% okay
t/auth............. Warning: cant find /etc/httpd/conf/mime.types
# http://localhost:5008/svn
. Warning: cant find /etc/httpd/conf/mime.types
httpd: Syntax error on line 52 of
/home/lwebb/pushmi/t/apache_master/conf/httpd.conf: Cannot load
/usr/lib64/httpd/modules/mod_auth.so into server: /us
r/lib64/httpd/modules/mod_auth.so: cannot open shared object file: No
such file or directory
No such file or directory at
/tmp/SUP-569/lib/perl5/site_perl/5.8.8/RunApp/Control/ApacheCtl.pm line
9, <DATA> line 1.
# Looks like your test died before it could output anything.
dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-11
        Failed 11/11 tests, 0.00% okay
t/basic...........# 2092
make: *** [test_dynamic] Interrupt

lwebb at hamsambo ~/pushmi $ # Different in line: 1: got svn: Commit failed
(details follow):,2: got svn: 'pre-commit' hook failed with error
output:,3: g
ot Interrupted.,4: got

---

Cheers 
Lee Webb 
E: lwebb at clear2pay.com.au 
T: 61 2 9026 0186


-------------- next part --------------
A non-text attachment was scrubbed...
Name: svk_make_test.log
Type: application/octet-stream
Size: 5677 bytes
Desc: svk_make_test.log
Url : http://lists.bestpractical.com/pipermail/pushmi-users/attachments/20070711/5b4c866a/svk_make_test.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pushmi_make_test.log
Type: application/octet-stream
Size: 423 bytes
Desc: pushmi_make_test.log
Url : http://lists.bestpractical.com/pipermail/pushmi-users/attachments/20070711/5b4c866a/pushmi_make_test.obj


More information about the Pushmi-users mailing list