Uploaded image for project: 'PBS Pro'
  1. PP-951

pbs_benchpress errors not displayed in terminal window

    Details

    • Type: Bug
    • Status: Open
    • Priority: Low
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: PTL Framework
    • Labels:
      None
    • Story Points:
      1

      Description

      pbs_benchpress displays INFO logs in terminal window but not ERRORs when used with an output file.

      Run abs_benchpress with an invalid test suite name and specify an output file
      You will see all the INFO level logs going to terminal window but not the final ERROR, which reports what was wrong with the command.

      Run pbs_benchpress -t with an invalid test name.

      minghui@centos:tests$ pbs_benchpress -t InvalidTest -o ptl_output.txt
      2017-08-31 10:09:15,677 INFO input command: pbs_benchpress -t InvalidTest -o ptl_output.txt
      2017-08-31 10:09:15,677 INFO param: None
      2017-08-31 10:09:15,677 INFO ptl version: 17.1.0
      2017-08-31 10:09:15,677 INFO platform: Linux centos 3.10.0-514.el7.x86_64 #1 SMP Tue Nov 22 16:42:41 UTC 2016 x86_64 x86_64
      2017-08-31 10:09:15,677 INFO python version: 2.7.5
      2017-08-31 10:09:15,677 INFO user: minghui
      2017-08-31 10:09:15,677 INFO --------------------------------------------------------------------------------
      2017-08-31 10:09:15,677 INFO Cleaning up temporary files
      [sudo] password for minghui:

      minghui@centos:tests$ cat ptl_output.txt
      2017-08-31 10:09:15,677 INFO input command: pbs_benchpress -t InvalidTest -o ptl_output.txt
      2017-08-31 10:09:15,677 INFO param: None
      2017-08-31 10:09:15,677 INFO ptl version: 17.1.0
      2017-08-31 10:09:15,677 INFO platform: Linux centos 3.10.0-514.el7.x86_64 #1 SMP Tue Nov 22 16:42:41 UTC 2016 x86_64 x86_64
      2017-08-31 10:09:15,677 INFO python version: 2.7.5
      2017-08-31 10:09:15,677 INFO user: minghui
      2017-08-31 10:09:15,677 INFO --------------------------------------------------------------------------------
      2017-08-31 10:09:15,677 INFO Cleaning up temporary files
      2017-08-31 10:09:21,812 ERROR unknown testsuite(s): InvalidTest

      The final ERROR log is not displayed in terminal window.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              cityzerone Minghui Liu
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: