You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "apupier (via GitHub)" <gi...@apache.org> on 2026/10/15 07:57:12 UTC

[PR] CAMEL-25664: camel-jms - run exclusive replyTo timing tests in the exclusive surefire group to avoid flakiness [camel]

apupier opened a new pull request, #27882:
URL: https://github.com/apache/camel/pull/27882

   JmsRequestReplyExclusiveReplyToTest and
   JmsRequestReplyExclusiveReplyToComponentTest
   assert that 5 request/reply calls over an exclusive replyTo queue complete in
   less than 4200 ms. This check dates from CAMEL-4202, which introduced replyToType=Exclusive: an exclusive reply queue needs no JMS message selector
   and caches its consumer, so it is expected to be much faster than a shared one
   (JmsRequestReplySharedReplyToTest asserts the opposite, > 2 s). Run alone the
   5 calls take about 90 ms, so the threshold is a loose ceiling that must be kept.
   
   The failures reported in CAMEL-25664 (11928 ms, 8629 ms, and a 20 s latch timeout
   in JmsRequestReplyExclusiveReplyToConcurrentTest) come from CPU/broker contention:
   camel-jms enables JUnit parallel class execution
   (camel.surefire.parallel=true),
   and these classes ran in the shared pool next to many other tests using the
   in-VM Artemis broker (the concurrent test was in the not-parallel group, which
   still runs with forkCount=4).
   
   Tag the three classes with "exclusive" so that they run in the dedicated exclusive-test surefire execution (forkCount=2, reuseForks=false), which the
   default-test and serials-test executions exclude. The timing assertions are
   unchanged.
   
   Co-authored-by: IBM Bob 2.2.1
   
   # Description
   
   <!--
   - Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
   -->
   
   # Target
   
   - [ ] I checked that the commit is targeting the correct branch (Camel 4 uses the `main` branch)
   
   # Tracking
   - [ ] If this is a large change, bug fix, or code improvement, I checked there is a [JIRA issue](https://issues.apache.org/jira/browse/CAMEL) filed for the change (usually before you start working on it).
   
   <!--
   # *Note*: trivial changes like, typos, minor documentation fixes and other small items do not require a JIRA issue. In this case your pull request should address just this issue, without pulling in other changes.
   -->
   
   # Apache Camel coding standards and style
   
   - [ ] I checked that each commit in the pull request has a meaningful subject line and body.
   
   <!--
   If you're unsure, you can format the pull request title like `[CAMEL-XXX] Fixes bug in camel-file component`, where you replace `CAMEL-XXX` with the appropriate JIRA issue.
   -->
   
   - [ ] I have run `mvn clean install -DskipTests` locally from root folder and I have committed all auto-generated changes.
   
   <!--
   You can run the aforementioned command in your module so that the build auto-formats your code. This will also be verified as part of the checks and your PR may be rejected if if there are uncommited changes after running `mvn clean install -DskipTests`.
   
   You can learn more about the contribution guidelines at https://github.com/apache/camel/blob/main/CONTRIBUTING.md
   -->
   
   # AI-assisted contributions
   
   - [ ] If this PR includes AI-generated code, commits have proper co-authorship attribution (e.g., `Co-authored-by` trailers) and the PR description identifies the AI tool used.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] CAMEL-25664: camel-jms - run exclusive replyTo timing tests in the exclusive surefire group to avoid flakiness [camel]

Posted by "davsclaus (via GitHub)" <gi...@apache.org>.
davsclaus merged PR #27882:
URL: https://github.com/apache/camel/pull/27882


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] CAMEL-25664: camel-jms - run exclusive replyTo timing tests in the exclusive surefire group to avoid flakiness [camel]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #27882:
URL: https://github.com/apache/camel/pull/27882#issuecomment-6190017832

   <!-- ci-tested-modules -->
   :test_tube: **CI tested the following changed modules:**
   
   - `components/camel-jms`
   
   :repeat: **1 test passed only after a retry on JDK 25** (1 retried attempt)
   
   <details><summary>Recovered flaky tests on JDK 25 (1)</summary>
   
   | Module | Test | Failed attempts | First failure |
   | --- | --- | --- | --- |
   | `dsl/camel-jbang/camel-jbang-plugin-tui` | `AiPanelAcpTest.retryResendsTheLastQuestionToTheAgent` | 1 | expected: &lt;2&gt; but was: &lt;1&gt; |
   
   > :information_source: These tests did **not** fail the build. Surefire retried them and they passed.
   > Retries are enabled project-wide by `surefire.rerunFailingTestsCount` in `parent/pom.xml`.
   
   </details>
   
   ---
   
   <details><summary>:microscope: Scalpel shadow comparison — Scalpel: 1 of 703 tested, 0 compile-only — current: 11 all tested</summary>
   
   [Maveniverse Scalpel](https://github.com/maveniverse/scalpel) detected **1 affected modules** (current approach: 11).
   
   **Skip-tests mode would test 1 modules** (1 direct + 0 downstream), **skip tests for 0** (generated code, meta-modules)
   
   <details><summary>Modules only in current approach (10)</summary>
   
   - `camel-activemq`
   - `camel-activemq6`
   - `camel-amqp`
   - `camel-jbang-mcp`
   - `camel-jbang-plugin-mcp`
   - `camel-jbang-plugin-tui`
   - `camel-jbang-plugin-validate`
   - `camel-launcher-container`
   - `camel-yaml-dsl-validator`
   - `camel-yaml-dsl-validator-maven-plugin`
   
   </details>
   
   
   <details><summary>Modules Scalpel would test (1)</summary>
   
   - `camel-jms` ← components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsRequestReplyExclusiveReplyToComponentTest.java, components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsRequestReplyExclusiveReplyToConcurrentTest.java, components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsRequestReplyExclusiveReplyToTest.java
   
   </details>
   
   > :information_source: Shadow mode — Scalpel observes but does not affect test execution. [Learn more](https://github.com/maveniverse/scalpel)
   
   </details>
   
   :warning: **Some tests are disabled on GitHub Actions** (`@DisabledIfSystemProperty(named = "ci.env.name")`) and require manual verification:
   
   - `components/camel-jms`: 3 test(s) disabled on GitHub Actions
   
   <details><summary>All tested modules (11 modules, 3m 1s total)</summary>
   
   **Total reactor time:** 3m 1s
   
   | Module | Duration | Status |
   | --- | --- | --- |
   | Camel :: JBang :: Plugin :: Validate | 43.5s | SUCCESS |
   | Camel :: ActiveMQ 5.x | 42.1s | SUCCESS |
   | Camel :: JBang :: MCP | 26.5s | SUCCESS |
   | Camel :: ActiveMQ 6.x | 25.1s | SUCCESS |
   | Camel :: AMQP | 20.6s | SUCCESS |
   | Camel :: YAML DSL :: Validator | 17.7s | SUCCESS |
   | Camel :: YAML DSL :: Validator Maven Plugin | 3.0s | SUCCESS |
   | Camel :: Launcher :: Container | 1.6s | SUCCESS |
   | Camel :: JBang :: Plugin :: MCP | 1.1s | SUCCESS |
   | Camel :: JBang :: Plugin :: TUI | n/a |  |
   | Camel :: JMS | n/a |  |
   
   **Top 20 slowest modules:**
   - `Camel :: JBang :: Plugin :: Validate` (43.5s)
   - `Camel :: ActiveMQ 5.x` (42.1s)
   - `Camel :: JBang :: MCP` (26.5s)
   - `Camel :: ActiveMQ 6.x` (25.1s)
   - `Camel :: AMQP` (20.6s)
   - `Camel :: YAML DSL :: Validator` (17.7s)
   - `Camel :: YAML DSL :: Validator Maven Plugin` (3.0s)
   - `Camel :: Launcher :: Container` (1.6s)
   - `Camel :: JBang :: Plugin :: MCP` (1.1s)
   
   </details>
   
   ---
   :gear: [View full build and test results](https://github.com/apache/camel/actions/runs/38702242215)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] CAMEL-25664: camel-jms - run exclusive replyTo timing tests in the exclusive surefire group to avoid flakiness [camel]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #27882:
URL: https://github.com/apache/camel/pull/27882#issuecomment-6187411753

   :star2: Thank you for your contribution to the Apache Camel project! :star2:
     :robot: CI automation will test this PR automatically.
   
     :camel: Apache Camel Committers, please review the following items:
   
     * First-time contributors **require MANUAL approval** for the GitHub Actions to run
     * You can use the command `/component-test (camel-)component-name1 (camel-)component-name2..` to request a test from the test bot although they are normally detected and executed by CI.
     * You can label PRs using `skip-tests` and `test-dependents` to fine-tune the checks executed by this PR.
     * Build and test logs are available in the summary page. **Only** [Apache Camel committers](https://camel.apache.org/community/team/#committers) have access to the summary.
     
     :warning: Be careful when sharing logs. Review their contents before sharing them publicly.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org