Skip to content

test: stop retrying a dev loop start that keeps timing out (#27681) (CP: 25.4) - #27687

Merged
vaadin-bot merged 1 commit into
25.4from
cherry-pick-27681-to-25.4-1796398259745
Dec 4, 2026
Merged

vaadin-bot merged 1 commit into
25.4from
cherry-pick-27681-to-25.4-1796398259745

Conversation

@vaadin-bot

Copy link
Copy Markdown
Collaborator

This PR cherry-picks changes from the original PR #27681 to branch 25.4.


Depends on #27590

build failure · flow-tests · the nightly dev loop build when one server cannot start

When a dev loop fixture's server does not start, every test in that fixture waits the full 5 minutes for vaadin-dev start and then fails. In the nightly build on bender, Payara Server never starts, so its tests use the rest of the 3-hour timeout and payara-micro never runs. Now, after two starts in a row time out, the next ones fail at once with the last start's output.

Risks:

  • ⚠️ Behaviour change in the tests: after two timed-out starts, the rest of that fixture's execution does not try to start the server again, even if it would have started later. One timeout is still retried, for a first start that is slow once.
  • ✅ Test code only. Nothing is skipped: the tests still fail, so a server that cannot start stays visible in the report.

Context. Every dev loop IT starts the application before it does anything, and the CLI driver kills a command after 5 minutes. A server that hangs on boot hangs again in the next test, so retrying only adds 5 minutes per test: in the nightly build of 2026-12-04, Payara used 30 minutes for DevLoopApplyIT and 25 for DevLoopBrowserIT, with about 30 more tests to go.

  • VaadinDevCli counts, per application, the start commands in a row that did not finish in time, and after two it fails every later start of that application at once, with what the last one said
    • A start that finishes in time resets the count
    • Only a timeout counts: a start that exits with an error is already fast, and some tests start again after a stop on purpose
    • The count lasts as long as the test JVM, which is one failsafe execution of one fixture, so the maven-compile execution and the other fixtures try again

…CP: 25.4)

Depends on #27590

**build failure** · flow-tests · the nightly dev loop build when one
server cannot start

When a dev loop fixture's server does not start, every test in that
fixture waits the full 5 minutes for `vaadin-dev start` and then fails.
In the nightly build on bender, Payara Server never starts, so its tests
use the rest of the 3-hour timeout and payara-micro never runs. Now,
after two starts in a row time out, the next ones fail at once with the
last start's output.

**Risks:**
- ⚠️ Behaviour change in the tests: after two timed-out starts, the rest
of that fixture's execution does not try to start the server again, even
if it would have started later. One timeout is still retried, for a
first start that is slow once.
- ✅ Test code only. Nothing is skipped: the tests still fail, so a
server that cannot start stays visible in the report.

**Context.** Every dev loop IT starts the application before it does
anything, and the CLI driver kills a command after 5 minutes. A server
that hangs on boot hangs again in the next test, so retrying only adds 5
minutes per test: in the nightly build of 2026-12-04, Payara used 30
minutes for `DevLoopApplyIT` and 25 for `DevLoopBrowserIT`, with about
30 more tests to go.

- `VaadinDevCli` counts, per application, the `start` commands in a row
that did not finish in time, and after two it fails every later `start`
of that application at once, with what the last one said
  - A start that finishes in time resets the count
- Only a timeout counts: a start that exits with an error is already
fast, and some tests start again after a `stop` on purpose
- The count lasts as long as the test JVM, which is one failsafe
execution of one fixture, so the `maven-compile` execution and the other
fixtures try again

---------

Co-authored-by: mikhail <mikhail@vaadin.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Mikhail Shabarov <61410877+mshabarov@users.noreply.github.com>
@vaadin-bot

Copy link
Copy Markdown
Collaborator Author

This PR is eligible for auto-merging policy, so it has been approved automatically. If there are pending conditions, auto merge (with 'squash' method) has been enabled for this PR [Message is sent from bot]

@vaadin-bot
vaadin-bot enabled auto-merge (squash) December 4, 2026 15:42
@github-actions

github-actions Bot commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

Test Results

 1 662 files   - 33   1 753 suites   - 33   1h 50m 26s ⏱️ -41s
14 125 tests  -  3  14 053 ✅  -  3  72 💤 ±0  0 ❌ ±0 
14 561 runs   - 76  14 489 ✅  - 76  72 💤 ±0  0 ❌ ±0 

Results for commit 0460779. ± Comparison against base commit 9a0cbaa.

♻️ This comment has been updated with latest results.

@vaadin-bot
vaadin-bot merged commit d3a8507 into 25.4 Dec 4, 2026
93 of 95 checks passed
@vaadin-bot
vaadin-bot deleted the cherry-pick-27681-to-25.4-1796398259745 branch December 4, 2026 17:23
@sonarqubecloud

sonarqubecloud Bot commented Dec 4, 2026

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants