Masatake Iwasaki created BIGTOP-4147:
----------------------------------------

             Summary: Fix test failure of Ranger due to timing issue
                 Key: BIGTOP-4147
                 URL: https://issues.apache.org/jira/browse/BIGTOP-4147
             Project: Bigtop
          Issue Type: Bug
            Reporter: Masatake Iwasaki


smoke-tests CI on aarch64 instance shows test failure of Ranger. Since I can 
not reproduce this on my local node, I guess test method is executed while the 
server process is starting and not ready.

{noformat}
org.apache.bigtop.itest.ranger.TestRangerSmoke > testServiceDefs FAILED
    java.io.IOException: Server returned HTTP response code: 500 for URL: 
http://localhost:6080/service/public/v2/api/servicedef
        at 
sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1902)
        at 
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1500)
        at 
org.codehaus.groovy.runtime.ResourceGroovyMethods.configuredInputStream(ResourceGroovyMethods.java:2218)
        at 
org.codehaus.groovy.runtime.ResourceGroovyMethods.newReader(ResourceGroovyMethods.java:2319)
        at 
org.codehaus.groovy.runtime.ResourceGroovyMethods.getText(ResourceGroovyMethods.java:692)
        at 
org.codehaus.groovy.runtime.ResourceGroovyMethods.getText(ResourceGroovyMethods.java:660)
        at org.codehaus.groovy.runtime.dgm$1017.invoke(Unknown Source)
        at 
org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:246)
        at 
org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:55)
        at 
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
        at 
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:115)
        at 
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:127)
        at 
org.apache.bigtop.itest.ranger.TestRangerSmoke.testServiceDefs(TestRangerSimple.groovy:39)
{noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to