Uploaded image for project: 'Infrastructure'
  1. Infrastructure
  2. INFRA-21224

Saw python stack trace in post-receive gitbox hook when pushing

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Fix Version/s: None
    • Component/s: GitBox
    • Labels:
      None
    • Project:
      Accumulo

      Description

      I'm not sure what happened, but I saw the following stack trace from the remote side when I pushed an update to our website today. Everything *seems* to have pushed correctly, so I'm not sure exactly what failed, but I wanted to record the error, in case it is helpful to the INFRA team:

      {code}
      $ git remote -v
      asf https://gitbox.apache.org/repos/asf/accumulo-website (fetch)
      asf https://gitbox.apache.org/repos/asf/accumulo-website (push)
      $ git push asf asf/asf-staging:refs/heads/asf-site
      remote: To git@github:apache/accumulo-website.git
      remote: 18c4baf..0f74238 0f7423833e84ce1d4d066671d1e49b712523328e -> asf-site
      remote: Syncing refs/heads/asf-site...
      remote: Sending notification emails to: [u'"commits@accumulo.apache.org" <commits@accumulo.apache.org>']
      remote: Publishing contents at https://accumulo.apache.org/ ...
      remote: Traceback (most recent call last):
      remote: File "hooks/post-receive", line 37, in <module>
      remote: main()
      remote: File "hooks/post-receive", line 33, in main
      remote: run_hook(hook, stdin)
      remote: File "hooks/post-receive", line 13, in run_hook
      remote: pipe = sp.Popen(hook, stdin=sp.PIPE, stderr=sp.STDOUT)
      remote: File "/usr/lib/python2.7/subprocess.py", line 711, in __init__
      remote: errread, errwrite)
      remote: File "/usr/lib/python2.7/subprocess.py", line 1343, in _execute_child
      remote: raise child_exception
      remote: OSError: [Errno 8] Exec format error
      To https://gitbox.apache.org/repos/asf/accumulo-website
         18c4baf..0f74238 asf/asf-staging -> asf-site
      {code}

        Attachments

          Activity

            People

            • Assignee:
              cml Chris Lambertus
              Reporter:
              ctubbsii Christopher Tubbs

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment