-
Bug
-
Resolution: Done
-
Major
-
5.0.0.Alpha1, 5.0.0.Alpha2, 5.0.0.Alpha3, 5.0.0.Alpha4
WildFly: Logging Subsystem unit tests fails on IBM jdk with:
java.lang.IllegalStateException: WFLYLOG0078: The logging subsystem requires the log manager to be org.jboss.logmanager.LogManager. The subsystem has not be initialized and cannot be used. To use JBoss Log Manager you must add the system property "java.util.logging.manager" and set it to "org.jboss.logmanager.LogManager" at org.jboss.as.logging.LoggingExtension.initialize(LoggingExtension.java:168) at org.jboss.as.subsystem.test.TestModelControllerService.preBoot(TestModelControllerService.java:158) at org.jboss.as.model.test.ModelTestModelControllerService.boot(ModelTestModelControllerService.java:264) at org.jboss.as.controller.AbstractControllerService.boot(AbstractControllerService.java:419) at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:372) at java.lang.Thread.run(Thread.java:811)
The test works fine with 4.0.0.Final, starts failing in 5.0.0.Alpha1.
This doens't look like a functional issue to me as I was able to workaround the issue by either running the test with the older surefire instance ( -Dversion.surefire.plugin=2.19 is the last working ) or by extending surefire.system.args in pom.xml with -Djava.util.logging.manager=org.jboss.logmanager.LogManager. The other however produces the following warnings upon test execution
... [WARNING] The system property java.util.logging.manager is configured twice! The property appears in <argLine/> and any of <systemPropertyVariables/>, <systemProperties/> or user property. [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running org.jboss.as.logging.HandlerLegacyOperationsTestCase [WARNING] Corrupted STDOUT by directly writing to native stream in forked JVM 1. See FAQ web page and the dump file /home/pkremens/devel/wildfly-core/logging/target/surefire-reports/2018-05-03T13-49-32_779-jvmRun1.dumpstream ...
- relates to
-
JBEAP-15102 Logmanager tests are failing on ibm-java-1.8 after component upgrade
- Closed