Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-51558

console output order

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved (View Workflow)
    • Critical
    • Resolution: Cannot Reproduce
    • timestamper-plugin
    • None
    • Jenkins ver. 1.651.3

    Description

      we have many jobs in jenkins. but the console output have some problems.

      1) the console output order is mixed.

      like:
      2017-06-16 14:38:54.650 | git clone http://github.com/openstack/nova
      2017-06-16 14:38:54.670 | git clone http://github.com/openstack/neutron
      2017-06-16 14:38:54.670 | python echo nova/setup.pyc
      2017-06-16 14:38:54.670 | python echo neutron/setup.pyc
      2017-06-16 14:38:54.670 | python echo neutron/keystone.pyc
      2017-06-16 14:38:54.670 | git clone http://github.com/openstack/keystone
      but the right console output order is:
      2017-06-16 14:38:54.670 | git clone http://github.com/openstack/nova
      2017-06-16 14:38:54.670 | git clone http://github.com/openstack/neutron
      2017-06-16 14:38:54.670 | git clone http://github.com/openstack/keystone
      2017-06-16 14:38:54.670 | python echo nova/setup.pyc
      2017-06-16 14:38:54.670 | python echo neutron/setup.pyc
      2017-06-16 14:38:54.670 | python echo neutron/keystone.pyc
      2)the timestamp is not the right time what the code running

      like:
      2017-06-16 14:38:54.670 | git clone http://github.com/openstack/nova
      but the right timestamp is "14:38:54.540"

      Attachments

        Activity

          Please provide instructions to create a job which illustrates the problem.

          stevengbrown Steven G Brown added a comment - Please provide instructions to create a job which illustrates the problem.
          shihai1991 hai shi added a comment -

          Hi, Steven,

          looks the below pitcutre:

          shihai1991 hai shi added a comment - Hi, Steven, looks the below pitcutre:
          shihai1991 hai shi added a comment -

          We use python's paramiko to control the ssh thread and console ouput in the job, it looks the ssh could effect the console output.

          shihai1991 hai shi added a comment - We use python's paramiko to control the ssh thread and console ouput in the job, it looks the ssh could effect the console output.

          I meant, when I open my Jenkins and create a new job, how should I configure that job so that it demonstrates this problem?

          stevengbrown Steven G Brown added a comment - I meant, when I open my Jenkins and create a new job, how should I configure that job so that it demonstrates this problem?

          Ah ok. I think its likely that Jenkins is working correctly, and something in the script is not running the way you expect. You could confirm that by running the script outside of Jenkins.

          stevengbrown Steven G Brown added a comment - Ah ok. I think its likely that Jenkins is working correctly, and something in the script is not running the way you expect. You could confirm that by running the script outside of Jenkins.

          People

            stevengbrown Steven G Brown
            shihai1991 hai shi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: