On Wed, Jun 12, 2019 at 6:16 PM Emmanuel Lécharny <[email protected]> wrote:
> > On 12/06/2019 17:45, Daan Hoogland wrote: > > > > > > > > This issue should have been fixed with the latest LDAP API release > > (2.0.0.AM4), which is out since monday. > > > > so a pull of master should have worked? or do I need to update the > > pom.xml? I see it 'still' uses 2.0.0.AM4-SNAPSHOT. > > I just updated the ApacheDS pom to point to 2.0.0.AM4 (something I > should have done earlier). > > great, these pass, but ... using jdk 1.8.0.212, I get [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... whereas using 11.0.3 i get (which you kind of explained earlier): [INFO] Running org.apache.directory.server.kerberos.KeyDerivationServiceIT [ERROR] Tests run: 4, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 11.098 s <<< FAILURE! - in org.apache.directory.server.kerberos.KeyDerivationServiceIT [ERROR] testModifyDerivedKeysWithoutPrincipalName(org.apache.directory.server.kerberos.KeyDerivationServiceIT) Time elapsed: 0.642 s <<< FAILURE! java.lang.AssertionError: Unkown JVM: Eclipse OpenJ9 at org.apache.directory.server.kerberos.KeyDerivationServiceIT.checkKeyNumber(KeyDerivationServiceIT.java:182) at org.apache.directory.server.kerberos.KeyDerivationServiceIT.testModifyDerivedKeysWithoutPrincipalName(KeyDerivationServiceIT.java:485) [ERROR] testModifyDerivedKeys(org.apache.directory.server.kerberos.KeyDerivationServiceIT) Time elapsed: 0.124 s <<< FAILURE! java.lang.AssertionError: Unkown JVM: Eclipse OpenJ9 at org.apache.directory.server.kerberos.KeyDerivationServiceIT.checkKeyNumber(KeyDerivationServiceIT.java:182) at org.apache.directory.server.kerberos.KeyDerivationServiceIT.testModifyDerivedKeys(KeyDerivationServiceIT.java:346) [ERROR] testAddDerivedKeys(org.apache.directory.server.kerberos.KeyDerivationServiceIT) Time elapsed: 0.066 s <<< FAILURE! java.lang.AssertionError: Unkown JVM: Eclipse OpenJ9 at org.apache.directory.server.kerberos.KeyDerivationServiceIT.checkKeyNumber(KeyDerivationServiceIT.java:182) at org.apache.directory.server.kerberos.KeyDerivationServiceIT.testAddDerivedKeys(KeyDerivationServiceIT.java:269) ... Check that you don't have a server running in Studio. > it was actually a failed stuck debug session in the background, sorry to bother you with that. I am using this, https://github.com/bkoehm/apacheds-embedded/pull/1 to try to use ApacheDS as test ldapserver. Is there an easy way prepared to run the server from 'source'/working directory? -- Daan
