Hi Brian, You seems using Azul JVM. I do not have Azul JVM to verify your issue but it could be BDB JE related. I found this post [1] on JE forum where Oracle developer suggested that issue would resolved in JE version 7.6 which is not available yet.
Kind Regards, Alex [1] https://community.oracle.com/message/14338591#14338591 On Tue, 25 Sep 2018 at 00:23, Brian O'Shea <[email protected]> wrote: > > Hello Qpid developers, > > I am trying to build the Qpid broker version 7.0.6 Java version, and it is > failing the BDB Link Store Plug-in tests. I am building on an Intel 64-bit > system running Ubuntu Linux 16.04 with OpenJDK 1.8.0_162_x64. I have > searched for the errors that I am seeing but can't find anything. We are > transitioning to OpenJDK and so I would like to be able to use it to build > and run the Qpid broker. Can you provide any advice on how to build this > successfully? > > Thank you and regards, > Brian O'Shea > > When I build with the Oracle JDK of the same version it builds successfully > and all tests pass. Here is the error that I am getting: > > Running org.apache.qpid.server.protocol.v1_0.store.bdb.BDBLinkStoreTestTests > run: 5, Failures: 0, Errors: 5, Skipped: 0, Time elapsed: 0.625 sec <<< > FAILURE! - in > org.apache.qpid.server.protocol.v1_0.store.bdb.BDBLinkStoreTesttestOpenAndLoad(org.apache.qpid.server.protocol.v1_0.store.bdb.BDBLinkStoreTest) > Time elapsed: 0.331 sec <<< ERROR!java.lang.IllegalStateException: Could > not access Zing management bean. Make sure -XX:+UseZingMXBeans was > specified. at > org.apache.qpid.server.protocol.v1_0.store.bdb.BDBLinkStoreTest.createLinkStore(BDBLinkStoreTest.java:68)Caused > by: java.lang.ClassNotFoundException: > com.azul.zing.management.ManagementFactory at > org.apache.qpid.server.protocol.v1_0.store.bdb.BDBLinkStoreTest.createLinkStore(BDBLinkStoreTest.java:68)testSaveLink(org.apache.qpid.server.protocol.v1_0.store.bdb.BDBLinkStoreTest) > Time elapsed: 0.006 sec <<< ERROR!java.lang.IllegalStateException: Could > not access Zing management bean. Make sure -XX:+UseZingMXBeans was > specified. at > org.apache.qpid.server.protocol.v1_0.store.bdb.BDBLinkStoreTest.createLinkStore(BDBLinkStoreTest.java:68)Caused > by: java.lang.ClassNotFoundException: > com.azul.zing.management.ManagementFactory at > org.apache.qpid.server.protocol.v1_0.store.bdb.BDBLinkStoreTest.createLinkStore(BDBLinkStoreTest.java:68)testClose(org.apache.qpid.server.protocol.v1_0.store.bdb.BDBLinkStoreTest) > Time elapsed: 0.004 sec <<< ERROR!java.lang.IllegalStateException: Could > not access Zing management bean. Make sure -XX:+UseZingMXBeans was > specified. at > org.apache.qpid.server.protocol.v1_0.store.bdb.BDBLinkStoreTest.createLinkStore(BDBLinkStoreTest.java:68)Caused > by: java.lang.ClassNotFoundException: > com.azul.zing.management.ManagementFactory at > org.apache.qpid.server.protocol.v1_0.store.bdb.BDBLinkStoreTest.createLinkStore(BDBLinkStoreTest.java:68)testDeleteLink(org.apache.qpid.server.protocol.v1_0.store.bdb.BDBLinkStoreTest) > Time elapsed: 0.01 sec <<< ERROR!java.lang.IllegalStateException: Could not > access Zing management bean. Make sure -XX:+UseZingMXBeans was specified. > at > org.apache.qpid.server.protocol.v1_0.store.bdb.BDBLinkStoreTest.createLinkStore(BDBLinkStoreTest.java:68)Caused > by: java.lang.ClassNotFoundException: > com.azul.zing.management.ManagementFactory at > org.apache.qpid.server.protocol.v1_0.store.bdb.BDBLinkStoreTest.createLinkStore(BDBLinkStoreTest.java:68)testDelete(org.apache.qpid.server.protocol.v1_0.store.bdb.BDBLinkStoreTest) > Time elapsed: 0.007 sec <<< ERROR!java.lang.IllegalStateException: Could > not access Zing management bean. Make sure -XX:+UseZingMXBeans was > specified. at > org.apache.qpid.server.protocol.v1_0.store.bdb.BDBLinkStoreTest.createLinkStore(BDBLinkStoreTest.java:68)Caused > by: java.lang.ClassNotFoundException: > com.azul.zing.management.ManagementFactory at > org.apache.qpid.server.protocol.v1_0.store.bdb.BDBLinkStoreTest.createLinkStore(BDBLinkStoreTest.java:68)Results > :Tests in error: > BDBLinkStoreTest>QpidTestCase.run:165->LinkStoreTestCase.setUp:55->createLinkStore:68 > » IllegalState > BDBLinkStoreTest>QpidTestCase.run:165->LinkStoreTestCase.setUp:55->createLinkStore:68 > » IllegalState > BDBLinkStoreTest>QpidTestCase.run:165->LinkStoreTestCase.setUp:55->createLinkStore:68 > » IllegalState > BDBLinkStoreTest>QpidTestCase.run:165->LinkStoreTestCase.setUp:55->createLinkStore:68 > » IllegalState > BDBLinkStoreTest>QpidTestCase.run:165->LinkStoreTestCase.setUp:55->createLinkStore:68 > » IllegalStateTests run: 5, Failures: 0, Errors: 5, Skipped: 0[INFO] > ------------------------------------------------------------------------[INFO] > Reactor Summary:[INFO] [INFO] Apache Qpid Broker-J Parent > ........................ SUCCESS [ 1.945 s][INFO] Apache Qpid Broker-J Code > Generation ............... SUCCESS [ 1.593 s][INFO] Apache Qpid Broker-J > Test Utilities ................ SUCCESS [ 0.270 s][INFO] Apache Qpid > Broker-J Core .......................... SUCCESS [ 51.180 s][INFO] Apache > Qpid Broker-J LogBack Logging Plug-in ....... SUCCESS [ 4.200 s][INFO] > Apache Qpid Broker-J Access Control Plug-in ........ SUCCESS [ 3.223 > s][INFO] Apache Qpid Broker-J AMQP 0-10 Protocol Plug-in .... SUCCESS [ > 4.107 s][INFO] Apache Qpid Broker-J AMQP 0-8 Protocol Plug-in ..... SUCCESS > [ 4.030 s][INFO] Apache Qpid Broker-J AMQP 1-0 Protocol Plug-in ..... > SUCCESS [ 6.588 s][INFO] Apache Qpid Broker-J AMQP 0-8 to 0-10 Message > Conversion Plug-in SUCCESS [ 1.677 s][INFO] Apache Qpid Broker-J AMQP 0-8 > to 1-0 Message Conversion Plug-in SUCCESS [ 2.977 s][INFO] Apache Qpid > Broker-J AMQP 0-10 to 1-0 Message Conversion Plug-in SUCCESS [ 2.527 > s][INFO] Apache Qpid Broker-J JDBC Message Store Plug-in .... SUCCESS [ > 7.566 s][INFO] Apache Qpid Broker-J Derby Message Store Plug-in ... SUCCESS > [01:51 min][INFO] Apache Qpid Broker-J JDBC Message Store Connection Pooling > Plug-in SUCCESS [ 1.151 s][INFO] Apache Qpid AMQP 1.0 JDBC Link Store > Plug-in ....... SUCCESS [ 3.201 s][INFO] Apache Qpid Broker-J HTTP > Management Plug-in ....... SUCCESS [ 5.036 s][INFO] Apache Qpid Broker-J > AMQP Management Protocol Plug-in SUCCESS [ 0.268 s][INFO] Apache Qpid > Broker-J Memory Message Store Plug-in .. SUCCESS [ 0.274 s][INFO] Apache > Qpid Broker-J WebSocket Plug-in ............. SUCCESS [ 0.324 s][INFO] > Apache Qpid Broker-J BDB Message Store Plug-in ..... SUCCESS [ 4.513 > s][INFO] Apache Qpid AMQP 1.0 BDB Link Store Plug-in ........ FAILURE [ > 1.617 s][INFO] Apache Qpid Broker-J ............................... > SKIPPED[INFO] Apache Qpid Broker-J Bundles ....................... > SKIPPED[INFO] Apache Qpid Broker-J Tools ......................... > SKIPPED[INFO] Apache Qpid Broker-J System Test Parent ............ > SKIPPED[INFO] Apache Qpid Broker-J System Tests .................. > SKIPPED[INFO] Apache Qpid Broker-J System Test Utils ............. > SKIPPED[INFO] Apache Qpid Broker-J JMS 2.0 System Tests .......... > SKIPPED[INFO] Apache Qpid Broker-J Protocol Tests Core ........... > SKIPPED[INFO] Apache Qpid Protocol Tests for AMQP 1.0 ............ > SKIPPED[INFO] Apache Qpid Broker-J End to End Conversion Tests ... > SKIPPED[INFO] Apache Qpid Broker-J Performance Tests ............. > SKIPPED[INFO] Apache Qpid Broker-J Performance Test System Tests . > SKIPPED[INFO] Apache Qpid Broker-J Performance Tests Visualisation JFC > SKIPPED[INFO] Apache Qpid Broker-J BDB Store System Tests ........ > SKIPPED[INFO] Apache Qpid Joram JMS Tests ........................ > SKIPPED[INFO] Apache Qpid Broker-J JMS TCK Configuration ......... > SKIPPED[INFO] Apache Qpid Broker-J Docbook ....................... > SKIPPED[INFO] Apache Qpid Broker-J Docbook ....................... > SKIPPED[INFO] Apache Qpid Broker-J Performance Test Docbook ...... > SKIPPED[INFO] > ------------------------------------------------------------------------[INFO] > BUILD FAILURE[INFO] > ------------------------------------------------------------------------[INFO] > Total time: 03:40 min[INFO] Finished at: 2018-09-24T16:02:33-07:00[INFO] > Final Memory: 98M/2023M[INFO] > ------------------------------------------------------------------------[ERROR] > Failed to execute goal > org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on > project qpid-broker-plugins-amqp-1-0-protocol-bdb-link-store: There are test > failures.[ERROR] [ERROR] Please refer to > /home/boshea/Downloads/apache-qpid-broker-j-7.0.6-src/broker-plugins/amqp-1-0-bdb-store/target/surefire-reports/java-mms.1-0 > for the individual test results.[ERROR] -> [Help > 1]org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute > goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test > (default-test) on project > qpid-broker-plugins-amqp-1-0-protocol-bdb-link-store: There are test > failures.Please refer to > /home/boshea/Downloads/apache-qpid-broker-j-7.0.6-src/broker-plugins/amqp-1-0-bdb-store/target/surefire-reports/java-mms.1-0 > for the individual test results. at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) > at > org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) > at > org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307) at > org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193) at > org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106) at > org.apache.maven.cli.MavenCli.execute(MavenCli.java:863) at > org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288) at > org.apache.maven.cli.MavenCli.main(MavenCli.java:199) at > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) at > org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) > at > org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) > at > org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) > at > org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)Caused > by: org.apache.maven.plugin.MojoFailureException: There are test > failures.Please refer to > /home/boshea/Downloads/apache-qpid-broker-j-7.0.6-src/broker-plugins/amqp-1-0-bdb-store/target/surefire-reports/java-mms.1-0 > for the individual test results. at > org.apache.maven.plugin.surefire.SurefireHelper.reportExecution(SurefireHelper.java:91) > at > org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary(SurefirePlugin.java:320) > at > org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:892) > at > org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:755) > at > org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207) > ... 20 more[ERROR] [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/MojoFailureException[ERROR] > [ERROR] After correcting the problems, you can resume the build with the > command[ERROR] mvn -rf > :qpid-broker-plugins-amqp-1-0-protocol-bdb-link-store > > > > > -- > Sent from: http://qpid.2158936.n2.nabble.com/Apache-Qpid-users-f2158936.html --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
