obdeploy icon indicating copy to clipboard operation
obdeploy copied to clipboard

[Feat.]: Failed to run mysqltest

Open longdafeng opened this issue 3 years ago • 0 comments

Check Before Asking

  • [X] Please check the issue list and confirm this feature is encountered for the first time.
  • [X] Please try full text in English and attach precise description.

Description

obd test mysqltest local --all
Get local repositories and plugins ok
Open ssh connection ok
Cluster status check ok
Connect obproxy(111.2.177.11:2883) ok
[ERROR] mysqltest-py_script_check_opt-3.1.0 RuntimeError: [Errno 2] No such file or directory: '/home/longda/.obd/plugins/mysqltest/3.1.0/test_suite'
See https://www.oceanbase.com/product/ob-deployer/error-codes .
#ls /home/longda/.obd/plugins/mysqltest
3.1.0  4.0.0.0
# ls /home/longda/.obd/plugins/mysqltest/4.0.0.0/
check_test.py  init.py  mysqltest_lib

after copy the test, still failed to run mysql test

cp -rf ~/repo/oceanbase/tools/deploy/mysql_test/* /home/longda/.obd/plugins/mysqltest/3.1.0
obd test mysqltest local --all
Get local repositories and plugins ok
Open ssh connection ok
Cluster status check ok
Connect obproxy(111.2.177.11:2883) ok
[ RUN      ]Running case: static_engine.expr_substring_index ( 1 / 163 ) x
mysqltest: Could not open connection 'default': 4012 Get Location Cache Fail

[  FAILED  ]static_engine.expr_substring_index bin.lb ( 0.201452 s )
Reboot -


### Other Information

_No response_

longdafeng avatar Jan 03 '23 04:01 longdafeng