[bind10-dev] Mac OS X builder
Jeremy C. Reed
jreed at isc.org
Wed Feb 16 14:00:30 UTC 2011
On Tue, 15 Feb 2011, qiaojing wrote:
> Running test: sqlite3_ds_test.py
> /bin/sh: line 1: 44842 Segmentation fault env
> PYTHONPATH=/Users/applemacuser/Downloads/bind10/bind10-devel-20110120/src/l
> ib/python:/Users/applemacuser/Downloads/bind10/bind10-devel-20110120/src/li
> b/python:/Users/applemacuser/Downloads/bind10/bind10-devel-20110120/src/lib
> /python/isc/log
> TESTDATA_PATH=/Users/applemacuser/Downloads/bind10/bind10-devel-20110120/sr
> c/lib/python/isc/datasrc/tests/testdata /usr/local/bin/coverage run --branc
> h --append/Users/applemacuser/Downloads/bind10/bind10-devel-20110120/src/lib/python/i
Not sure if this is an email formatting problem, but notice no space
above between "--append" and "/Users/".
> sc/datasrc/tests/$pytest
> make[7]: *** [check-local] Error 139
So I think this means that the previous test, master_test.py, did
successfully run using coverage.
Please manually run the coverage command, like:
cd src/lib/python/isc/datasrc/tests/
env PYTHONPATH=/Users/applemacuser/Downloads/bind10/bind10-devel-20110120/src/lib/python:/Users/applemacuser/Downloads/bind10/bind10-devel-20110120/src/lib/python:/Users/applemacuser/Downloads/bind10/bind10-devel-20110120/src/lib/python/isc/log TESTDATA_PATH=/Users/applemacuser/Downloads/bind10/bind10-devel-20110120/src/lib/python/isc/datasrc/tests/testdata /usr/local/bin/coverage run --branch --append /Users/applemacuser/Downloads/bind10/bind10-devel-20110120/src/lib/python/isc/datasrc/tests/ sqlite3_ds_test.py
(Sorry that is one long line.)
Try to look at the core dump with gdb and see if there is anything of
interest.
I may try to reproduce this on Mac OS X.
> When removes configure option --with-pycoverage=/usr/local/bin/coverage,
> the problem disappears.
> The coverage program is:
> AppleMac-UsermatoMacBook-Pro-7:Downloads applemacuser$ coverage --version
> Coverage.py, version 3.4. http://nedbatchelder.com/code/coverage
Jeremy C. Reed
ISC
More information about the bind10-dev
mailing list