Hi all,
I wrote a functional test for my tool. Here is the test code.
<tests>
<test>
<param name="source" value="history" />
<param name="fasta_input" value="tair9_chr4_10000.fas"
ftype="fasta" />
<param name="source" value="pretrained" />
<param name="organism" value="arabidopsis" />
<output name="output" file="tair9_chr4_output.gff3" />
</test>
</tests>
While running the test I am getting an error message like the following.
ERROR: test module functional in /home/galaxy/galaxy-2.1.2009/test
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/galaxy/galaxy-2.1.2009/eggs/py2.5-noplatform/nose-0.9.1.dev_r101-py2.5.egg/nose/suite.py",
line 46, in run
self.setUp()
File
"/home/galaxy/galaxy-2.1.2009/eggs/py2.5-noplatform/nose-0.9.1.dev_r101-py2.5.egg/nose/suite.py",
line 200, in setUp
try_run(self.module, names)
File
"/home/galaxy/galaxy-2.1.2009/eggs/py2.5-noplatform/nose-0.9.1.dev_r101-py2.5.egg/nose/util.py",
line 200, in try_run
return func()
File "/home/galaxy/galaxy-2.1.2009/test/functional/__init__.py", line
88, in setup
server = httpserver.serve( webapp, host=galaxy_test_host,
port=galaxy_test_port, start_loop=False )
File
"/home/galaxy/galaxy-2.1.2009/eggs/py2.5-noplatform/Paste-1.5.1-py2.5.egg/paste/httpserver.py",
line 1257, in serve
threadpool_options=threadpool_options)
File
"/home/galaxy/galaxy-2.1.2009/eggs/py2.5-noplatform/Paste-1.5.1-py2.5.egg/paste/httpserver.py",
line 1107, in __init__
RequestHandlerClass, ssl_context)
File
"/home/galaxy/galaxy-2.1.2009/eggs/py2.5-noplatform/Paste-1.5.1-py2.5.egg/paste/httpserver.py",
line 1087, in __init__
RequestHandlerClass, ssl_context)
File
"/home/galaxy/galaxy-2.1.2009/eggs/py2.5-noplatform/Paste-1.5.1-py2.5.egg/paste/httpserver.py",
line 328, in __init__
HTTPServer.__init__(self, server_address, RequestHandlerClass)
File "/usr/lib/python2.5/SocketServer.py", line 330, in __init__
self.server_bind()
File "/usr/lib/python2.5/BaseHTTPServer.py", line 101, in server_bind
SocketServer.TCPServer.server_bind(self)
File "/usr/lib/python2.5/SocketServer.py", line 341, in server_bind
self.socket.bind(self.server_address)
File "<string>", line 1, in bind
error: (98, 'Address already in use')
************************************************************
It will be great if you can give me a suggestion.
Thanks in advance,
Vipin T S