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/30 17:10:00 UTC

[jira] [Resolved] (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:all-tabpanel ]

Joe McDonnell resolved IMPALA-10302.
------------------------------------
    Fix Version/s: Impala 4.0
       Resolution: Fixed

> 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
>             Fix For: Impala 4.0
>
>
> 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