[ 
https://issues.apache.org/jira/browse/DISPATCH-2324?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17544384#comment-17544384
 ] 

ASF subversion and git services commented on DISPATCH-2324:
-----------------------------------------------------------

Commit 63478c095b484e63404c589431f530e1eccd5e61 in qpid-dispatch's branch 
refs/heads/main from Jiri Daněk
[ https://gitbox.apache.org/repos/asf?p=qpid-dispatch.git;h=63478c09 ]

DISPATCH-2324 - Coordinate port assignment between all parallel tests spawned 
by ctest -j (#123) (#1567)



> Thread leak in system_tests_policy
> ----------------------------------
>
>                 Key: DISPATCH-2324
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-2324
>             Project: Qpid Dispatch
>          Issue Type: Bug
>    Affects Versions: 1.18.0
>            Reporter: Jiri Daněk
>            Assignee: Jiri Daněk
>            Priority: Trivial
>             Fix For: 1.20.0
>
>
> https://github.com/apache/qpid-dispatch/runs/4999085953?check_suite_focus=true#step:27:814
> {noformat}
> 25: Router QDR.Policy output file:
> 25: >>>>
> 25: ==================
> 25: WARNING: ThreadSanitizer: thread leak (pid=2135)
> 25:   Thread T3 (tid=2142, finished) created by main thread at:
> 25:     #0 pthread_create <null> (libtsan.so.0+0x5bef5)
> 25:     #1 sys_thread 
> /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/posix/threading.c:181
>  (qdrouterd+0x48179c)
> 25:     #2 qd_server_run 
> /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:1535 
> (qdrouterd+0x4dbb6c)
> 25:     #3 main_process 
> /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/router/src/main.c:115
>  (qdrouterd+0x426e8c)
> 25:     #4 main 
> /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/router/src/main.c:369
>  (qdrouterd+0x42629c)
> 25: 
> 25:   And 1 more similar thread leaks.
> 25: 
> 25: SUMMARY: ThreadSanitizer: thread leak (/lib64/libtsan.so.0+0x5bef5) in 
> pthread_create
> 25: ==================
> 25: ThreadSanitizer: reported 1 warnings
> 25: 
> 25: <<<<
> 25: 
> 25: Router QDR.Policy command file:
> 25: >>>>
> 25: qdrouterd -c vhost-policy-name-field.conf -I 
> /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/python
> 25: pid=2135
> 25: 
> 25: <<<<
> 25: 
> 25: Router QDR.Policy log file tail:
> 25: >>>>
> 25: 2022-01-30 22:01:25.447135 +0000 AGENT (debug) Add entity: 
> LogStatsEntity(criticalCount=0, debugCount=0, errorCount=0, 
> identity=logStats/CONTAINER, infoCount=0, name=CONTAINER, noticeCount=0, 
> traceCount=3, type=org.apache.qpid.dispatch.logStats, warningCount=0) 
> (/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py:682)
> 25: 2022-01-30 22:01:25.447751 +0000 AGENT (debug) Add entity: 
> LogStatsEntity(criticalCount=0, debugCount=0, errorCount=0, 
> identity=logStats/AUTHSERVICE, infoCount=0, name=AUTHSERVICE, noticeCount=0, 
> traceCount=0, type=org.apache.qpid.dispatch.logStats, warningCount=0) 
> (/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py:682)
> 25: 2022-01-30 22:01:25.448307 +0000 AGENT (debug) Add entity: 
> LogStatsEntity(criticalCount=0, debugCount=0, errorCount=0, 
> identity=logStats/CONN_MGR, infoCount=0, name=CONN_MGR, noticeCount=0, 
> traceCount=0, type=org.apache.qpid.dispatch.logStats, warningCount=0) 
> (/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py:682)
> 25: 2022-01-30 22:01:25.449758 +0000 AGENT (debug) Add entity: 
> LogStatsEntity(criticalCount=0, debugCount=0, errorCount=0, 
> identity=logStats/ROUTER_LS, infoCount=0, name=ROUTER_LS, noticeCount=0, 
> traceCount=0, type=org.apache.qpid.dispatch.logStats, warningCount=0) 
> (/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py:682)
> 25: 2022-01-30 22:01:25.450302 +0000 AGENT (debug) Add entity: 
> LogStatsEntity(criticalCount=0, debugCount=0, errorCount=0, 
> identity=logStats/HTTP_ADAPTOR, infoCount=0, name=HTTP_ADAPTOR, 
> noticeCount=0, traceCount=0, type=org.apache.qpid.dispatch.logStats, 
> warningCount=0) 
> (/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py:682)
> 25: 2022-01-30 22:01:25.451001 +0000 AGENT (debug) Add entity: 
> LogStatsEntity(criticalCount=0, debugCount=0, errorCount=0, 
> identity=logStats/ROUTER_CORE, infoCount=18, name=ROUTER_CORE, noticeCount=0, 
> traceCount=2, type=org.apache.qpid.dispatch.logStats, warningCount=0) 
> (/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py:682)
> 25: 2022-01-30 22:01:25.451570 +0000 AGENT (debug) Add entity: 
> LogStatsEntity(criticalCount=0, debugCount=0, errorCount=0, 
> identity=logStats/PROTOCOL, infoCount=0, name=PROTOCOL, noticeCount=0, 
> traceCount=0, type=org.apache.qpid.dispatch.logStats, warningCount=0) 
> (/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py:682)
> 25: 2022-01-30 22:01:25.452112 +0000 AGENT (debug) Add entity: 
> LogStatsEntity(criticalCount=0, debugCount=0, errorCount=0, 
> identity=logStats/TCP_ADAPTOR, infoCount=0, name=TCP_ADAPTOR, noticeCount=0, 
> traceCount=0, type=org.apache.qpid.dispatch.logStats, warningCount=0) 
> (/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py:682)
> 25: 2022-01-30 22:01:25.452704 +0000 AGENT (debug) Add entity: 
> LogStatsEntity(criticalCount=0, debugCount=0, errorCount=0, 
> identity=logStats/SERVER, infoCount=1, name=SERVER, noticeCount=0, 
> traceCount=0, type=org.apache.qpid.dispatch.logStats, warningCount=0) 
> (/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py:682)
> 25: 2022-01-30 22:01:25.453248 +0000 AGENT (debug) Add entity: 
> LogStatsEntity(criticalCount=0, debugCount=2, errorCount=0, 
> identity=logStats/HTTP, infoCount=0, name=HTTP, noticeCount=0, traceCount=18, 
> type=org.apache.qpid.dispatch.logStats, warningCount=0) 
> (/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py:682)
> 25: 2022-01-30 22:01:25.453846 +0000 AGENT (debug) Add entity: 
> AllocatorEntity(batchesRebalancedToGlobal=0, batchesRebalancedToThreads=0, 
> globalFreeListMax=0, heldByThreads=64, localFreeListMax=128, 
> totalAllocFromHeap=64, totalFreeToHeap=0, transferBatchSize=64, 
> type=org.apache.qpid.dispatch.allocator, typeName=qd_iterator_t, 
> typeSize=160) 
> (/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py:682)
> 25: 2022-01-30 22:01:25.454436 +0000 AGENT (debug) Add entity: 
> AllocatorEntity(batchesRebalancedToGlobal=0, batchesRebalancedToThreads=0, 
> globalFreeListMax=0, heldByThreads=128, localFreeListMax=128, 
> totalAllocFromHeap=128, totalFreeToHeap=0, transferBatchSize=64, 
> type=org.apache.qpid.dispatch.allocator, typeName=qd_hash_item_t, 
> typeSize=40) 
> (/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py:682)
> 25: 2022-01-30 22:01:25.455005 +0000 AGENT (debug) Add entity: 
> AllocatorEntity(batchesRebalancedToGlobal=0, batchesRebalancedToThreads=0, 
> globalFreeListMax=0, heldByThreads=64, localFreeListMax=128, 
> totalAllocFromHeap=64, totalFreeToHeap=0, transferBatchSize=64, 
> type=org.apache.qpid.dispatch.allocator, typeName=qd_node_t, typeSize=56) 
> (/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py:682)
> 25: 2022-01-30 22:01:25.455577 +0000 AGENT (debug) Add entity: 
> AllocatorEntity(batchesRebalancedToGlobal=0, batchesRebalancedToThreads=0, 
> globalFreeListMax=0, heldByThreads=64, localFreeListMax=128, 
> totalAllocFromHeap=64, totalFreeToHeap=0, transferBatchSize=64, 
> type=org.apache.qpid.dispatch.allocator, typeName=qd_timer_t, typeSize=72) 
> (/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py:682)
> 25: 2022-01-30 22:01:25.456208 +0000 AGENT (debug) Add entity: 
> AllocatorEntity(batchesRebalancedToGlobal=0, batchesRebalancedToThreads=0, 
> globalFreeListMax=0, heldByThreads=64, localFreeListMax=128, 
> totalAllocFromHeap=64, totalFreeToHeap=0, transferBatchSize=64, 
> type=org.apache.qpid.dispatch.allocator, typeName=qd_parse_tree_t, 
> typeSize=32) 
> (/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py:682)
> 25: 2022-01-30 22:01:25.456803 +0000 AGENT (debug) Add entity: 
> AllocatorEntity(batchesRebalancedToGlobal=0, batchesRebalancedToThreads=0, 
> globalFreeListMax=0, heldByThreads=64, localFreeListMax=128, 
> totalAllocFromHeap=64, totalFreeToHeap=0, transferBatchSize=64, 
> type=org.apache.qpid.dispatch.allocator, typeName=qd_parse_node_t, 
> typeSize=112) 
> (/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py:682)
> 25: 2022-01-30 22:01:25.460093 +0000 AGENT (debug) Add entity: 
> AllocatorEntity(batchesRebalancedToGlobal=0, batchesRebalancedToThreads=0, 
> globalFreeListMax=0, heldByThreads=128, localFreeListMax=128, 
> totalAllocFromHeap=128, totalFreeToHeap=0, transferBatchSize=64, 
> type=org.apache.qpid.dispatch.allocator, typeName=qdr_address_t, 
> typeSize=416) 
> (/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py:682)
> 25: 2022-01-30 22:01:25.460856 +0000 AGENT (debug) Add entity: 
> AllocatorEntity(batchesRebalancedToGlobal=0, batchesRebalancedToThreads=0, 
> globalFreeListMax=0, heldByThreads=128, localFreeListMax=128, 
> totalAllocFromHeap=128, totalFreeToHeap=0, transferBatchSize=64, 
> type=org.apache.qpid.dispatch.allocator, typeName=qd_bitmask_t, typeSize=24) 
> (/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py:682)
> 25: 2022-01-30 22:01:25.461487 +0000 AGENT (debug) Add entity: 
> AllocatorEntity(batchesRebalancedToGlobal=0, batchesRebalancedToThreads=0, 
> globalFreeListMax=0, heldByThreads=128, localFreeListMax=128, 
> totalAllocFromHeap=128, totalFreeToHeap=0, transferBatchSize=64, 
> type=org.apache.qpid.dispatch.allocator, typeName=qd_hash_handle_t, 
> typeSize=16) 
> (/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py:682)
> 25: 2022-01-30 22:01:25.462078 +0000 AGENT (debug) Add entity: 
> AllocatorEntity(batchesRebalancedToGlobal=0, batchesRebalancedToThreads=0, 
> globalFreeListMax=0, heldByThreads=64, localFreeListMax=128, 
> totalAllocFromHeap=64, totalFreeToHeap=0, transferBatchSize=64, 
> type=org.apache.qpid.dispatch.allocator, typeName=qdr_core_timer_t, 
> typeSize=40) 
> (/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py:682)
> 25: 2022-01-30 22:01:25.462686 +0000 AGENT (debug) Add entity: 
> AllocatorEntity(batchesRebalancedToGlobal=0, batchesRebalancedToThreads=0, 
> globalFreeListMax=0, heldByThreads=64, localFreeListMax=128, 
> totalAllocFromHeap=64, totalFreeToHeap=0, transferBatchSize=64, 
> type=org.apache.qpid.dispatch.allocator, typeName=qdr_action_t, typeSize=136) 
> (/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py:682)
> 25: 2022-01-30 22:01:25.463472 +0000 AGENT (debug) Add entity: 
> AllocatorEntity(batchesRebalancedToGlobal=0, batchesRebalancedToThreads=0, 
> globalFreeListMax=0, heldByThreads=64, localFreeListMax=128, 
> totalAllocFromHeap=64, totalFreeToHeap=0, transferBatchSize=64, 
> type=org.apache.qpid.dispatch.allocator, typeName=qdr_field_t, typeSize=40) 
> (/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py:682)
> 25: 2022-01-30 22:01:25.464112 +0000 AGENT (debug) Add entity: 
> AllocatorEntity(batchesRebalancedToGlobal=0, batchesRebalancedToThreads=0, 
> globalFreeListMax=0, heldByThreads=64, localFreeListMax=128, 
> totalAllocFromHeap=64, totalFreeToHeap=0, transferBatchSize=64, 
> type=org.apache.qpid.dispatch.allocator, typeName=qd_buffer_t, typeSize=536) 
> (/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py:682)
> 25: 2022-01-30 22:01:25.465300 +0000 AGENT (info) Activating management agent 
> on $_management_internal 
> (/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py:909)
> 25: 2022-01-30 22:01:25.465499 +0000 ROUTER_CORE (trace) Core action 
> 'subscribe' 
> (/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/router_core/router_core_thread.c:235)
> 25: 2022-01-30 22:01:25.465645 +0000 ROUTER_CORE (info) In-process 
> subscription L/$_management_internal 
> (/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/router_core/route_tables.c:651)
> 25: 2022-01-30 22:01:25.467898 +0000 POLICY (info) Policy configured 
> maxConnections: 2, policyDir: 
> '/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/tests/policy-1',access
>  rules enabled: 'true', use hostname patterns: 'false' 
> (/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/policy.c:166)
> 25: 2022-01-30 22:01:25.468192 +0000 AGENT (debug) Add entity: 
> PolicyEntity(defaultVhost=$default, enableVhostNamePatterns=False, 
> enableVhostPolicy=True, identity=policy/None, maxConnections=2, 
> maxMessageSize=0, name=policy/None, 
> policyDir=/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/tests/policy-1,
>  type=org.apache.qpid.dispatch.policy) 
> (/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py:682)
> 25: 2022-01-30 22:01:25.471931 +0000 POLICY (info) Policy fallback 
> defaultVhost is defined: '$default' 
> (/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/python/qpid_dispatch_internal/policy/policy_local.py:757)
> 25: 2022-01-30 22:01:25.474659 +0000 AGENT (debug) Add entity: 
> VhostStatsEntity(connectionsApproved=0, connectionsCurrent=0, 
> connectionsDenied=0, hostname=safari, id=safari, maxMessageSizeDenied=0, 
> perHostState={}, perUserState={}, receiverDenied=0, senderDenied=0, 
> sessionDenied=0, type=org.apache.qpid.dispatch.vhostStats) 
> (/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py:682)
> 25: 2022-01-30 22:01:25.475175 +0000 POLICY (info) Created policy rules for 
> vhost safari 
> (/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/python/qpid_dispatch_internal/policy/policy_local.py:710)
> 25: 2022-01-30 22:01:25.475600 +0000 AGENT (debug) Add entity: 
> VhostEntity(allowUnknownUser=True, groups={'anonymous': {'users': 
> 'anonymous', 'remoteHosts': '*', 'maxFrameSize': 111111, 'maxMessageSize': 
> 111111, 'maxSessionWindow': 111111, 'maxSessions': 1, 'maxSenders': 11, 
> 'maxReceivers': 11, 'allowDynamicSource': False, 'allowAnonymousSender': 
> False, 'sources': 'public', 'targets': ''}, 'clients': {'users': 'moja, 
> mbili', 'remoteHosts': '72.135.2.9', 'maxFrameSize': 222222, 
> 'maxMessageSize': 222222, 'maxSessionWindow': 222222, 'maxSessions': 2, 
> 'maxSenders': 22, 'maxReceivers': 22, 'allowDynamicSource': False, 
> 'allowAnonymousSender': False, 'sources': 'public, private', 'targets': 
> 'public'}, 'guides': {'users': 'kata, hapa', 'remoteHosts': '72.135.2.9, 
> 10.48.0.0-10.48.255.255, 192.168.0.0-192.168.255.255, 127.0.0.1', 
> 'maxFrameSize': 666666, 'maxMessageSize': 666666, 'maxSessionWindow': 666666, 
> 'maxSessions': 6, 'maxSenders': 66, 'maxReceivers': 66, 'allowDynamicSource': 
> False, 'allowAnonymousSender': False, 'sources': 'public, private, 
> management, root', 'targets': 'public, private, management, root'}, 
> '$default': {'remoteHosts': '*', 'maxFrameSize': 222222, 'maxMessageSize': 
> 222222, 'maxSessionWindow': 222222, 'maxSessions': 2, 'maxSenders': 22, 
> 'maxReceivers': 22, 'allowDynamicSource': False, 'allowAnonymousSender': 
> False, 'sources': 'public, private', 'targets': 'public'}}, hostname=safari, 
> identity=vhost/safari, maxConnections=10, maxConnectionsPerHost=5, 
> maxConnectionsPerUser=2, name=vhost/safari, 
> type=org.apache.qpid.dispatch.vhost) 
> (/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py:682)
> 25: 2022-01-30 22:01:25.477868 +0000 AGENT (debug) Add entity: 
> VhostStatsEntity(connectionsApproved=0, connectionsCurrent=0, 
> connectionsDenied=0, hostname=, id=, maxMessageSizeDenied=0, perHostState={}, 
> perUserState={}, receiverDenied=0, senderDenied=0, sessionDenied=0, 
> type=org.apache.qpid.dispatch.vhostStats) 
> (/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py:682)
> 25: 2022-01-30 22:01:25.478384 +0000 POLICY (info) Created policy rules for 
> vhost  
> (/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/python/qpid_dispatch_internal/policy/policy_local.py:710)
> 25: 2022-01-30 22:01:25.478649 +0000 AGENT (debug) Add entity: 
> VhostEntity(allowUnknownUser=True, groups={'$default': {'users': '*', 
> 'remoteHosts': '*', 'maxFrameSize': 222222, 'maxMessageSize': 222222, 
> 'maxSessionWindow': 222222, 'maxSessions': 2, 'maxSenders': 22, 
> 'maxReceivers': 22, 'allowDynamicSource': True, 'allowAnonymousSender': True, 
> 'sources': '$management', 'targets': '$management'}}, hostname=, 
> identity=vhost/, maxConnections=50, maxConnectionsPerHost=20, 
> maxConnectionsPerUser=5, name=vhost/, type=org.apache.qpid.dispatch.vhost) 
> (/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py:682)
> 25: 2022-01-30 22:01:25.479797 +0000 AGENT (debug) Add entity: 
> VhostStatsEntity(connectionsApproved=0, connectionsCurrent=0, 
> connectionsDenied=0, hostname=0.0.0.0, id=0.0.0.0, maxMessageSizeDenied=0, 
> perHostState={}, perUserState={}, receiverDenied=0, senderDenied=0, 
> sessionDenied=0, type=org.apache.qpid.dispatch.vhostStats) 
> (/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py:682)
> 25: 2022-01-30 22:01:25.480448 +0000 POLICY (info) Created policy rules for 
> vhost 0.0.0.0 
> (/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/python/qpid_dispatch_internal/policy/policy_local.py:710)
> 25: 2022-01-30 22:01:25.480709 +0000 AGENT (debug) Add entity: 
> VhostEntity(allowUnknownUser=True, groups={'$default': {'users': '*', 
> 'remoteHosts': '*', 'maxFrameSize': 222222, 'maxMessageSize': 222222, 
> 'maxSessionWindow': 222222, 'maxSessions': 2, 'maxSenders': 22, 
> 'maxReceivers': 22, 'allowDynamicSource': True, 'allowAnonymousSender': True, 
> 'sources': '$management', 'targets': '$management'}}, hostname=0.0.0.0, 
> identity=vhost/0.0.0.0, maxConnections=50, maxConnectionsPerHost=20, 
> maxConnectionsPerUser=5, name=vhost/0.0.0.0, 
> type=org.apache.qpid.dispatch.vhost) 
> (/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py:682)
> 25: 2022-01-30 22:01:25.481866 +0000 AGENT (debug) Add entity: 
> VhostStatsEntity(connectionsApproved=0, connectionsCurrent=0, 
> connectionsDenied=0, hostname=localhost, id=localhost, 
> maxMessageSizeDenied=0, perHostState={}, perUserState={}, receiverDenied=0, 
> senderDenied=0, sessionDenied=0, type=org.apache.qpid.dispatch.vhostStats) 
> (/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py:682)
> 25: 2022-01-30 22:01:25.482539 +0000 POLICY (info) Created policy rules for 
> vhost localhost 
> (/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/python/qpid_dispatch_internal/policy/policy_local.py:710)
> 25: 2022-01-30 22:01:25.482776 +0000 AGENT (debug) Add entity: 
> VhostEntity(allowUnknownUser=True, groups={'$default': {'users': '*', 
> 'remoteHosts': '*', 'maxFrameSize': 222222, 'maxMessageSize': 222222, 
> 'maxSessionWindow': 222222, 'maxSessions': 2, 'maxSenders': 22, 
> 'maxReceivers': 22, 'allowDynamicSource': True, 'allowAnonymousSender': True, 
> 'sources': '$management', 'targets': '$management'}}, hostname=localhost, 
> identity=vhost/localhost, maxConnections=50, maxConnectionsPerHost=20, 
> maxConnectionsPerUser=5, name=vhost/localhost, 
> type=org.apache.qpid.dispatch.vhost) 
> (/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py:682)
> 25: 2022-01-30 22:01:25.485952 +0000 AGENT (debug) Add entity: 
> VhostStatsEntity(connectionsApproved=0, connectionsCurrent=0, 
> connectionsDenied=0, hostname=boardwalk, id=boardwalk, 
> maxMessageSizeDenied=0, perHostState={}, perUserState={}, receiverDenied=0, 
> senderDenied=0, sessionDenied=0, type=org.apache.qpid.dispatch.vhostStats) 
> (/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py:682)
> 25: 2022-01-30 22:01:25.486479 +0000 POLICY (info) Created policy rules for 
> vhost boardwalk 
> (/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/python/qpid_dispatch_internal/policy/policy_local.py:710)
> 25: 2022-01-30 22:01:25.486873 +0000 AGENT (debug) Add entity: 
> VhostEntity(allowUnknownUser=True, groups={'anonymous': {'users': 
> 'anonymous', 'remoteHosts': '10.18.0.0-10.18.255.255, 
> 10.48.0.0-10.48.255.255, 192.168.0.0-192.168.255.255', 'maxFrameSize': 
> 111111, 'maxMessageSize': 111111, 'maxSessionWindow': 111111, 'maxSessions': 
> 1, 'maxSenders': 11, 'maxReceivers': 11, 'allowDynamicSource': False, 
> 'allowAnonymousSender': False, 'sources': 'public', 'targets': ''}, 'users': 
> {'users': 'u1, u2, u3', 'remoteHosts': '*', 'maxFrameSize': 222222, 
> 'maxMessageSize': 222222, 'maxSessionWindow': 222222, 'maxSessions': 2, 
> 'maxSenders': 22, 'maxReceivers': 22, 'allowDynamicSource': False, 
> 'allowAnonymousSender': False, 'sources': 'public, private', 'targets': 
> 'public'}, 'superuser': {'users': 'ellen', 'remoteHosts': '127.0.0.1, 
> 72.135.2.9', 'maxFrameSize': 666666, 'maxMessageSize': 666666, 
> 'maxSessionWindow': 666666, 'maxSessions': 6, 'maxSenders': 66, 
> 'maxReceivers': 66, 'allowDynamicSource': False, 'allowAnonymousSender': 
> False, 'sources': 'public, private, management, root', 'targets': 'public, 
> private, management, root'}, '$default': {'remoteHosts': '*', 'maxFrameSize': 
> 222222, 'maxMessageSize': 222222, 'maxSessionWindow': 222222, 'maxSessions': 
> 2, 'maxSenders': 22, 'maxReceivers': 22, 'allowDynamicSource': False, 
> 'allowAnonymousSender': False, 'sources': 'public, private', 'targets': 
> 'public'}}, hostname=boardwalk, identity=vhost/boardwalk, maxConnections=10, 
> maxConnectionsPerHost=5, maxConnectionsPerUser=2, name=vhost/boardwalk, 
> type=org.apache.qpid.dispatch.vhost) 
> (/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py:682)
> 25: 2022-01-30 22:01:25.488648 +0000 CONN_MGR (info) Configured Listener: 
> 0.0.0.0:23520 proto=any, role=normal 
> (/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/connection_manager.c:702)
> 25: 2022-01-30 22:01:25.489431 +0000 AGENT (debug) Add entity: 
> ListenerEntity(authenticatePeer=False, cost=1, healthz=True, host=0.0.0.0, 
> http=False, identity=listener/0.0.0.0:23520, idleTimeoutSeconds=120, 
> initialHandshakeTimeoutSeconds=0, maxFrameSize=16384, maxSessions=32768, 
> messageLoggingComponents=none, metrics=True, multiTenant=False, 
> name=listener/0.0.0.0:23520, port=23520, requireEncryption=False, 
> requireSsl=False, role=normal, saslMechanisms=ANONYMOUS, 
> stripAnnotations=both, type=org.apache.qpid.dispatch.listener, 
> websockets=True) 
> (/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py:682)
> 25: 2022-01-30 22:01:25.490082 +0000 SERVER (notice) Operational, 4 Threads 
> Running (process ID 2135) 
> (/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:1513)
> 25: 2022-01-30 22:01:25.490443 +0000 SERVER (notice) Process VmSize 124.50 
> TiB (6.79 GiB available memory) 
> (/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:1524)
> 25: 2022-01-30 22:01:25.492479 +0000 SERVER (error) Listener error on 
> 0.0.0.0:23520: Address already in use - listen on 0.0.0.0:23520 (proton:io) 
> (/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:880)
> 25: 2022-01-30 22:01:25.492617 +0000 SERVER (critical) Shutting down, 
> required listener failed 0.0.0.0:23520 
> (/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:884)
> {noformat}
> note the line (from the log above)
> {noformat}
> 25: 2022-01-30 22:01:25.492479 +0000 SERVER (error) Listener error on 
> 0.0.0.0:23520: Address already in use - listen on 0.0.0.0:23520 (proton:io) 
> (/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:880)
> {noformat}
> {noformat}
> 25: =================================== FAILURES 
> ===================================
> 25: _________________ VhostPolicyNameField.test_01_id_vs_hostname 
> __________________
> 25: 
> 25: self = <system_tests_policy.VhostPolicyNameField 
> testMethod=test_01_id_vs_hostname>
> 25: 
> 25:     def test_01_id_vs_hostname(self):
> 25:         # verify current vhost count
> 25:         rulesets = json.loads(self.run_qdmanage('query --type=vhost'))
> 25: >       self.assertEqual(len(rulesets), 5)
> 25: E       AssertionError: 1 != 5
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to