[
https://issues.apache.org/jira/browse/IMPALA-15206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Joe McDonnell resolved IMPALA-15206.
------------------------------------
Fix Version/s: Impala 5.0.0
Resolution: Fixed
> TestBannedLogMessages.test_no_unsupported_operations fails on coverage runs
> ---------------------------------------------------------------------------
>
> Key: IMPALA-15206
> URL: https://issues.apache.org/jira/browse/IMPALA-15206
> Project: IMPALA
> Issue Type: Bug
> Components: Test
> Affects Versions: Impala 5.0.0
> Reporter: Joe McDonnell
> Assignee: Joe McDonnell
> Priority: Critical
> Labels: broken-build
> Fix For: Impala 5.0.0
>
>
> Coverage exhaustive test jobs are consistently hitting this error:
> {noformat}
> verifiers/test_banned_log_messages.py:48: in test_no_unsupported_operations
> self.assert_message_absent('CannotAccessFieldException')
> self =
> <tests.verifiers.test_banned_log_messages.TestBannedLogMessages object at
> 0x7f3947b8e6d0>
> verifiers/test_banned_log_messages.py:40: in assert_message_absent
> assert returncode == 1, "%s contains '%s'" % (log_file_path, message)
> E AssertionError:
> /data/jenkins/workspace/impala-cdh_main-exhaustive-coverage/repos/Impala/logs/fe_tests/coverage/org.apache.impala.catalog.local/CatalogdMetaProvider.java.html
> contains 'CannotAccessFieldException'
> E assert 0 == 1
> E +0
> E -1
> dirs = []
> file = 'CatalogdMetaProvider.java.html'
> files = ['LocalDb.java.html',
> 'InconsistentMetadataFetchException.java.html',
> 'LocalDataSourceTable.java.html', 'LocalTable.java.html',
> 'MetaProvider.java.html', 'DirectMetaProvider.java.html', ...]
> log_dir =
> '/data/jenkins/workspace/impala-cdh_main-exhaustive-coverage/repos/Impala/logs'
> log_file_path =
> '/data/jenkins/workspace/impala-cdh_main-exhaustive-coverage/repos/Impala/logs/fe_tests/coverage/org.apache.impala.catalog.local/CatalogdMetaProvider.java.html'
> message = 'CannotAccessFieldException'
> returncode = 0
> root =
> '/data/jenkins/workspace/impala-cdh_main-exhaustive-coverage/repos/Impala/logs/fe_tests/coverage/org.apache.impala.catalog.local'
> self =
> <tests.verifiers.test_banned_log_messages.TestBannedLogMessages object at
> 0x7f3947b8e6d0>
> skip_subdirs = None{noformat}
> The frontend coverage HTML files in fe_test/coverage include the Java source
> code, which has references to CannotAccessFieldException. We should change
> the test to avoid matching these files.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)