On 12/06/2019 14:29, Daan Hoogland wrote:
sorry to get back to this; I think it succeeding before was due to mvn
clean not doing a thorough job (or me forgetting to run it.
Can you people comment on my recent endeavours, please?
openjdk64-1.8.0.212 and openjdk64-11.0.3 both don't pass all tests at
once giving different results
with jdk 11 KeyDerivationServiceIT is not passing on the cli (with maven)
$ mvn clean install
...
[ERROR] Failures:
[ERROR]
KeyDerivationServiceIT.testAddDerivedKeys:269->checkKeyNumber:182
Unkown JVM: Eclipse OpenJ9
[ERROR]
KeyDerivationServiceIT.testModifyDerivedKeys:346->checkKeyNumber:182
Unkown JVM: Eclipse OpenJ9
[ERROR]
KeyDerivationServiceIT.testModifyDerivedKeysWithoutPrincipalName:485->checkKeyNumber:182
Unkown JVM: Eclipse OpenJ9
[INFO]
[ERROR] Tests run: 523, Failures: 3, Errors: 0, Skipped: 18
$ mvn -version
Listening for transport dt_socket at address: 8787
Apache Maven 3.6.1 (d66c9c0b3152b2e69ee9bac180bb8fcc8e6af555;
2019-04-04T21:00:29+02:00)
Maven home: /usr/local/Cellar/maven/3.6.1/libexec
Java version: 11.0.3, vendor: Eclipse OpenJ9,
Never tested this version.
runtime:
/Library/Java/JavaVirtualMachines/adoptopenjdk-11-openj9.jdk/Contents/Home
Default locale: utf_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.14.5", arch: "amd64", family: "mac"
and in intellij, CertificateUtil isnot compiling because it does not
know sun.security.x509 ???
in 1.8
$ mvn -version
OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=800m;
support was removed in 8.0
Listening for transport dt_socket at address: 8787
Apache Maven 3.6.1 (d66c9c0b3152b2e69ee9bac180bb8fcc8e6af555;
2019-04-04T21:00:29+02:00)
Maven home: /usr/local/Cellar/maven/3.6.1/libexec
Java version: 1.8.0_212, vendor: AdoptOpenJDK, runtime:
/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre
Default locale: en_NL, platform encoding: UTF-8
OS name: "mac os x", version: "10.14.5", arch: "x86_64", family: "mac"
some other tests is failing:
[ERROR] Errors:
[ERROR] LdapConnectionTest.testBindAndCloseLoop:149 » IllegalState
The connector is be...
[INFO]
[ERROR] Tests run: 189, Failures: 0, Errors: 1, Skipped: 11
This issue should have been fixed with the latest LDAP API release
(2.0.0.AM4), which is out since monday.
after alternating jvm (just to see if that was my prior 'error') I get
to ApacheDS Service which fails to create an ÜberJar
[ERROR] Please refer to
/Users/dahn/apache/directory-server/service/target/surefire-reports
for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date].dump,
[date]-jvmRun[N].dump and [date].dumpstream.
[ERROR] The forked VM terminated without properly saying goodbye. VM
crash or System.exit called?
[ERROR] Command was /bin/sh -c cd
/Users/dahn/apache/directory-server/service &&
/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre/bin/java
-Xmx1024m -jar
/Users/dahn/apache/directory-server/service/target/surefire/surefirebooter8751169659152956685.jar
/Users/dahn/apache/directory-server/service/target/surefire
2019-06-12T14-24-08_517-jvmRun1 surefire1294047605614087720tmp
surefire_07367554630409192216tmp
[ERROR] Error occurred in starting fork, check output in log
[ERROR] Process Exit Code: 1
[ERROR] Crashed tests:
[ERROR] org.apache.directory.server.UberJarMainTest
I wonder if you have not a running ApacheDS in the background. Can you
check ?
[ERROR] org.apache.maven.surefire.booter.SurefireBooterForkException:
The forked VM terminated without properly saying goodbye. VM crash or
System.exit called?
[ERROR] Command was /bin/sh -c cd
/Users/dahn/apache/directory-server/service &&
/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre/bin/java
-Xmx1024m -jar
/Users/dahn/apache/directory-server/service/target/surefire/surefirebooter8751169659152956685.jar
/Users/dahn/apache/directory-server/service/target/surefire
2019-06-12T14-24-08_517-jvmRun1 surefire1294047605614087720tmp
surefire_07367554630409192216tmp
[ERROR] Error occurred in starting fork, check output in log
[ERROR] Process Exit Code: 1
[ERROR] Crashed tests:
[ERROR] org.apache.directory.server.UberJarMainTest
[ERROR] at
org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:670)
[ERROR] at
org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:283)
[ERROR] at
org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:246)
[ERROR] at
org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1161)
[ERROR] at
org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:1002)
[ERROR] at
org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:848)
[ERROR] at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
[ERROR] at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:210)
[ERROR] at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:156)
[ERROR] at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)
[ERROR] at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
[ERROR] at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
[ERROR] at
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56)
[ERROR] at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
[ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305)
[ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192)
[ERROR] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105)
[ERROR] at org.apache.maven.cli.MavenCli.execute(MavenCli.java:956)
[ERROR] at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
[ERROR] at org.apache.maven.cli.MavenCli.main(MavenCli.java:192)
[ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[ERROR] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[ERROR] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[ERROR] at java.lang.reflect.Method.invoke(Method.java:498)
[ERROR] at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:282)
[ERROR] at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:225)
[ERROR] at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:406)
[ERROR] at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:347)
also a lot of warnings like this pass by (in both cases and obviously
maven and not java related):
[WARNING] Some problems were encountered while building the effective
model for
org.apache.directory.server:apacheds-i18n:bundle:2.0.0.AM26-SNAPSHOT
[WARNING] Reporting configuration should be done in <reporting>
section, not in maven-site-plugin <configuration> as reportPlugins
parameter.
Yes, this one is benign, we need to fix that but it won't harm.
not sure if pictures are allowed @here but <alt="AM25 installation
fails"/>
image.png
my macos version is 10.14.5
That's because Apple now requires signed packages in order to have them
accepted. We are working on that atm.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]