Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-57017

latency tools like oslat,cyclictest fails on invalid inputs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 4.20
    • None
    • None
    • False
    • Hide

      None

      Show
      None

      Description of problem:

          latency tools like oslat,cyclictest, hwlat fail on invalid inputs. 

      Version-Release number of selected component (if applicable):

          openshift4-cnf-tests:v4.19.0-89

      How reproducible:

          Everytime

      Steps to Reproduce:

          1.Run the below tests
      [test_id:42853] Oslat - Verify that the latency tool test should print an expected error message when passing invalid environment variables values
          2.
          3.
          

      Actual results:

      [test_id:42853] Oslat - Verify that the latency tool test should print an expected error message when passing invalid environment variables values
      03:57:59  /home/jenkins/workspace/CNF/cnf-compute-4.19/cluster-node-tuning-operator/test/e2e/performanceprofile/functests/5_latency_testing/latency_testing.go:163
      03:57:59    STEP: Run oslat test : 
      03:57:59    LATENCY_TEST_DELAY = 0 
      03:57:59    LATENCY_TEST_RUNTIME = 5 
      03:57:59    MAXIMUM_LATENCY = 1 
      03:57:59     @ 06/02/25 18:27:56.354
      03:58:14    Jun  2 18:28:13.574: [INFO]: exit status 1
      03:58:14    STEP: Run oslat test : 
      03:58:14    LATENCY_TEST_RUNTIME = 2147483648 
      03:58:14     @ 06/02/25 18:28:13.574
      03:58:20    Jun  2 18:28:19.667: [INFO]: exit status 1
      03:58:20    STEP: Run oslat test : 
      03:58:20    LATENCY_TEST_RUNTIME = -1 
      03:58:20    MAXIMUM_LATENCY = 1 
      03:58:20     @ 06/02/25 18:28:19.667
      03:58:26    Jun  2 18:28:25.763: [INFO]: exit status 1
      03:58:26    STEP: Run oslat test : 
      03:58:26    LATENCY_TEST_RUNTIME = 5 
      03:58:26    MAXIMUM_LATENCY = -2 
      03:58:26     @ 06/02/25 18:28:25.764
      03:58:33    Jun  2 18:28:32.868: [INFO]: exit status 1
      03:58:33    STEP: Run oslat test : 
      03:58:33    LATENCY_TEST_RUNTIME = 1H 
      03:58:33     @ 06/02/25 18:28:32.869
      03:58:39    Jun  2 18:28:38.955: [INFO]: exit status 1
      03:58:39    STEP: Run oslat test : 
      03:58:39    LATENCY_TEST_RUNTIME = 2 
      03:58:39    MAXIMUM_LATENCY = & 
      03:58:39     @ 06/02/25 18:28:38.955
      03:58:46    Jun  2 18:28:46.092: [INFO]: exit status 1
      03:58:46    STEP: Run oslat test : 
      03:58:46    LATENCY_TEST_RUNTIME = 2 
      03:58:46    MAXIMUM_LATENCY = 2147483648 
      03:58:46     @ 06/02/25 18:28:46.092
      03:58:52    Jun  2 18:28:52.192: [INFO]: exit status 1
      03:58:52    STEP: Run oslat test : 
      03:58:52    LATENCY_TEST_DELAY = J 
      03:58:52     @ 06/02/25 18:28:52.192
      03:58:59    Jun  2 18:28:59.289: [INFO]: exit status 1
      03:58:59    STEP: Run oslat test : 
      03:58:59    LATENCY_TEST_DELAY = 2147483648 
      03:58:59     @ 06/02/25 18:28:59.289
      03:59:06    Jun  2 18:29:05.369: [INFO]: exit status 1
      03:59:06    STEP: Run oslat test : 
      03:59:06    LATENCY_TEST_DELAY = -5 
      03:59:06     @ 06/02/25 18:29:05.369
      03:59:12    Jun  2 18:29:12.451: [INFO]: exit status 1
      03:59:12    STEP: Run oslat test : 
      03:59:12    LATENCY_TEST_RUNTIME = 2 
      03:59:12    MAXIMUM_LATENCY = 1 
      03:59:12    LATENCY_TEST_CPUS = p 
      03:59:12     @ 06/02/25 18:29:12.451
      03:59:19    Jun  2 18:29:18.541: [INFO]: exit status 1
      03:59:19    STEP: Run oslat test : 
      03:59:19    LATENCY_TEST_RUNTIME = 2 
      03:59:19    MAXIMUM_LATENCY = 1 
      03:59:19    LATENCY_TEST_CPUS = 2147483648 
      03:59:19     @ 06/02/25 18:29:18.541
      03:59:25    Jun  2 18:29:25.635: [INFO]: exit status 1
      03:59:25    STEP: Run oslat test : 
      03:59:25    LATENCY_TEST_RUNTIME = 2 
      03:59:25    LATENCY_TEST_CPUS = -1 
      03:59:25     @ 06/02/25 18:29:25.635
      03:59:32    Jun  2 18:29:31.723: [INFO]: exit status 1
      03:59:32    STEP: Run oslat test : 
      03:59:32    LATENCY_TEST_RUNTIME = 2 
      03:59:32    LATENCY_TEST_CPUS = 0 
      03:59:32     @ 06/02/25 18:29:31.723
      03:59:39    Jun  2 18:29:37.846: [INFO]: exit status 1
      03:59:39    STEP: Run oslat test : 
      03:59:39    LATENCY_TEST_RUNTIME = 2 
      03:59:39    OSLAT_MAXIMUM_LATENCY = & 
      03:59:39     @ 06/02/25 18:29:37.846
      03:59:45    Jun  2 18:29:44.945: [INFO]: exit status 1
      03:59:45    STEP: Run oslat test : 
      03:59:45    LATENCY_TEST_RUNTIME = 2 
      03:59:45    OSLAT_MAXIMUM_LATENCY = 2147483648 
      03:59:45     @ 06/02/25 18:29:44.945
      03:59:52    Jun  2 18:29:51.066: [INFO]: exit status 1
      03:59:52    STEP: Run oslat test : 
      03:59:52    LATENCY_TEST_RUNTIME = 2 
      03:59:52    OSLAT_MAXIMUM_LATENCY = -3 
      03:59:52     @ 06/02/25 18:29:51.066
      03:59:58    Jun  2 18:29:58.172: [INFO]: exit status 1
      03:59:58    STEP: Run oslat test : 
      03:59:58    LATENCY_TEST_RUNTIME = 2 
      03:59:58    LATENCY_TEST_CPUS = 2 
      03:59:58     @ 06/02/25 18:29:58.172
      04:00:13    [FAILED] in [It] - /home/jenkins/workspace/CNF/cnf-compute-4.19/cluster-node-tuning-operator/test/e2e/performanceprofile/functests/5_latency_testing/latency_testing.go:158 @ 06/02/25 18:30:11.373
          

      Expected results:

      The tests should pass
          

      Additional info:

          

              rhn-support-shajmakh Shereen Haj
              mniranja Mallapadi Niranjan
              Mallapadi Niranjan Mallapadi Niranjan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: