BIND 10 #648: Show BIND 10 children

BIND 10 Development do-not-reply at isc.org
Mon Mar 7 14:52:10 UTC 2011


#648: Show BIND 10 children
-------------------------------------+-------------------------------------
                 Reporter:  shane    |                Owner:  shane
                     Type:           |               Status:  reviewing
  enhancement                        |            Milestone:  A-Team-
                 Priority:  minor    |  Sprint-20110309
                Component:  Boss of  |           Resolution:
  BIND                               |            Sensitive:  0
                 Keywords:           |  Add Hours to Ticket:  0
Estimated Number of Hours:  0.0      |          Total Hours:  0
                Billable?:  1        |
                Internal?:  0        |
-------------------------------------+-------------------------------------
Changes (by vorner):

 * owner:  vorner => shane


Comment:

 Hello

 The tests start bind10? And the tests seem to expect only boss, msgq and
 cfgmgr is started. How is it prevented to start the other processes? I
 can't find it in the code. What did I miss? Anyway, I feel uneasy about
 starting the system.

 About the code:
  * I fixed few space issues (spaces at the end of line, mixing of tabs and
 spaces, broke one too long line). Directly commited to the branch, please
 check if it's OK.
  * assertTrue is nicer than assertEqual.
  * Shouldn't the new test file have a copyright header?
  * There are two print commands (one at the classSetUp, one at the boss
 unknown command). Are they wanted? Shouldn't they print to stderr? The
 second one should have a [bind10] prefix I guess.
  * The make distcheck fails:

 {{{
 Running test: bind10_cmd_test.py
 setupclass?
 EE
 ======================================================================
 ERROR: testPing (__main__.TestBossCmd)
 Simple aliveness check
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File
 "/home/vorner/work/bind10/bind10-devel-20110224/src/lib/python/isc/cc/session.py",
 line 55, in __init__
     self._socket.connect(self.socket_file)
 socket.error: [Errno 2] No such file or directory

 During handling of the above exception, another exception occurred:

 Traceback (most recent call last):
   File
 "/home/vorner/work/bind10/bind10-devel-20110224/_build/../src/bin/bind10/tests/bind10_cmd_test.py",
 line 53, in testPing
     self.cc = isc.cc.Session()
   File
 "/home/vorner/work/bind10/bind10-devel-20110224/src/lib/python/isc/cc/session.py",
 line 64, in __init__
     raise SessionError(se)
 isc.cc.session.SessionError: [Errno 2] No such file or directory

 ======================================================================
 ERROR: testShowServices (__main__.TestBossCmd)
 Get a list of children
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File
 "/home/vorner/work/bind10/bind10-devel-20110224/src/lib/python/isc/cc/session.py",
 line 55, in __init__
     self._socket.connect(self.socket_file)
 socket.error: [Errno 2] No such file or directory

 During handling of the above exception, another exception occurred:

 Traceback (most recent call last):
   File
 "/home/vorner/work/bind10/bind10-devel-20110224/_build/../src/bin/bind10/tests/bind10_cmd_test.py",
 line 94, in testShowServices
     self.cc = isc.cc.Session()
   File
 "/home/vorner/work/bind10/bind10-devel-20110224/src/lib/python/isc/cc/session.py",
 line 64, in __init__
     raise SessionError(se)
 isc.cc.session.SessionError: [Errno 2] No such file or directory

 ----------------------------------------------------------------------
 Ran 2 tests in 0.006s

 FAILED (errors=2)
 make[6]: *** [check-local] Error 1
 make[6]: Leaving directory
 `/home/vorner/work/bind10/bind10-devel-20110224/_build/src/bin/bind10/tests'
 make[5]: *** [check-am] Error 2
 make[5]: Leaving directory
 `/home/vorner/work/bind10/bind10-devel-20110224/_build/src/bin/bind10/tests'
 make[4]: *** [check-recursive] Error 1
 make[4]: Leaving directory
 `/home/vorner/work/bind10/bind10-devel-20110224/_build/src/bin/bind10'
 make[3]: *** [check-recursive] Error 1
 make[3]: Leaving directory
 `/home/vorner/work/bind10/bind10-devel-20110224/_build/src/bin'
 make[2]: *** [check-recursive] Error 1
 make[2]: Leaving directory
 `/home/vorner/work/bind10/bind10-devel-20110224/_build/src'
 make[1]: *** [check-recursive] Error 1
 make[1]: Leaving directory
 `/home/vorner/work/bind10/bind10-devel-20110224/_build'
 make: *** [distcheck] Error 1
 }}}

-- 
Ticket URL: <http://bind10.isc.org/ticket/648#comment:5>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list