[Buildbot-devel] program failed under buildbot, don't failed when in console env.
Bill Deegan
bill at baddogconsulting.com
Fri Aug 1 17:16:59 UTC 2014
Mo,
Are you trying to run the commands from the command line on the same
machine as the buildbot slave where it's failing?
-Bill
On Thu, Jul 31, 2014 at 6:31 PM, Mo Jia <life.130815 at gmail.com> wrote:
> In console use env command compare with log in buildslave :
>
> console : _=/usr/bin/env
> buildbot: _=/usr/local/bin/buildslave
>
> I also find SSH_CONNECTION in buildbot env ( see it from build log), I
> start the buildbot and buildslove in a ssh connect (). When close ssh , it
> seem don't effect buildbot.
>
> I aslo find buildbot : Using PTY:false . (Can it be True, Is there some
> difference?)
>
>
>
>
> 2014-08-01 1:53 GMT+08:00 Bill Deegan <bill at baddogconsulting.com>:
>
>> Mo,
>>
>>
>> On Thu, Jul 31, 2014 at 6:23 AM, Mo Jia <life.130815 at gmail.com> wrote:
>>
>>> Hi every body, I recently met a strange situation . While the
>>> program run in buildbot's build it failed , but when I run in console it
>>> don't failed.
>>> The programs always concern about python. Such as
>>> 1 using scons (scons using gcc,g++ to build souce), the buildbot
>>> will failed on some "internal comipler bug" (it will not be some code
>>> problem , it always failed on some stdlib)
>>> 2 python have some segment flaut (in my python scritpt using ctype
>>> to call so)
>>>
>>> So any body meet the same situation ? How to debug with it , I mean
>>> how can I re product the failed in console with buildbot env ? I using loop
>>> to run the same failed python scripyt in console , it don't happend.
>>>
>>> My buildbot is 0.8.9 with Twisted 14.0.0 in ubuntu12.04 with kernel
>>> 3.11.0-15. gcc using 4.6.3 g++ using 4.5.3 and python 2.7.3.
>>>
>>
>> Is is possible that your scons setup is expecting some environment
>> variable which is not sent when run under buildbot?
>> -Bill
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20140801/a16859bf/attachment.html>
More information about the devel
mailing list