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

ASF subversion and git services commented on IMPALA-13889:
----------------------------------------------------------

Commit 2a4175c42874722339dfc026ba3711d30e6c8320 in impala's branch 
refs/heads/master from Riza Suminto
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=2a4175c42 ]

IMPALA-13889: Add assertion in TestWebPage::test_query_progress

test_query_progress has been flaky for not finding the expected
"query_progress" value. This patch attempt to find more clues about the
test failure by:
- Matching against "query_id" instead of "stmt".
- Asserting other JSON values.
- Using fresh hs2 client in __run_query_and_get_debug_page to avoid
  query option leak between tests.

Testing:
- In ASAN build, loop and pass test_web_pages.py 10 times.

Change-Id: I5b8bb768bb513c3055a83106511f5a6134a674a6
Reviewed-on: http://gerrit.cloudera.org:8080/22658
Reviewed-by: Impala Public Jenkins <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>


> TestWebPage::test_query_progress sometimes fails in ASAN build
> --------------------------------------------------------------
>
>                 Key: IMPALA-13889
>                 URL: https://issues.apache.org/jira/browse/IMPALA-13889
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Infrastructure
>            Reporter: Zoltán Borók-Nagy
>            Assignee: Riza Suminto
>            Priority: Major
>              Labels: broken-build
>
> TestWebPage::test_query_progress sometimes fail with the following error in 
> ASAN builds:
> {noformat}
> webserver/test_web_pages.py:1047: in test_query_progress
>     assert json_part["query_progress"] == "0 / 4 ( 0%)"
> E   assert 'N/A' == '0 / 4 ( 0%)'
> E     - N/A
> E     + 0 / 4 ( 0%){noformat}
> h3. Standard Error
> {noformat}
> -- 2025-03-13 22:56:17,881 INFO     MainThread: beeswax: 
> set 
> client_identifier=webserver/test_web_pages.py::TestWebPage::()::test_query_progress;
> -- 2025-03-13 22:56:17,881 INFO     MainThread: hs2: 
> set 
> client_identifier=webserver/test_web_pages.py::TestWebPage::()::test_query_progress;
> -- 2025-03-13 22:56:17,881 INFO     MainThread: hs2-http: 
> set 
> client_identifier=webserver/test_web_pages.py::TestWebPage::()::test_query_progress;
> -- 2025-03-13 22:56:17,882 INFO     MainThread: beeswax: executing async 
> localhost:21000
> select count(*) from functional_parquet.alltypes where bool_col = sleep(100);
> -- 2025-03-13 22:56:18,006 INFO     MainThread: Started query 
> 114a2b65ed87c1c8:c88af23900000000
> -- 2025-03-13 22:56:18,007 INFO     MainThread: 
> 114a2b65ed87c1c8:c88af23900000000: getting state
> -- 2025-03-13 22:56:18,057 INFO     MainThread: 
> 114a2b65ed87c1c8:c88af23900000000: getting state
> -- 2025-03-13 22:56:18,094 INFO     MainThread: 
> 114a2b65ed87c1c8:c88af23900000000: canceling operation
> -- 2025-03-13 22:56:18,099 INFO     MainThread: 
> 114a2b65ed87c1c8:c88af23900000000: closing query for operation{noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to