Closed jiangxin369 closed 1 year ago
The github action Python tests failed because of module was not found. The full stack is as below.
pyflink/ml/tests/test_utils.py:64: in setUp self.env = StreamExecutionEnvironment.get_execution_environment() ../../../../hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/pyflink/datastream/stream_execution_environment.py:837: in get_execution_environment return StreamExecutionEnvironment(j_stream_exection_environment) ../../../../hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/pyflink/datastream/stream_execution_environment.py:65: in __init__ self._open() ../../../../hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/pyflink/datastream/stream_execution_environment.py:1033: in _open startup_loopback_server() ../../../../hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/pyflink/datastream/stream_execution_environment.py:1023: in startup_loopback_server from pyflink.fn_execution.beam.beam_worker_pool_service import \ ../../../../hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/pyflink/fn_execution/beam/beam_worker_pool_service.py:31: in <module> from apache_beam.options.pipeline_options import DebugOptions ../../../../hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/apache_beam/__init__.py:90: in <module> import apache_beam.internal.pickler ../../../../hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/apache_beam/internal/pickler.py:31: in <module> from apache_beam.internal import cloudpickle_pickler ../../../../hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/apache_beam/internal/cloudpickle_pickler.py:31: in <module> import bz2 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ __all__ = ["BZ2File", "BZ2Compressor", "BZ2Decompressor", "open", "compress", "decompress"] __author__ = "Nadeem Vawda <nadeem.vawda@gmail.com>" from builtins import open as _builtin_open import io import os import warnings import _compression from threading import RLock > from _bz2 import BZ2Compressor, BZ2Decompressor E ModuleNotFoundError: No module named '_bz2' ../../../../hostedtoolcache/Python/3.7.17/x64/lib/python3.7/bz2.py:19: ModuleNotFoundError
https://github.com/apache/flink-ml/actions/runs/5317040549/jobs/9627140928
Yes, the last success build: https://github.com/apache/flink-ml/actions/runs/5306386721/jobs/9603929230
The Python CI tests pass.
The Python CI tests fails.
Rerun the github action
Seems to duplicate with https://github.com/actions/setup-python/issues/682, close it.
Description
The github action Python tests failed because of module was not found. The full stack is as below.
Platforms affected
Runner images affected
Image version and build link
https://github.com/apache/flink-ml/actions/runs/5317040549/jobs/9627140928
Is it regression?
Yes, the last success build: https://github.com/apache/flink-ml/actions/runs/5306386721/jobs/9603929230
Expected behavior
The Python CI tests pass.
Actual behavior
The Python CI tests fails.
Repro steps
Rerun the github action