> On Mar 2, 2020, at 2:58 AM, Emmanuel Lécharny <elecha...@gmail.com> wrote:
> 
> On 02/03/2020 09:46, Brian Burch wrote:
>> Hmm, perhaps +1...?
>> 
>> Sorry to raise a problem, but  "mvn clean install" gets three test failures 
>> for me when running under:-
>> 
>> OpenJDK 64-Bit Server VM (build 11.0.5+10-post-Ubuntu-0ubuntu1.1, mixed 
>> mode, sharing
>> 
>> Do you think this is a local environment error, or something more general 
>> which ought to be fixed before general release?
> 
> 
> Clearly an issue with Java 11...
> 

I’m having problems as well, on Java 8.

I’ve tried both on Centos7[1] and Ubuntu18[2], both fail.

Also, having problems testing an instance of the server, but still 
troubleshooting.  It may be related to me not knowing how to build the 
installers.  I followed the instructions under the README in the installers 
folder.  Speaking of (bin) installers, shouldn’t they be included in the 
release package?

***

[1] Centos7 problem.

$mvn -version

Apache Maven 3.0.5 (Red Hat 3.0.5-17)
Maven home: /usr/share/maven
Java version: 1.8.0_242, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.242.b08-0.el7_7.x86_64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.10.0-957.el7.x86_64", arch: "amd64", family: 
“unix”

$mvn clean install
...

WARNING: Error injecting: org.apache.maven.plugin.surefire.SurefirePlugin       
                                                                                
                                                        [79/1918]
com.google.inject.ProvisionException: Guice provision errors:

1) No implementation for 
org.codehaus.plexus.languages.java.jpms.LocationManager was bound.
  while locating org.apache.maven.plugin.surefire.SurefirePlugin

1 error
        at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1006)
        at 
com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1032)
        at 
org.sonatype.guice.bean.reflect.AbstractDeferredClass.get(AbstractDeferredClass.java:45)
        at 
com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:86)
        at 
com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:55)
        at 
com.google.inject.internal.ProviderInternalFactory$1.call(ProviderInternalFactory.java:70)
        at 
com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:100)
        at 
org.sonatype.guice.plexus.lifecycles.PlexusLifecycleManager.onProvision(PlexusLifecycleManager.java:138)
        at 
com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:109)
        at 
com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55)
        at 
com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:68)
        at 
com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:47)
        at 
com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:997)
        at 
com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1047)
        at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:993)
        at com.google.inject.Scopes$1$1.get(Scopes.java:59)
        at 
org.sonatype.guice.bean.locators.LazyBeanEntry.getValue(LazyBeanEntry.java:83)
        at 
org.sonatype.guice.plexus.locators.LazyPlexusBean.getValue(LazyPlexusBean.java:49)
        at 
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:253)
        at 
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:245)
        at 
org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo(DefaultMavenPluginManager.java:455)
        at 
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:92)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
        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:84)
        at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
        at 
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
        at 
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
        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:290)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:414)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:357)

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] ApacheDS .......................................... SUCCESS [9.922s]
[INFO] ApacheDS I18n ..................................... FAILURE [7.203s]
[INFO] ApacheDS Core Constants ........................... SKIPPED
[INFO] ApacheDS Core API ................................. SKIPPED
[INFO] ApacheDS Core Shared .............................. SKIPPED
[INFO] ApacheDS Interceptors ............................. SKIPPED
[INFO] ApacheDS AdministrativePoint Interceptor .......... SKIPPED
[test] 0:student@li956-127:~/directory-fortress-core  
1:student@li956-127:/usr/lib/jvm/java/bin- 
2:student@li956-127:~/apacheds-parent-2.0.0.AM26* 
3:student@li956-127:~/directory-fort> "li956-127.members.lino" 13:19 02-Mar-20

...


[2] Ubuntu18 problem.

$mvn -version

Apache Maven 3.6.0
Maven home: /usr/share/maven
Java version: 1.8.0_242, vendor: Private Build, runtime: 
/usr/lib/jvm/java-8-openjdk-amd64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "4.15.0-72-generic", arch: "amd64", family: “unix”


$mvn clean install

...

[ERROR] Errors: 
[ERROR]   AsRepDecoderTest.testDecodeFullAsRep:237 » NoSuchMethod 
java.nio.ByteBuffer.po...
[ERROR]   AsRepDecoderTest.testDecodeFullAsRep2:935 » NoSuchMethod 
java.nio.ByteBuffer.p...
[ERROR]   AsReqDecoderTest.testDecodeAsReqNoPaData:538 » NoSuchMethod 
java.nio.ByteBuffe...
[ERROR]   AsReqDecoderTest.testDecodeFullAsReq:197 » NoSuchMethod 
java.nio.ByteBuffer.po...
[ERROR]   ETypeInfo2DecoderTest.testETypeInfo2:105 » NoSuchMethod 
java.nio.ByteBuffer.po...
[ERROR]   ETypeInfoDecoderTest.testETypeInfo:107 » NoSuchMethod 
java.nio.ByteBuffer.posi...
[ERROR]   EncKrbCredPartDecoderTest.testEncKrbCredPart:154 » NoSuchMethod 
java.nio.ByteB...
[ERROR]   EncKrbCredPartDecoderTest.testKrbCredInfoWithEachOptElement:198 » 
NoSuchMethod
[ERROR]   
EncTicketPartDecoderTest.testDecodeEncTicketPart:118->encodeDecodeAndTest:184 » 
NoSuchMethod
[ERROR]   
EncTicketPartDecoderTest.testDecodeEncTicketPartWithoutRenwtillTime:137->encodeDecodeAndTest:184
 » NoSuchMethod
[ERROR]   
EncTicketPartDecoderTest.testDecodeEncTicketPartWithoutStartAndRenewtillTimes:128->encodeDecodeAndTest:184
 » NoSuchMethod
[ERROR]   HostAddressesDecoderTest.testHostAddresses:144 » NoSuchMethod 
java.nio.ByteBuf...
[ERROR]   KdcRepDecoderTest.testDecodeFullKdcRep:238 » NoSuchMethod 
java.nio.ByteBuffer....
[ERROR]   KdcReqBodyDecoderTest.testDecodeFullKdcReqBody:189 » NoSuchMethod 
java.nio.Byt...
[ERROR]   KdcReqDecoderTest.testDecodeFullKdcReq:197 » NoSuchMethod 
java.nio.ByteBuffer....
[ERROR]   KerberosMessageDecoderTest.testDecodeKerberosMessages:274 » 
NoSuchMethod java....
[ERROR]   KrbCredDecoderTest.testDecodeKrebCred:78 » NoSuchMethod 
java.nio.ByteBuffer.po...
[ERROR]   KrbCredInfoDecoderTest.testKrbCredInfo:182 » NoSuchMethod 
java.nio.ByteBuffer....
[ERROR]   KrbCredInfoDecoderTest.testKrbCredInfoWithEachOptElement:228 » 
NoSuchMethod ja...
[ERROR]   MethodDataDecoderTest.testMethodData:111 » NoSuchMethod 
java.nio.ByteBuffer.po...
[ERROR]   TgsRepDecoderTest.testDecodeFullTgsRep:237 » NoSuchMethod 
java.nio.ByteBuffer....
[ERROR]   TgsReqDecoderTest.testDecodeFullTgsReq:197 » NoSuchMethod 
java.nio.ByteBuffer....
[ERROR]   TgsReqDecoderTest.testDecodeFullTgsReqBadMsgType »  Unexpected 
exception, expe...
[INFO] 
[ERROR] Tests run: 376, Failures: 0, Errors: 23, Skipped: 1
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for ApacheDS 2.0.0.AM26:
[INFO] 
[INFO] ApacheDS ........................................... SUCCESS [  1.562 s]
[INFO] ApacheDS I18n ...................................... SUCCESS [  1.403 s]
[INFO] ApacheDS Core Constants ............................ SUCCESS [  0.258 s]
[INFO] ApacheDS Core API .................................. SUCCESS [  4.640 s]
[INFO] ApacheDS Core Shared ............................... SUCCESS [  0.829 s]
[INFO] ApacheDS Interceptors .............................. SUCCESS [  0.053 s]
[INFO] ApacheDS AdministrativePoint Interceptor ........... SUCCESS [  0.682 s]
[INFO] ApacheDS Authentication Interceptor ................ SUCCESS [  1.736 s]
[INFO] ApacheDS Interceptor to increment numeric attributes SUCCESS [  0.551 s]
[INFO] ApacheDS Authorization Interceptor ................. SUCCESS [  2.425 s]
[INFO] ApacheDS ChangeLog Interceptor ..................... SUCCESS [  0.507 s]
[INFO] ApacheDS Collective Attribute Interceptor .......... SUCCESS [  0.461 s]
[INFO] ApacheDS Event Interceptor ......................... SUCCESS [  0.521 s]
[INFO] ApacheDS Exception Interceptor ..................... SUCCESS [  0.490 s]
[INFO] ApacheDS Journal Interceptor ....................... SUCCESS [  0.437 s]
[INFO] ApacheDS Normalization Interceptor ................. SUCCESS [  1.546 s]
[INFO] ApacheDS Operational Attribute Interceptor ......... SUCCESS [  0.448 s]
[INFO] ApacheDS Referral Interceptor ...................... SUCCESS [  0.803 s]
[INFO] ApacheDS Schema Interceptor ........................ SUCCESS [  1.677 s]
[INFO] ApacheDS Subtree Interceptor ....................... SUCCESS [  1.918 s]
[INFO] ApacheDS Triggers Interceptor ...................... SUCCESS [  0.529 s]
[INFO] ApacheDS Core ...................................... SUCCESS [  2.493 s]
[INFO] ApacheDS Core AVL .................................. SUCCESS [  3.196 s]
[INFO] ApacheDS Generalized (X) DBM Partition ............. SUCCESS [  4.934 s]
[INFO] ApacheDS LDIF Partition ............................ SUCCESS [  2.303 s]
[INFO] ApacheDS JDBM Partition ............................ SUCCESS [  5.156 s]
[INFO] ApacheDS Mavibot Partition ......................... SUCCESS [  3.228 s]
[INFO] ApacheDS Core Annotations .......................... SUCCESS [  7.037 s]
[INFO] ApacheDS Core JNDI ................................. SUCCESS [  1.175 s]
[INFO] ApacheDS Protocol Kerberos Codec ................... FAILURE [  4.893 s]
[INFO] ApacheDS Interceptors for Kerberos ................. SKIPPED
[INFO] ApacheDS Protocol Dhcp ............................. SKIPPED
[INFO] ApacheDS Protocol Shared ........................... SKIPPED
[INFO] ApacheDS Protocol Dns .............................. SKIPPED
[INFO] ApacheDS Protocol Kerberos ......................... SKIPPED
[INFO] ApacheDS Protocol Ldap ............................. SKIPPED
[INFO] ApacheDS Protocol Ntp .............................. SKIPPED
[INFO] Apacheds Server Annotations ........................ SKIPPED
[INFO] ApacheDS Server Config ............................. SKIPPED
[INFO] ApacheDS Server JNDI ............................... SKIPPED
[INFO] ApacheDS Test Framework ............................ SKIPPED
[INFO] ApacheDS All ....................................... SKIPPED
[INFO] ApacheDS Logger Interceptor ........................ SKIPPED
[INFO] ApacheDS Password Hashing Interceptor .............. SKIPPED
[INFO] ApacheDS Core Integration .......................... SKIPPED
[INFO] ApacheDS Protocol Kerberos Test .................... SKIPPED
[INFO] ApacheDS Server Integration ........................ SKIPPED
[INFO] ApacheDS DirectoryService-WebApp bridge ............ SKIPPED
[INFO] ApacheDS Jetty HTTP Server Integration ............. SKIPPED
[INFO] ApacheDS Service Builder ........................... SKIPPED
[INFO] Apache Directory LDAP Client API test .............. SKIPPED
[INFO] kerberos-client .................................... SKIPPED
[INFO] ApacheDS Service ................................... SKIPPED
[INFO] ApacheDS Wrapper ................................... SKIPPED
[INFO] ApacheDS Installers Maven Plugin ................... SKIPPED
[INFO] ApacheDS Installers ................................ SKIPPED
[INFO] ApacheDS OSGi Integration Tests .................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  58.911 s
[INFO] Finished at: 2020-03-02T07:14:47-06:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M3:test (default-test) on 
project apacheds-kerberos-codec: There are test failures.
[ERROR] 
[ERROR] Please refer to 
/home/smckinn/tmp/apache/3/apacheds-parent-2.0.0.AM26/kerberos-codec/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] -> [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/MojoFailureException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :apacheds-kerberos-codec
smckinn@ubuntu18:~/tmp/apache/3/apacheds-parent-2.0.0.AM26$ B


—
Shawn


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org
For additional commands, e-mail: dev-h...@directory.apache.org

Reply via email to