Jiri Daněk created DISPATCH-2052:
------------------------------------
Summary: Exception: Process did not terminate; AttributeError:
'NoneType' object has no attribute 'remote' in
system_tests_link_routes.LinkRoute3Hop
Key: DISPATCH-2052
URL: https://issues.apache.org/jira/browse/DISPATCH-2052
Project: Qpid Dispatch
Issue Type: Test
Affects Versions: 1.16.0
Reporter: Jiri Daněk
https://travis-ci.com/github/apache/qpid-dispatch/jobs/498884078#L2935
{noformat}
test 14
Start 14: system_tests_link_routes
14: Test command: /usr/bin/python
"/home/travis/build/apache/qpid-dispatch/build/tests/run.py" "-m" "unittest"
"-v" "system_tests_link_routes"
14: Test timeout computed to be: 600
14: test_address_propagation (system_tests_link_routes.ConnectionLinkRouteTest)
... ok
14: test_config_file_bad (system_tests_link_routes.ConnectionLinkRouteTest) ...
ok
14: test_mgmt (system_tests_link_routes.ConnectionLinkRouteTest) ... ok
14: test_send_receive (system_tests_link_routes.ConnectionLinkRouteTest) ... ok
14:
14: Router QDR.X output file:
14: >>>>
14: 2021-04-15 19:16:15.771365 +0000 AGENT (error) Contents of failed config
file
14: 2021-04-15 19:16:15.771515 +0000 AGENT (error) Line 1 |[["router", {
14: 2021-04-15 19:16:15.771572 +0000 AGENT (error) Line 2 |"debugDumpFile":
"/home/travis/build/apache/qpid-dispatch/build/tests/system_test.dir/system_tests_link_routes/ConnectionLinkRouteTest/test_config_file_bad/X-qddebug.txt",
14: 2021-04-15 19:16:15.771625 +0000 AGENT (error) Line 3 |"mode": "interior",
14: 2021-04-15 19:16:15.771685 +0000 AGENT (error) Line 4 |"id": "QDR.X"}],
14: 2021-04-15 19:16:15.771740 +0000 AGENT (error) Line 5 |["listener", {
14: 2021-04-15 19:16:15.771785 +0000 AGENT (error) Line 6
|"idleTimeoutSeconds": "120",
14: 2021-04-15 19:16:15.771827 +0000 AGENT (error) Line 7 |"saslMechanisms":
"ANONYMOUS",
14: 2021-04-15 19:16:15.771870 +0000 AGENT (error) Line 8 |"host": "0.0.0.0",
14: 2021-04-15 19:16:15.771912 +0000 AGENT (error) Line 9 |"role": "normal",
14: 2021-04-15 19:16:15.771956 +0000 AGENT (error) Line 10 |"authenticatePeer":
"no",
14: 2021-04-15 19:16:15.772013 +0000 AGENT (error) Line 11 |"port": "23026"}],
14: 2021-04-15 19:16:15.772061 +0000 AGENT (error) Line 12
|connection.["linkRoute", {
14: 2021-04-15 19:16:15.772111 +0000 AGENT (error) Line 13 |"pattern":
"i/am/bad",
14: 2021-04-15 19:16:15.772169 +0000 AGENT (error) Line 14 |"direction":
"out"}],
14: 2021-04-15 19:16:15.772227 +0000 AGENT (error) Line 15 |["log", {
14: 2021-04-15 19:16:15.772341 +0000 AGENT (error) Line 16 |"outputFile":
"X.log",
14: 2021-04-15 19:16:15.772394 +0000 AGENT (error) Line 17 |"enable": "trace+",
14: 2021-04-15 19:16:15.772434 +0000 AGENT (error) Line 18 |"includeSource":
"true",
14: 2021-04-15 19:16:15.772487 +0000 AGENT (error) Line 19 |"module":
"DEFAULT"}]]
14: 2021-04-15 19:16:15.772593 +0000 ERROR (error) Python: Exception: Cannot
load configuration file X.conf: No JSON object could be decoded
14: 2021-04-15 19:16:15.772851 +0000 ERROR (error) Traceback (most recent call
last):
14: File
"/home/travis/build/apache/qpid-dispatch/python/qpid_dispatch_internal/management/config.py",
line 286, in configure_dispatch
14: config = Config(filename)
14: File
"/home/travis/build/apache/qpid-dispatch/python/qpid_dispatch_internal/management/config.py",
line 64, in __init__
14: % (filename, e))
14: Exception: Cannot load configuration file X.conf: No JSON object could be
decoded
14:
14: 2021-04-15 19:16:15.772902 +0000 MAIN (critical) Router start-up failed:
Python: Exception: Cannot load configuration file X.conf: No JSON object could
be decoded
14: qdrouterd: Python: Exception: Cannot load configuration file X.conf: No
JSON object could be decoded
14:
14: <<<<
14:
14: Router QDR.B output file:
14: >>>>
14: -----------------------------------------------------
14: Suppressions used:
14: count bytes template
14: 6 336 qdr_core_subscribe
14: 37 120 _ctypes_alloc_format_string
14: 5093 3576424 /libpython2.*.so
14: -----------------------------------------------------
14:
14:
14: <<<<
14:
14: Router QDR.A output file:
14: >>>>
14: -----------------------------------------------------
14: Suppressions used:
14: count bytes template
14: 7 86 ^load_server_config$
14: 6 401 ^qd_dispatch_configure_connector$
14: 1 64 sys_mutex
14: 6 336 qdr_core_subscribe
14: 37 120 _ctypes_alloc_format_string
14: 5094 3576440 /libpython2.*.so
14: -----------------------------------------------------
14:
14:
14: <<<<
14:
14: Router QDR.A debug dump file:
14: >>>>
14: alloc.c: Items of type 'qd_timer_t' remain allocated at shutdown: 1
(SUPPRESSED)
14: alloc.c: Items of type 'qd_connector_t' remain allocated at shutdown: 1
(SUPPRESSED)
14:
14: <<<<
14: test_both_link_routes_active (system_tests_link_routes.Dispatch1428) ... ok
14:
14: Router QDR.B output file:
14: >>>>
14: -----------------------------------------------------
14: Suppressions used:
14: count bytes template
14: 14 126 ^load_server_config$
14: 12 794 ^qd_dispatch_configure_connector$
14: 2 128 sys_mutex
14: 6 336 qdr_core_subscribe
14: 37 120 _ctypes_alloc_format_string
14: 4997 3525368 /libpython2.*.so
14: -----------------------------------------------------
14:
14:
14: <<<<
14:
14: Router QDR.B debug dump file:
14: >>>>
14: alloc.c: Items of type 'qd_timer_t' remain allocated at shutdown: 2
(SUPPRESSED)
14: alloc.c: Items of type 'qd_connector_t' remain allocated at shutdown: 2
(SUPPRESSED)
14:
14: <<<<
14:
14: Router QDR.A output file:
14: >>>>
14: -----------------------------------------------------
14: Suppressions used:
14: count bytes template
14: 6 336 qdr_core_subscribe
14: 37 120 _ctypes_alloc_format_string
14: 4990 3517496 /libpython2.*.so
14: -----------------------------------------------------
14:
14:
14: <<<<
14: test_DISPATCH_1988 (system_tests_link_routes.EmptyTransferTest) ... ok
14:
14: Router QDR.A output file:
14: >>>>
14: -----------------------------------------------------
14: Suppressions used:
14: count bytes template
14: 7 70 ^load_server_config$
14: 6 401 ^qd_dispatch_configure_connector$
14: 1 64 sys_mutex
14: 1 56 qdr_core_subscribe
14: 37 120 _ctypes_alloc_format_string
14: 4978 3512080 /libpython2.*.so
14: -----------------------------------------------------
14:
14:
14: <<<<
14:
14: Router QDR.A debug dump file:
14: >>>>
14: alloc.c: Items of type 'qd_timer_t' remain allocated at shutdown: 1
(SUPPRESSED)
14: alloc.c: Items of type 'qd_connector_t' remain allocated at shutdown: 1
(SUPPRESSED)
14:
14: <<<<
14: test_01_parallel_link_routes (system_tests_link_routes.LinkRoute3Hop) ...
ERROR
14: ERROR
14: test_02_modified_outcome (system_tests_link_routes.LinkRoute3Hop) ... ERROR
14: test_03_rejected_outcome (system_tests_link_routes.LinkRoute3Hop) ... FAIL
14: test_04_extension_state (system_tests_link_routes.LinkRoute3Hop) ... ok
14:
14: Router QDR.C output file:
14: >>>>
14: -----------------------------------------------------
14: Suppressions used:
14: count bytes template
14: 7 86 ^load_server_config$
14: 6 401 ^qd_dispatch_configure_connector$
14: 1 64 sys_mutex
14: 6 336 qdr_core_subscribe
14: 37 120 _ctypes_alloc_format_string
14: 5109 3581320 /libpython2.*.so
14: -----------------------------------------------------
14:
14:
14: <<<<
14:
14: Router QDR.C debug dump file:
14: >>>>
14: alloc.c: Items of type 'qd_timer_t' remain allocated at shutdown: 1
(SUPPRESSED)
14: alloc.c: Items of type 'qd_connector_t' remain allocated at shutdown: 1
(SUPPRESSED)
14:
14: <<<<
14:
14: Router QDR.B output file:
14: >>>>
14: /home/travis/build/apache/qpid-dispatch/src/router_core/delivery.c:1084:25:
runtime error: load of value 153, which is not a valid value for type '_Bool'
14: #0 0x7f05bd698e99 in qdr_delivery_continue_peers_CT
/home/travis/build/apache/qpid-dispatch/src/router_core/delivery.c:1084
14: #1 0x7f05bd69942d in qdr_delivery_continue_CT
/home/travis/build/apache/qpid-dispatch/src/router_core/delivery.c:1127
14: #2 0x7f05bd6e3253 in router_core_thread
/home/travis/build/apache/qpid-dispatch/src/router_core/router_core_thread.c:240
14: #3 0x7f05bd634b17 in _thread_init
/home/travis/build/apache/qpid-dispatch/src/posix/threading.c:174
14: #4 0x7f05bcffa6b9 in start_thread
(/lib/x86_64-linux-gnu/libpthread.so.0+0x76b9)
14: #5 0x7f05bc02341c in clone (/lib/x86_64-linux-gnu/libc.so.6+0x10741c)
14:
14: SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior
/home/travis/build/apache/qpid-dispatch/src/router_core/delivery.c:1084
14: -----------------------------------------------------
14: Suppressions used:
14: count bytes template
14: 6 336 qdr_core_subscribe
14: 37 120 _ctypes_alloc_format_string
14: 5108 3584440 /libpython2.*.so
14: -----------------------------------------------------
14:
14:
14: <<<<
14:
14: Router QDR.A output file:
14: >>>>
14: -----------------------------------------------------
14: Suppressions used:
14: count bytes template
14: 7 86 ^load_server_config$
14: 6 401 ^qd_dispatch_configure_connector$
14: 1 64 sys_mutex
14: 6 336 qdr_core_subscribe
14: 37 120 _ctypes_alloc_format_string
14: 5116 3589096 /libpython2.*.so
14: -----------------------------------------------------
14:
14:
14: <<<<
14:
14: Router QDR.A debug dump file:
14: >>>>
14: alloc.c: Items of type 'qd_timer_t' remain allocated at shutdown: 1
(SUPPRESSED)
14: alloc.c: Items of type 'qd_connector_t' remain allocated at shutdown: 1
(SUPPRESSED)
14:
14: <<<<
14: test_DISPATCH_1496 (system_tests_link_routes.LinkRouteDrainTest) ... ok
14:
14: Router QDR.A output file:
14: >>>>
14: -----------------------------------------------------
14: Suppressions used:
14: count bytes template
14: 7 70 ^load_server_config$
14: 6 401 ^qd_dispatch_configure_connector$
14: 1 64 sys_mutex
14: 1 56 qdr_core_subscribe
14: 37 120 _ctypes_alloc_format_string
14: 4978 3512080 /libpython2.*.so
14: -----------------------------------------------------
14:
14:
14: <<<<
14:
14: Router QDR.A debug dump file:
14: >>>>
14: alloc.c: Items of type 'qd_timer_t' remain allocated at shutdown: 1
(SUPPRESSED)
14: alloc.c: Items of type 'qd_connector_t' remain allocated at shutdown: 1
(SUPPRESSED)
14:
14: <<<<
14: test_DISPATCH_1092 (system_tests_link_routes.LinkRouteProtocolTest) ... ok
14:
14: Router QDR.A output file:
14: >>>>
14: -----------------------------------------------------
14: Suppressions used:
14: count bytes template
14: 7 70 ^load_server_config$
14: 6 401 ^qd_dispatch_configure_connector$
14: 1 64 sys_mutex
14: 1 56 qdr_core_subscribe
14: 37 120 _ctypes_alloc_format_string
14: 4978 3512080 /libpython2.*.so
14: -----------------------------------------------------
14:
14:
14: <<<<
14:
14: Router QDR.A debug dump file:
14: >>>>
14: alloc.c: Items of type 'qd_timer_t' remain allocated at shutdown: 1
(SUPPRESSED)
14: alloc.c: Items of type 'qd_connector_t' remain allocated at shutdown: 1
(SUPPRESSED)
14:
14: <<<<
14: test_aaa_qdmanage_query_link_route (system_tests_link_routes.LinkRouteTest)
... ok
14: test_bad_link_route_config (system_tests_link_routes.LinkRouteTest) ... ok
14: test_bbb_qdstat_link_routes_routerB
(system_tests_link_routes.LinkRouteTest) ... ok
14: test_ccc_qdstat_link_routes_routerC
(system_tests_link_routes.LinkRouteTest) ... ok
14: test_close_with_unsettled (system_tests_link_routes.LinkRouteTest) ... ok
14: test_custom_annotations_match (system_tests_link_routes.LinkRouteTest) ...
ok
14: test_ddd_partial_link_route_match (system_tests_link_routes.LinkRouteTest)
... ok
14: test_detach_mixed_close (system_tests_link_routes.LinkRouteTest) ... ok
14: test_detach_without_close (system_tests_link_routes.LinkRouteTest) ... ok
14: test_dynamic_source (system_tests_link_routes.LinkRouteTest) ... ok
14: test_dynamic_target (system_tests_link_routes.LinkRouteTest) ... ok
14: test_echo_detach_received (system_tests_link_routes.LinkRouteTest) ... ok
14: test_full_link_route_match (system_tests_link_routes.LinkRouteTest) ... ok
14: test_full_link_route_match_1 (system_tests_link_routes.LinkRouteTest) ... ok
14: test_link_route_pattern_match (system_tests_link_routes.LinkRouteTest) ...
ok
14: test_link_route_terminus_address (system_tests_link_routes.LinkRouteTest)
... ok
14: test_partial_link_route_match_1 (system_tests_link_routes.LinkRouteTest)
... ok
14: test_same_name_route_receivers_through_B
(system_tests_link_routes.LinkRouteTest) ... ok
14: test_same_name_route_receivers_through_C
(system_tests_link_routes.LinkRouteTest) ... ok
14: test_same_name_route_senders_through_B
(system_tests_link_routes.LinkRouteTest) ... ok
14: test_same_name_route_senders_through_C
(system_tests_link_routes.LinkRouteTest) ... ok
14: test_www_drain_support_all_messages
(system_tests_link_routes.LinkRouteTest) ... ok
14: test_www_drain_support_no_messages (system_tests_link_routes.LinkRouteTest)
... ok
14: test_www_drain_support_no_more_messages
(system_tests_link_routes.LinkRouteTest) ... ok
14: test_www_drain_support_one_message (system_tests_link_routes.LinkRouteTest)
... ok
14: test_yyy_delivery_tag (system_tests_link_routes.LinkRouteTest) ... ok
14: test_yyy_invalid_delivery_tag (system_tests_link_routes.LinkRouteTest) ...
ok
14: test_zzz_qdmanage_delete_link_route
(system_tests_link_routes.LinkRouteTest) ... ok
14:
14: Router QDR.D output file:
14: >>>>
14: -----------------------------------------------------
14: Suppressions used:
14: count bytes template
14: 6 336 qdr_core_subscribe
14: 37 120 _ctypes_alloc_format_string
14: 4990 3517496 /libpython2.*.so
14: -----------------------------------------------------
14:
14:
14: <<<<
14:
14: Router QDR.C output file:
14: >>>>
14: -----------------------------------------------------
14: Suppressions used:
14: count bytes template
14: 6 336 qdr_core_subscribe
14: 37 120 _ctypes_alloc_format_string
14: 5113 3590456 /libpython2.*.so
14: -----------------------------------------------------
14:
14:
14: <<<<
14:
14: Router QDR.B output file:
14: >>>>
14: 2021-04-15 19:17:59.515456 +0000 AGENT (warning) Attribute 'dir' of entity
'linkRoute' has been deprecated. Use 'direction' instead
14: 2021-04-15 19:17:59.515918 +0000 AGENT (warning) Attribute 'dir' of entity
'linkRoute' has been deprecated. Use 'direction' instead
14: -----------------------------------------------------
14: Suppressions used:
14: count bytes template
14: 21 197 ^load_server_config$
14: 18 1191 ^qd_dispatch_configure_connector$
14: 3 192 sys_mutex
14: 6 336 qdr_core_subscribe
14: 37 120 _ctypes_alloc_format_string
14: 5135 3608360 /libpython2.*.so
14: -----------------------------------------------------
14:
14:
14: <<<<
14:
14: Router QDR.B debug dump file:
14: >>>>
14: alloc.c: Items of type 'qd_timer_t' remain allocated at shutdown: 3
(SUPPRESSED)
14: alloc.c: Items of type 'qd_connector_t' remain allocated at shutdown: 3
(SUPPRESSED)
14:
14: <<<<
14:
14: Router QDR.A output file:
14: >>>>
14: -----------------------------------------------------
14: Suppressions used:
14: count bytes template
14: 6 336 qdr_core_subscribe
14: 37 120 _ctypes_alloc_format_string
14: 4990 3517496 /libpython2.*.so
14: -----------------------------------------------------
14:
14:
14: <<<<
14:
14: ======================================================================
14: ERROR: test_01_parallel_link_routes (system_tests_link_routes.LinkRoute3Hop)
14: ----------------------------------------------------------------------
14: Traceback (most recent call last):
14: File
"/home/travis/build/apache/qpid-dispatch/tests/system_tests_link_routes.py",
line 2684, in test_01_parallel_link_routes
14: out_text, out_err = tx.communicate(timeout=TIMEOUT)
14: File "/home/travis/build/apache/qpid-dispatch/tests/system_test.py", line
340, in communicate
14: self.wait(timeout=timeout)
14: File "/home/travis/build/apache/qpid-dispatch/tests/system_test.py", line
327, in wait
14: raise Exception("Process did not terminate")
14: Exception: Process did not terminate
14:
14: ======================================================================
14: ERROR: test_01_parallel_link_routes (system_tests_link_routes.LinkRoute3Hop)
14: ----------------------------------------------------------------------
14: Traceback (most recent call last):
14: File "/home/travis/build/apache/qpid-dispatch/tests/system_test.py", line
872, in tearDown
14: Tester.teardown(self)
14: File "/home/travis/build/apache/qpid-dispatch/tests/system_test.py", line
808, in teardown
14: raise RuntimeError("Errors during teardown: \n\n%s" %
"\n\n".join([str(e) for e in errors]))
14: RuntimeError: Errors during teardown:
14:
14: Process 12487 error: still running
14: test-sender -a amqp://0.0.0.0:23035 -c 10 -i TestSender-9 -sx -t
closest/test-client
14:
/home/travis/build/apache/qpid-dispatch/build/tests/system_test.dir/system_tests_link_routes/LinkRoute3Hop/test_01_parallel_link_routes/test-sender-28.cmd
14: >>>>
14: <<<<
14:
14: Process 12486 error: still running
14: test-sender -a amqp://0.0.0.0:23035 -c 10 -i TestSender-8 -sx -t
closest/test-client
14:
/home/travis/build/apache/qpid-dispatch/build/tests/system_test.dir/system_tests_link_routes/LinkRoute3Hop/test_01_parallel_link_routes/test-sender-27.cmd
14: >>>>
14: <<<<
14:
14: Process 12485 error: still running
14: test-sender -a amqp://0.0.0.0:23035 -c 10 -i TestSender-7 -sx -t
closest/test-client
14:
/home/travis/build/apache/qpid-dispatch/build/tests/system_test.dir/system_tests_link_routes/LinkRoute3Hop/test_01_parallel_link_routes/test-sender-26.cmd
14: >>>>
14: <<<<
14:
14: Process 12483 error: still running
14: test-sender -a amqp://0.0.0.0:23035 -c 10 -i TestSender-5 -sx -t
closest/test-client
14:
/home/travis/build/apache/qpid-dispatch/build/tests/system_test.dir/system_tests_link_routes/LinkRoute3Hop/test_01_parallel_link_routes/test-sender-24.cmd
14: >>>>
14: <<<<
14:
14: Process 12482 error: still running
14: test-sender -a amqp://0.0.0.0:23035 -c 10 -i TestSender-4 -sx -t
closest/test-client
14:
/home/travis/build/apache/qpid-dispatch/build/tests/system_test.dir/system_tests_link_routes/LinkRoute3Hop/test_01_parallel_link_routes/test-sender-23.cmd
14: >>>>
14: <<<<
14:
14: Process 12481 error: still running
14: test-sender -a amqp://0.0.0.0:23035 -c 10 -i TestSender-3 -sx -t
closest/test-client
14:
/home/travis/build/apache/qpid-dispatch/build/tests/system_test.dir/system_tests_link_routes/LinkRoute3Hop/test_01_parallel_link_routes/test-sender-22.cmd
14: >>>>
14: <<<<
14:
14: Process 12480 error: still running
14: test-sender -a amqp://0.0.0.0:23035 -c 10 -i TestSender-2 -sx -t
closest/test-client
14:
/home/travis/build/apache/qpid-dispatch/build/tests/system_test.dir/system_tests_link_routes/LinkRoute3Hop/test_01_parallel_link_routes/test-sender-21.cmd
14: >>>>
14: <<<<
14:
14: Process 12479 error: still running
14: test-sender -a amqp://0.0.0.0:23035 -c 10 -i TestSender-1 -sx -t
closest/test-client
14:
/home/travis/build/apache/qpid-dispatch/build/tests/system_test.dir/system_tests_link_routes/LinkRoute3Hop/test_01_parallel_link_routes/test-sender-20.cmd
14: >>>>
14: <<<<
14:
14: Process 12478 error: still running
14: test-sender -a amqp://0.0.0.0:23035 -c 10 -i TestSender-0 -sx -t
closest/test-client
14:
/home/travis/build/apache/qpid-dispatch/build/tests/system_test.dir/system_tests_link_routes/LinkRoute3Hop/test_01_parallel_link_routes/test-sender-19.cmd
14: >>>>
14: <<<<
14:
14: Process 12477 error: still running
14: test-receiver -a amqp://0.0.0.0:23035 -c 100 -s closest/test-client
14:
/home/travis/build/apache/qpid-dispatch/build/tests/system_test.dir/system_tests_link_routes/LinkRoute3Hop/test_01_parallel_link_routes/test-receiver-18.cmd
14: >>>>
14: <<<<
14:
14:
{noformat}
{noformat}
======================================================================
14: ERROR: test_02_modified_outcome (system_tests_link_routes.LinkRoute3Hop)
14: ----------------------------------------------------------------------
14: Traceback (most recent call last):
14: File
"/home/travis/build/apache/qpid-dispatch/tests/system_tests_link_routes.py",
line 2727, in test_02_modified_outcome
14: state = sniffer.delivery.remote
14: AttributeError: 'NoneType' object has no attribute 'remote'
14:
14: ======================================================================
14: FAIL: test_03_rejected_outcome (system_tests_link_routes.LinkRoute3Hop)
14: ----------------------------------------------------------------------
14: Traceback (most recent call last):
14: File
"/home/travis/build/apache/qpid-dispatch/tests/system_tests_link_routes.py",
line 2766, in test_03_rejected_outcome
14: self.assertTrue(state.condition is not None)
14: AssertionError: False is not true
14:
14: ----------------------------------------------------------------------
14: Ran 40 tests in 122.774s
14:
14: FAILED (failures=1, errors=3)
14/72 Test #14: system_tests_link_routes ..........................***Failed
122.86 sec
{noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]