[
https://issues.apache.org/jira/browse/FLINK-18476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martijn Visser reopened FLINK-18476:
------------------------------------
Re-opening for the release branches. e095557d5dbbae33e6011d0b2893af0251f5bb57
only went to master, and release-1.20 fails the same way:
release-1.20, nightly 2026-09-25 (test_cron_jdk21 misc):
https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=79414&view=logs&j=59a2b95a-736b-5c46-b3e0-cee6e587fd86
{code}
[ERROR]
org.apache.flink.client.python.PythonEnvUtilsTest.testStartPythonProcess --
Time elapsed: 0.073 s <<< ERROR!
java.lang.RuntimeException: Failed to start Python process.
at
org.apache.flink.client.python.PythonEnvUtils.startPythonProcess(PythonEnvUtils.java:380)
at
org.apache.flink.client.python.PythonEnvUtilsTest.testStartPythonProcess(PythonEnvUtilsTest.java:163)
{code}
release-2.3 and release-2.2 lack it too. We should backport
e095557d5dbbae33e6011d0b2893af0251f5bb57.
> PythonEnvUtilsTest#testStartPythonProcess fails
> -----------------------------------------------
>
> Key: FLINK-18476
> URL: https://issues.apache.org/jira/browse/FLINK-18476
> Project: Flink
> Issue Type: Bug
> Components: API / Python, Tests
> Affects Versions: 1.11.0, 1.15.3, 1.18.0, 1.19.0, 1.20.0
> Reporter: Dawid Wysakowicz
> Assignee: Sergey Nuyanzin
> Priority: Major
> Labels: auto-deprioritized-major, auto-deprioritized-minor,
> pull-request-available, test-stability
> Fix For: 2.4.0
>
>
> The
> {{org.apache.flink.client.python.PythonEnvUtilsTest#testStartPythonProcess}}
> failed in my local environment as it assumes the environment has
> {{/usr/bin/python}}.
> I don't know exactly how did I get python in Ubuntu 20.04, but I have only
> alias for {{python = python3}}. Therefore the tests fails.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)