Bug#642817: pyxnat: FTBFS: tests failed

2011-09-28 Thread Yannick SCHWARTZ

Hi,

The tests require an internet connection because the package is a Python 
module to communicate with a database platform on top of Web Services. 
To check that everything runs correctly, I test the functions against a 
public server. I know it's not ideal, but there is no other way.


Regards,
Yannick


On 27/09/2011 17:50, Mehdi Dogguy wrote:

On 27/09/2011 16:32, Yannick SCHWARTZ wrote:

Hi,

Does the build machine have an internet connection? My package needs to
connect to a database server to perform its tests.


Your pacakge is supposed to build just find, even if network is down.

  
  fine



I think that accessing wild network is intentionally forbidden of

  ^^
  on

Grid'5000 when doing these archive rebuilds.


sorry.






--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#642817: pyxnat: FTBFS: tests failed

2011-09-27 Thread Yannick SCHWARTZ

Hi,

Does the build machine have an internet connection? My package needs to 
connect to a database server to perform its tests.


Best,
Yannick


Source: pyxnat
Version: 0.9.0~dev0-1
Severity: serious
Tags: wheezy sid
User: debian...@lists.debian.org
Usertags: qa-ftbfs-20110923 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part:

I: Running pyxnat unittests using python2.6
/build/pyxnat-kflE_2/pyxnat-0.9.0~dev0/debian/python-pyxnat/usr/lib/python2.6/dist-packages/pyxnat/core/interfaces.py:178:
 DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
   if not '/data/JSESSION' in e.message:
E.E.EEE...
==
ERROR: Failure: error ([Errno 111] Connection refused)
--
Traceback (most recent call last):
   File /usr/lib/pymodules/python2.6/nose/loader.py, line 390, in 
loadTestsFromName
 addr.filename, addr.module)
   File /usr/lib/pymodules/python2.6/nose/importer.py, line 39, in 
importFromPath
 return self.importFromDir(dir_path, fqname)
   File /usr/lib/pymodules/python2.6/nose/importer.py, line 86, in 
importFromDir
 mod = load_module(part_fqname, fh, filename, desc)
   File 
/build/pyxnat-kflE_2/pyxnat-0.9.0~dev0/debian/python-pyxnat/usr/lib/python2.6/dist-packages/pyxnat/tests/attributes_test.py,
 line 13, inmodule
 subject = central.select.project('nosetests').subject(sid)
   File 
/build/pyxnat-kflE_2/pyxnat-0.9.0~dev0/debian/python-pyxnat/usr/lib/python2.6/dist-packages/pyxnat/core/select.py,
 line 240, in project
 self._intf._get_entry_point()
   File 
/build/pyxnat-kflE_2/pyxnat-0.9.0~dev0/debian/python-pyxnat/usr/lib/python2.6/dist-packages/pyxnat/core/interfaces.py,
 line 179, in _get_entry_point
 raise e
error: [Errno 111] Connection refused

...

==
ERROR: pyxnat.tests.user_and_project_management_test.test_project_accessibility
--
Traceback (most recent call last):
   File /usr/lib/pymodules/python2.7/nose/case.py, line 187, in runTest
 self.test(*self.arg)
   File 
/build/pyxnat-kflE_2/pyxnat-0.9.0~dev0/debian/python-pyxnat/usr/lib/python2.7/dist-packages/pyxnat/tests/user_and_project_management_test.py,
 line 47, in test_project_accessibility
 assert central.select.project('nosetests').accessibility() in \
   File 
/build/pyxnat-kflE_2/pyxnat-0.9.0~dev0/debian/python-pyxnat/usr/lib/python2.7/dist-packages/pyxnat/core/resources.py,
 line 1031, in accessibility
 return self._intf._exec(join_uri(self._uri, 'accessibility'), 'GET')
   File 
/build/pyxnat-kflE_2/pyxnat-0.9.0~dev0/debian/python-pyxnat/usr/lib/python2.7/dist-packages/pyxnat/core/interfaces.py,
 line 255, in _exec
 body, headers)
   File /usr/lib/python2.7/dist-packages/httplib2/__init__.py, line 1436, in 
request
 (response, content) = self._request(conn, authority, uri, request_uri, 
method, body, headers, redirections, cachekey)
   File /usr/lib/python2.7/dist-packages/httplib2/__init__.py, line 1188, in 
_request
 (response, content) = self._conn_request(conn, request_uri, method, body, 
headers)
   File /usr/lib/python2.7/dist-packages/httplib2/__init__.py, line 1123, in 
_conn_request
 conn.connect()
   File /usr/lib/python2.7/dist-packages/httplib2/__init__.py, line 925, in 
connect
 raise socket.error, msg
error: [Errno 111] Connection refused

--
Ran 62 tests in 89.323s

FAILED (errors=29)
make[1]: *** [override_dh_auto_install] Error 1

The full build log is available from:

http://people.debian.org/~lucas/logs/2011/09/23/pyxnat_0.9.0~dev0-1_lsid64.buildlog

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot.  Internet was not
accessible from the build systems.







--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org