You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Joe McDonnell (Jira)" <ji...@apache.org> on 2020/10/29 16:59:00 UTC

[jira] [Commented] (IMPALA-10302) test_scanners_fuzz.py does not log the random seed

    [ https://issues.apache.org/jira/browse/IMPALA-10302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17223040#comment-17223040 ] 

Joe McDonnell commented on IMPALA-10302:
----------------------------------------

It turns out that the default log level is WARNING, so INFO messages don't show up by default. I posted a review to use INFO log level for test_scanners_fuzz.py here: [https://gerrit.cloudera.org/#/c/16677/]

This seems like a broader problem for more tests, and I don't think this was intentional. We set INFO level in the conftest.py: [https://github.com/apache/impala/blob/master/tests/conftest.py#L71] I will file a follow-up Jira for the broader issue.

> test_scanners_fuzz.py does not log the random seed
> --------------------------------------------------
>
>                 Key: IMPALA-10302
>                 URL: https://issues.apache.org/jira/browse/IMPALA-10302
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Infrastructure
>    Affects Versions: Impala 4.0
>            Reporter: Joe McDonnell
>            Assignee: Joe McDonnell
>            Priority: Major
>
> 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]
> {noformat}
> LOG.info("Using random seed %d", random_seed){noformat}
> 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]
> {noformat}
> logging.basicConfig(level=logging.INFO, format=LOG_FORMAT){noformat}
> So, I think we intended to be logging at the INFO level, but it doesn't seem to be happening.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org