Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-21960

python3.12: Test failures in gating

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • rhel-8.10
    • python3.12
    • None
    • None
    • None
    • sst_cs_apps
    • ssg_core_services
    • 5
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None

      I am opening this for distribution because the python3.12 component does not exist yet.

       [NO LONGER RELEVANT] During the initial gating tests the following tests failed on rhel 9:

      ======================================================================
      FAIL: test_sched_setaffinity (test.test_posix.PosixTester.test_sched_setaffinity)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "/usr/lib64/python3.12/test/test_posix.py", line 1217, in test_sched_setaffinity
          self.assertRaises(OSError, posix.sched_setaffinity, 0, [])
      AssertionError: OSError not raised by sched_setaffinity
      
      ----------------------------------------------------------------------
      

      And on rhel 8:

      ======================================================================
      FAIL: test_function_entry_return (test.test_dtrace.SystemTapNormalTests.test_function_entry_return)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "/usr/lib64/python3.12/test/test_dtrace.py", line 38, in normalize_trace_output
          result.sort(key=lambda row: int(row[0]))
        File "/usr/lib64/python3.12/test/test_dtrace.py", line 38, in <lambda>
          result.sort(key=lambda row: int(row[0]))
                                      ^^^^^^^^^^^
      ValueError: invalid literal for int() with base 10: "semantic error: while resolving probe point: identifier 'process' at /usr/lib64/python3.12/test/dtracedata/call_stack.stp:13:7"
      
      During handling of the above exception, another exception occurred:
      
      Traceback (most recent call last):
        File "/usr/lib64/python3.12/test/test_dtrace.py", line 124, in test_function_entry_return
          self.run_case("call_stack")
        File "/usr/lib64/python3.12/test/test_dtrace.py", line 119, in run_case
          actual_output, expected_output = self.backend.run_case(
                                           ^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib64/python3.12/test/test_dtrace.py", line 53, in run_case
          actual_output = normalize_trace_output(self.trace_python(
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib64/python3.12/test/test_dtrace.py", line 42, in normalize_trace_output
          raise AssertionError(
      AssertionError: tracer produced unparsable output:
      semantic error: while resolving probe point: identifier 'process' at /usr/lib64/python3.12/test/dtracedata/call_stack.stp:13:7
              source: probe process.mark("function__entry")
                            ^
      
      semantic error: no match
      
      Pass 2: analysis failed.  [man error::pass2]
      Number of similar error messages suppressed: 3.
      Rerun with -v to see them.
      
      
      ======================================================================
      FAIL: test_gc (test.test_dtrace.SystemTapNormalTests.test_gc)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "/usr/lib64/python3.12/test/test_dtrace.py", line 38, in normalize_trace_output
          result.sort(key=lambda row: int(row[0]))
        File "/usr/lib64/python3.12/test/test_dtrace.py", line 38, in <lambda>
          result.sort(key=lambda row: int(row[0]))
                                      ^^^^^^^^^^^
      ValueError: invalid literal for int() with base 10: "semantic error: while resolving probe point: identifier 'process' at /usr/lib64/python3.12/test/dtracedata/gc.stp:3:7"
      
      During handling of the above exception, another exception occurred:
      
      Traceback (most recent call last):
        File "/usr/lib64/python3.12/test/test_dtrace.py", line 152, in test_gc
          self.run_case("gc")
        File "/usr/lib64/python3.12/test/test_dtrace.py", line 119, in run_case
          actual_output, expected_output = self.backend.run_case(
                                           ^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib64/python3.12/test/test_dtrace.py", line 53, in run_case
          actual_output = normalize_trace_output(self.trace_python(
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib64/python3.12/test/test_dtrace.py", line 42, in normalize_trace_output
          raise AssertionError(
      AssertionError: tracer produced unparsable output:
      semantic error: while resolving probe point: identifier 'process' at /usr/lib64/python3.12/test/dtracedata/gc.stp:3:7
              source: probe process.mark("function__entry")
                            ^
      
      semantic error: no match
      
      Pass 2: analysis failed.  [man error::pass2]
      Number of similar error messages suppressed: 3.
      Rerun with -v to see them.
      
      
      ======================================================================
      FAIL: test_line (test.test_dtrace.SystemTapNormalTests.test_line)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "/usr/lib64/python3.12/test/test_dtrace.py", line 38, in normalize_trace_output
          result.sort(key=lambda row: int(row[0]))
        File "/usr/lib64/python3.12/test/test_dtrace.py", line 38, in <lambda>
          result.sort(key=lambda row: int(row[0]))
                                      ^^^^^^^^^^^
      ValueError: invalid literal for int() with base 10: "Input file '/tmp/test_python_pfv64mam/test_python_64204æ/dtracedata/line.stp' is missing."
      
      During handling of the above exception, another exception occurred:
      
      Traceback (most recent call last):
        File "/usr/lib64/python3.12/test/test_dtrace.py", line 155, in test_line
          self.run_case("line")
        File "/usr/lib64/python3.12/test/test_dtrace.py", line 119, in run_case
          actual_output, expected_output = self.backend.run_case(
                                           ^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib64/python3.12/test/test_dtrace.py", line 53, in run_case
          actual_output = normalize_trace_output(self.trace_python(
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib64/python3.12/test/test_dtrace.py", line 42, in normalize_trace_output
          raise AssertionError(
      AssertionError: tracer produced unparsable output:
      Input file '/tmp/test_python_pfv64mam/test_python_64204æ/dtracedata/line.stp' is missing.
      Pass 1: parse failed.  [man error::pass1]
      
      
      ======================================================================
      FAIL: test_verify_call_opcodes (test.test_dtrace.SystemTapNormalTests.test_verify_call_opcodes)
      Ensure our call stack test hits all function call opcodes
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "/usr/lib64/python3.12/test/test_dtrace.py", line 149, in test_verify_call_opcodes
          self.assertEqual(set(), opcodes)
      AssertionError: Items in the second set but not the first:
      'CALL_FUNCTION_KW'
      'CALL_FUNCTION'
      
      ======================================================================
      FAIL: test_function_entry_return (test.test_dtrace.SystemTapOptimizedTests.test_function_entry_return)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "/usr/lib64/python3.12/test/test_dtrace.py", line 38, in normalize_trace_output
          result.sort(key=lambda row: int(row[0]))
        File "/usr/lib64/python3.12/test/test_dtrace.py", line 38, in <lambda>
          result.sort(key=lambda row: int(row[0]))
                                      ^^^^^^^^^^^
      ValueError: invalid literal for int() with base 10: "semantic error: while resolving probe point: identifier 'process' at /usr/lib64/python3.12/test/dtracedata/call_stack.stp:13:7"
      
      During handling of the above exception, another exception occurred:
      
      Traceback (most recent call last):
        File "/usr/lib64/python3.12/test/test_dtrace.py", line 124, in test_function_entry_return
          self.run_case("call_stack")
        File "/usr/lib64/python3.12/test/test_dtrace.py", line 119, in run_case
          actual_output, expected_output = self.backend.run_case(
                                           ^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib64/python3.12/test/test_dtrace.py", line 53, in run_case
          actual_output = normalize_trace_output(self.trace_python(
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib64/python3.12/test/test_dtrace.py", line 42, in normalize_trace_output
          raise AssertionError(
      AssertionError: tracer produced unparsable output:
      semantic error: while resolving probe point: identifier 'process' at /usr/lib64/python3.12/test/dtracedata/call_stack.stp:13:7
              source: probe process.mark("function__entry")
                            ^
      
      semantic error: no match
      
      Pass 2: analysis failed.  [man error::pass2]
      Number of similar error messages suppressed: 3.
      Rerun with -v to see them.
      
      
      ======================================================================
      FAIL: test_gc (test.test_dtrace.SystemTapOptimizedTests.test_gc)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "/usr/lib64/python3.12/test/test_dtrace.py", line 38, in normalize_trace_output
          result.sort(key=lambda row: int(row[0]))
        File "/usr/lib64/python3.12/test/test_dtrace.py", line 38, in <lambda>
          result.sort(key=lambda row: int(row[0]))
                                      ^^^^^^^^^^^
      ValueError: invalid literal for int() with base 10: "semantic error: while resolving probe point: identifier 'process' at /usr/lib64/python3.12/test/dtracedata/gc.stp:3:7"
      
      During handling of the above exception, another exception occurred:
      
      Traceback (most recent call last):
        File "/usr/lib64/python3.12/test/test_dtrace.py", line 152, in test_gc
          self.run_case("gc")
        File "/usr/lib64/python3.12/test/test_dtrace.py", line 119, in run_case
          actual_output, expected_output = self.backend.run_case(
                                           ^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib64/python3.12/test/test_dtrace.py", line 53, in run_case
          actual_output = normalize_trace_output(self.trace_python(
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib64/python3.12/test/test_dtrace.py", line 42, in normalize_trace_output
          raise AssertionError(
      AssertionError: tracer produced unparsable output:
      semantic error: while resolving probe point: identifier 'process' at /usr/lib64/python3.12/test/dtracedata/gc.stp:3:7
              source: probe process.mark("function__entry")
                            ^
      
      semantic error: no match
      
      Pass 2: analysis failed.  [man error::pass2]
      Number of similar error messages suppressed: 3.
      Rerun with -v to see them.
      
      
      ======================================================================
      FAIL: test_line (test.test_dtrace.SystemTapOptimizedTests.test_line)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "/usr/lib64/python3.12/test/test_dtrace.py", line 38, in normalize_trace_output
          result.sort(key=lambda row: int(row[0]))
        File "/usr/lib64/python3.12/test/test_dtrace.py", line 38, in <lambda>
          result.sort(key=lambda row: int(row[0]))
                                      ^^^^^^^^^^^
      ValueError: invalid literal for int() with base 10: "Input file '/tmp/test_python_pfv64mam/test_python_64204æ/dtracedata/line.stp' is missing."
      
      During handling of the above exception, another exception occurred:
      
      Traceback (most recent call last):
        File "/usr/lib64/python3.12/test/test_dtrace.py", line 155, in test_line
          self.run_case("line")
        File "/usr/lib64/python3.12/test/test_dtrace.py", line 119, in run_case
          actual_output, expected_output = self.backend.run_case(
                                           ^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib64/python3.12/test/test_dtrace.py", line 53, in run_case
          actual_output = normalize_trace_output(self.trace_python(
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib64/python3.12/test/test_dtrace.py", line 42, in normalize_trace_output
          raise AssertionError(
      AssertionError: tracer produced unparsable output:
      Input file '/tmp/test_python_pfv64mam/test_python_64204æ/dtracedata/line.stp' is missing.
      Pass 1: parse failed.  [man error::pass1]
      
      
      ======================================================================
      FAIL: test_verify_call_opcodes (test.test_dtrace.SystemTapOptimizedTests.test_verify_call_opcodes)
      Ensure our call stack test hits all function call opcodes
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "/usr/lib64/python3.12/test/test_dtrace.py", line 149, in test_verify_call_opcodes
          self.assertEqual(set(), opcodes)
      AssertionError: Items in the second set but not the first:
      'CALL_FUNCTION_KW'
      'CALL_FUNCTION'
      
      ----------------------------------------------------------------------
      

            python-maint python-maint
            mhroncok@redhat.com Miro Hrončok
            python-maint python-maint
            Lukas Zachar Lukas Zachar
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: