Skip to content

Workaround for generated torch.ops modules #4714

Workaround for generated torch.ops modules

Workaround for generated torch.ops modules #4714

Triggered via pull request October 20, 2023 12:32
Status Failure
Total duration 20m 46s
Artifacts

pull-tests.yaml

on: pull_request
Matrix: python-tests
Fit to window
Zoom out
Zoom in

Annotations

18 errors
PyApiTest.testEnvFail: test/src/test/java/ai/lzy/test/PyApiTest.java#L54
'Traceback (most recent call last): File "/usr/share/miniconda/envs/py39/lib/python3.9/site-packages/lzy/utils/grpc.py", line 281, in wrapper return await f(*args, **kwargs) File "/usr/share/miniconda/envs/py39/lib/python3.9/site-packages/lzy/utils/grpc.py", line 261, in inner raise e File "/usr/share/miniconda/envs/py39/lib/python3.9/site-packages/lzy/utils/grpc.py", line 251, in inner return await f(*args, **kwargs) File "/usr/share/miniconda/envs/py39/lib/python3.9/site-packages/lzy/api/v1/remote/lzy_service_client.py", line 164, in start_workflow response: StartWorkflowResponse = await call File "/usr/share/miniconda/envs/py39/lib/python3.9/site-packages/grpc/aio/_interceptor.py", line 464, in __await__ response = yield from call.__await__() File "/usr/share/miniconda/envs/py39/lib/python3.9/site-packages/grpc/aio/_call.py", line 318, in __await__ raise _create_rpc_error( grpc.aio._call.AioRpcError: <AioRpcError of RPC that terminated with: status = StatusCode.INVALID_ARGUMENT details = "Invalid client version format" debug_error_string = "UNKNOWN:Error received from peer {created_time:"2023-10-20T12:41:32.933609306+00:00", grpc_status:3, grpc_message:"Invalid client version format"}" > During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/runner/work/lzy/lzy/pylzy/tests/scenarios/env_fail/__init__.py", line 16, in <module> with Lzy().workflow("wf", interactive=False): File "/usr/share/miniconda/envs/py39/lib/python3.9/site-packages/lzy/core/workflow.py", line 140, in __enter__ self.__execution_id = LzyEventLoop.run_async(self.__start()) File "/usr/share/miniconda/envs/py39/lib/python3.9/site-packages/lzy/utils/event_loop.py", line 36, in run_async return asyncio.run_coroutine_threadsafe(fun, inst.__loop).result() File "/usr/share/miniconda/envs/py39/lib/python3.9/concurrent/futures/_base.py", line 445, in result return self.__get_result() File "/usr/share/miniconda/envs/py39/lib/python3.9/concurrent/futures/_base.py", line 390, in __get_result raise self._exception File "/usr/share/miniconda/envs/py39/lib/python3.9/site-packages/lzy/core/workflow.py", line 212, in __start workflow_id = await self.owner.runtime.start(self) File "/usr/share/miniconda/envs/py39/lib/python3.9/site-packages/lzy/api/v1/remote/runtime.py", line 132, in start exec_id = await self.__lzy_client.start_workflow(workflow_name=workflow.name, storage=storage, File "/usr/share/miniconda/envs/py39/lib/python3.9/site-packages/lzy/utils/grpc.py", line 302, in wrapper raise BadClientVersion( lzy.exceptions.BadClientVersion: This version of pylzy is unsupported. Please run `pip install 'pylzy>=1.14.0'` to update pylzy ' doesn't contain 'Could not find a version that satisfies the requirement'
PyApiTest.testExceptionSerialize: test/src/test/java/ai/lzy/test/PyApiTest.java#L127
'&#27;[37m[LZY-LOCAL] &#27;[36m2023-10-20 12:41:38,080 - [INFO] - Starting workflow 'wf'&#27;[0m &#27;[37m[LZY-LOCAL] &#27;[36m2023-10-20 12:41:38,092 - [INFO] - Abort workflow 'wf'&#27;[0m ' doesn't contain 'exception was raised'
PyApiTest.testSubprocessWithStartup: test/src/test/java/ai/lzy/test/PyApiTest.java#L137
'&#27;[37m[LZY-LOCAL] &#27;[36m2023-10-20 12:41:41,786 - [INFO] - Starting workflow 'wf'&#27;[0m &#27;[37m[LZY-LOCAL] &#27;[36m2023-10-20 12:41:41,798 - [INFO] - Abort workflow 'wf'&#27;[0m ' doesn't contain 'hello from main process'
PyApiTest.testCachedException: test/src/test/java/ai/lzy/test/PyApiTest.java#L132
'&#27;[37m[LZY-LOCAL] &#27;[36m2023-10-20 12:41:47,433 - [INFO] - Starting workflow 'wf'&#27;[0m &#27;[37m[LZY-LOCAL] &#27;[36m2023-10-20 12:41:47,445 - [INFO] - Abort workflow 'wf'&#27;[0m &#27;[37m[LZY-LOCAL] &#27;[36m2023-10-20 12:41:47,573 - [INFO] - Starting workflow 'wf'&#27;[0m &#27;[37m[LZY-LOCAL] &#27;[36m2023-10-20 12:41:47,584 - [INFO] - Abort workflow 'wf'&#27;[0m ' doesn't contain 'exception was raised'
PyApiTest.testExecFail: test/src/test/java/ai/lzy/test/PyApiTest.java#L48
'Traceback (most recent call last): File "/usr/share/miniconda/envs/py39/lib/python3.9/site-packages/lzy/utils/grpc.py", line 281, in wrapper return await f(*args, **kwargs) File "/usr/share/miniconda/envs/py39/lib/python3.9/site-packages/lzy/utils/grpc.py", line 261, in inner raise e File "/usr/share/miniconda/envs/py39/lib/python3.9/site-packages/lzy/utils/grpc.py", line 251, in inner return await f(*args, **kwargs) File "/usr/share/miniconda/envs/py39/lib/python3.9/site-packages/lzy/api/v1/remote/lzy_service_client.py", line 164, in start_workflow response: StartWorkflowResponse = await call File "/usr/share/miniconda/envs/py39/lib/python3.9/site-packages/grpc/aio/_interceptor.py", line 464, in __await__ response = yield from call.__await__() File "/usr/share/miniconda/envs/py39/lib/python3.9/site-packages/grpc/aio/_call.py", line 318, in __await__ raise _create_rpc_error( grpc.aio._call.AioRpcError: <AioRpcError of RPC that terminated with: status = StatusCode.INVALID_ARGUMENT details = "Invalid client version format" debug_error_string = "UNKNOWN:Error received from peer {created_time:"2023-10-20T12:41:52.0386395+00:00", grpc_status:3, grpc_message:"Invalid client version format"}" > During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/runner/work/lzy/lzy/pylzy/tests/scenarios/exec_fail/__init__.py", line 10, in <module> with Lzy().workflow("wf", interactive=False): File "/usr/share/miniconda/envs/py39/lib/python3.9/site-packages/lzy/core/workflow.py", line 140, in __enter__ self.__execution_id = LzyEventLoop.run_async(self.__start()) File "/usr/share/miniconda/envs/py39/lib/python3.9/site-packages/lzy/utils/event_loop.py", line 36, in run_async return asyncio.run_coroutine_threadsafe(fun, inst.__loop).result() File "/usr/share/miniconda/envs/py39/lib/python3.9/concurrent/futures/_base.py", line 445, in result return self.__get_result() File "/usr/share/miniconda/envs/py39/lib/python3.9/concurrent/futures/_base.py", line 390, in __get_result raise self._exception File "/usr/share/miniconda/envs/py39/lib/python3.9/site-packages/lzy/core/workflow.py", line 212, in __start workflow_id = await self.owner.runtime.start(self) File "/usr/share/miniconda/envs/py39/lib/python3.9/site-packages/lzy/api/v1/remote/runtime.py", line 132, in start exec_id = await self.__lzy_client.start_workflow(workflow_name=workflow.name, storage=storage, File "/usr/share/miniconda/envs/py39/lib/python3.9/site-packages/lzy/utils/grpc.py", line 302, in wrapper raise BadClientVersion( lzy.exceptions.BadClientVersion: This version of pylzy is unsupported. Please run `pip install 'pylzy>=1.14.0'` to update pylzy ' doesn't contain 'RuntimeError: Bad exception'
PyApiTest.testCustomSerializer: test/src/test/java/ai/lzy/test/PyApiTest.java#L62
'&#27;[37m[LZY-LOCAL] &#27;[36m2023-10-20 12:41:56,535 - [INFO] - Starting workflow 'wf'&#27;[0m &#27;[37m[LZY-LOCAL] &#27;[36m2023-10-20 12:41:56,549 - [INFO] - Abort workflow 'wf'&#27;[0m ' doesn't contain 'DESERIALIZED'
PyApiTest.testRepeatedExecsUseCache: test/src/test/java/ai/lzy/test/PyApiTest.java#L24
'&#27;[37m[LZY-LOCAL] &#27;[36m2023-10-20 12:41:59,891 - [INFO] - Starting workflow 'wf'&#27;[0m &#27;[37m[LZY-LOCAL] &#27;[36m2023-10-20 12:41:59,902 - [INFO] - Abort workflow 'wf'&#27;[0m ' doesn't contain 'foo was called'
PyApiTest.testWhiteboards: test/src/test/java/ai/lzy/test/PyApiTest.java#L114
'&#27;[37m[LZY-LOCAL] &#27;[36m2023-10-20 12:42:03,407 - [INFO] - Starting workflow 'wf'&#27;[0m &#27;[37m[LZY-LOCAL] &#27;[36m2023-10-20 12:42:03,417 - [INFO] - Abort workflow 'wf'&#27;[0m ' doesn't contain 'Attempt 1: Value wb.a: 42'
PyApiTest.testFile: test/src/test/java/ai/lzy/test/PyApiTest.java#L122
'&#27;[37m[LZY-LOCAL] &#27;[36m2023-10-20 12:42:14,531 - [INFO] - Starting workflow 'wf'&#27;[0m &#27;[37m[LZY-LOCAL] &#27;[36m2023-10-20 12:42:14,542 - [INFO] - Abort workflow 'wf'&#27;[0m ' doesn't contain 'fizzbuzz'
PyApiTest.testLargeInputOutput: test/src/test/java/ai/lzy/test/PyApiTest.java#L106
'&#27;[37m[LZY-LOCAL] &#27;[36m2023-10-20 12:42:25,050 - [INFO] - Starting workflow 'wf'&#27;[0m &#27;[37m[LZY-LOCAL] &#27;[36m2023-10-20 12:42:25,061 - [INFO] - Abort workflow 'wf'&#27;[0m ' doesn't contain 'size_input: 5000000'
PyApiTest.testFullyCachedGraph: test/src/test/java/ai/lzy/test/PyApiTest.java#L34
'&#27;[37m[LZY-LOCAL] &#27;[36m2023-10-20 12:42:29,368 - [INFO] - Starting workflow 'wf'&#27;[0m &#27;[37m[LZY-LOCAL] &#27;[36m2023-10-20 12:42:29,378 - [INFO] - Abort workflow 'wf'&#27;[0m ' doesn't contain 'foo was called'
PyApiTest.testSimpleCatboostGraph: test/src/test/java/ai/lzy/test/PyApiTest.java#L43
'&#27;[37m[LZY-LOCAL] &#27;[36m2023-10-20 12:42:59,988 - [INFO] - Starting workflow 'catboost'&#27;[0m &#27;[37m[LZY-LOCAL] &#27;[36m2023-10-20 12:43:00,001 - [INFO] - Abort workflow 'catboost'&#27;[0m ' doesn't contain 'Prediction: 1'
PyApiTest.testRepeatedOpsUseCache: test/src/test/java/ai/lzy/test/PyApiTest.java#L29
'&#27;[37m[LZY-LOCAL] &#27;[36m2023-10-20 12:43:04,909 - [INFO] - Starting workflow 'wf'&#27;[0m &#27;[37m[LZY-LOCAL] &#27;[36m2023-10-20 12:43:04,919 - [INFO] - Abort workflow 'wf'&#27;[0m ' doesn't contain 'message producer was called'
PyApiTest.testComplexGraph: test/src/test/java/ai/lzy/test/PyApiTest.java#L96
'&#27;[37m[LZY-LOCAL] &#27;[36m2023-10-20 12:43:12,825 - [INFO] - Starting workflow 'wf'&#27;[0m &#27;[37m[LZY-LOCAL] &#27;[36m2023-10-20 12:43:12,835 - [INFO] - Abort workflow 'wf'&#27;[0m ' doesn't contain '39'
PyApiTest.testNestedWorkflows: test/src/test/java/ai/lzy/test/PyApiTest.java#L84
'&#27;[37m[LZY-LOCAL] &#27;[36m2023-10-20 12:43:19,831 - [INFO] - Starting workflow 'wf'&#27;[0m &#27;[37m[LZY-LOCAL] &#27;[36m2023-10-20 12:43:19,845 - [INFO] - Abort workflow 'wf'&#27;[0m ' doesn't contain 'internal object from deps'
PyApiTest.testImportFile: test/src/test/java/ai/lzy/test/PyApiTest.java#L74
'&#27;[37m[LZY-LOCAL] &#27;[36m2023-10-20 12:43:24,385 - [INFO] - Starting workflow 'wf'&#27;[0m &#27;[37m[LZY-LOCAL] &#27;[36m2023-10-20 12:43:24,397 - [INFO] - Abort workflow 'wf'&#27;[0m ' doesn't contain 'bar base echo'
integration-tests
Process completed with exit code 1.
java-unit-tests
term 0