Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-15467

TestDoAsEffectiveUser#testRealUserSetup,TestDoAsEffectiveUser#testRealUserAuthorizationSuccess time out on Windows

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • None
    • None
    • None

    Description

      [INFO] Running org.apache.hadoop.security.TestDoAsEffectiveUser
      [ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 8.307 s <<< FAILURE! - in org.apache.hadoop.security.TestDoAsEffectiveUser
      [ERROR] testRealUserSetup(org.apache.hadoop.security.TestDoAsEffectiveUser) Time elapsed: 4.107 s <<< ERROR!
      java.lang.Exception: test timed out after 4000 milliseconds
      at java.net.Inet4AddressImpl.getHostByAddr(Native Method)
      at java.net.InetAddress$2.getHostByAddr(InetAddress.java:932)
      at java.net.InetAddress.getHostFromNameService(InetAddress.java:617)
      at java.net.InetAddress.getCanonicalHostName(InetAddress.java:588)
      at org.apache.hadoop.security.TestDoAsEffectiveUser.configureSuperUserIPAddresses(TestDoAsEffectiveUser.java:103)
      at org.apache.hadoop.security.TestDoAsEffectiveUser.testRealUserSetup(TestDoAsEffectiveUser.java:188)
      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:47)
      at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
      at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74)

      [ERROR] testRealUserAuthorizationSuccess(org.apache.hadoop.security.TestDoAsEffectiveUser) Time elapsed: 4.002 s <<< ERROR!
      java.lang.Exception: test timed out after 4000 milliseconds
      at java.net.Inet4AddressImpl.getHostByAddr(Native Method)
      at java.net.InetAddress$2.getHostByAddr(InetAddress.java:932)
      at java.net.InetAddress.getHostFromNameService(InetAddress.java:617)
      at java.net.InetAddress.getCanonicalHostName(InetAddress.java:588)
      at org.apache.hadoop.security.TestDoAsEffectiveUser.configureSuperUserIPAddresses(TestDoAsEffectiveUser.java:103)
      at org.apache.hadoop.security.TestDoAsEffectiveUser.testRealUserAuthorizationSuccess(TestDoAsEffectiveUser.java:218)
      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:47)
      at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
      at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74)

      [INFO]
      [INFO] Results:
      [INFO]
      [ERROR] Errors:
      [ERROR] TestDoAsEffectiveUser.testRealUserAuthorizationSuccess:218->configureSuperUserIPAddresses:103 ╗
      [ERROR] TestDoAsEffectiveUser.testRealUserSetup:188->configureSuperUserIPAddresses:103 ╗
      [INFO]
      [ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0

      Attachments

        1. HDFS-13549.000.patch
          1 kB
          Anbang Hu

        Issue Links

          Activity

            People

              huanbang1993 Anbang Hu
              huanbang1993 Anbang Hu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: