[qpid-jms] branch master updated (f857057 -> c5211ef)

2020-10-30 Thread robbie
This is an automated email from the ASF dual-hosted git repository.

robbie pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/qpid-jms.git.


from f857057  NO-JIRA: update GHA job matrix to use JDK15
 new dd8f09e  QPIDJMS-517: update to proton-j 0.33.7
 new c5211ef  QPIDJMS-518: Update to Netty 4.1.53.Final

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 pom.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


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



[qpid-jms] 02/02: QPIDJMS-518: Update to Netty 4.1.53.Final

2020-10-30 Thread robbie
This is an automated email from the ASF dual-hosted git repository.

robbie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/qpid-jms.git

commit c5211efeda5ef87b1a16eca346b98346306d1a1b
Author: Robbie Gemmell 
AuthorDate: Fri Oct 30 16:19:42 2020 +

QPIDJMS-518: Update to Netty 4.1.53.Final
---
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 3d68b97..2903124 100644
--- a/pom.xml
+++ b/pom.xml
@@ -37,7 +37,7 @@
   
 
 0.33.7
-4.1.51.Final
+4.1.53.Final
 1.7.30
 2.13.3
 1.0-alpha-2


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



[qpid-jms] 01/02: QPIDJMS-517: update to proton-j 0.33.7

2020-10-30 Thread robbie
This is an automated email from the ASF dual-hosted git repository.

robbie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/qpid-jms.git

commit dd8f09e7da7f0370011c39415b4faa6527287c7d
Author: Robbie Gemmell 
AuthorDate: Fri Oct 30 16:18:49 2020 +

QPIDJMS-517: update to proton-j 0.33.7
---
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 39fcc1b..3d68b97 100644
--- a/pom.xml
+++ b/pom.xml
@@ -36,7 +36,7 @@
 
   
 
-0.33.6
+0.33.7
 4.1.51.Final
 1.7.30
 2.13.3


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



[qpid-dispatch] branch dev-protocol-adaptors-2 updated: DISPATCH-1807: Add self tests for tcp protocol adaptor

2020-10-30 Thread chug
This is an automated email from the ASF dual-hosted git repository.

chug pushed a commit to branch dev-protocol-adaptors-2
in repository https://gitbox.apache.org/repos/asf/qpid-dispatch.git


The following commit(s) were added to refs/heads/dev-protocol-adaptors-2 by 
this push:
 new e29ea39  DISPATCH-1807: Add self tests for tcp protocol adaptor
e29ea39 is described below

commit e29ea396acfab940e54db36b569a865720ac9f8a
Author: Chuck Rolke 
AuthorDate: Fri Oct 30 09:40:35 2020 -0400

DISPATCH-1807: Add self tests for tcp protocol adaptor

* echo_server and echo_client modified to have a test class
  that runs the test proper.

* tcp_adaptor test runs the client and server test classes in
  separate threads and not in separate processes.

This closes #905
---
 tests/TCP_echo_client.py  | 422 +-
 tests/TCP_echo_server.py  | 357 +++-
 tests/system_tests_tcp_adaptor.py | 147 +++--
 3 files changed, 532 insertions(+), 394 deletions(-)

diff --git a/tests/TCP_echo_client.py b/tests/TCP_echo_client.py
index 5f2a687..57152e3 100755
--- a/tests/TCP_echo_client.py
+++ b/tests/TCP_echo_client.py
@@ -19,25 +19,33 @@
 # under the License.
 #
 
+from __future__ import unicode_literals
+from __future__ import division
+from __future__ import absolute_import
+from __future__ import print_function
+
 import argparse
 import os
 import selectors
+import signal
 import socket
 import sys
+from threading import Thread
 import time
 import traceback
 import types
 
 from system_test import Logger
+from system_test import TIMEOUT
 
+class GracefulKiller:
+  kill_now = False
+  def __init__(self):
+signal.signal(signal.SIGINT, self.exit_gracefully)
+signal.signal(signal.SIGTERM, self.exit_gracefully)
 
-class EchoLogger(Logger):
-def __init__(self, prefix="ECHO_LOGGER", title="EchoLogger", 
print_to_console=False, save_for_dump=False):
-self.prefix = prefix + ' ' if len(prefix) > 0 else ''
-super(EchoLogger, self).__init__(title=title, 
print_to_console=print_to_console, save_for_dump=save_for_dump)
-
-def log(self, msg):
-super(EchoLogger, self).log(self.prefix + msg)
+  def exit_gracefully(self,signum, frame):
+self.kill_now = True
 
 
 def split_chunk_for_display(raw_bytes):
@@ -55,192 +63,240 @@ def split_chunk_for_display(raw_bytes):
 return result
 
 
-def main_except(host, port, size, count, timeout, logger):
-'''
-:param host: connect to this host
-:param port: connect to this port
-:param size: size of individual payload chunks in bytes
-:param count: number of payload chunks
-:param strategy: "1" Send one payload;  # TODO
- Recv one payload
-:param logger: Logger() object
-:return:
-'''
-# Start up
-start_time = time.time()
-logger.log('Connecting to host:%s, port:%d, size:%d, count:%d' % (host, 
port, size, count))
-keep_going = True
-total_sent = 0
-total_rcvd = 0
-
-# outbound payload
-payload_out = []
-out_list_idx = 0  # current _out array being sent
-out_byte_idx = 0  # next-to-send in current array
-out_ready_to_send = True
-# Generate unique content for each message so you can tell where the 
message
-# or fragment belongs in the whole stream. Chunks look like:
-#b'[localhost:3:6:0]g'
-#host: localhost
-#port: 3
-#index: 6
-#offset into message: 0
-MAGIC_SIZE = 50 # Content repeats after chunks this big - used by echo 
server, too
-for idx in range(count):
-body_msg = ""
-padchar = "abcdefghijklmnopqrstuvwxyz@#$%"[idx % 30]
-while len(body_msg) < size:
-chunk = "[%s:%d:%d:%d]" % (host, port, idx, len(body_msg))
-padlen = MAGIC_SIZE - len(chunk)
-chunk += padchar * padlen
-body_msg += chunk
-if len(body_msg) > size:
-body_msg = body_msg[:size]
-payload_out.append(bytearray(body_msg.encode()))
-# incoming payloads
-payload_in  = []
-in_list_idx = 0 # current _in array being received
-for i in range(count):
-payload_in.append(bytearray())
-
-# set up connection
-host_address = (host, port)
-sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
-sock.connect(host_address)
-sock.setblocking(False)
-
-# set up selector
-sel = selectors.DefaultSelector()
-sel.register(sock,
- selectors.EVENT_READ | selectors.EVENT_WRITE)
-
-# event loop
-while keep_going:
-if timeout > 0.0:
-elapsed = time.time() - start_time
-if elapsed > timeout:
-logger.log("Exiting due to timeout. Total sent= %d, total 
rcvd= %d" % (total_sent, total_rcvd))
-break
-for key, mask in sel.select(timeout=0.1):
-sock = 

svn commit: r42136 - /release/qpid/proton/0.31.0/

2020-10-30 Thread robbie
Author: robbie
Date: Fri Oct 30 09:30:41 2020
New Revision: 42136

Log:
clean out old release

Removed:
release/qpid/proton/0.31.0/


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



svn commit: r42135 - in /release/qpid/dispatch: 1.12.0/ 1.13.0/

2020-10-30 Thread robbie
Author: robbie
Date: Fri Oct 30 09:30:08 2020
New Revision: 42135

Log:
clean out older releases

Removed:
release/qpid/dispatch/1.12.0/
release/qpid/dispatch/1.13.0/


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



svn commit: r42134 - /release/qpid/jms/0.53.0/

2020-10-30 Thread robbie
Author: robbie
Date: Fri Oct 30 09:29:14 2020
New Revision: 42134

Log:
clean out old release

Removed:
release/qpid/jms/0.53.0/


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



svn commit: r42133 - /release/qpid/proton-j/0.33.5/

2020-10-30 Thread robbie
Author: robbie
Date: Fri Oct 30 09:28:33 2020
New Revision: 42133

Log:
clean out older release

Removed:
release/qpid/proton-j/0.33.5/


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



svn commit: r42132 - /release/qpid/proton-j/0.33.7/

2020-10-30 Thread robbie
Author: robbie
Date: Fri Oct 30 09:27:56 2020
New Revision: 42132

Log:
add files for Proton-J 0.33.7

Added:
release/qpid/proton-j/0.33.7/
  - copied from r42131, dev/qpid/proton-j/0.33.7-rc1/


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