[ 
https://issues.apache.org/jira/browse/FLINK-41621?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martijn Visser updated FLINK-41621:
-----------------------------------
    Labels: test-stability  (was: )

> PythonBootTests.test_set_working_directory fails with "Java gateway process 
> exited before sending its port number"
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: FLINK-41621
>                 URL: https://issues.apache.org/jira/browse/FLINK-41621
>             Project: Flink
>          Issue Type: Bug
>          Components: API / Python
>    Affects Versions: 2.5.0
>            Reporter: Martijn Visser
>            Priority: Major
>              Labels: test-stability
>
> In the master nightly of 2026-11-20 (Azure, test_ci python, py311-cython) 
> {{PythonBootTests.test_set_working_directory}} failed before its body ran, 
> while launching the gateway JVM:
> https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=81803&view=logs&j=9cada3cb-c1d3-5621-16da-0f718fb86602
> {code}
> pyflink/fn_execution/tests/test_process_mode_boot.py:108:
> pyflink/java_gateway.py:74: in get_gateway
>     _gateway = launch_gateway()
> E               RuntimeError: Java gateway process exited before sending its 
> port number.
> E               Stderr:
> E               E1120 02:08:43.131749   16497 ev_epoll1_linux.cc:373] 
> (event_engine) Epoll1Poller:0x7f4e9e46b410 encountered epoll_wait error: Bad 
> file descriptor
> ----------------------------- Captured stderr call 
> -----------------------------
> I1120 02:08:43.077917   16112 fork_posix.cc:71] Other threads are currently 
> calling into gRPC, skipping fork() handlers
> {code}
> The test ran in pytest-xdist worker gw2, and {{PythonBootTests.setUp}} starts 
> a gRPC server in the same process. It is the only occurrence in the nightly 
> and push runs since 2026-10-29.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to