Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
Impala 4.0.0
-
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
- is related to
-
IMPALA-10304 Pytest logging is not using the expected INFO log level
- Resolved