BIND 10 #2621: python3.3 and failed session_test.py tests

BIND 10 Development do-not-reply at isc.org
Wed Jan 9 16:34:28 UTC 2013


#2621: python3.3 and failed session_test.py tests
-------------------------------------+-------------------------------------
                   Reporter:  jreed  |                 Owner:
                       Type:         |                Status:  new
  defect                             |             Milestone:  New Tasks
                   Priority:         |              Keywords:
  medium                             |             Sensitive:  0
                  Component:         |           Sub-Project:  Core
  Unclassified                       |  Estimated Difficulty:  0
               CVSS Scoring:         |           Total Hours:  0
            Defect Severity:  N/A    |
Feature Depending on Ticket:         |
        Add Hours to Ticket:  0      |
                  Internal?:  0      |
-------------------------------------+-------------------------------------
 This is with python 3.3.0. I didn't see this with python 3.2.3.

 {{{
 Running test: session_test.py
 ..FFFF........
 ======================================================================
 FAIL: test_group_reply (__main__.testSession)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File
 "/home/b10builder/builder/work/BIND10-valgrind/20130109095003-CentOS5-x86_64-GCC/build/src/lib/python/isc/cc/tests/session_test.py",
 line 382, in test_group_reply
     self.assertEqual(sent, b'\x00\x00\x00\x8b\x00{{"from": "test_name",
 "seq": 2, "to": "me", "instance": "other_instance", "reply": 4, "group":
 "our_group", "type": "send"}{"hello": "a"}')
 AssertionError: bytearray(b'\x00\x00\x00\x8b\x00{{"group": "our_group",
 "seq": 2, "to": "me", "type": "send", "from": "test_name", "instance":
 "other_instance", "reply": 4}{"hello": "a"}') !=
 b'\x00\x00\x00\x8b\x00{{"from": "test_name", "seq": 2, "to": "me",
 "instance": "other_instance", "reply": 4, "group": "our_group", "type":
 "send"}{"hello": "a"}'

 ======================================================================
 FAIL: test_group_sendmsg (__main__.testSession)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File
 "/home/b10builder/builder/work/BIND10-valgrind/20130109095003-CentOS5-x86_64-GCC/build/src/lib/python/isc/cc/tests/session_test.py",
 line 360, in test_group_sendmsg
     self.assertEqual(sent, b'\x00\x00\x00p\x00`{"from": "test_name",
 "seq": 2, "to": "*", "instance": "*", "group": "my_group", "type":
 "send"}{"hello": "a"}')
 AssertionError: bytearray(b'\x00\x00\x00p\x00`{"group": "my_group", "seq":
 2, "to": "*", "type": "send", "from": "test_name", "instance":
 "*"}{"hello": "a"}') != b'\x00\x00\x00p\x00`{"from": "test_name", "seq":
 2, "to": "*", "instance": "*", "group": "my_group", "type":
 "send"}{"hello": "a"}'

 ======================================================================
 FAIL: test_group_subscribe (__main__.testSession)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File
 "/home/b10builder/builder/work/BIND10-valgrind/20130109095003-CentOS5-x86_64-GCC/build/src/lib/python/isc/cc/tests/session_test.py",
 line 330, in test_group_subscribe
     self.assertEqual(sent, b'\x00\x00\x00<\x00:{"group": "mygroup",
 "type": "subscribe", "instance": "*"}')
 AssertionError: bytearray(b'\x00\x00\x00<\x00:{"type": "subscribe",
 "group": "mygroup", "instance": "*"}') != b'\x00\x00\x00<\x00:{"group":
 "mygroup", "type": "subscribe", "instance": "*"}'

 ======================================================================
 FAIL: test_group_unsubscribe (__main__.testSession)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File
 "/home/b10builder/builder/work/BIND10-valgrind/20130109095003-CentOS5-x86_64-GCC/build/src/lib/python/isc/cc/tests/session_test.py",
 line 344, in test_group_unsubscribe
     self.assertEqual(sent, b'\x00\x00\x00>\x00<{"group": "mygroup",
 "type": "unsubscribe", "instance": "*"}')
 AssertionError: bytearray(b'\x00\x00\x00>\x00<{"type": "unsubscribe",
 "group": "mygroup", "instance": "*"}') != b'\x00\x00\x00>\x00<{"group":
 "mygroup", "type": "unsubscribe", "instance": "*"}'

 ----------------------------------------------------------------------
 Ran 14 tests in 0.127s

 FAILED (failures=4)
 make[7]: *** [check-local] Error 1
 }}}

 This is on a CentOS 5.8 Linux system.

-- 
Ticket URL: <http://bind10.isc.org/ticket/2621>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list