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

Just used to test the stability of TCK #2829

Merged

Conversation

bright-starry-sky
Copy link
Contributor

Changed the tck case wait time from heart_beat_interval to heart_beat_interval + 1.
Please ignore the PR for a moment, I'm going to run the test repeatedly.

@bright-starry-sky bright-starry-sky added the ready-for-testing PR: ready for the CI test label Sep 9, 2021
@bright-starry-sky
Copy link
Contributor Author

=================================== FAILURES =================================== _______________________ test_v2ga_bug_negative_start_vid _______________________ [gw8] linux -- Python 3.8.10 /usr/bin/python3 /github/home/.local/lib/python3.8/site-packages/pytest_bdd/scenario.py:177: in scenario_wrapper _execute_scenario(feature, scenario, request, encoding) /github/home/.local/lib/python3.8/site-packages/pytest_bdd/scenario.py:143: in _execute_scenario _execute_step_function(request, scenario, step, step_func) /github/home/.local/lib/python3.8/site-packages/pytest_bdd/scenario.py:113: in _execute_step_function return_value = step_func(**kwargs) tck/conftest.py:243: in wait_job_to_finish assert is_finished, f"Fail to finish job {jid}" E AssertionError: Fail to finish job 128 E assert False ----------------------------- Captured stderr call ----------------------------- [2021-09-13 10:14:24,734]:Get connection to ('127.0.0.1', 3020) ------------------------------ Captured log call ------------------------------- INFO root:ConnectionPool.py:150 Get connection to ('127.0.0.1', 3020) ____________________ test_exists_with_dynamic_map_in_match _____________________ [gw2] linux -- Python 3.8.10 /usr/bin/python3 /github/home/.local/lib/python3.8/site-packages/pytest_bdd/scenario.py:177: in scenario_wrapper _execute_scenario(feature, scenario, request, encoding) /github/home/.local/lib/python3.8/site-packages/pytest_bdd/scenario.py:143: in _execute_scenario _execute_step_function(request, scenario, step, step_func) /github/home/.local/lib/python3.8/site-packages/pytest_bdd/scenario.py:113: in _execute_step_function return_value = step_func(**kwargs) tck/conftest.py:243: in wait_job_to_finish assert is_finished, f"Fail to finish job {jid}" E AssertionError: Fail to finish job 137 E assert False ----------------------------- Captured stderr call ----------------------------- [2021-09-13 10:14:26,590]:Get connection to ('127.0.0.1', 3020) ------------------------------ Captured log call ------------------------------- INFO root:ConnectionPool.py:150 Get connection to ('127.0.0.1', 3020) _______________ test_indextest_intvid_rebuildtagindexstatusinfo ________________ [gw9] linux -- Python 3.8.10 /usr/bin/python3 /github/home/.local/lib/python3.8/site-packages/pytest_bdd/scenario.py:177: in scenario_wrapper _execute_scenario(feature, scenario, request, encoding) /github/home/.local/lib/python3.8/site-packages/pytest_bdd/scenario.py:143: in _execute_scenario _execute_step_function(request, scenario, step, step_func) /github/home/.local/lib/python3.8/site-packages/pytest_bdd/scenario.py:113: in _execute_step_function return_value = step_func(**kwargs) tck/conftest.py:243: in wait_job_to_finish assert is_finished, f"Fail to finish job {jid}" E AssertionError: Fail to finish job 153 E assert False ----------------------------- Captured stderr call ----------------------------- [2021-09-13 10:14:43,558]:Get connection to ('127.0.0.1', 3020) ------------------------------ Captured log call ------------------------------- INFO root:ConnectionPool.py:150 Get connection to ('127.0.0.1', 3020) _______________ test_indextest_intvid_rebuildedgeindexstatusinfo _______________ [gw9] linux -- Python 3.8.10 /usr/bin/python3 /github/home/.local/lib/python3.8/site-packages/pytest_bdd/scenario.py:177: in scenario_wrapper _execute_scenario(feature, scenario, request, encoding) /github/home/.local/lib/python3.8/site-packages/pytest_bdd/scenario.py:143: in _execute_scenario _execute_step_function(request, scenario, step, step_func) /github/home/.local/lib/python3.8/site-packages/pytest_bdd/scenario.py:113: in _execute_step_function return_value = step_func(**kwargs) tck/conftest.py:243: in wait_job_to_finish assert is_finished, f"Fail to finish job {jid}" E AssertionError: Fail to finish job 173 E assert False ----------------------------- Captured stderr call ----------------------------- [2021-09-13 10:14:57,252]:Get connection to ('127.0.0.1', 3020) ------------------------------ Captured log call ------------------------------- INFO root:ConnectionPool.py:150 Get connection to ('127.0.0.1', 3020) ___________________ test_indextest_rebuildtagindexstatusinfo ___________________ [gw9] linux -- Python 3.8.10 /usr/bin/python3 /github/home/.local/lib/python3.8/site-packages/pytest_bdd/scenario.py:177: in scenario_wrapper _execute_scenario(feature, scenario, request, encoding) /github/home/.local/lib/python3.8/site-packages/pytest_bdd/scenario.py:143: in _execute_scenario _execute_step_function(request, scenario, step, step_func) /github/home/.local/lib/python3.8/site-packages/pytest_bdd/scenario.py:113: in _execute_step_function return_value = step_func(**kwargs) tck/conftest.py:243: in wait_job_to_finish assert is_finished, f"Fail to finish job {jid}" E AssertionError: Fail to finish job 260 E assert False ----------------------------- Captured stderr call ----------------------------- [2021-09-13 10:15:52,660]:Get connection to ('127.0.0.1', 3020) ------------------------------ Captured log call ------------------------------- INFO root:ConnectionPool.py:150 Get connection to ('127.0.0.1', 3020) __________________ test_indextest_rebuildedgeindexstatusinfo ___________________ [gw9] linux -- Python 3.8.10 /usr/bin/python3 /github/home/.local/lib/python3.8/site-packages/pytest_bdd/scenario.py:177: in scenario_wrapper _execute_scenario(feature, scenario, request, encoding) /github/home/.local/lib/python3.8/site-packages/pytest_bdd/scenario.py:143: in _execute_scenario _execute_step_function(request, scenario, step, step_func) /github/home/.local/lib/python3.8/site-packages/pytest_bdd/scenario.py:113: in _execute_step_function return_value = step_func(**kwargs) tck/conftest.py:243: in wait_job_to_finish assert is_finished, f"Fail to finish job {jid}" E AssertionError: Fail to finish job 294 E assert False ----------------------------- Captured stderr call ----------------------------- [2021-09-13 10:16:19,915]:Get connection to ('127.0.0.1', 3020) ------------------------------ Captured log call ------------------------------- INFO root:ConnectionPool.py:150 Get connection to ('127.0.0.1', 3020) _______________________ test_test_edge_index_from_pytest _______________________ [gw0] linux -- Python 3.8.10 /usr/bin/python3 /github/home/.local/lib/python3.8/site-packages/pytest_bdd/scenario.py:177: in scenario_wrapper _execute_scenario(feature, scenario, request, encoding) /github/home/.local/lib/python3.8/site-packages/pytest_bdd/scenario.py:143: in _execute_scenario _execute_step_function(request, scenario, step, step_func) /github/home/.local/lib/python3.8/site-packages/pytest_bdd/scenario.py:113: in _execute_step_function return_value = step_func(**kwargs) tck/conftest.py:243: in wait_job_to_finish assert is_finished, f"Fail to finish job {jid}" E AssertionError: Fail to finish job 295 E assert False ----------------------------- Captured stderr call ----------------------------- [2021-09-13 10:16:20,944]:Get connection to ('127.0.0.1', 3020) ------------------------------ Captured log call ------------------------------- INFO root:ConnectionPool.py:150 Get connection to ('127.0.0.1', 3020) _______________________ test_test_tag_index_from_pytest ________________________ [gw4] linux -- Python 3.8.10 /usr/bin/python3 /github/home/.local/lib/python3.8/site-packages/pytest_bdd/scenario.py:177: in scenario_wrapper _execute_scenario(feature, scenario, request, encoding) /github/home/.local/lib/python3.8/site-packages/pytest_bdd/scenario.py:143: in _execute_scenario _execute_step_function(request, scenario, step, step_func) /github/home/.local/lib/python3.8/site-packages/pytest_bdd/scenario.py:113: in _execute_step_function return_value = step_func(**kwargs) tck/conftest.py:243: in wait_job_to_finish assert is_finished, f"Fail to finish job {jid}" E AssertionError: Fail to finish job 299 E assert False ----------------------------- Captured stderr call ----------------------------- [2021-09-13 10:16:22,502]:Get connection to ('127.0.0.1', 3020) ------------------------------ Captured log call ------------------------------- INFO root:ConnectionPool.py:150 Get connection to ('127.0.0.1', 3020) ____________ test_indextest_rebuild_all_tag_indexes_by_empty_input _____________ [gw9] linux -- Python 3.8.10 /usr/bin/python3 /github/home/.local/lib/python3.8/site-packages/pytest_bdd/scenario.py:177: in scenario_wrapper _execute_scenario(feature, scenario, request, encoding) /github/home/.local/lib/python3.8/site-packages/pytest_bdd/scenario.py:143: in _execute_scenario _execute_step_function(request, scenario, step, step_func) /github/home/.local/lib/python3.8/site-packages/pytest_bdd/scenario.py:113: in _execute_step_function return_value = step_func(**kwargs) tck/conftest.py:243: in wait_job_to_finish assert is_finished, f"Fail to finish job {jid}" E AssertionError: Fail to finish job 314 E assert False ----------------------------- Captured stderr call ----------------------------- [2021-09-13 10:17:01,309]:Get connection to ('127.0.0.1', 3020) ------------------------------ Captured log call ------------------------------- INFO root:ConnectionPool.py:150 Get connection to ('127.0.0.1', 3020) ____________ test_indextest_rebuild_all_tag_indexes_by_multi_input _____________ [gw9] linux -- Python 3.8.10 /usr/bin/python3 /github/home/.local/lib/python3.8/site-packages/pytest_bdd/scenario.py:177: in scenario_wrapper _execute_scenario(feature, scenario, request, encoding) /github/home/.local/lib/python3.8/site-packages/pytest_bdd/scenario.py:143: in _execute_scenario _execute_step_function(request, scenario, step, step_func) /github/home/.local/lib/python3.8/site-packages/pytest_bdd/scenario.py:113: in _execute_step_function return_value = step_func(**kwargs) tck/conftest.py:243: in wait_job_to_finish assert is_finished, f"Fail to finish job {jid}" E AssertionError: Fail to finish job 316 E assert False ----------------------------- Captured stderr call ----------------------------- [2021-09-13 10:17:39,724]:Get connection to ('127.0.0.1', 3020) ------------------------------ Captured log call ------------------------------- INFO root:ConnectionPool.py:150 Get connection to ('127.0.0.1', 3020) ____________ test_indextest_rebuild_all_edge_indexes_by_empty_input ____________ [gw9] linux -- Python 3.8.10 /usr/bin/python3 /github/home/.local/lib/python3.8/site-packages/pytest_bdd/scenario.py:177: in scenario_wrapper _execute_scenario(feature, scenario, request, encoding) /github/home/.local/lib/python3.8/site-packages/pytest_bdd/scenario.py:143: in _execute_scenario _execute_step_function(request, scenario, step, step_func) /github/home/.local/lib/python3.8/site-packages/pytest_bdd/scenario.py:113: in _execute_step_function return_value = step_func(**kwargs) tck/conftest.py:243: in wait_job_to_finish assert is_finished, f"Fail to finish job {jid}" E AssertionError: Fail to finish job 318 E assert False ----------------------------- Captured stderr call ----------------------------- [2021-09-13 10:18:20,651]:Get connection to ('127.0.0.1', 3020) ------------------------------ Captured log call ------------------------------- INFO root:ConnectionPool.py:150 Get connection to ('127.0.0.1', 3020) ____________ test_indextest_rebuild_all_edge_indexes_by_multi_input ____________ [gw9] linux -- Python 3.8.10 /usr/bin/python3 /github/home/.local/lib/python3.8/site-packages/pytest_bdd/scenario.py:177: in scenario_wrapper _execute_scenario(feature, scenario, request, encoding) /github/home/.local/lib/python3.8/site-packages/pytest_bdd/scenario.py:143: in _execute_scenario _execute_step_function(request, scenario, step, step_func) /github/home/.local/lib/python3.8/site-packages/pytest_bdd/scenario.py:113: in _execute_step_function return_value = step_func(**kwargs) tck/conftest.py:243: in wait_job_to_finish assert is_finished, f"Fail to finish job {jid}" E AssertionError: Fail to finish job 320 E assert False

@bright-starry-sky
Copy link
Contributor Author

Some unreasonable test steps have been removed

@bright-starry-sky bright-starry-sky force-pushed the tck_heartbeat_interval_test branch 2 times, most recently from ffbb5f6 to 09d6986 Compare September 13, 2021 09:40
@bright-starry-sky
Copy link
Contributor Author

=================================== FAILURES =================================== __________________ test_lookuptest_no_index_to_use_at_runtime __________________ [gw2] linux -- Python 3.8.10 /usr/bin/python3 /github/home/.local/lib/python3.8/site-packages/pytest_bdd/scenario.py:177: in scenario_wrapper _execute_scenario(feature, scenario, request, encoding) /github/home/.local/lib/python3.8/site-packages/pytest_bdd/scenario.py:143: in _execute_scenario _execute_step_function(request, scenario, step, step_func) /github/home/.local/lib/python3.8/site-packages/pytest_bdd/scenario.py:113: in _execute_step_function return_value = step_func(**kwargs) tck/conftest.py:427: in execution_should_be_succ check_resp(rs, stmt) common/utils.py:329: in check_resp assert resp.is_succeeded(), msg E AssertionError: Fail to exec: INSERT VERTEX player(name, age) VALUES hash('Tim'):('Tim', 20);, error: SemanticError: No schema found for player'
----------------------------- Captured stderr call -----------------------------
[2021-09-13 19:41:04,824]:Get connection to ('127.0.0.1', 8918)
------------------------------ Captured log call -------------------------------
INFO root:ConnectionPool.py:150 Get connection to ('127.0.0.1', 8918)
________________ test_compare_int_and_float_during_indexscan_1 _________________
[gw0] linux -- Python 3.8.10 /usr/bin/python3
/github/home/.local/lib/python3.8/site-packages/pytest_bdd/scenario.py:177: in scenario_wrapper
_execute_scenario(feature, scenario, request, encoding)
/github/home/.local/lib/python3.8/site-packages/pytest_bdd/scenario.py:143: in _execute_scenario
_execute_step_function(request, scenario, step, step_func)
/github/home/.local/lib/python3.8/site-packages/pytest_bdd/scenario.py:113: in _execute_step_function
return_value = step_func(**kwargs)
tck/conftest.py:427: in execution_should_be_succ
check_resp(rs, stmt)
common/utils.py:329: in check_resp
assert resp.is_succeeded(), msg
E AssertionError: Fail to exec: INSERT VERTEX weight(WEIGHT) VALUES "Tim Duncan" : (70.5); INSERT VERTEX weight(WEIGHT) VALUES "Tony Parker" : (80.0);, error: SemanticError: No schema found for weight' ----------------------------- Captured stderr call ----------------------------- [2021-09-13 19:42:04,444]:Get connection to ('127.0.0.1', 8918) ------------------------------ Captured log call ------------------------------- INFO root:ConnectionPool.py:150 Get connection to ('127.0.0.1', 8918) =========================== short test summary info ============================ FAILED tck/steps/test_tck.py::test_lookuptest_no_index_to_use_at_runtime - As... FAILED tck/steps/test_tck.py::test_compare_int_and_float_during_indexscan_1 ================== 2 failed, 1068 passed in 831.57s (0:13:51) ================== /github/home/.local/lib/python3.8/site-packages/pytest_benchmark/logger.py:44: PytestBenchmarkWarning: Benchmarks are automatically disabled because xdist plugin is active.Benchmarks cannot be performed reliably in a parallelized environment. warner(PytestBenchmarkWarning(text)) make: *** [Makefile:74: tck] Error 1 Error: Process completed with exit code 2.

@bright-starry-sky
Copy link
Contributor Author

[ 92%] Linking CXX executable ../../../bin/bench/toss_bm [ 93%] Linking CXX executable ../../../bin/test/list_cluster_info_test [ 93%] Linking CXX executable ../../../bin/test/toss_test [ 93%] Linking CXX executable ../../../bin/test/delete_edges_test [ 93%] Linking CXX executable ../../../bin/test/checkpoint_test Error: Process completed with exit code 137.

@bright-starry-sky
Copy link
Contributor Author

All rebuild index job related test cases tend to be stable.
I think we can merge this PR first.

@bright-starry-sky
Copy link
Contributor Author

_______________________ test_lookuptest_functionexprtest _______________________ [gw0] linux -- Python 3.8.10 /usr/bin/python3 /github/home/.local/lib/python3.8/site-packages/pytest_bdd/scenario.py:177: in scenario_wrapper _execute_scenario(feature, scenario, request, encoding) /github/home/.local/lib/python3.8/site-packages/pytest_bdd/scenario.py:143: in _execute_scenario _execute_step_function(request, scenario, step, step_func) /github/home/.local/lib/python3.8/site-packages/pytest_bdd/scenario.py:113: in _execute_step_function return_value = step_func(**kwargs) tck/conftest.py:427: in execution_should_be_succ check_resp(rs, stmt) common/utils.py:329: in check_resp assert resp.is_succeeded(), msg E AssertionError: Fail to exec: INSERT VERTEX lookup_tag_2(col1, col2, col3, col4) VALUES "220":(true, 100, 100.5, true), "221":(true, 200, 200.5, true), "222":(true, 300, 300.5, true), "223":(true, 400, 400.5, true), "224":(true, 500, 500.5, true), "225":(true, 600, 600.5, true), error: SemanticError: No schema found for lookup_tag_2'`

@yixinglu yixinglu merged commit 4ceb06e into vesoft-inc:master Sep 15, 2021
@bright-starry-sky bright-starry-sky deleted the tck_heartbeat_interval_test branch September 16, 2021 02:31
yixinglu added a commit to yixinglu/nebula that referenced this pull request Sep 14, 2023
* show analyzer when show ft index (vesoft-inc#5587)

* show analyzer when show ft index

* fix tck

* fix ft (vesoft-inc#5594)

* fix conflict

* Fix expression issues when using ES_QUERY in Lookup clause (vesoft-inc#5597)

* Add cherry pick missed codes

* Restore permission check logics

---------

Co-authored-by: hs.zhang <22708345+cangfengzhs@users.noreply.github.com>
Co-authored-by: Yee <2520865+yixinglu@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-for-testing PR: ready for the CI test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants