[ https://issues.apache.org/jira/browse/IMPALA-9121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17236294#comment-17236294 ]
ASF subversion and git services commented on IMPALA-9121: --------------------------------------------------------- Commit ba509ad1809138844d52a8b5877880e5fc9cfe9a in impala's branch refs/heads/master from Tim Armstrong [ https://gitbox.apache.org/repos/asf?p=impala.git;h=ba509ad ] IMPALA-9121: try to avoid ASAN error in hdfs-util-test I couldn't discern the likely root cause of the ASAN error, but have a hunch that it's a background thread accessing some data structure that is being torn down as the process exits. The tests in this file are simple so there shouldn't really be that much that can go wrong, except for the stuff started by ExecEnv::Init(). I modified the test to only initialize the necessary configs in ExecEnv, not start up the whole thing. Hopefully that make the problem go away. Testing: Looped the test locally with ASAN. Change-Id: Ic7b42be0f8b5d6c6a31095f9d1a278fd82bd500c Reviewed-on: http://gerrit.cloudera.org:8080/16748 Reviewed-by: Impala Public Jenkins <impala-public-jenk...@cloudera.com> Tested-by: Impala Public Jenkins <impala-public-jenk...@cloudera.com> > heap-use-after-free in HdfsUtilTest CheckFilesystemsMatch > --------------------------------------------------------- > > Key: IMPALA-9121 > URL: https://issues.apache.org/jira/browse/IMPALA-9121 > Project: IMPALA > Issue Type: Bug > Reporter: Bikramjeet Vig > Assignee: Tim Armstrong > Priority: Major > Labels: asan, broken-build, flaky-test > > {noformat} > ---------------------------------------------------------- > 85/113 Testing: hdfs-util-test > 85/113 Test: hdfs-util-test > Command: > "/data/jenkins/workspace/impala-asf-master-core-asan/repos/Impala/be/build/debug/util/hdfs-util-test" > "-log_dir=/data/jenkins/workspace > /impala-asf-master-core-asan/repos/Impala/logs/be_tests" > Directory: > /data/jenkins/workspace/impala-asf-master-core-asan/repos/Impala/be/src/util > "hdfs-util-test" start time: Nov 01 22:21 PDT > Output: > ---------------------------------------------------------- > seed = 1572672103 > Note: Google Test filter = HdfsUtilTest.* > [==========] Running 2 tests from 1 test case. > [----------] Global test environment set-up. > [----------] 2 tests from HdfsUtilTest > [ RUN ] HdfsUtilTest.CheckFilesystemsMatch > 19/11/01 22:21:43 INFO util.JvmPauseMonitor: Starting JVM pause monitor > [ OK ] HdfsUtilTest.CheckFilesystemsMatch (1012 ms) > [ RUN ] HdfsUtilTest.CheckGetBaseName > [ OK ] HdfsUtilTest.CheckGetBaseName (0 ms) > [----------] 2 tests from HdfsUtilTest (1012 ms total) > [----------] Global test environment tear-down > [==========] 2 tests from 1 test case ran. (1013 ms total) > [ PASSED ] 2 tests. > YOU HAVE 1 DISABLED TEST > ================================================================= > ==87116==ERROR: AddressSanitizer: heap-use-after-free on address > 0x603000062878 at pc 0x000001b67bac bp 0x7fc96cf57ae0 sp 0x7fc96cf57290 > READ of size 4 at 0x603000062878 thread T4 > <end of output> > Test time = 2.64 sec > ---------------------------------------------------------- > Test Passed. > "hdfs-util-test" end time: Nov 01 22:21 PDT > "hdfs-util-test" time elapsed: 00:00:02 > ---------------------------------------------------------- > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org For additional commands, e-mail: issues-all-h...@impala.apache.org