Skip to content

[Bug] test_hive.py::TestHive::test_description is flaky #7360

@aajisaka

Description

@aajisaka

Code of Conduct

Search before asking

  • I have searched in the issues and found no similar issues.

Describe the bug

test_hive.py::TestHive::test_description intermittently fails:

__________________________ TestHive.test_description ___________________________
[gw0] linux -- Python 3.10.19 /opt/hostedtoolcache/Python/3.10.19/x64/bin/python
pyhive/tests/test_hive.py:39: in connect
    return hive.connect(host=_HOST, port=10000, configuration={'mapred.job.tracker': 'local'})
pyhive/hive.py:143: in connect
    return Connection(*args, **kwargs)
pyhive/hive.py:271: in __init__
    self._transport.open()
/opt/hostedtoolcache/Python/3.10.19/x64/lib/python3.10/site-packages/thrift_sasl/__init__.py:93: in open
    status, payload = self._recv_sasl_message()
/opt/hostedtoolcache/Python/3.10.19/x64/lib/python3.10/site-packages/thrift_sasl/__init__.py:112: in _recv_sasl_message
    header = self._trans_read_all(5)
/opt/hostedtoolcache/Python/3.10.19/x64/lib/python3.10/site-packages/thrift_sasl/__init__.py:210: in _trans_read_all
    return read_all(sz)
/opt/hostedtoolcache/Python/3.10.19/x64/lib/python3.10/site-packages/thrift/transport/TTransport.py:63: in readAll
    chunk = self.read(sz - have)
/opt/hostedtoolcache/Python/3.10.19/x64/lib/python3.10/site-packages/thrift/transport/TSocket.py:173: in read
    raise TTransportException(type=TTransportException.END_OF_FILE,
E   thrift.transport.TTransport.TTransportException: TSocket read 0 bytes

Affects Version(s)

master

Kyuubi Server Log Output

Kyuubi Engine Log Output

Kyuubi Server Configurations

Kyuubi Engine Configurations

Additional context

No response

Are you willing to submit PR?

  • Yes. I would be willing to submit a PR with guidance from the Kyuubi community to fix.
  • No. I cannot submit a PR at this time.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions