Skip to content

Match both log levels in the BUILD FAILURE IT assertions - #1040

Merged
slawekjaranowski merged 1 commit into
apache:masterfrom
slawekjaranowski:it-build-failure-log-level
Sep 29, 2026
Merged

slawekjaranowski merged 1 commit into
apache:masterfrom
slawekjaranowski:it-build-failure-log-level

Conversation

@slawekjaranowski

Copy link
Copy Markdown
Member

Maven 4.0.0-rc-7 and 3.10.0 log the build result summary at ERROR level,
so the line reads [ERROR] BUILD FAILURE. Three ITs assert the [INFO]
prefix and fail on those versions:

  • ban-distribution-management-multi-module-build
  • require-same-versions_multi-module-build
  • require-same-versions_failure

They now match either prefix, so they pass on Maven 3.9.x and on 4.x alike.

Verified with a full mvn verify -Prun-its on both Maven 4.0.0-rc-7 and
Maven 3.9.16 - BUILD SUCCESS on both; the IT build logs confirm the
[ERROR] prefix on 4.0.0-rc-7 and [INFO] on 3.9.16.

🤖 Generated with Claude Code

Maven 4.0.0-rc-7 and 3.10.0 log the build result summary at ERROR level,
so the line reads [ERROR] BUILD FAILURE. The three ITs that assert the
[INFO] prefix therefore fail on those versions. Match either prefix, so
the ITs pass on Maven 3.9.x and on 4.x alike.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@slawekjaranowski slawekjaranowski self-assigned this Sep 29, 2026
@slawekjaranowski
slawekjaranowski merged commit 1f55ad3 into apache:master Sep 29, 2026
17 checks passed
@slawekjaranowski
slawekjaranowski deleted the it-build-failure-log-level branch September 29, 2026 11:46
@github-actions github-actions Bot added this to the 3.6.4 milestone Sep 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant