-
Notifications
You must be signed in to change notification settings - Fork 6
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
osgi service check in cosbench-start.sh not working #1
Comments
Hi, @dblacknc I try to start cosbench drivers on Centos 7.9, It's OK. I will try it on Ubuntu later, thanks. |
Yes, it does work normally on CentOS. This error is specific to Ubuntu - and I believe it's related to the build of netcat Ubuntu uses. This is a known issue in COSbench. Different people have found different workarounds. After experimentation I found it to be most simply fixed with the extra \n before the "ss" command, and that also shouldn't break CentOS. |
OK, I will try it on Ubuntu & Centos, and will close this issue if both ok. |
20.10 is not a LTS version. I will try it in LTS version(22.04) change nc to telnet. |
test version: 0.4.7.9 docker-compose:
|
OS is Ubuntu 20.10, with netcat-openbsd 1.217-2ubuntu1. cosbench-ehualu 0.4.7.5 from the .tar.gz binaries in the tree.
The loop in cosbench-start.sh that checks for module active fails because the osgi service listener seems to need a leading CR to accept the ss command. There's also some cruft in the boot log displayed at the end, so I filtered that a bit. Proposed patch:
The text was updated successfully, but these errors were encountered: