shunping opened a new pull request, #38566:
URL: https://github.com/apache/beam/pull/38566

   We are still seeing issues related to GRPC fork in our github test workflows:
   - `JavaJarServerTest`
   - `PortableRunnerTestWithSubprocessesAndMultiWorkers`
   
   The issue has been tracked under https://github.com/grpc/grpc/issues/37710.
   
   Example traceback:
   ```
   _____________________ JavaJarServerTest.test_classpath_jar 
_____________________
   [gw3] darwin -- Python 3.13.13 
/Users/runner/work/beam/beam/sdks/python/target/.tox/py313-macos/bin/python
   
   self = <apache_beam.utils.subprocess_server_test.JavaJarServerTest 
testMethod=test_classpath_jar>
   
         @unittest.skipUnless(shutil.which('javac'), 'missing java jdk')
         def test_classpath_jar(self):
   ...
   >           subprocess.check_call(f'java -jar {composite_jar}'.split())
   
   apache_beam/utils/subprocess_server_test.py:225: 
   _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ _ 
   
   popenargs = (['java', '-jar', 
'beam_temp/composite-jars/b673a40efb1e743323f7a75a292271fa99a90ab0199fe71896bb17eacc17a88d.jar'],)
   kwargs = {}, retcode = -6
   cmd = ['java', '-jar', 
'beam_temp/composite-jars/b673a40efb1e743323f7a75a292271fa99a90ab0199fe71896bb17eacc17a88d.jar']
   
       def check_call(*popenargs, **kwargs):
           """Run command with arguments.  Wait for command to complete.  If
           the exit code was zero then return, otherwise raise
           CalledProcessError.  The CalledProcessError object will have the
           return code in the returncode attribute.
       
           The arguments are the same as for the call function.  Example:
       
           check_call(["ls", "-l"])
           """
           retcode = call(*popenargs, **kwargs)
           if retcode:
               cmd = kwargs.get("args")
               if cmd is None:
                   cmd = popenargs[0]
   >           raise CalledProcessError(retcode, cmd)
   E           subprocess.CalledProcessError: Command '['java', '-jar', 
'beam_temp/composite-jars/b673a40efb1e743323f7a75a292271fa99a90ab0199fe71896bb17eacc17a88d.jar']'
 died with <Signals.SIGABRT: 6>.
   
   
/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/subprocess.py:419:
 CalledProcessError
   ----------------------------- Captured stderr call 
-----------------------------
   I0520 04:04:48.181718   13998 fork_posix.cc:71] Other threads are currently 
calling into gRPC, skipping fork() handlers
   I0520 04:04:48.189891  187465 ev_poll_posix.cc:593] FD from fork parent 
still in poll list: fd(23, generation: 1)
   I0520 04:04:48.190076  187465 ev_poll_posix.cc:593] FD from fork parent 
still in poll list: fd(22, generation: 1)
   I0520 04:04:48.190090  187465 ev_poll_posix.cc:593] FD from fork parent 
still in poll list: fd(35, generation: 1)
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to