Uploaded image for project: 'Aurora'
  1. Aurora
  2. AURORA-1409

End-to-end tests fail with 401 unuthorized

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • 0.10.0
    • Testing
    • None
    • Twitter Aurora Q2'15 Sprint 8
    • 3

    Description

      Can be consistently reproduced on 24088ef.

      + kadmin.local -q 'ktadd -keytab testdir/root.keytab root'
      Authenticating as principal user/admin@KRBTEST.COM with password.
      Entry for principal root with kvno 2, encryption type aes256-cts-hmac-sha1-96 added to keytab WRFILE:testdir/root.keytab.
      Entry for principal root with kvno 2, encryption type aes128-cts-hmac-sha1-96 added to keytab WRFILE:testdir/root.keytab.
      Entry for principal root with kvno 2, encryption type des3-cbc-sha1 added to keytab WRFILE:testdir/root.keytab.
      Entry for principal root with kvno 2, encryption type arcfour-hmac added to keytab WRFILE:testdir/root.keytab.
      + test_snapshot
      + snapshot_as vagrant
      + local principal=vagrant
      + kinit -k -t testdir/vagrant.keytab vagrant
      ++ printf snapshot-response.%s.json vagrant
      + curl -u : --negotiate -w '%{http_code}\n' -o snapshot-response.vagrant.json -s http://192.168.33.7:8081/api --data-binary '[1,"snapshot",1,0,{}]'
      401
      + kdestroy
      + cat snapshot-response.vagrant.json
      <html>
      <head>
      <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
      <title>Error 401 Unauthorized</title>
      </head>
      <body>
      <h2>HTTP ERROR: 401</h2>
      <p>Problem accessing /api. Reason:
      <pre>    Unauthorized</pre></p>
      <hr /><i><small>Powered by Jetty://</small></i>
                                                      
                                                      
                                                      
                                                      
                                                      
                                                      
                                                      
                                                      
                                                      
                                                      
                                                      
                                                      
                                                      
                                                      
                                                      
                                                      
                                                      
                                                      
                                                      
                                                      
      </body>
      </html>
      
      

      Attachments

        Activity

          People

            kevints Kevin Sweeney
            wfarner Bill Farner
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: