Details

    • Type: Improvement
    • Status: Resolved (View Workflow)
    • Priority: Critical
    • Resolution: Cannot Reproduce
    • Component/s: timestamper-plugin
    • Labels:
      None
    • Environment:
      Jenkins ver. 1.651.3
    • Similar Issues:

      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

          Hide
          stevengbrown Steven G Brown added a comment -

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

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

          Hi, Steven,

          looks the below pitcutre:

          Show
          shihai1991 hai shi added a comment - Hi, Steven, looks the below pitcutre:
          Hide
          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.

          Show
          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.
          Hide
          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?

          Show
          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?
          Hide
          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.

          Show
          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

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

              Dates

              • Created:
                Updated:
                Resolved: