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

Sai Hemanth Gantasala commented on IMPALA-13500:
------------------------------------------------

I think the issue is, HMS returns partitons in inconsistent order and then 
catalogD assigns ids to these partitions in the same order. So, in the test, we 
can just check for the presence of partitions only instead of checking their 
IDs.

> test_invalidate_stale_partition_on_reload is flaky
> --------------------------------------------------
>
>                 Key: IMPALA-13500
>                 URL: https://issues.apache.org/jira/browse/IMPALA-13500
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Catalog, Frontend
>            Reporter: Riza Suminto
>            Assignee: Sai Hemanth Gantasala
>            Priority: Major
>              Labels: broken-build
>
> TestEventProcessingCustomConfigs.test_invalidate_stale_partition_on_reload is 
> flaky in ARM build for not finding log lines it is looking for.
> {code:java}
> Error Message
> AssertionError: Expected 1 lines in file 
> /data0/jenkins/workspace/impala-asf-master-core-asan-arm/repos/Impala/logs/custom_cluster_tests/impalad.impala-ec2-rhel88-m7g-4xlarge-ondemand-1e5d.vpc.cloudera.com.jenkins.log.INFO.20241030-041545.3408110
>  matching regex 'Invalidated objects in cache: \[partition 
> test_invalidate_stale_partition_on_reload_382624f9.test_invalidate_table:p=\d 
> \(id=0\)\]', but found 0 lines. Last line was:  I1030 04:16:03.199949 3408505 
> query-exec-mgr.cc:219] ReleaseQueryState(): deleted 
> query_id=7745d0a812d0b474:7883f4f800000000
> Stacktrace
> custom_cluster/test_events_custom_configs.py:1328: in 
> test_invalidate_stale_partition_on_reload
>     self.assert_impalad_log_contains('INFO', log_regex % 0)
> common/impala_test_suite.py:1311: in assert_impalad_log_contains
>     "impalad", level, line_regex, expected_count, timeout_s, dry_run)
> common/impala_test_suite.py:1364: in assert_log_contains
>     (expected_count, log_file_path, line_regex, found, line)
> E   AssertionError: Expected 1 lines in file 
> /data0/jenkins/workspace/impala-asf-master-core-asan-arm/repos/Impala/logs/custom_cluster_tests/impalad.impala-ec2-rhel88-m7g-4xlarge-ondemand-1e5d.vpc.cloudera.com.jenkins.log.INFO.20241030-041545.3408110
>  matching regex 'Invalidated objects in cache: \[partition 
> test_invalidate_stale_partition_on_reload_382624f9.test_invalidate_table:p=\d 
> \(id=0\)\]', but found 0 lines. Last line was: 
> E   I1030 04:16:03.199949 3408505 query-exec-mgr.cc:219] ReleaseQueryState(): 
> deleted query_id=7745d0a812d0b474:7883f4f800000000
> {code}



--
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