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

TestKDiag failing intermittently on Jenkins/Yetus at login from keytab

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 3.0.0-beta1
    • Fix Version/s: None
    • Component/s: security, test
    • Labels:
      None
    • Environment:

      Description

      The test TestKDiag is failing intermittently on Yetus builds,

      org.apache.hadoop.security.KerberosAuthException: Login failure for user: foo@EXAMPLE.COM from keytab /testptch/hadoop/hadoop-common-project/hadoop-common/target/keytab javax.security.auth.login.LoginException: Unable to obtain password from user
      

      The tests that fail are all trying to log in using a keytab just created, the JVM isn't having any of it.

      Possible causes? I can think of a few to start with

      1. keytab generation
      2. keytab path parameter wrong
      3. JVM isn't doing the login
      4. some race condition
      5. Host OS
      6. Other environment issues (clock, network...)

      There's no recent changes in the kdiag or UGI code.

      The failure is intermittent, not surfacing for me (others?) locally, which which could point at: JVM, host OS, race condition, other env issues.

        Attachments

        1. output.txt
          38 kB
          Steve Loughran

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                stevel@apache.org Steve Loughran
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: