[test-results] Unable to run Asterisk TestSuite successfully
Gunjan Aggarwal
gaggarwal at grammatech.com
Tue Jan 30 14:04:56 CST 2018
Hi,
I tried to executed Asterisk test suite as mentioned in Asterisk's wiki
page:
https://wiki.asterisk.org/wiki/display/AST/Installing+the+Asterisk+Test+Suite
I created an empty file "asterisk.conf" in the /etc/asterisk directory
and tried to execute test using the command "./runtests.py". But it
looks like either some dependencies are not met, or if they are met, I
get following error for that test case:
```
--> Running test 'tests/connected_line/subroutine' ...
Making sure Asterisk isn't running ...
Making sure SIPp isn't running...
Running ['tests/connected_line/subroutine/run-test'] ...
[Jan 30 19:02:28] ERROR[3242]: asterisk.asterisk:912
_make_directory_structure: Unable to discover dir layout from asterisk.conf
Traceback (most recent call last):
File "tests/connected_line/subroutine/run-test", line 45, in <module>
sys.exit(main() or 0)
File "tests/connected_line/subroutine/run-test", line 34, in main
test = ConnectedLineTest()
File
"/gt/asterisk/testsuite/testsuite/lib/python/asterisk/test_case.py",
line 827, in __init__
self.create_asterisk(count=1, test_config=test_config)
File
"/gt/asterisk/testsuite/testsuite/lib/python/asterisk/test_case.py",
line 304, in create_asterisk
self.test_config.get_deps())
File
"/gt/asterisk/testsuite/testsuite/lib/python/asterisk/asterisk.py", line
710, in install_configs
self._make_directory_structure()
File
"/gt/asterisk/testsuite/testsuite/lib/python/asterisk/asterisk.py", line
913, in _make_directory_structure
raise Exception("Unable to discover dir layout from asterisk.conf")
Exception: Unable to discover dir layout from asterisk.conf
```
Please suggest how to fix this "unable to discover dir layout from
asterisk.conf" error.
Thanks,
Gunjan
More information about the Test-results
mailing list