oceanbase / obdeploy

A deployer and package manager for OceanBase open-source software.
https://open.oceanbase.com
GNU General Public License v3.0
87 stars 132 forks source link

[Feat.]: Failed to run mysqltest #155

Closed longdafeng closed 2 months ago

longdafeng commented 1 year ago

Check Before Asking

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_
gys-git commented 2 months ago

You can use the latest version of OBD to rerun the process; the previous version is too old.