Hi,
I am trying to look into the build error:
https://jenkins.impala.io/job/gerrit-verify-dryrun/1472/
(The relevant code change: https://gerrit.cloudera.org/#/c/8355/)
There was a test failure at "TestAllocFail.test_alloc_fail_init". I ran the
following command but it always passed on my change: ./tests/run-tests.py
tests/custom_cluster/test_alloc_fail.py
I changed the options below on Impala-shell and then retry it again, but
the failure did not happen.
exec_option: {'batch_size': 0, 'num_nodes': 0,
'disable_codegen_rows_threshold': 0, 'disable_codegen': False,
'abort_on_error': 1, 'exec_single_node_rows_threshold': 0}
I am using Ubuntu 16.04 TLS and debug binary. Is there any differences
between Jenkins env. and my env.?
] =========================== short test summary info
============================
] XFAIL
custom_cluster/test_alloc_fail.py::TestAllocFail::()::test_alloc_fail_update[exec_option:
{'batch_size': 0, 'num_nodes': 0, 'disable_codegen_rows_threshold': 0,
'disable_codegen': False, 'abort_on_error': 1,
'exec_single_node_rows_threshold': 0} | table_format: text/none]
] IMPALA-2925: the execution is not deterministic so some tests sometimes
don't fail as expected
] FAIL
custom_cluster/test_alloc_fail.py::TestAllocFail::()::test_alloc_fail_init[exec_option:
{'batch_size': 0, 'num_nodes': 0, 'disable_codegen_rows_threshold': 0,
'disable_codegen': False, 'abort_on_error': 1,
'exec_single_node_rows_threshold': 0} | table_format: text/none]
] =================================== FAILURES
===================================
] TestAllocFail.test_alloc_fail_init[exec_option: {'batch_size': 0,
'num_nodes': 0, 'disable_codegen_rows_threshold': 0, 'disable_codegen':
False, 'abort_on_error': 1, 'exec_single_node_rows_threshold': 0} |
table_format: text/none]
] custom_cluster/test_alloc_fail.py:34: in test_alloc_fail_init
] self.run_test_case('QueryTest/alloc-fail-init', vector)
] common/impala_test_suite.py:398: in run_test_case
] self.__verify_exceptions(test_section['CATCH'], str(e), use_db)
] common/impala_test_suite.py:277: in __verify_exceptions
] (expected_str, actual_str)
] E AssertionError: Unexpected exception string. Expected:
FunctionContext::Allocate() failed to allocate 4 bytes.
] E Not found in actual: ImpalaBeeswaxException: Query
aborted:FunctionContext::Allocate() failed to allocate 5000 bytes.
Best regards,
Jinchul