Hi Piotr,

Running:

mvn clean verify -Pdocker

I.get:

[INFO] DOCKER> Pulling from library/elasticsearch
4f4fb700ef54: Pull complete
917e7c84aa9f: Pull complete
9bc7cea61360: Pull complete
17932c3263b2: Pull complete
e4eabb4d0724: Pull complete
89fc15b13be8: Pull complete
e20dbb8c40e5: Pull complete
9847f1c8a7d9: Pull complete
b58531df304c: Pull complete
[INFO] DOCKER> Digest:
sha256:2cc40b15dff85281ac804e7ff27cbc07b31fdd542e94ea7a2bdb6470e3b6bb68
[INFO] DOCKER> Status: Downloaded newer image for elasticsearch:8.17.3
[INFO] DOCKER> Pulled elasticsearch:8.17.3 in 29 seconds
[INFO] DOCKER> Pulling from library/logstash
4f4fb700ef54: Pull complete
4a95142d68c2: Pull complete
18460973a003: Pull complete
36b59902436f: Pull complete
06afb4f30b92: Pull complete
253229dc1f79: Pull complete
d7c70bd27f9d: Pull complete
81f9d2d02707: Pull complete
783b4dec8f32: Pull complete
60290318b35c: Pull complete
fa627c795ff6: Pull complete
[INFO] DOCKER> Digest:
sha256:01feca1dd93ae1c7b0d16d6a7ec08070d13a2e9af16cba88ea916600af8ea8b8
[INFO] DOCKER> Status: Downloaded newer image for logstash:8.17.3
[INFO] DOCKER> Pulled logstash:8.17.3 in 27 seconds
[INFO] DOCKER> [elasticsearch:8.17.3] "elasticsearch": Start container
e514938157d8
[INFO] DOCKER> [elasticsearch:8.17.3] "elasticsearch": Network mode:
log4j-layout-template-json-network
[INFO] DOCKER> [elasticsearch:8.17.3] "elasticsearch": Waiting for
ports [9200] directly on container with IP (172.19.0.2).
[ERROR] DOCKER> [elasticsearch:8.17.3] "elasticsearch": Timeout after
60736 ms while waiting on tcp port '[/172.19.0.2:9200]'
[ERROR] DOCKER> Error occurred during container startup, shutting down...
[INFO] DOCKER> [elasticsearch:8.17.3] "elasticsearch": Stop and
removed container e514938157d8 after 0 ms
[ERROR] DOCKER> I/O Error [[elasticsearch:8.17.3] "elasticsearch":
Timeout after 60736 ms while waiting on tcp port '[/172.19.0.2:9200]']
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Apache Log4j BOM 2.25.0:
[INFO]
[INFO] Apache Log4j BOM ................................... SUCCESS [  5.647 s]
[INFO] Apache Log4j Parent ................................ SUCCESS [  0.496 s]
[INFO] Apache Log4j API Java 9 support .................... SUCCESS [  3.506 s]
[INFO] Apache Log4j API ................................... SUCCESS [  9.020 s]
[INFO] Apache Log4j Implementation Java 9 support ......... SUCCESS [  2.265 s]
[INFO] Apache Log4j Core .................................. SUCCESS [ 18.817 s]
[INFO] Apache Log4j API Tests ............................. SUCCESS [ 10.767 s]
[INFO] Apache Log4j Core Tests ............................ SUCCESS [01:23 min]
[INFO] Apache Log4j 1.x Compatibility API ................. SUCCESS [ 12.248 s]
[INFO] Apache Log4j App Server Support .................... SUCCESS [  1.742 s]
[INFO] Log4j API to SLF4J Adapter ......................... SUCCESS [  3.454 s]
[INFO] SLF4J 1 Binding for Log4j API ...................... SUCCESS [  4.120 s]
[INFO] Apache Log4j Cassandra ............................. SUCCESS [  3.322 s]
[INFO] Apache Log4j fuzz tests ............................ SUCCESS [  1.952 s]
[INFO] Apache Log4j Core fuzz tests ....................... SUCCESS [  1.452 s]
[INFO] Apache Log4j Core Integration Tests ................ SUCCESS [  0.846 s]
[INFO] Apache Log4j CouchDB ............................... SUCCESS [  2.054 s]
[INFO] Apache Log4j Docker Library ........................ SUCCESS [  2.042 s]
[INFO] Apache Log4j Streaming Interface ................... SUCCESS [  4.996 s]
[INFO] Apache Log4j Jakarta JMS ........................... SUCCESS [  3.284 s]
[INFO] Apache Log4j Jakarta SMTP .......................... SUCCESS [  3.002 s]
[INFO] Apache Log4j Jakarta Web ........................... SUCCESS [  3.951 s]
[INFO] Apache Log4j Commons Logging Bridge ................ SUCCESS [  2.636 s]
[INFO] Apache Log4j JPA ................................... SUCCESS [  4.604 s]
[INFO] Apache Log4j JDK Platform Logging Adapter .......... SUCCESS [  2.725 s]
[INFO] Apache Log4j JDBC DBCP 2 ........................... SUCCESS [  3.058 s]
[INFO] Apache Log4j JUL Adapter ........................... SUCCESS [  6.650 s]
[INFO] Apache Log4j JSON Template Layout .................. SUCCESS [  4.567 s]
[INFO] Apache Log4j JSON Template Layout fuzz tests ....... SUCCESS [  1.594 s]
[INFO] Apache Log4j JSON Template Layout tests ............ FAILURE [02:11 min]
[INFO] Apache Log4j MongoDB 4 ............................. SKIPPED
[INFO] Apache Log4j MongoDB Appender ...................... SKIPPED
[INFO] Apache Log4j to JUL Bridge ......................... SKIPPED
[INFO] Apache Log4j OSGi tests ............................ SKIPPED
[INFO] Apache Log4J Performance Tests ..................... SKIPPED
[INFO] SLF4J 2 Provider for Log4j API ..................... SKIPPED
[INFO] SLF4J 2 Provider for Log4j API fuzz tests .......... SKIPPED
[INFO] Apache Log4j Spring Boot Support ................... SKIPPED
[INFO] Apache Log4j Spring Cloud Config Client Support .... SKIPPED
[INFO] Apache Log4j Web ................................... SKIPPED
[INFO] Apache Log4j Tag Library ........................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  05:40 min
[INFO] Finished at: 2025-06-13T21:19:21-04:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
io.fabric8:docker-maven-plugin:0.46.0:start (start) on project
log4j-layout-template-json-test: I/O Error: [elasticsearch:8.17.3]
"elasticsearch": Timeout after 60736 ms while waiting on tcp port
'[/172.19.0.2:9200]' -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with
the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :log4j-layout-template-json-test

Using:

openjdk version "17.0.15" 2025-04-15
OpenJDK Runtime Environment Homebrew (build 17.0.15+0)
OpenJDK 64-Bit Server VM Homebrew (build 17.0.15+0, mixed mode, sharing)

Apache Maven 3.9.10 (5f519b97e944483d878815739f519b2eade0a91d)
Maven home: /opt/homebrew/Cellar/maven/3.9.10/libexec
Java version: 17.0.15, vendor: Homebrew, runtime:
/opt/homebrew/Cellar/openjdk@17/17.0.15/libexec/openjdk.jdk/Contents/Home
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "15.5", arch: "aarch64", family: "mac"

Darwin ***.local 24.5.0 Darwin Kernel Version 24.5.0: Tue Apr 22
19:53:27 PDT 2025; root:xnu-11417.121.6~2/RELEASE_ARM64_T6041 arm64

Docker version 28.0.4, build b8034c0

Gary

On Fri, Jun 13, 2025 at 3:03 PM Piotr P. Karwasz
<pi...@mailing.copernik.eu> wrote:
>
> This is a vote to release the Apache Log4j `2.25.0`.
>
> Website: https://logging.staged.apache.org/log4j/2.25.0/index.html
> GitHub: https://github.com/apache/logging-log4j2
> Commit: ea10ad3e78469e43f138853b8c9892bc51bc87ec
> Distribution: https://dist.apache.org/repos/dist/dev/logging/log4j/2.25.0
> Nexus:
> https://repository.apache.org:443/content/repositories/orgapachelogging-1319
> Signing key: 0x077e8893a6dcc33dd4a4d5b256e73ba9a0b592d0
> Review kit:
> https://logging.apache.org/logging-parent/release-review-instructions.html[*]
>
> Please download, test, and cast your votes on this mailing list and
> optionally on ATR[**].
>
> [ ] +1, release the artifacts
> [ ] -1, don't release, because...
>
> This vote is open for 72 hours and will pass unless getting a net
> negative vote count. All votes are welcome and we encourage everyone to
> test the release, but only the Logging Services PMC votes are officially
> counted. At least 3 +1 votes and more positive than negative votes are
> required.
>
> [*] The reproducibility check for the
> `log4j-bom-2.25.0-cyclonedx.xml` artifact may fail for an
> undetermined reason. Local testing indicates that any differences are
> limited to the ordering of the `jspecify` dependency in the XML file,
> which does not affect the meaning of the SBOM.
>
> Reviewers are advised to ignore this failure by adding the following
> parameter to the Maven command line:
>
>   -Dbuildinfo.ignore="*/log4j-bom-2.25.0-cyclonedx.xml"
>
> [**] Since Apache Trusted Release is in an alpha stage, votes cast
> through ATR will not be officially counted. Nevertheless I invite Apache
> committers to test it at this URL:
>
> https://release-test.apache.org/vote/logging-log4j/2.25.0
>
>
> Release Notes
> -------------
>
> This minor release introduces bug fixes, behavior improvements, and
> complete support for GraalVM native image generation.
>
> GraalVM Reachability Metadata
> -----------------------------
>
> Log4j Core and all extension modules now include embedded GraalVM
> reachability metadata [1], enabling seamless generation of native
> images with GraalVM out of the box—no manual configuration required.
> For more information, refer to our GraalVM guide [2].
>
> Note:
>
> When building third-party Log4j plugins, using the new
> `GraalVmProcessor` introduced in version `2.25.0` will automatically
> generate the required reachability metadata for GraalVM native images.
> However, the processor will fail the build if the required
> `log4j.graalvm.groupId` and `log4j.graalvm.artifactId` parameters are
> not provided. For detailed instructions, see Registering plugins [3].
>
> Exception Handling in Pattern Layout
> ------------------------------------
>
> Exception handling in Pattern Layout [4] has undergone a significant
> rewrite. This update resolves several bugs and ensures consistent
> behavior across all exception converters. Key improvements include:
>
> * Stack traces are now consistently prefixed with a newline.
> * The default exception converter has changed from extended [5] to
>   plain [6], offering better performance.
> * Support for the `{ansi}` option in exception converters has been
>   removed.
>
> Date & Time Formatting
> ----------------------
>
> Log4j has historically provided custom date and time formatters for
> performance, such as FixedDateFormat [7] and FastDateFormat [8]. These
> are now deprecated in favor of Java’s standard DateTimeFormatter [9].
>
> If you encounter formatting issues after upgrading—particularly with `n`
> or `x` directives—you can temporarily revert to the legacy formatters by
> setting the `log4j2.instantFormatter` property to `legacy` [10]. Please
> report any issues via our issue tracker [11].
>
> ANSI Support on Windows
> ------------------------
>
> Modern Windows versions (10 and newer) provide native ANSI escape
> sequence support. As a result, dependency on the outdated JAnsi 1.x
> library has been removed. For details, refer to ANSI styling on Windows
> [12].
>
> Jakarta JMS Appender
> ---------------------
>
> A Jakarta-compatible version of the JMS Appender [13] is now included in
> the core distribution.
>
> Detailed release notes
> -----------------------
>
> For all the changes in this release, see the website [14].
>
> Links:
> [1] https://www.graalvm.org/latest/reference-manual/native-image/metadata/
> [2] https://logging.staged.apache.org/log4j/2.25.0/manual/graalvm.html
> [3]
> https://logging.staged.apache.org/log4j/2.25.0/manual/plugins.html#plugin-registry
>
> [4]
> https://logging.staged.apache.org/log4j/2.25.0/manual/pattern-layout.html
> [5]
> https://logging.staged.apache.org/log4j/2.25.0/manual/pattern-layout.html#converter-exception-extended
>
> [6]
> https://logging.staged.apache.org/log4j/2.25.0/manual/pattern-layout.html#converter-exception
>
> [7]
> https://logging.staged.apache.org/log4j/2.25.0/javadoc/log4j-core/org/apache/logging/log4j/core/util/datetime/FixedDateFormat.html
>
> [8]
> https://logging.staged.apache.org/log4j/2.25.0/javadoc/log4j-core/org/apache/logging/log4j/core/util/datetime/FastDateFormat.html
>
> [9]
> https://docs.oracle.com/javase/8/docs/api/java/time/format/DateTimeFormatter.html
>
> [10]
> https://logging.staged.apache.org/log4j/2.25.0/manual/systemproperties.html#log4j2.instantFormatter
>
> [11] https://logging.apache.org/logging-services/support.html#issues
> [12]
> https://logging.staged.apache.org/log4j/2.25.0/manual/pattern-layout.html#jansi
>
> [13]
> https://logging.staged.apache.org/log4j/2.25.0/manual/appenders/message-queue.html#JmsAppender
>
> [14]
> https://logging.staged.apache.org/log4j/2.25.0/release-notes.html#release-notes-2-25-0

Reply via email to