Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Test HTTP api failed #2008

Open
1 task done
vsian opened this issue Oct 10, 2024 · 0 comments
Open
1 task done

[Bug]: Test HTTP api failed #2008

vsian opened this issue Oct 10, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@vsian
Copy link
Contributor

vsian commented Oct 10, 2024

Is there an existing issue for the same bug?

  • I have checked the existing issues.

Version or Commit ID

ed44fa9

Other environment information

No response

Actual behavior and How to reproduce it

Failure:

=================================== FAILURES ===================================
_______ TestInfinity.test_import_with_different_size[131072-check_data0] _______
python/test_pysdk/test_py_import.py:423: in test_import_with_different_size
    res = table_obj.import_data(test_csv_dir)
python/infinity_http.py:439: in import_data
    self.raise_exception(r)
python/infinity_http.py:92: in raise_exception
    raise InfinityException(resp_json["error_code"], resp_json["error_message"])
E   infinity.common.InfinityException: (7012, 'Parser error: Error: parse integer: @src/scheduler/fragment_context.cpp:1417')
----------------------------- Captured stdout call -----------------------------
[{'name': 'c1', 'type': 'int'}, {'name': 'c2', 'type': 'varchar'}]
500 7012 Parser error: Error: parse integer: @src/scheduler/fragment_context.cpp:1417
=========================== short test summary info ============================
FAILED python/test_pysdk/test_py_import.py::TestInfinity::test_import_with_different_size[131072-check_data0]
!!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!!
===== 1 failed, 1802 passed, 22 skipped, 6 deselected in 429.68s (0:07:09) =====
Note: this script must be run under root directory of the project.
Start Http Api testing...
python test path is /infinity/python
start pysdk test with not complex and not slow
/usr/local/venv310/bin/python3 -m pytest --tb=short -x -m "not complex and not slow" /infinity/python/test_pysdk --http
An error occurred: None

Error:

The github action link : https://github.com/infiniflow/infinity/actions/runs/11271970225/job/31345925651?pr=2007

Expected behavior

Test passes.

Additional information

No response

@vsian vsian added the bug Something isn't working label Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant