intel-cloud / cosbench

a benchmark tool for cloud object storage service
Other
573 stars 242 forks source link

Doesn't work version 0.4.2.. #372

Open Nathaniel7687 opened 6 years ago

Nathaniel7687 commented 6 years ago

Q1.

I can't import cosbench-ecs in eclipse juno. I followed BUILD.md.. but eclipse can't recognize cosbench-ecs plugin to project. image

Q2.

I downloaded the 0.4.2 version source code(tar.gz) at "https://github.com/intel-cloud/cosbench/releases" and correctly exported the plugins to eclipse juno. And I run the program pack.sh, but the plugins are not started with start-all.sh. However, if I do the same procedure with the 0.4.1 version source code, everything works fine. I tried to view the log to find out why the plugins are not running, but nothing was recorded(log/ and conf/.driver/ and conf/.controller/). What is problem release version 0.4.2...

<v0.4.2>

Launching osgi framwork ... 
Successfully launched osgi framework!
Booting cosbench driver ... 
...........................................................
Starting    cosbench-log_0.4.2    [ERROR]
...........................................................
Starting    cosbench-tomcat_0.4.2    [ERROR]
...........................................................
Starting    cosbench-config_0.4.2    [ERROR]
...........................................................
Starting    cosbench-http_0.4.2    [ERROR]
...........................................................
Starting    cosbench-cdmi-util_0.4.2    [ERROR]
...........................................................
Starting    cosbench-core_0.4.2    [ERROR]
...........................................................
Starting    cosbench-core-web_0.4.2    [ERROR]
...........................................................
Starting    cosbench-api_0.4.2    [ERROR]
...........................................................
Starting    cosbench-mock_0.4.2    [ERROR]
...........................................................
Starting    cosbench-ampli_0.4.2    [ERROR]
...........................................................
Starting    cosbench-openio_0.4.2    [ERROR]
...........................................................
Starting    cosbench-swift_0.4.2    [ERROR]
...........................................................
Starting    cosbench-keystone_0.4.2    [ERROR]
...........................................................
Starting    cosbench-httpauth_0.4.2    [ERROR]
...........................................................
Starting    cosbench-s3_0.4.2    [ERROR]
Starting    cosbench-oss_0.4.2    [OK]
...........................................................
Starting    cosbench-gcs_0.4.2    [ERROR]
...........................................................
Starting    cosbench-librados_0.4.2    [ERROR]
...........................................................
Starting    cosbench-scality_0.4.2    [ERROR]
...........................................................
Starting    cosbench-cdmi-swift_0.4.2    [ERROR]
...........................................................
Starting    cosbench-cdmi-base_0.4.2    [ERROR]
...........................................................
Starting    cosbench-driver_0.4.2    [ERROR]
...........................................................
Starting    cosbench-driver-web_0.4.2    [ERROR]
Error in booting cosbench driver!

======================================================

Launching osgi framwork ... 
Successfully launched osgi framework!
Booting cosbench controller ... 
...........................................................
Starting    cosbench-log_0.4.2    [ERROR]
...........................................................
Starting    cosbench-tomcat_0.4.2    [ERROR]
...........................................................
Starting    cosbench-config_0.4.2    [ERROR]
...........................................................
Starting    cosbench-core_0.4.2    [ERROR]
...
(omission)

<v0.4.1>

Launching osgi framwork ... 
Successfully launched osgi framework!
Booting cosbench driver ... 
Starting    cosbench-log_0.4.1    [OK]
Starting    cosbench-tomcat_0.4.1    [OK]
Starting    cosbench-config_0.4.1    [OK]
Starting    cosbench-http_0.4.1    [OK]
Starting    cosbench-cdmi-util_0.4.1    [OK]
Starting    cosbench-core_0.4.1    [OK]
Starting    cosbench-core-web_0.4.1    [OK]
Starting    cosbench-api_0.4.1    [OK]
Starting    cosbench-mock_0.4.1    [OK]
Starting    cosbench-ampli_0.4.1    [OK]
Starting    cosbench-swift_0.4.1    [OK]
Starting    cosbench-keystone_0.4.1    [OK]
Starting    cosbench-httpauth_0.4.1    [OK]
Starting    cosbench-s3_0.4.1    [OK]
Starting    cosbench-librados_0.4.1    [OK]
Starting    cosbench-scality_0.4.1    [OK]
Starting    cosbench-cdmi-swift_0.4.1    [OK]
Starting    cosbench-cdmi-base_0.4.1    [OK]
Starting    cosbench-driver_0.4.1    [OK]
Starting    cosbench-driver-web_0.4.1    [OK]
Successfully started cosbench driver!
Listening on port 0.0.0.0/0.0.0.0:18089 ... 
Persistence bundle starting...
Persistence bundle started.
----------------------------------------------
!!! Service will listen on web port: 18088 !!!
----------------------------------------------

======================================================

Launching osgi framwork ... 
Successfully launched osgi framework!
Booting cosbench controller ... 
Starting    cosbench-log_0.4.1    [OK]
Starting    cosbench-tomcat_0.4.1    [OK]
Starting    cosbench-config_0.4.1    [OK]
Starting    cosbench-core_0.4.1    [OK]
Starting    cosbench-core-web_0.4.1    [OK]
Starting    cosbench-controller_0.4.1    [OK]
Starting    cosbench-controller-web_0.4.1    [OK]
Successfully started cosbench controller!
Listening on port 0.0.0.0/0.0.0.0:19089 ... 
Persistence bundle starting...
Persistence bundle started.
----------------------------------------------
!!! Service will listen on web port: 19088 !!!
----------------------------------------------
ghost commented 6 years ago

Met with same issue. One month no response, is this project still alive?

Nathaniel7687 commented 6 years ago

My pull request version(#373) is solved this problem. You can use it(https://github.com/Nathaniel7687/cosbench).

ghost commented 6 years ago

Thanks @Nathaniel7687

luoguanzzz commented 4 years ago

thanks,i try to running 0.4.2 in centos7.0 and ubuntu,Same error found above。

liuqinfei commented 3 years ago

i also come with the similar problem in OpenEuler. cosbench: 0.4.2.c4 os: openEuler release 20.03 (LTS-SP1) i uninstall the default java 11 and install java 8. Then it works!