You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Tim Armstrong (Jira)" <ji...@apache.org> on 2020/01/31 00:57:00 UTC
[jira] [Resolved] (IMPALA-9344) TestGracefulShutdown hits ASAN use
after free
[ https://issues.apache.org/jira/browse/IMPALA-9344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tim Armstrong resolved IMPALA-9344.
-----------------------------------
Resolution: Cannot Reproduce
I tried looping this for about half an hour locally and wasn't able to get an asan build to print that error:
{noformat}
while impala-py.test tests/custom_cluster/test_restart_services.py -k 'signal or script' --maxfail 1; do date; done
{noformat}
> TestGracefulShutdown hits ASAN use after free
> ---------------------------------------------
>
> Key: IMPALA-9344
> URL: https://issues.apache.org/jira/browse/IMPALA-9344
> Project: IMPALA
> Issue Type: Bug
> Components: Backend
> Reporter: Tim Armstrong
> Assignee: Tim Armstrong
> Priority: Major
> Labels: flaky
> Attachments: impalad.impala-ec2-centos74-r5-4xlarge-ondemand-1810.vpc.cloudera.com.jenkins.log.ERROR.20200130-025809.11221, impalad.impala-ec2-centos74-r5-4xlarge-ondemand-1810.vpc.cloudera.com.jenkins.log.INFO.20200130-025809.11221, impalad.impala-ec2-centos74-r5-4xlarge-ondemand-1810.vpc.cloudera.com.jenkins.log.WARNING.20200130-025809.11221
>
>
> The test passed but ASAN flagged the issue.
> {noformat}
> =================================================================
> ==11221==ERROR: AddressSanitizer: heap-use-after-free on address 0x60400007e7a0 at pc 0x000002067b42 bp 0x7fae8d502ac0 sp 0x7fae8d502ab8
> READ of size 8 at 0x60400007e7a0 thread T3
> Picked up JAVA_TOOL_OPTIONS: -agentlib:jdwp=transport=dt_socket,address=30000,server=y,suspend=n
> {noformat}
> I think it's test_graceful_shutdown_script based based on these command line flags and the fact that the signal was logged, and the timing
> {noformat}
> --shutdown_deadline_s=3600
> --shutdown_grace_period_s=1
> ...
> I0130 02:58:16.849383 11650 init.cc:205] Shutdown signal received. Current Shutdown Status: shutdown grace period left: 1s000ms, deadline left: 8760h, queries registered on coordinator: 0, queries executing: 0, fragment instances: 0
> {noformat}
> {noformat}
> 02:57:56 custom_cluster/test_restart_services.py::TestGracefulShutdown::test_shutdown_signal PASSED
> 02:58:09 custom_cluster/test_restart_services.py::TestGracefulShutdown::test_sending_multiple_shutdown_signals PASSED
> 02:58:17 custom_cluster/test_restart_services.py::TestGracefulShutdown::test_graceful_shutdown_script PASSED
> 02:58:33 custom_cluster/test_restart_services.py::TestGracefulShutdown::test_shutdown_coordinator <- hs2/hs2_test_suite.py PASSED
> {noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)