[Buildbot-commits] [Buildbot] #2343: gitpoller fails when user ssh for the repository

Buildbot nobody at buildbot.net
Fri Aug 10 00:31:07 UTC 2012


#2343: gitpoller fails when user ssh for the repository
--------------------+-----------------------
Reporter:  kclair   |      Owner:
    Type:  defect   |     Status:  new
Priority:  major    |  Milestone:  undecided
 Version:  0.8.6p1  |   Keywords:  git
--------------------+-----------------------
 I have defined the following ChangeSource (i've replaced the real user and
 host name with example data):

 {{{
 c['change_source'].append(GitPoller(
         'ssh://user@somehost:4422/our-repo',
         workdir='gitpoller-workdir', branch='master',
         pollinterval=300))
 }}}

 which is producing this error:


 2012-08-09 20:23:18-0400 [-] gitpoller: repo poll failed

 2012-08-09 20:23:18-0400 [-] Unhandled Error
         Traceback (most recent call last):
         Failure: twisted.internet.utils._UnexpectedErrorOutput: got
 stderr: "fatal: ambiguous argument 'master..origin/master': unknown
 revision or path not in the working tree.\nUse '--' to separate paths from
 revisions\n"


 I have confirmed that I am able to clone the repo using the same location
 as the same user that runs buildbot, and the cloning process doesn't
 require any keyboard intervention.


 This looks very much like this bug from an older version:
 http://trac.buildbot.net/ticket/2116

 But it appears that GitPoller has been rewritten since then, and the patch
 is no longer applicable.

-- 
Ticket URL: <http://trac.buildbot.net/ticket/2343>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the Commits mailing list