Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-10302

test_scanners_fuzz.py does not log the random seed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Impala 4.0.0
    • Impala 4.0.0
    • Infrastructure
    • None
    • ghx-label-2

    Description

      When debugging a recent failure on test_scanners_fuzz.py, I noticed that the log output in the junitxml does not include the logging of the random seed. This information is essential for reproducing an issue on this test, because it is randomized. There is a log statement:

      https://github.com/apache/impala/blob/master/tests/query_test/test_scanners_fuzz.py#L171

      LOG.info("Using random seed %d", random_seed)

      However, this is not in the output. It may be that the log level excludes INFO logging from output. 

      In tests/conftest.py, we configure the logging at the INFO level:

      https://github.com/apache/impala/blob/master/tests/conftest.py#L71

      logging.basicConfig(level=logging.INFO, format=LOG_FORMAT)

      So, I think we intended to be logging at the INFO level, but it doesn't seem to be happening.

      Attachments

        Issue Links

          Activity

            People

              joemcdonnell Joe McDonnell
              joemcdonnell Joe McDonnell
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: