Depends what you're doing with Python but unless there's a lot of I/O I wouldn't expect a lot of difference. I use it all the time for software build scripting.

On 10/21/2015 7:41 PM, Mishael Kim wrote:
Awesome. Getting some more info with the unbuffered output. Are there any potential side effects when using this? Performance?
Thanks!

On Wed, Oct 21, 2015 at 4:19 PM, Eric Pyle <[email protected] <mailto:[email protected]>> wrote:

    Try running Python with the -u option (unbuffered output).
    Otherwise the output from Python is not in sync with what is
    happening in real time.


    On 10/21/2015 6:05 PM, Mishael Kim wrote:

    Hi,

    I was hoping someone could provide some tips on how to debug/fix
    this issue i'm seeing.

    I'm launching a python build script from within Jenkins job and
    the console output just seems to hang on the call.  One of the
    first steps within the script is to call some perforce commands
    using p4.  When I go to the slave machine and check the running
    processes, I can see that a python process and p4 process is
    running (as expected).  I suspect that it's some odd perforce
    error that is causing the hang, but I cannot tell what's going on
    because of the hang and no output to the console.  If I copy and
    paste the command directly into the command prompt to bypass
    Jenkins, it seems to just work fine with the expected output.

    After some googling, i've unsuccessfully tried using pycharm to
    attach to the already running python process in hopes to getting
    any clues.

    Can anyone point me in the right direction on how to fix/debug
    this issue?  Has anyone seen something similar?


    Thanks,
    Mishael

-- You received this message because you are subscribed to the
    Google Groups "Jenkins Users" group.
    To unsubscribe from this group and stop receiving emails from it,
    send an email to [email protected]
    <mailto:[email protected]>.
    To view this discussion on the web visit
    
https://groups.google.com/d/msgid/jenkinsci-users/CAMzA64kzua0QcsWi6rxuzyBs%2B-pThxe8FhGEjCRn4c4MGzs--g%40mail.gmail.com.
    For more options, visit https://groups.google.com/d/optout.

-- You received this message because you are subscribed to the Google
    Groups "Jenkins Users" group.
    To unsubscribe from this group and stop receiving emails from it,
    send an email to [email protected]
    <mailto:[email protected]>.
    To view this discussion on the web visit
    
https://groups.google.com/d/msgid/jenkinsci-users/56281D8E.2010609%40cd-adapco.com
    
<https://groups.google.com/d/msgid/jenkinsci-users/56281D8E.2010609%40cd-adapco.com?utm_medium=email&utm_source=footer>.


    For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected] <mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAMzA64nvxjOKQvDyaW5v16iQN2YqENHWp-SiBmaTMLjcq7c%3DKQ%40mail.gmail.com <https://groups.google.com/d/msgid/jenkinsci-users/CAMzA64nvxjOKQvDyaW5v16iQN2YqENHWp-SiBmaTMLjcq7c%3DKQ%40mail.gmail.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Jenkins 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/562826D8.6000305%40cd-adapco.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to