Fang-Yu Rao created IMPALA-14184:
------------------------------------

             Summary: TestImpalaShellInteractive.test_rerun could time out in 
s3 builds
                 Key: IMPALA-14184
                 URL: https://issues.apache.org/jira/browse/IMPALA-14184
             Project: IMPALA
          Issue Type: Bug
            Reporter: Fang-Yu Rao
            Assignee: Fang-Yu Rao


We found that {{TestImpalaShellInteractive.test_rerun()}} in 
https://github.com/apache/impala/blob/master/tests/shell/test_shell_interactive.py
 could time out with the following stacktrace. It looks like the test timed out 
when pytest submitted the command {{rerun1}} to the spawned impala shell.

{code}
/data/jenkins/workspace/impala-cdw-master-staging-core-asan/repos/Impala/tests/shell/test_shell_interactive.py:740:
 in test_rerun
    self._expect_with_cmd(child_proc, "rerun1", vector, ("Syntax error"))
/data/jenkins/workspace/impala-cdw-master-staging-core-asan/repos/Impala/tests/shell/test_shell_interactive.py:195:
 in _expect_with_cmd
    proc.expect(":{0}] {1}>".format(get_impalad_port(vector), db))
/data/jenkins/workspace/impala-cdw-master-staging-core-asan/repos/Impala/infra/python/env-gcc10.4.0/lib/python2.7/site-packages/pexpect/__init__.py:1451:
 in expect
    timeout, searchwindowsize)
/data/jenkins/workspace/impala-cdw-master-staging-core-asan/repos/Impala/infra/python/env-gcc10.4.0/lib/python2.7/site-packages/pexpect/__init__.py:1466:
 in expect_list
    timeout, searchwindowsize)
/data/jenkins/workspace/impala-cdw-master-staging-core-asan/repos/Impala/infra/python/env-gcc10.4.0/lib/python2.7/site-packages/pexpect/__init__.py:1568:
 in expect_loop
    raise TIMEOUT(str(err) + '\n' + str(self))
E   TIMEOUT: Timeout exceeded.
E   <pexpect.spawn object at 0x7ff480b09810>
E   version: 3.3
E   command: /usr/bin/env
E   args: ['/usr/bin/env', 'IMPALA_PYTHON_EXECUTABLE=python', 
'IMPALA_SHELL_PYTHON_FALLBACK=false', 
'/data/jenkins/workspace/impala-cdw-master-staging-core-asan/repos/Impala/shell/build/impala-shell-5.0.0-SNAPSHOT/impala-shell',
 '--protocol=beeswax', '-ilocalhost:21000']
E   searcher: <pexpect.searcher_re object at 0x7ff47fcac210>
E   buffer (last 100 chars): ' 09:00:18 (Coordinator: 
http://impala-ec2-centos79-m6i-4xlarge-xldisk-10a7.vpc.cloudera.com:25000)\r\n'
E   before (last 100 chars): ' 09:00:18 (Coordinator: 
http://impala-ec2-centos79-m6i-4xlarge-xldisk-10a7.vpc.cloudera.com:25000)\r\n'
E   after: <class 'pexpect.TIMEOUT'>
E   match: None
E   match_index: None
E   exitstatus: None
E   flag_eof: False
E   pid: 28895
E   child_fd: 25
E   closed: False
E   timeout: 30
E   delimiter: <class 'pexpect.EOF'>
E   logfile: None
E   logfile_read: None
E   logfile_send: None
E   maxread: 2000
E   ignorecase: False
E   searchwindowsize: None
E   delaybeforesend: 0.05
E   delayafterclose: 0.1
E   delayafterterminate: 0.1
{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to