qpid-dispatch.git
2 months agoBump actions/upload-artifact from 2 to 3 (#1552) main
dependabot[bot] [Tue, 12 Jul 2022 10:03:14 +0000 (12:03 +0200)] 
Bump actions/upload-artifact from 2 to 3 (#1552)

Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 months agoBump apache from 25 to 26 (#1557)
dependabot[bot] [Tue, 12 Jul 2022 08:34:42 +0000 (10:34 +0200)] 
Bump apache from 25 to 26 (#1557)

Bumps [apache](https://github.com/apache/maven-apache-parent) from 25 to 26.
- [Release notes](https://github.com/apache/maven-apache-parent/releases)
- [Commits](https://github.com/apache/maven-apache-parent/commits)

---
updated-dependencies:
- dependency-name: org.apache:apache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 months agoBump actions/checkout from 2 to 3 (#1561)
dependabot[bot] [Tue, 12 Jul 2022 08:32:54 +0000 (10:32 +0200)] 
Bump actions/checkout from 2 to 3 (#1561)

Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.0.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3.0.2)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 months agoBump actions/setup-java from 2 to 3 (#1585)
dependabot[bot] [Tue, 12 Jul 2022 08:29:53 +0000 (10:29 +0200)] 
Bump actions/setup-java from 2 to 3 (#1585)

* Bump actions/setup-java from 2 to 3.4.1

Bumps [actions/setup-java](https://github.com/actions/setup-java) from 2 to 3.4.1.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v2...v3.4.1)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
* @v3

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jiri Daněk <jdanek@redhat.com>
3 months agoBump apache-rat-plugin from 0.13 to 0.14
dependabot[bot] [Mon, 13 Jun 2022 17:06:21 +0000 (17:06 +0000)] 
Bump apache-rat-plugin from 0.13 to 0.14

Bumps apache-rat-plugin from 0.13 to 0.14.

---
updated-dependencies:
- dependency-name: org.apache.rat:apache-rat-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
3 months agoBump actions/download-artifact from 2 to 3
dependabot[bot] [Fri, 10 Jun 2022 17:18:20 +0000 (17:18 +0000)] 
Bump actions/download-artifact from 2 to 3

Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 2 to 3.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
3 months agoBump docker/build-push-action from 2 to 3
dependabot[bot] [Fri, 10 Jun 2022 17:18:13 +0000 (17:18 +0000)] 
Bump docker/build-push-action from 2 to 3

Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 2 to 3.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
3 months agoDISPATCH-2347: updates package-lock json
Valerio [Thu, 9 Jun 2022 22:21:30 +0000 (00:21 +0200)] 
DISPATCH-2347: updates package-lock json

3 months agoDISPATCH-2346: Change PN_WEAKREF usage to PN_VOID
Andrew Stitcher [Thu, 9 Jun 2022 21:08:44 +0000 (17:08 -0400)] 
DISPATCH-2346: Change PN_WEAKREF usage to PN_VOID

PN_VOID is what should have been used initially as the context type in
this record is not a proton PN_OBJECT class type anyway. Moreover
PN_WEAKREF will soon not be exported as it probably can't be used
correctly outside Proton's own libraries.

3 months agoDISPATCH-2345: Fixed compilation failure by adding proton's object.h to 2 affected...
Ganesh Murthy [Thu, 9 Jun 2022 20:14:50 +0000 (16:14 -0400)] 
DISPATCH-2345: Fixed compilation failure by adding proton's object.h to 2 affected files

3 months agoBump actions/setup-python from 2 to 4
dependabot[bot] [Wed, 8 Jun 2022 17:02:19 +0000 (17:02 +0000)] 
Bump actions/setup-python from 2 to 4

Bumps [actions/setup-python](https://github.com/actions/setup-python) from 2 to 4.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v2...v4)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
3 months agoBump actions/cache from 2.1.6 to 3.0.4
dependabot[bot] [Tue, 7 Jun 2022 17:05:12 +0000 (17:05 +0000)] 
Bump actions/cache from 2.1.6 to 3.0.4

Bumps [actions/cache](https://github.com/actions/cache) from 2.1.6 to 3.0.4.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v2.1.6...v3.0.4)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
3 months agoDISPATCH-2344: Fixes #473 - Reduced the severity of "unknown router" logs from ERROR...
Ted Ross [Mon, 16 May 2022 23:38:08 +0000 (19:38 -0400)] 
DISPATCH-2344: Fixes #473 - Reduced the severity of "unknown router" logs from ERROR to WARNING.

(cherry picked from commit cd616e792a142d7b016fe6440d19ac37d728fe1f)

3 months agoFixes #473 - Never accept a differential MAU that doesn't have the expected sequence...
Ted Ross [Mon, 16 May 2022 22:20:08 +0000 (18:20 -0400)] 
Fixes #473 - Never accept a differential MAU that doesn't have the expected sequence number.
Changed "print_error_log" to something a bit more descriptive.

(cherry picked from commit f3389251a06795c26bdb6b66bd1fdf7d67fee6c0)

3 months agoFixes #155: avoid unnecessary Tester() instance in QdManager
Kenneth Giusti [Thu, 10 Mar 2022 20:33:43 +0000 (21:33 +0100)] 
Fixes #155: avoid unnecessary Tester() instance in QdManager

3 months agoNO-JIRA: Speed-up python-checker GHA job (#115)
Jiri Daněk [Wed, 9 Mar 2022 14:55:46 +0000 (15:55 +0100)] 
NO-JIRA: Speed-up python-checker GHA job (#115)

Use Ubuntu directly, and install minimal necessary amount of packages.

3 months agoFixes #482: replace reactor tests with proactor implementation (#488)
Ken Giusti [Thu, 19 May 2022 18:02:56 +0000 (14:02 -0400)] 
Fixes #482: replace reactor tests with proactor implementation (#488)

(cherry picked from commit ff073628c99e24eeb1904435666bb28eacfed20c)

3 months agoFix `QDROUTERD_RUNNER` CMake option parsing to be shell-like (#307) (#1566)
Jiri Daněk [Tue, 31 May 2022 13:30:55 +0000 (15:30 +0200)] 
Fix `QDROUTERD_RUNNER` CMake option parsing to be shell-like (#307) (#1566)

Previously, the option value was parsed by splitting the string at every space character, even within quoted substrings

3 months agoDISPATCH-2324 - Coordinate port assignment between all parallel tests spawned by...
Jiri Daněk [Tue, 31 May 2022 13:30:22 +0000 (15:30 +0200)] 
DISPATCH-2324 - Coordinate port assignment between all parallel tests spawned by ctest -j (#123) (#1567)

4 months agoDISPATCH-1689: fix typo in log index key
Kenneth Giusti [Tue, 15 Mar 2022 16:42:35 +0000 (12:42 -0400)] 
DISPATCH-1689: fix typo in log index key

4 months agoDISPATCH-1689 Wait for startup log line to ensure router is fully started in tests...
Jiri Daněk [Thu, 10 Mar 2022 17:31:57 +0000 (18:31 +0100)] 
DISPATCH-1689 Wait for startup log line to ensure router is fully started in tests (#140)

5 months agoDISPATCH-2338 - dockerfiles: Introduce Debian-based slim image w/ CI tests (#1550)
Ievgen Popovych [Tue, 19 Apr 2022 13:51:18 +0000 (16:51 +0300)] 
DISPATCH-2338 - dockerfiles: Introduce Debian-based slim image w/ CI tests (#1550)

* NO-JIRA: dockerfiles: Introduce Debian-based slim image

Use Debian stable release slim image with multistage build to
keep image size reasonable (143MB compared to 1.39GB Ubuntu based image).

Other changes compared to Ubuntu based image:
* libuv is enabled
* a bit more careful work with dependencies
* allow building web console
* faster builds with Ninja
* build from release, not master; configurable
* other minor changes in build process, etc

Signed-off-by: Ievgen Popovych <ievgenp@seetrue.ai>
* dockerfiles: debian: use epoll, cosmetics, include ca-certificates

* dockerfiles: debian: Clone from Github

* dockerfiles: debian: Make sure /usr/share/qpid-dispatch exists

..to fix build with disabled web console.

* dockerfiles: debian: Build from checked out source code

* NO-JIRA: [GHA] Build Debian image

* dockerfiles: debian: Install npm only if required (on build stage)

* NO-JIRA: Add dockerignore

5 months agoNO-JIRA: update vhost docs to include quotes
Paul Wright [Tue, 5 Apr 2022 13:56:12 +0000 (14:56 +0100)] 
NO-JIRA: update vhost docs to include quotes

6 months agoDISPATCH-2336: Fix Dockerfiles in the dockerfile folder (#1536)
Jiri Daněk [Wed, 16 Mar 2022 15:00:22 +0000 (16:00 +0100)] 
DISPATCH-2336: Fix Dockerfiles in the dockerfile folder (#1536)

6 months agoDISPATCH-2234: Update JavaScript console packages for the 1.19.0 release (round 2...
Jiri Daněk [Mon, 14 Mar 2022 19:15:57 +0000 (20:15 +0100)] 
DISPATCH-2234: Update JavaScript console packages for the 1.19.0 release (round 2) (#1537)

6 months agoNO-JIRA: bump version to 1.20.0-SNAPSHOT
Kenneth Giusti [Wed, 2 Mar 2022 00:17:28 +0000 (19:17 -0500)] 
NO-JIRA: bump version to 1.20.0-SNAPSHOT

6 months agoDISPATCH-2144 Remove Python lock on the router's side; use the lock Python itself... 1.19.0-freeze
Jiri Daněk [Tue, 1 Mar 2022 14:13:36 +0000 (15:13 +0100)] 
DISPATCH-2144 Remove Python lock on the router's side; use the lock Python itself created (#1521)

7 months agoDISPATCH-2276: Accomodate hex values in 0.36+ qpid-proton logging (#1525)
Chuck Rolke [Tue, 22 Feb 2022 17:09:59 +0000 (12:09 -0500)] 
DISPATCH-2276: Accomodate hex values in 0.36+ qpid-proton logging (#1525)

* DISPATCH-2276: Accomodate hex values in 0.36+ qpid-proton logging

* Fix code that extracts integer values during AMQP analysis
* Convert ints from hex to decimal for web display of values line
  link and session numbers and credit.

* DISPATCH-2276: Topology disposition test does not need to import proton

Co-authored-by: chug <chug@taj.localdomain>
Co-authored-by: Chuck Rolke <chug@apache.org>
7 months agoDISPATCH-2326: Additional fix. Remove the nghttp2 library from CMakeLists.txt and... 1523/head
Ganesh Murthy [Thu, 17 Feb 2022 19:35:19 +0000 (14:35 -0500)] 
DISPATCH-2326: Additional fix. Remove the nghttp2 library from CMakeLists.txt and other files

7 months agoDISPATCH-2333: fix incorrect assertion check
Kenneth Giusti [Mon, 21 Feb 2022 19:27:51 +0000 (14:27 -0500)] 
DISPATCH-2333: fix incorrect assertion check

This closes #1528

7 months agoNO-JIRA: Bump apache.pom (for Rat licenses check) from 24 to 25 (#1527)
dependabot[bot] [Tue, 22 Feb 2022 15:51:44 +0000 (16:51 +0100)] 
NO-JIRA: Bump apache.pom (for Rat licenses check) from 24 to 25 (#1527)

Bumps [apache](https://github.com/apache/maven-apache-parent) from 24 to 25.
- [Release notes](https://github.com/apache/maven-apache-parent/releases)
- [Commits](https://github.com/apache/maven-apache-parent/commits)

---
updated-dependencies:
- dependency-name: org.apache:apache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
7 months agoDISPATCH-1487: Message annotations re-write
Kenneth Giusti [Wed, 1 Dec 2021 14:55:17 +0000 (09:55 -0500)] 
DISPATCH-1487: Message annotations re-write

This patch completely refactors how message annotations are processed
by the router. The primary changes done in this re-design are:

- Removal of the old parse_turbo functionality.
- Avoid all annotation process for link-routed messages
- Avoid composing all outgoing annotations on the receive path. This
  is now done during qd_message_send().
- Avoid composing the trace list and ingress manually in various parts
  of the code. This is now done once at qd_message_send().
- Optimize parsing of incoming annotations using the buffer_field API.
- Consolidate message compose functions into a message constructor.
- Optimize the composing of outgoing annotations by:
  - pre-encoding all static key values and router id
  - in-line more of the encoding code

7 months agoDISPATCH-1403: define a common buffer field API
Kenneth Giusti [Tue, 23 Nov 2021 18:17:58 +0000 (13:17 -0500)] 
DISPATCH-1403: define a common buffer field API

Export the buffer data handling routines in the interator library as a
general API. Inlined for performance.

7 months agoDISPATCH-2234: Update JavaScript console packages for the 1.19.0 release (#1517)
Jiri Daněk [Thu, 17 Feb 2022 00:37:04 +0000 (01:37 +0100)] 
DISPATCH-2234: Update JavaScript console packages for the 1.19.0 release (#1517)

* Error: A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.
* Error: You cannot render a <Router> inside another <Router>. You should never have more than one in your app.

See https://reactrouter.com/docs/en/v6/upgrading/v5, and therein linked https://gist.github.com/mjackson/d54b40a094277b7afdd6b81f51a0393f

* BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
* Module not found: Error: Can't resolve 'os' in '/home/jdanek/repos/qpid/qpid-dispatch/console/react/node_modules/rhea/lib'
* https://github.com/facebook/create-react-app/issues/11756
* downgraded and filled https://github.com/amqp/rhea/issues/379

7 months agoDISPATCH-2314: Added TSAN suppression entry to suppress errors when setting the prese... 1518/head
Ganesh Murthy [Wed, 16 Feb 2022 14:49:27 +0000 (09:49 -0500)] 
DISPATCH-2314: Added TSAN suppression entry to suppress errors when setting the presettled flag in qdr_delivery_continue_CT

7 months agoDISPATCH-2326: Removed HTTP1/HTTP2/TCP adaptors and other adaptor related code 1491/head
Ganesh Murthy [Thu, 13 Jan 2022 15:40:46 +0000 (10:40 -0500)] 
DISPATCH-2326: Removed HTTP1/HTTP2/TCP adaptors and other adaptor related code

7 months agoDISPATCH-2330: Removed test_30_presettled_overflow since that test case is already...
Ganesh Murthy [Wed, 16 Feb 2022 15:01:08 +0000 (10:01 -0500)] 
DISPATCH-2330: Removed test_30_presettled_overflow since that test case  is already covered in system_tests_delivery_counts.OneRouterLinkCountersTest  testMethod=test_06_large_message_released

7 months agoDISPATCH-2329: Explicity check for released counts instead of delivery counts of...
Ganesh Murthy [Mon, 14 Feb 2022 16:56:42 +0000 (11:56 -0500)] 
DISPATCH-2329: Explicity check for released counts instead of delivery counts of deliveries that are being released

7 months agoDISPATCH-2328: detect _FORTIFY_SOURCE in c_unittests and bail out (#1514)
Jiri Daněk [Thu, 10 Feb 2022 22:03:37 +0000 (23:03 +0100)] 
DISPATCH-2328: detect _FORTIFY_SOURCE in c_unittests and bail out (#1514)

7 months agoDISPATCH-2327: clean up link routes at end of tests
Kenneth Giusti [Thu, 10 Feb 2022 13:58:54 +0000 (08:58 -0500)] 
DISPATCH-2327: clean up link routes at end of tests

This closes #1512

7 months agoDISPATCH-2323 Add Pytest-compatible logging displayed on test failure
Jiri Daněk [Sun, 30 Jan 2022 17:04:12 +0000 (18:04 +0100)] 
DISPATCH-2323 Add Pytest-compatible logging displayed on test failure

7 months agoDISPATCH-2323 Simplify test HTTPServer shutdown and fix its leaks
Jiri Daněk [Sun, 30 Jan 2022 01:37:49 +0000 (02:37 +0100)] 
DISPATCH-2323 Simplify test HTTPServer shutdown and fix its leaks

7 months agoDISPATCH-2323 Try binding to a port before handing it out as "free"
Jiri Daněk [Sun, 30 Jan 2022 00:31:33 +0000 (01:31 +0100)] 
DISPATCH-2323 Try binding to a port before handing it out as "free"

7 months agoDISPATCH-2310: limit router identifiers to 127 characters maximum 1511/head
Kenneth Giusti [Wed, 19 Jan 2022 23:02:25 +0000 (18:02 -0500)] 
DISPATCH-2310: limit router identifiers to 127 characters maximum

7 months agoDISPATCH-2132: atomic access to core uptime counter
Kenneth Giusti [Thu, 27 Jan 2022 20:39:39 +0000 (15:39 -0500)] 
DISPATCH-2132: atomic access to core uptime counter

This closes #1501

7 months agoDISPATCH-2319: Modified test to verify closed receiver before sending second batch... 1507/head
Ganesh Murthy [Tue, 1 Feb 2022 20:15:41 +0000 (15:15 -0500)] 
DISPATCH-2319: Modified test to verify closed receiver before sending second batch of presettled messages

7 months agoDISPATCH-2321 Add mypy ignores for quart and websockets (#1508)
Jiri Daněk [Wed, 2 Feb 2022 00:34:33 +0000 (01:34 +0100)] 
DISPATCH-2321 Add mypy ignores for quart and websockets (#1508)

7 months agoDISPATCH-1783 Fix issues with cpp-stub
Jiri Daněk [Sat, 25 Dec 2021 13:20:18 +0000 (14:20 +0100)] 
DISPATCH-1783 Fix issues with cpp-stub

* https://github.com/coolxv/cpp-stub/issues/21
* https://github.com/coolxv/cpp-stub/issues/22

7 months agoDISPATCH-1783 first test using the cpp-stub tool
Jiri Daněk [Wed, 22 Dec 2021 18:31:11 +0000 (19:31 +0100)] 
DISPATCH-1783 first test using the cpp-stub tool

The test was originally proposed on DISPATCH-1566

7 months agoDISPATCH-1783 add cpp-stub unittest mocking/stubbing tool
Jiri Daněk [Wed, 22 Dec 2021 18:27:52 +0000 (19:27 +0100)] 
DISPATCH-1783 add cpp-stub unittest mocking/stubbing tool

7 months agoNO-JIRA Update gcc to gcc-11 for TSAN Travis job
Jiri Daněk [Sat, 29 Jan 2022 16:35:53 +0000 (17:35 +0100)] 
NO-JIRA Update gcc to gcc-11 for TSAN Travis job

7 months agoNO-JIRA Add macro to disable thread sanitizer
Jiri Daněk [Sun, 26 Dec 2021 12:27:44 +0000 (13:27 +0100)] 
NO-JIRA Add macro to disable thread sanitizer

7 months agoNO-JIRA Upgrade doctest.h: 2.4.7 -> 2.4.8 (#1505)
Jiri Daněk [Sat, 29 Jan 2022 16:52:48 +0000 (17:52 +0100)] 
NO-JIRA Upgrade doctest.h: 2.4.7 -> 2.4.8 (#1505)

7 months agoDISPATCH-2321 Add mypy check for the Python code 1504/head
Jiri Daněk [Sat, 29 Jan 2022 12:53:17 +0000 (13:53 +0100)] 
DISPATCH-2321 Add mypy check for the Python code

7 months agoDISPATCH-2272 Mark all functions called from Python with QD_EXPORT (#1413) 1413/head
Jiri Danek [Sun, 31 Oct 2021 10:38:20 +0000 (11:38 +0100)] 
DISPATCH-2272 Mark all functions called from Python with QD_EXPORT (#1413)

7 months agoDISPATCH-1974 Add pylint checker with suppressions (#1503)
Jiri Daněk [Sat, 8 Jan 2022 13:15:32 +0000 (14:15 +0100)] 
DISPATCH-1974 Add pylint checker with suppressions (#1503)

resolves #1503

8 months agoDISPATCH-2126: mask TSAN warning on delivery settled flag 1500/head
Kenneth Giusti [Thu, 27 Jan 2022 19:53:24 +0000 (14:53 -0500)] 
DISPATCH-2126: mask TSAN warning on delivery settled flag

8 months agoDISPATCH-2318: fix double-free of subscription on shutdown
Kenneth Giusti [Wed, 26 Jan 2022 21:14:17 +0000 (16:14 -0500)] 
DISPATCH-2318: fix double-free of subscription on shutdown

This closes #1498

8 months agoDISPATCH-2316 Py_INCREF usage of Py_True/Py_False to prevent crashes during GC (... 1496/head
Jiri Daněk [Sat, 22 Jan 2022 18:33:29 +0000 (19:33 +0100)] 
DISPATCH-2316 Py_INCREF usage of Py_True/Py_False to prevent crashes during GC (#1496)

8 months agoDISPATCH-2144 Fatal Python error: _PyMem_DebugMalloc: Python memory allocator called... 1495/head
Jiri Daněk [Sat, 22 Jan 2022 18:32:51 +0000 (19:32 +0100)] 
DISPATCH-2144 Fatal Python error: _PyMem_DebugMalloc: Python memory allocator called without holding the GIL (#1495)

8 months agoDISPATCH-2308: avoid infinite loop when generating temp addresses
Kenneth Giusti [Thu, 20 Jan 2022 15:38:17 +0000 (10:38 -0500)] 
DISPATCH-2308: avoid infinite loop when generating temp addresses

This closes #1484

8 months agoDISPATCH-2312: replace no-op test with credit test
Kenneth Giusti [Wed, 26 Jan 2022 19:49:13 +0000 (14:49 -0500)] 
DISPATCH-2312: replace no-op test with credit test

This closes #1497

8 months agoDISPATCH-2317: advertise the version of MA supported by the router
Kenneth Giusti [Mon, 24 Jan 2022 22:56:37 +0000 (17:56 -0500)] 
DISPATCH-2317: advertise the version of MA supported by the router

8 months agoDISPATCH-2309: Ensure rx message validation succeeds before forwarding
Kenneth Giusti [Mon, 17 Jan 2022 14:19:34 +0000 (09:19 -0500)] 
DISPATCH-2309: Ensure rx message validation succeeds before forwarding

o Determine the proper validation depth if message logging used
o move message logging calls to point of forwarding
o Include link-routed messages in validation
o Fail if attempting to validate after streaming buffers freed
o Extra Credit: add message rejection errors and remove dead code

8 months agoDISPATCH-1913: Tidy up qpid_dispatch.management.client.Node 1494/head
Andrew Stitcher [Fri, 29 Jan 2021 02:10:32 +0000 (21:10 -0500)] 
DISPATCH-1913: Tidy up qpid_dispatch.management.client.Node

8 months agoDISPATCH-2307: prevent router failure if id is greater than 64 bytes
Kenneth Giusti [Fri, 14 Jan 2022 14:12:38 +0000 (09:12 -0500)] 
DISPATCH-2307: prevent router failure if id is greater than 64 bytes

fixes:
  - buffer overflow in iterator library
  - incorrect fanout value for locally destined messages

This closes #1478

8 months agoDISPATCH-2305: prevent policy defaults overriding configuration
Kenneth Giusti [Fri, 7 Jan 2022 22:22:51 +0000 (17:22 -0500)] 
DISPATCH-2305: prevent policy defaults overriding configuration

This closes #1475

8 months agoNO-JIRA: update years in NOTICE file
Robbie Gemmell [Mon, 10 Jan 2022 11:57:42 +0000 (11:57 +0000)] 
NO-JIRA: update years in NOTICE file

8 months agoNO-JIRA use pip-installed tox instead of system-wide in Travis CI (#1473)
Jiri Daněk [Fri, 7 Jan 2022 10:55:50 +0000 (11:55 +0100)] 
NO-JIRA use pip-installed tox instead of system-wide in Travis CI (#1473)

* NO-JIRA use pip-installed tox instead of system-wide in Travis CI

```
75: Test command: /usr/bin/tox
[...]
75: py38 create: /home/travis/build/apache/qpid-dispatch/build/tests/.tox/py38
75: ERROR: invocation failed (exit code 1), logfile: /home/travis/build/apache/qpid-dispatch/build/tests/.tox/py38/log/py38-0.log
```

8 months agoDISPATCH-2299 handle compilation when libwebsockets is not found (#1474)
Jiri Daněk [Fri, 7 Jan 2022 08:17:57 +0000 (09:17 +0100)] 
DISPATCH-2299 handle compilation when libwebsockets is not found (#1474)

8 months agoDISPATCH-2299 re-enable system_tests_http delete listeners (#1468)
Jiri Daněk [Thu, 6 Jan 2022 12:20:11 +0000 (13:20 +0100)] 
DISPATCH-2299 re-enable system_tests_http delete listeners (#1468)

* DISPATCH-2299 re-enable system_tests_http delete listeners with libwebsockets >= 4.2

This change also follows-up on changes in DISPATCH-2035 by that it removes
the two remaining `configure_file` calls in CMakeLists.txt creating output
in the `CMAKE_CURRENT_SOURCE_DIR`.

* fixup, the test was not previously deleting listener on CentOS 7 and it was broken there

8 months agoNO-JIRA upgrade doctest.h from 2.4.6 to 2.4.7
Jiri Daněk [Wed, 5 Jan 2022 11:41:06 +0000 (12:41 +0100)] 
NO-JIRA upgrade doctest.h from 2.4.6 to 2.4.7

8 months agoNO-JIRA Add released Proton row into GHA test matrix
Jiri Daněk [Tue, 4 Jan 2022 10:42:47 +0000 (11:42 +0100)] 
NO-JIRA Add released Proton row into GHA test matrix

8 months agoDISPATCH-2301 - Added facility for annotating new messages. Invoked this facility...
Ted Ross [Wed, 22 Dec 2021 19:08:07 +0000 (14:08 -0500)] 
DISPATCH-2301 - Added facility for annotating new messages.  Invoked this facility from the TCP, HTTP1, and HTTP2 adaptors.

9 months agoDISPATCH-2298: Avoid rescheduling qd_timer if we are already servicing timer
Andrew Stitcher [Mon, 6 Dec 2021 20:58:46 +0000 (15:58 -0500)] 
DISPATCH-2298: Avoid rescheduling qd_timer if we are already servicing timer

If we are in the middle of running through the list of timers in
qd_timer_visit() we don't need to wake the timer as anything we add to
the list will get serviced immediately in any case.

9 months agoDISPATCH-2300: Fixed test to not look for contents of transfer message. Also a minor... 1463/head
Ganesh Murthy [Thu, 16 Dec 2021 15:15:33 +0000 (10:15 -0500)] 
DISPATCH-2300: Fixed test to not look for contents of transfer message. Also a minor fix to the connection creation code

9 months agoDISPATCH-2275: restore testing of proton main branch in CI 1431/head
Kenneth Giusti [Fri, 5 Nov 2021 17:27:30 +0000 (13:27 -0400)] 
DISPATCH-2275: restore testing of proton main branch in CI

9 months agoNO-JIRA Add Python 3.10 tox profile
Jiri Danek [Fri, 5 Nov 2021 16:21:09 +0000 (17:21 +0100)] 
NO-JIRA Add Python 3.10 tox profile

9 months agoNO-JIRA Update GHA to Fedora 35
Jiri Danek [Fri, 5 Nov 2021 13:42:56 +0000 (14:42 +0100)] 
NO-JIRA Update GHA to Fedora 35

10 months agoDISPATCH-2270 Use PyLong_FromVoidPtr to reliably pass void* values into Python regard...
Jiri Daněk [Sat, 20 Nov 2021 22:11:00 +0000 (23:11 +0100)] 
DISPATCH-2270 Use PyLong_FromVoidPtr to reliably pass void* values into Python regardless of platform type sizes (#1409)

10 months agoNO-JIRA Consistently use Python 3 in all Travis CI jobs (#1449)
Jiri Daněk [Sat, 20 Nov 2021 22:00:18 +0000 (23:00 +0100)] 
NO-JIRA Consistently use Python 3 in all Travis CI jobs (#1449)

10 months agoDISPATCH-2103 Log actual HTTP listener port number when 0 is configured (#1425)
Jiri Daněk [Sat, 20 Nov 2021 20:07:30 +0000 (21:07 +0100)] 
DISPATCH-2103 Log actual HTTP listener port number when 0 is configured (#1425)

Unit tests and related changes for the log message amount to much of the bulk of this commit.

* Old g++ (RHEL 7) does not properly implement regexes
* On Ubuntu and rarely Fedora, and all other modern Linuxes, the qd_lws_listener_free is sometimes not called in my test. This is resolved with the .finalize, available only in LibWebSockets 3.1 (RHEL 7 has version 3.0.1)

10 months agoDISPATCH-2258: Cleaned up log messages, created senders after receivers are created 1441/head
Ganesh Murthy [Tue, 16 Nov 2021 15:59:24 +0000 (10:59 -0500)] 
DISPATCH-2258: Cleaned up log messages, created senders after receivers are created

10 months agoDISPATCH-2291: Added a normal listener to the router so that the wait_router_connecte... 1447/head
Ganesh Murthy [Fri, 19 Nov 2021 15:26:33 +0000 (10:26 -0500)] 
DISPATCH-2291: Added a normal listener to the router so that the wait_router_connected can find a management port

10 months agoDISPATCH-2065: Added timer to check for deleted connection 1420/head
Ganesh Murthy [Wed, 3 Nov 2021 20:41:53 +0000 (16:41 -0400)] 
DISPATCH-2065: Added timer to check for deleted connection

10 months agoDISPATCH-2291: Added a normal listener to the router so that the wait_router_connecte... 1446/head
Ganesh Murthy [Fri, 19 Nov 2021 14:01:08 +0000 (09:01 -0500)] 
DISPATCH-2291: Added a normal listener to the router so that the wait_router_connected can find a management port

10 months agoDISPATCH-2266: Added more debugging to see why the AsyncReceiver is quitting. 1437/head
Ganesh Murthy [Mon, 15 Nov 2021 16:03:47 +0000 (11:03 -0500)] 
DISPATCH-2266: Added more debugging to see why the AsyncReceiver is quitting.

10 months agoDISPATCH-2287: Comment out switchover tests in system_tests_fallback_dest until DISPA... 1436/head
Ganesh Murthy [Mon, 15 Nov 2021 15:11:15 +0000 (10:11 -0500)] 
DISPATCH-2287: Comment out switchover tests in system_tests_fallback_dest until DISPATCH-2256 is fixed

10 months agoDISPATCH-2289: postpone data stream free until after disconnect.
Kenneth Giusti [Tue, 16 Nov 2021 00:31:53 +0000 (19:31 -0500)] 
DISPATCH-2289: postpone data stream free until after disconnect.

The TCP adaptor should not release any outstanding data stream
elements until after the connection disconnect event. Otherwise it is
possible proton is still holding a reference to the data stream.

This closes #1439

10 months agoDISPATCH-2286: reset the raw conn context when handling disconnect
Kenneth Giusti [Mon, 15 Nov 2021 21:08:51 +0000 (16:08 -0500)] 
DISPATCH-2286: reset the raw conn context when handling disconnect

This prevents further raw connection events from arriving after
the disconnect has be handled.

This closes #1438

10 months agoDISPATCH-2036: do not log TCP deliveries as stuck
Kenneth Giusti [Fri, 12 Nov 2021 15:55:49 +0000 (10:55 -0500)] 
DISPATCH-2036: do not log TCP deliveries as stuck

This closes #1434

10 months agoDISPATCH-836 Add a .c file for every (non-private) include file (#1211)
Jiri Daněk [Sun, 14 Nov 2021 11:54:23 +0000 (12:54 +0100)] 
DISPATCH-836 Add a .c file for every (non-private) include file (#1211)

10 months agoDISPATCH-2277 Aligned memory allocation and freeing (#1429)
Jiri Daněk [Sat, 13 Nov 2021 20:53:35 +0000 (21:53 +0100)] 
DISPATCH-2277 Aligned memory allocation and freeing (#1429)

10 months agoNO-JIRA Update Clang versions in Travis CI; remove workarounds (#1426)
Jiri Daněk [Sat, 13 Nov 2021 20:19:38 +0000 (21:19 +0100)] 
NO-JIRA Update Clang versions in Travis CI; remove workarounds (#1426)

Keep pip install --upgrade, it prevents problems, e.g. to get precompiled wheel in Aarch64

10 months agoNO-JIRA Set minimal required libwebsockets version to 3.0.1 (#1428)
Jiri Daněk [Sat, 13 Nov 2021 20:18:25 +0000 (21:18 +0100)] 
NO-JIRA Set minimal required libwebsockets version to 3.0.1 (#1428)

10 months agoDISPATCH-2262 - Added missing handling for client-side link loss.
Ted Ross [Thu, 11 Nov 2021 16:45:59 +0000 (11:45 -0500)] 
DISPATCH-2262 - Added missing handling for client-side link loss.

10 months agoDISPATCH-2275: fixup system tests broken by proton log output changes
Kenneth Giusti [Fri, 5 Nov 2021 17:27:30 +0000 (13:27 -0400)] 
DISPATCH-2275: fixup system tests broken by proton log output changes

- skip test_04_scraper_tool (DISPATCH-2276)
- modify system_tests_protocol_settings to use proton api
- fix system_tests_link_routes to use proton codec

This closes #1430

10 months agoDISPATCH-2266: Added more logging to see where the test stalls 1424/head
Ganesh Murthy [Fri, 5 Nov 2021 18:12:54 +0000 (14:12 -0400)] 
DISPATCH-2266: Added more logging to see where the test stalls

10 months agoDISPATCH-2274: Fix use after free of qd_link_t by using safe pointer as context 1421/head
Ganesh Murthy [Thu, 4 Nov 2021 21:09:58 +0000 (17:09 -0400)] 
DISPATCH-2274: Fix use after free of qd_link_t by using safe pointer as context

10 months agoNO-JIRA: bump proton stable release to 0.36.0 in CI
Kenneth Giusti [Fri, 5 Nov 2021 14:18:13 +0000 (10:18 -0400)] 
NO-JIRA: bump proton stable release to 0.36.0 in CI
This needs to be done until DISPATCH-2257 is fixed.
This closes #1422