[Buildbot-devel] perforce authentication not working

Hari Kodungallur hkodungallur at gmail.com
Tue Jul 1 21:50:40 UTC 2008


On Tue, Jul 1, 2008 at 2:46 PM, Henry <dimensiondude.oss at gmail.com> wrote:

> I am trying to use buildbot with a project that uses perforce for
> version control, and it is failing at polling it for changes.
> Specifically, it rejects the password as incorrect or missing. I can't
> tell quite what is going on. If, at the command line, I put the
> password into P4PASSWD or using it at the 'p4 login' prompt, it works.
> But, if I put it after -P, it does not work.
>
> buildbot never works, where I 'p4 login' or 'export' the P4PASSWD
> variable or pass P4Source p4passwd='thepassword'.
>
> Any ideas on why this is happening, or how I can debug it further?
>
> P4 poll failed: [Failure instance: Traceback (failure with no frames):
> <type 'exceptions.IOError'>: got stderr: 'Perforce password (P4PASSWD)
> invalid or unset.\n']
>


Have you tried giving the login ticket instead of plain text password to the
p4passwd argument? (your login ticket should be in ~/.p4tickets file or you
can get it using p4 login -p)

rgds
-Hari
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20080701/a456d707/attachment.html>


More information about the devel mailing list