finos / perspective

A data visualization and analytics component, especially well-suited for large and/or streaming datasets.
https://perspective.finos.org/
Apache License 2.0
7.73k stars 1.05k forks source link

WorkFlow Github Build Error #2490

Closed GabrielCoderz closed 5 months ago

GabrielCoderz commented 5 months ago

Hi guys!

I'm trying to compile the project using the github workflow, but the process stopped at "test_python (windows-2022, 3.9, 18.x, true, true) - Python Test Steps"

ERROR    asyncio:base_events.py:1753 Task was destroyed but it is pending!
task: <Task pending name='Task-1661' coro=<WebSocketProtocol13._receive_frame_loop() running at C:\hostedtoolcache\windows\Python\3.9.13\x64\lib\site-packages\tornado\websocket.py:1101> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x000001E1381C8E80>()]> cb=[IOLoop.add_future.<locals>.<lambda>() at C:\hostedtoolcache\windows\Python\3.9.13\x64\lib\site-packages\tornado\ioloop.py:685]>
ERROR    asyncio:base_events.py:1753 Task was destroyed but it is pending!
task: <Task pending name='Task-1660' coro=<RequestHandler._execute() running at C:\hostedtoolcache\windows\Python\3.9.13\x64\lib\site-packages\tornado\web.py:1786> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x000001E1383AF820>()]> cb=[_HandlerDelegate.execute.<locals>.<lambda>() at C:\hostedtoolcache\windows\Python\3.9.13\x64\lib\site-packages\tornado\web.py:2434]>
ERROR    asyncio:base_events.py:1753 Task was destroyed but it is pending!
task: <Task pending name='Task-6392' coro=<RequestHandler._execute() running at C:\hostedtoolcache\windows\Python\3.9.13\x64\lib\site-packages\tornado\web.py:1786> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x000001E136D13B80>()]> cb=[_HandlerDelegate.execute.<locals>.<lambda>() at C:\hostedtoolcache\windows\Python\3.9.13\x64\lib\site-packages\tornado\web.py:2434]>
ERROR    asyncio:base_events.py:1753 Task was destroyed but it is pending!
task: <Task pending name='Task-6393' coro=<WebSocketProtocol13._receive_frame_loop() running at C:\hostedtoolcache\windows\Python\3.9.13\x64\lib\site-packages\tornado\websocket.py:1101> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x000001E136D13DF0>()]> cb=[IOLoop.add_future.<locals>.<lambda>() at C:\hostedtoolcache\windows\Python\3.9.13\x64\lib\site-packages\tornado\ioloop.py:685]>
ERROR    asyncio:base_events.py:1753 Task was destroyed but it is pending!
task: <Task pending name='Task-6389' coro=<TestPerspectiveTornadoHandlerAsyncMode.test_tornado_handler_async_manager_thread() running at D:\a\perspective\perspective\python\perspective\perspective\tests\handlers\test_tornado_thread_pool_executor.py:116> wait_for=<_GatheringFuture pending cb=[<TaskWakeupMethWrapper object at 0x000001E136D13820>()]> cb=[chain_future.<locals>.copy() at C:\hostedtoolcache\windows\Python\3.9.13\x64\lib\site-packages\tornado\concurrent.py:153, <1 more>, with_timeout.<locals>.error_callback() at C:\hostedtoolcache\windows\Python\3.9.13\x64\lib\site-packages\tornado\gen.py:623]>
- generated xml file: D:\a\perspective\perspective\python\perspective\python_junit.xml -
---------- coverage: platform win32, python 3.9.13-final-0 -----------
Coverage XML written to file coverage.xml

=========================== short test summary info ===========================
FAILED perspective/tests/handlers/test_tornado_thread_pool_executor.py::TestPerspectiveTornadoHandlerAsyncMode::test_tornado_handler_async_manager_thread - asyncio.exceptions.TimeoutError: Timeout
FAILED perspective/tests/table/test_leaks.py::TestDelete::test_table_delete - assert (191700992 - 122961920) < 2000000
===== 2 failed, 1028 passed, 8 skipped, 47 warnings in 193.96s (0:03:13) ======
 Uncaught Exception  Command failed: cd "D:\a\perspective\perspective\python\perspective" && python3 -m pytest -vv --full-trace perspective --ignore=perspective/tests/client_mode --ignore=perspective/tests/single_threaded --junitxml=python_junit.xml --cov-report=xml --cov-branch --cov=perspective --disable-pytest-warnings

Error: Command failed: cd "D:\a\perspective\perspective\python\perspective" && python3 -m pytest -vv --full-trace perspective --ignore=perspective/tests/client_mode --ignore=perspective/tests/single_threaded --junitxml=python_junit.xml --cov-report=xml --cov-branch --cov=perspective --disable-pytest-warnings
    at checkExecSyncError (node:child_process:890:11)
    at execSync (node:child_process:962:15)
    at Command.runSync (file:///D:/a/perspective/perspective/tools/perspective-scripts/sh.mjs:178:16)
    at file:///D:/a/perspective/perspective/tools/perspective-scripts/test_python.mjs:101:19
    at ModuleJob.run (node:internal/modules/esm/module_job:195:25)
    at async ModuleLoader.import (node:internal/modules/esm/loader:336:24)
    at async loadESM (node:internal/process/esm_loader:34:7)
    at async handleMainPromise (node:internal/modules/run_main:106:12)

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Error: Process completed with exit code 1.

image

Does anyone know how I can go through this process without errors, please?

@timkpaine @texodus