[csw-maintainers] what is different on buildfarm? mercurial tests take long - or fail

rupert THURNER rupert at opencsw.org
Sat Jan 2 12:18:24 CET 2010


while testing mercurial-1.4.2 i noticed that the tests take long - or
forever on build8s. and they fail with network errors on build10s.

as i did not have time to wait if they end at 8s, i breaked them and i
tried 1.4.1 as well, which also did not complete in a reasonable time.

so i wonder what might cause this. the new python? the new ipv6? something else?


here the output of a "ps" while waiting for something to happen:

rupert at build8s:~/tmp
$ /usr/ucb/ps aguxwwwww | grep test
rupert    7748  0.0  0.016920 2096 ?        S 02:50:25  0:00
/opt/csw/bin/python /tmp/hgtests.8Qqkub/install/bin/hg serve -p 20137
-d --pid-file=hg.pid -E errors.log --daemon-pipefds=3,4
rupert    9810  0.0  0.0 2168 1536 pts/35   S 04:23:46  0:00 grep test
rupert   12261  0.0  0.0 2232 1704 pts/60   S 04:11:39  0:00 /bin/sh
/home/rupert/mgar/pkg/mercurial/trunk/work/solaris8-sparc/build-isa-sparcv8/mercurial-1.4.1/tests/test-push-http
rupert   12341  0.0  0.116920 6064 ?        S 04:11:48  0:00
/opt/csw/bin/python /tmp/hgtests.ZTfh5M/install/bin/hg serve -p 20092
-d --pid-file=hg.pid -E errors.log --daemon-pipefds=3,4
rupert   12356  0.0  0.111784 8416 pts/60   S 04:11:49  0:00
/opt/csw/bin/python /tmp/hgtests.ZTfh5M/install/bin/hg --cwd ../test2
push http://localhost:20092/
rupert   15345  0.0  0.116920 2464 ?        S 03:37:32  0:00
/opt/csw/bin/python /tmp/hgtests.vKPSKj/install/bin/hg serve -p 20095
-d --pid-file=hg.pid -E errors.log --daemon-pipefds=3,4
rupert   17196  0.0  0.1 9208 5376 pts/60   S 04:04:44  0:01 python
run-tests.py -j30
rupert   18094  0.0  0.110232 6008 pts/60   S 04:04:56  0:01
/opt/csw/bin/python run-tests.py --jobs=1 --port=20059
--with-hg=/tmp/hgtests.ZTfh5M/install/bin/hg --timeout=180 --child=15
--port=20092 --tmpdir /tmp/hgtests.ZTfh5M/child11 test-audit-path
test-command-template test-convert-hg-startrev test-diff-newlines
test-git-export test-http-clone-r test-issue619 test-merge5
test-mv-cp-st-diff test-push-http test-resolve test-trusted.py
rupert   18123  0.0  0.110232 5312 pts/60   S 04:04:57  0:01
/opt/csw/bin/python run-tests.py --jobs=1 --port=20059
--with-hg=/tmp/hgtests.ZTfh5M/install/bin/hg --timeout=180 --child=30
--port=20137 --tmpdir /tmp/hgtests.ZTfh5M/child26 test-branchmap
test-convert-bzr-ghosts test-copy test-empty-file test-hgweb-auth.py
test-inotify-issue1371 test-merge-force test-mq-qclone-http test-patch
test-rebase-parameters test-static-http
rupert   23378  0.0  0.0 2232 1128 pts/60   S 04:06:03  0:00 /bin/sh
/home/rupert/mgar/pkg/mercurial/trunk/work/solaris8-sparc/build-isa-sparcv8/mercurial-1.4.1/tests/test-mq-qclone-http
rupert   24084  0.0  0.1 9360 4992 pts/60   S 04:06:13  0:00 python
/home/rupert/mgar/pkg/mercurial/trunk/work/solaris8-sparc/build-isa-sparcv8/mercurial-1.4.1/tests/get-with-headers.py
localhost:20137 /?style=raw


on build10s, using the tip of the crew repository, i get "network is
not reachable" errors:

rupert at build10s:~/hg-crew-10s
$ python setup.py build
...
rupert at build10s:~/hg-crew-10s/tests
$ python run-tests.py -j 30
..
ERROR: /home/rupert/hg-crew-10s/tests/test-bad-pull output changed and
returned error code 1
--- /home/rupert/hg-crew-10s/tests/test-bad-pull.out
+++ /home/rupert/hg-crew-10s/tests/test-bad-pull.err
@@ -1,5 +1,6 @@
-abort: error: Connection refused
+abort: error: Network is unreachable
 255
 copy: No such file or directory
-abort: HTTP Error 404
+abort: error: Network is unreachable
 0
+/home/rupert/hg-crew-10s/tests/test-bad-pull: kill: no such process
!...
ERROR: /home/rupert/hg-crew-10s/tests/test-branchmap output changed
and returned error code 1


ERROR: /home/rupert/hg-crew-10s/tests/test-webraw output changed
--- /home/rupert/hg-crew-10s/tests/test-webraw.out
+++ /home/rupert/hg-crew-10s/tests/test-webraw.err
@@ -1,10 +1,18 @@
-200 Script output follows
-content-type: text/plain
-content-length: 157
-content-disposition: inline; filename="some \"text\".txt"
-
-This is just some random text
-that will go inside the file and take a few lines.
-It is very boring to read, but computers don't
-care about things like that.
-host - - [date] "GET
/?f=a23bf1310f6e;file=sub/some%20%22text%22.txt;style=raw HTTP/1.1"
200 -
+Traceback (most recent call last):
+  File "/home/rupert/hg-crew-10s/tests/get-with-headers.py", line 17,
in <module>
+    conn.request("GET", sys.argv[2])
+  File "/opt/csw/lib/python/httplib.py", line 898, in request
+    self._send_request(method, url, body, headers)
+  File "/opt/csw/lib/python/httplib.py", line 935, in _send_request
+    self.endheaders()
+  File "/opt/csw/lib/python/httplib.py", line 892, in endheaders
+    self._send_output()
+  File "/opt/csw/lib/python/httplib.py", line 764, in _send_output
+    self.send(msg)
+  File "/opt/csw/lib/python/httplib.py", line 723, in send
+    self.connect()
+  File "/opt/csw/lib/python/httplib.py", line 704, in connect
+    self.timeout)
+  File "/opt/csw/lib/python/socket.py", line 514, in create_connection
+    raise error, msg
+socket.error: [Errno 128] Network is unreachable


rupert.



More information about the maintainers mailing list