[
https://issues.apache.org/jira/browse/FLINK-39075?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Samrat Deb resolved FLINK-39075.
--------------------------------
Resolution: Duplicate
> fn_execution test collection fails in test_flink_fn_execution_pb2.py
> --------------------------------------------------------------------
>
> Key: FLINK-39075
> URL: https://issues.apache.org/jira/browse/FLINK-39075
> Project: Flink
> Issue Type: Bug
> Reporter: Samrat Deb
> Priority: Major
>
> [https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=72304&view=logs&j=9cada3cb-c1d3-5621-16da-0f718fb86602&t=0a887b12-e4d0-528d-2191-73222db51fda&l=291244]
>
> ```
> Feb 11 17:16:07 @Deprecated(since="2.1.0", detail="Use
> :func:`Table.get_resolved_schema` instead.")
> Feb 11 17:16:07
> Feb 11 17:16:07 pyflink/table/table_environment.py:139
> Feb 11 17:16:07 /__w/1/s/flink-python/pyflink/table/table_environment.py:139:
> DeprecationWarning: TableEnvironment.register_catalog has been deprecated
> since version 2.1.0.
> Feb 11 17:16:07 Use :func:`create_catalog` instead. The new method uses a
> Feb 11 17:16:07 :class:`~pyflink.table.catalog.CatalogDescriptor` to
> initialize the catalog instance and store
> Feb 11 17:16:07 the :class:`~pyflink.table.catalog.CatalogDescriptor` in the
> catalog store.
> Feb 11 17:16:07
> Feb 11 17:16:07 @Deprecated(since="2.1.0", detail="""
> Feb 11 17:16:07
> Feb 11 17:16:07 -- Docs:
> [https://docs.pytest.org/en/stable/how-to/capture-warnings.html]
> Feb 11 17:16:07 =========================== short test summary info
> ============================
> Feb 11 17:16:07 ERROR
> pyflink/fn_execution/tests/test_flink_fn_execution_pb2.py
> Feb 11 17:16:07 !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection
> !!!!!!!!!!!!!!!!!!!!
> Feb 11 17:16:07 ======================== 15 warnings, 1 error in 1.42s
> =========================
> Feb 11 17:16:07 test module /__w/1/s/flink-python/pyflink/fn_execution failed
> Feb 11 17:16:07 ERROR: InvocationError for command /usr/bin/bash
> ./dev/integration_test.sh (exited with code 1)
> Feb 11 17:16:07 py312 finish: run-test after 387.02 seconds
> Feb 11 17:16:07 py312 start: run-test-post
> Feb 11 17:16:07 py312 finish: run-test-post after 0.00 seconds
> Feb 11 17:16:07 ___________________________________ summary
> ____________________________________
> Feb 11 17:16:07 ERROR: py312: commands failed
> Feb 11 17:16:07 cleanup
> /__w/1/s/flink-python/.tox/.tmp/package/1/apache_flink-2.3.dev0.zip
> Feb 11 17:16:07 ============tox checks... [FAILED]============
> ./flink-python/dev/lint-python.sh: line 593: deactivate: command not found
> Feb 11 17:16:07 Process exited with EXIT CODE: 1.
> Feb 11 17:16:07 Trying to KILL watchdog (3681).
> Feb 11 17:16:07 Searching for .dump, .dumpstream and related files in
> '/__w/1/s'
> Feb 11 17:16:10 Moving
> '/__w/1/s/flink-python/.tox/py312/lib/python3.12/site-packages/jsonschema_specifications/schemas/draft202012/vocabularies/core'
> to target directory ('/__w/_temp/debug_files')
> Feb 11 17:16:10 Moving
> '/__w/1/s/flink-python/.tox/py312/lib/python3.12/site-packages/jsonschema_specifications/schemas/draft201909/vocabularies/core'
> to target directory ('/__w/_temp/debug_files')
> The STDIO streams did not close within 10 seconds of the exit event from
> process '/usr/bin/bash'. This may indicate a child process inherited the
> STDIO streams and has not yet exited.
> ##[error]Bash exited with code '1'.
> ```
--
This message was sent by Atlassian Jira
(v8.20.10#820010)