[
https://issues.apache.org/jira/browse/IMPALA-13500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17901323#comment-17901323
]
ASF subversion and git services commented on IMPALA-13500:
----------------------------------------------------------
Commit 2bffca10292aa93e00819ed07860f99b7d10b8c4 in impala's branch
refs/heads/master from Sai Hemanth Gantasala
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=2bffca102 ]
IMPALA-13500: Fix test_invalidate_stale_partition_on_reload() test
TestEventProcessingCustomConfigs#test_invalidate_stale_partition_on
_reload() is flaky for not finding log lines it is looking for. This
is happening because ParallelFileMetadataLoader which is running in the
background thread is missing the current catalog delta request, hence
the log lines are not visible in impala logs. The next catalog delta
request writes the required log lines to impala logs but the test fails
by that time. Adding a sleep 5s should finish the file metadata reload
and also increased the timeout from 6s to 15s to verify the impala log
then catalog delta request can capture the required content.
Testing:
- Looped the test several hundred times locally to verify that their is
no flakiness.
Change-Id: I62170aa6ed8ae122482a03212fec9c4fe843ce03
Reviewed-on: http://gerrit.cloudera.org:8080/22084
Reviewed-by: Impala Public Jenkins <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>
> 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]