ansys / pymapdl

Pythonic interface to MAPDL
https://mapdl.docs.pyansys.com
MIT License
423 stars 120 forks source link

gRPC fork error #3437

Open germa89 opened 3 days ago

germa89 commented 3 days ago

I had to add the env var GRPC_ENABLE_FORK_SUPPORT=false to the doc build CICD job to avoid the following errors:

I0000 00:00:1727451651.033756   11803 fork_posix.cc:77] Other threads are currently calling into gRPC, skipping fork() handlers
Details

```txt WARNING: All log messages before absl::InitializeLog() is called are written to STDERR I0000 00:00:1727451650.983715 11803 fork_posix.cc:77] Other threads are currently calling into gRPC, skipping fork() handlers I0000 00:00:1727451651.033756 11803 fork_posix.cc:77] Other threads are currently calling into gRPC, skipping fork() handlers I0000 00:00:1727451651.052700 11803 fork_posix.cc:77] Other threads are currently calling into gRPC, skipping fork() handlers I0000 00:00:1727451651.083911 11803 fork_posix.cc:77] Other threads are currently calling into gRPC, skipping fork() handlers I0000 00:00:1727451652.976906 49076 chttp2_transport.cc:1183] ipv4:127.0.0.1:21000: Got goaway [11] err=UNAVAILABLE:GOAWAY received; Error code: 11; Debug Text: too_many_pings {grpc_status:14, http2_error:11, created_time:"2024-09-27T15:40:52.976889527+00:00"} E0000 00:00:1727451652.977011 49076 chttp2_transport.cc:1211] ipv4:127.0.0.1:21000: Received a GOAWAY with error code ENHANCE_YOUR_CALM and debug data equal to "too_many_pings". Current keepalive time (before throttling): ∞ I0000 00:00:1727451652.977028 49076 chttp2_transport.cc:1183] ipv4:127.0.0.1:21000: Got goaway [11] err=UNAVAILABLE:GOAWAY received; Error code: 11; Debug Text: too_many_pings {grpc_status:14, http2_error:11, created_time:"2024-09-27T15:40:52.977024539+00:00"} E0000 00:00:1727451652.977038 49076 chttp2_transport.cc:1211] ipv4:127.0.0.1:21000: Received a GOAWAY with error code ENHANCE_YOUR_CALM and debug data equal to "too_many_pings". Current keepalive time (before throttling): ∞ reading sources... [ 3%] 404 .. api/_autosummary/ansys.mapdl.core.database.nodes.DbNodes.num I0000 00:00:1727451659.398750 11803 fork_posix.cc:77] Other threads are currently calling into gRPC, skipping fork() handlers F0000 00:00:1727451659.459682 65111 ev_epoll1_linux.cc:1137] Check failed: next_worker->state == KICKED *** Check failure stack trace: *** reading sources... [ 7%] api/_autosummary/ansys.mapdl.core.database.nodes.DbNodes.push .. api/_autosummary/ansys.mapdl.core.mapdl_geometry.Geometry.volume_select I0000 00:00:1727451660.247443 11803 fork_posix.cc:77] Other threads are currently calling into gRPC, skipping fork() handlers reading sources... [ 10%] api/_autosummary/ansys.mapdl.core.mapdl_geometry.Geometry.volumes .. api/_autosummary/ansys.mapdl.core.misc.Information.products I0000 00:00:1727451660.708732 11803 fork_posix.cc:77] Other threads are currently calling into gRPC, skipping fork() handlers reading sources... [ 13%] api/_autosummary/ansys.mapdl.core.misc.Information.pymapdl_version .. api/_autosummary/ansys.mapdl.core.plotting.MapdlTheme.lighting I0000 00:00:1727451661.304762 11803 fork_posix.cc:77] Other threads are currently calling into gRPC, skipping fork() handlers reading sources... [ 17%] api/_autosummary/ansys.mapdl.core.plotting.MapdlTheme.lighting_params .. api/_autosummary/ansys.mapdl.core.post.PostProcessing.nodal_total_principal_strain I0000 00:00:1727451668.583260 11803 fork_posix.cc:77] Other threads are currently calling into gRPC, skipping fork() handlers reading sources... [ 20%] api/_autosummary/ansys.mapdl.core.post.PostProcessing.nodal_total_strain_intensity .. api/_autosummary/ansys.mapdl.core.xpl.ansXpl.close I0000 00:00:1727451669.799691 11803 fork_posix.cc:77] Other threads are currently calling into gRPC, skipping fork() handlers reading sources... [ 23%] api/_autosummary/ansys.mapdl.core.xpl.ansXpl.copy .. examples/gallery_examples/00-mapdl-examples/spotweld I0000 00:00:1727451675.717592 11803 fork_posix.cc:77] Other threads are currently calling into gRPC, skipping fork() handlers reading sources... [ 27%] examples/gallery_examples/00-mapdl-examples/torsional_load .. mapdl_commands/_autosummary/ansys.mapdl.core.Mapdl.rlinqr I0000 00:00:1727451677.385030 11803 fork_posix.cc:77] Other threads are currently calling into gRPC, skipping fork() handlers reading sources... [ 30%] mapdl_commands/_autosummary/ansys.mapdl.core.Mapdl.satin .. mapdl_commands/apdl/_autosummary/ansys.mapdl.core.Mapdl.vfill I0000 00:00:1727451678.304455 11803 fork_posix.cc:77] Other threads are currently calling into gRPC, skipping fork() handlers reading sources... [ 33%] mapdl_commands/apdl/_autosummary/ansys.mapdl.core.Mapdl.vfun .. mapdl_commands/database/_autosummary/ansys.mapdl.core.Mapdl.esel I0000 00:00:1727451685.356158 11803 fork_posix.cc:77] Other threads are currently calling into gRPC, skipping fork() handlers reading sources... [ 37%] mapdl_commands/database/_autosummary/ansys.mapdl.core.Mapdl.esla .. mapdl_commands/graphics/_autosummary/ansys.mapdl.core.Mapdl.eshape I0000 00:00:1727451687.260437 11803 fork_posix.cc:77] Other threads are currently calling into gRPC, skipping fork() handlers reading sources... [ 40%] mapdl_commands/graphics/_autosummary/ansys.mapdl.core.Mapdl.facet .. mapdl_commands/graphics/labeling I0000 00:00:1727451693.657041 11803 fork_posix.cc:77] Other threads are currently calling into gRPC, skipping fork() handlers reading sources... [ 43%] mapdl_commands/graphics/scaling .. mapdl_commands/post1/_autosummary/ansys.mapdl.core.Mapdl.lccalc I0000 00:00:1727451694.098625 11803 fork_posix.cc:77] Other threads are currently calling into gRPC, skipping fork() handlers reading sources... [ 47%] mapdl_commands/post1/_autosummary/ansys.mapdl.core.Mapdl.lcdef .. mapdl_commands/post1/_autosummary/ansys.mapdl.core.Mapdl.rescombine I0000 00:00:1727451696.610902 11803 fork_posix.cc:77] Other threads are currently calling into gRPC, skipping fork() handlers reading sources... [ 50%] mapdl_commands/post1/_autosummary/ansys.mapdl.core.Mapdl.reswrite .. mapdl_commands/post26/_autosummary/ansys.mapdl.core.Mapdl.extrem I0000 00:00:1727451702.201677 11803 fork_posix.cc:77] Other threads are currently calling into gRPC, skipping fork() handlers reading sources... [ 53%] mapdl_commands/post26/_autosummary/ansys.mapdl.core.Mapdl.file .. mapdl_commands/prep7/_autosummary/ansys.mapdl.core.Mapdl.aglue I0000 00:00:1727451704.143415 11803 fork_posix.cc:77] Other threads are currently calling into gRPC, skipping fork() handlers reading sources... [ 57%] mapdl_commands/prep7/_autosummary/ansys.mapdl.core.Mapdl.aina .. mapdl_commands/prep7/_autosummary/ansys.mapdl.core.Mapdl.cpmerge I0000 00:00:1727451705.107548 11803 fork_posix.cc:77] Other threads are currently calling into gRPC, skipping fork() handlers reading sources... [ 60%] mapdl_commands/prep7/_autosummary/ansys.mapdl.core.Mapdl.cpngen .. mapdl_commands/prep7/_autosummary/ansys.mapdl.core.Mapdl.edrun I0000 00:00:1727451711.713410 11803 fork_posix.cc:77] Other threads are currently calling into gRPC, skipping fork() handlers Exception occurred: File "/opt/hostedtoolcache/Python/3.11.10/x64/lib/python3.11/multiprocessing/connection.py", line 399, in _recv raise EOFError EOFError The full traceback has been saved in /tmp/sphinx-err-r70s2lmu.log, if you want to report the issue to the developers. Please also report this if it was a user error, so that a better error message can be provided next time. A bug report can be filed in the tracker at . Thanks! ```

germa89 commented 3 days ago

For the reference: https://github.com/home-assistant/core/issues/73178