directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jiajia Li (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DIRKRB-658) KerbyTokenAppTest failed on Mac
Date Fri, 22 Sep 2017 08:34:01 GMT

    [ https://issues.apache.org/jira/browse/DIRKRB-658?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16176114#comment-16176114
] 

Jiajia Li commented on DIRKRB-658:
----------------------------------

{code}
runAppClientWithToken(createAppClient());

        KrbToken receivedToken = ((GssAppServer) appServer).getReceivedAccessToken();
        assertNotNull(receivedToken);
{code}
I found that the gss server unless wait some time, otherwise will not receive the access token.
But I don't know why it can pass in CentOS. 
[~coheig], could you have a look at this issue?

> KerbyTokenAppTest failed on Mac
> -------------------------------
>
>                 Key: DIRKRB-658
>                 URL: https://issues.apache.org/jira/browse/DIRKRB-658
>             Project: Directory Kerberos
>          Issue Type: Bug
>         Environment: OS: macOS sierra
> JAVA: 1.8
>            Reporter: Frank Zeng
>
> When I build kerby (branch: trunck) on Mac, I get the following error about unit test
fail: 
> {code}
> [ERROR] Failures: 
> [ERROR]   KerbyTokenAppTest.testJwtAccessToken:69
> [INFO] 
> [ERROR] Tests run: 26, Failures: 1, Errors: 0, Skipped: 0
> {code}
> then I run the KerbyTokenAppTest class solely, then I get this:
> {code}
> [pool-1-thread-5] INFO org.apache.kerby.kerberos.kerb.server.request.TgsRequest - TGS_REQ
ISSUE: authtime 1506047948699,drankye@TEST.COM for test-service/localhost@TEST.COM
> [main] INFO org.apache.kerby.kerberos.kerb.client.impl.DefaultInternalKrbClient - Send
to kdc success.
> [main] INFO org.apache.kerby.kerberos.kerb.server.impl.DefaultInternalKdcServerImpl -
Default Internal kdc server stopped.
> java.lang.AssertionError
> 	at org.junit.Assert.fail(Assert.java:86)
> 	at org.junit.Assert.assertTrue(Assert.java:41)
> 	at org.junit.Assert.assertNotNull(Assert.java:712)
> 	at org.junit.Assert.assertNotNull(Assert.java:722)
> 	at org.apache.kerby.kerberos.kerb.integration.test.KerbyTokenAppTest.testJwtAccessToken(KerbyTokenAppTest.java:69)
> 	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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
> 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
> 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
> 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
> 	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
> 	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
> 	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
> 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
> 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
> 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
> 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
> 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
> 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
> 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
> 	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
> 	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
> 	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
> 	at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
> 	at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
> 	at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
> 	at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
> 	at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message