You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Lars Volker (JIRA)" <ji...@apache.org> on 2018/02/05 23:38:00 UTC

[jira] [Resolved] (IMPALA-6476) TestKrpcMemUsage.test_krpc_deferred_memory_usage fails on release build

     [ https://issues.apache.org/jira/browse/IMPALA-6476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lars Volker resolved IMPALA-6476.
---------------------------------
       Resolution: Fixed
    Fix Version/s: Impala 2.12.0

I validated the fix below with a private exhaustive test run on a release build:

IMPALA-6476: Skip krpc mem test that uses stress options

Some of the tests added in IMPALA-6193 rely on flags that are only
compiled for debug binaries. This change marks those tests as debug-only
so that they do not break the release tests.

Change-Id: I89ae25ee8c1aca3833c2d98e902ddaad2dd01aad
Reviewed-on: http://gerrit.cloudera.org:8080/9207
Reviewed-by: Alex Behm <al...@cloudera.com>
Tested-by: Impala Public Jenkins

> TestKrpcMemUsage.test_krpc_deferred_memory_usage fails on release build
> -----------------------------------------------------------------------
>
>                 Key: IMPALA-6476
>                 URL: https://issues.apache.org/jira/browse/IMPALA-6476
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Infrastructure
>            Reporter: Alexander Behm
>            Assignee: Lars Volker
>            Priority: Blocker
>              Labels: broken-build
>             Fix For: Impala 2.12.0
>
>
> Jenkins console:
> {code}
> 08:04:59 ==================================== ERRORS ====================================
> 08:04:59  ERROR at setup of TestKrpcMemUsage.test_krpc_deferred_memory_usage[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] 
> 08:04:59 common/custom_cluster_test_suite.py:109: in setup_method
> 08:04:59     self._start_impala_cluster(cluster_args)
> 08:04:59 common/custom_cluster_test_suite.py:135: in _start_impala_cluster
> 08:04:59     check_call(cmd + options, close_fds=True)
> 08:04:59 /usr/lib64/python2.6/subprocess.py:505: in check_call
> 08:04:59     raise CalledProcessError(retcode, cmd)
> 08:04:59 E   CalledProcessError: Command '['/data/jenkins/workspace/impala-asf-master-exhaustive-release/repos/Impala/bin/start-impala-cluster.py', '--cluster_size=3', '--num_coordinators=3', '--log_dir=/data/jenkins/workspace/impala-asf-master-exhaustive-release/repos/Impala/logs/custom_cluster_tests', '--log_level=1', '--impalad_args="--use_krpc --stress_datastream_recvr_delay_ms=1000" ']' returned non-zero exit status 1
> 08:04:59 ---------------------------- Captured stdout setup -----------------------------
> {code}
> The test uses stress options that are only compiled in debug builds.
> See global-flags.h:
> {code}
> // Stress options that are only enabled in debug builds for testing.
> #ifndef NDEBUG
> DEFINE_int32(stress_fn_ctx_alloc, 0, "A stress option which causes memory allocations "
>     "in function contexts to fail once every n allocations where n is the value of this "
>     "flag. Effective in debug builds only.");
> DEFINE_int32(stress_datastream_recvr_delay_ms, 0, "A stress option that causes data "
>     "stream receiver registration to be delayed. Effective in debug builds only.");
> DEFINE_bool(skip_file_runtime_filtering, false, "Skips file-based runtime filtering for"
>     "testing purposes. Effective in debug builds only.");
> DEFINE_int32(fault_injection_rpc_delay_ms, 0, "A fault injection option that causes "
>     "rpc server handling to be delayed to trigger an RPC timeout on the caller side. "
>     "Effective in debug builds only.");
> DEFINE_int32(fault_injection_rpc_type, 0, "A fault injection option that specifies "
>     "which rpc call will be injected with the delay. Effective in debug builds only.");
> DEFINE_int32(fault_injection_rpc_exception_type, 0, "A fault injection option that "
>     "specifies the exception to be thrown in the caller side of an RPC call. Effective "
>     "in debug builds only");
> DEFINE_int32(stress_scratch_write_delay_ms, 0, "A stress option which causes writes to "
>     "scratch files to be to be delayed to simulate slow writes.");
> DEFINE_bool(thread_creation_fault_injection, false, "A fault injection option that "
>     " causes calls to Thread::Create() to fail randomly 1% of the time on eligible "
>     " codepaths. Effective in debug builds only.");
> DEFINE_int32(stress_catalog_init_delay_ms, 0, "A stress option that injects extra delay"
>     " in milliseconds when initializing an impalad's local catalog replica. Delay <= 0"
>     " inject no delay.");
> #endif
> {code}
> See https://gerrit.cloudera.org/#/c/8573/ for how a similar issue was fixed recently



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)