Skip to content

Conversation

mkundu1
Copy link
Contributor

@mkundu1 mkundu1 commented Jun 22, 2022

The unittesting job seems to be hanging due to this test. Locally I'm seeing the following error:

tests/test_launcher_remote.py::test_launch_remote_instance
  C:\Users\mkundu\AppData\Local\Programs\Python\Python39\lib\site-packages\_pytest\threadexception.py:73: PytestUnhandledThreadExceptionWarning: Exception in thread Thread-25

  Traceback (most recent call last):
    File "C:\Users\mkundu\AppData\Local\Programs\Python\Python39\lib\threading.py", line 980, in _bootstrap_inner
      self.run()
    File "C:\Users\mkundu\AppData\Local\Programs\Python\Python39\lib\threading.py", line 917, in run
      self._target(*self._args, **self._kwargs)
    File "C:\Users\mkundu\AppData\Local\Programs\Python\Python39\lib\site-packages\ansys\fluent\core\session.py", line 317, in _process_transcript
      response = next(responses)
    File "C:\Users\mkundu\AppData\Local\Programs\Python\Python39\lib\site-packages\ansys\fluent\core\services\transcript.py", line 36, in begin_streaming
      self.__streams = self.__stub.BeginStreaming(request, metadata=self.__metadata)
    File "C:\Users\mkundu\AppData\Local\Programs\Python\Python39\lib\site-packages\grpc\_channel.py", line 1073, in __call__
      call = self._managed_call(
    File "C:\Users\mkundu\AppData\Local\Programs\Python\Python39\lib\site-packages\grpc\_channel.py", line 1301, in create
      call = state.channel.integrated_call(flags, method, host, deadline,
    File "src\python\grpcio\grpc\_cython\_cygrpc/channel.pyx.pxi", line 474, in grpc._cython.cygrpc.Channel.integrated_call
    File "src\python\grpcio\grpc\_cython\_cygrpc/channel.pyx.pxi", line 294, in grpc._cython.cygrpc._integrated_call
    File "src\python\grpcio\grpc\_cython\_cygrpc/channel.pyx.pxi", line 218, in grpc._cython.cygrpc._call
    File "src\python\grpcio\grpc\_cython\_cygrpc/channel.pyx.pxi", line 258, in grpc._cython.cygrpc._call
  ValueError: Cannot invoke RPC: Channel closed!

I'm temporarily disabling this test before the dev release. I'll open an issue to track the test failure.

@mkundu1 mkundu1 force-pushed the maint/unittest-issue branch from 728c162 to 9d8f76e Compare June 22, 2022 07:47
@mkundu1 mkundu1 merged commit 5734001 into main Jun 22, 2022
@mkundu1 mkundu1 deleted the maint/unittest-issue branch June 22, 2022 09:31
@mkundu1 mkundu1 requested a review from seanpearsonuk June 22, 2022 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant