start agent error

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

start agent error

zyklon.wu
idea run success:
2018-11-12 17:20:40,845 INFO  net.grinder.engine.process.JUnitThreadContextInitializer: registered plug-in net.grinder.plugin.http.HTTPPlugin
2018-11-12 17:20:40,862 INFO  net.grinder.engine.process.JUnitThreadContextInitializer: before process.
2018-11-12 17:20:40,874 INFO  net.grinder.engine.process.JUnitThreadContextInitializer: before thread.
2018-11-12 17:20:40,900 INFO  net.grinder.engine.process.JUnitThreadContextInitializer: before thread. init headers and cookies
2018-11-12 17:20:41,118 INFO  net.grinder.engine.process.JUnitThreadContextInitializer: https://xxxxxxxxxxxx -> 200 OK, 347 bytes

but linux agent run error:
net.grinder.engine.process.WorkerProcessEntryPoint
2018-11-12 17:07:15,480 INFO  agent daemon: worker QA-107-47-0 started
2018-11-12 17:07:15,483 INFO  agent daemon: worker QA-107-47-1 started
2018-11-12 17:07:16,454 ERROR worker-bootstrap: Error running worker process
java.lang.NoClassDefFoundError: org/junit/runners/model/InitializationError
        at net.grinder.scriptengine.groovy.GroovyScriptEngineService.createScriptEngine(GroovyScriptEngineService.java:109) ~[ngrinder-groovy-3.4.2.jar:na]
        at net.grinder.engine.process.ScriptEngineContainer.getScriptEngine(ScriptEngineContainer.java:105) ~[grinder-core-3.9.1.jar:na]
        at net.grinder.engine.process.GrinderProcess.run(GrinderProcess.java:330) ~[ngrinder-runtime-3.4.2.jar:na]
        at net.grinder.engine.process.WorkerProcessEntryPoint.run(WorkerProcessEntryPoint.java:87) [grinder-core-3.9.1.jar:na]
        at net.grinder.engine.process.WorkerProcessEntryPoint.main(WorkerProcessEntryPoint.java:60) [grinder-core-3.9.1.jar:na]
Caused by: java.lang.ClassNotFoundException: org.junit.runners.model.InitializationError
        at java.net.URLClassLoader$1.run(URLClassLoader.java:366) ~[na:1.7.0_55]
        at java.net.URLClassLoader$1.run(URLClassLoader.java:355) ~[na:1.7.0_55]
        at java.security.AccessController.doPrivileged(Native Method) ~[na:1.7.0_55]
        at java.net.URLClassLoader.findClass(URLClassLoader.java:354) ~[na:1.7.0_55]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:425) ~[na:1.7.0_55]
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) ~[na:1.7.0_55]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ~[na:1.7.0_55]
        ... 5 common frames omitted
Exception in thread "main" java.lang.NoClassDefFoundError: org/junit/runners/model/InitializationError
        at net.grinder.scriptengine.groovy.GroovyScriptEngineService.createScriptEngine(GroovyScriptEngineService.java:109)
        at net.grinder.engine.process.ScriptEngineContainer.getScriptEngine(ScriptEngineContainer.java:105)
        at net.grinder.engine.process.GrinderProcess.run(GrinderProcess.java:330)
        at net.grinder.engine.process.WorkerProcessEntryPoint.run(WorkerProcessEntryPoint.java:87)
        at net.grinder.engine.process.WorkerProcessEntryPoint.main(WorkerProcessEntryPoint.java:60)
Caused by: java.lang.ClassNotFoundException: org.junit.runners.model.InitializationError
        at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
2018-11-12 17:07:16,455 ERROR worker-bootstrap: Error running worker process
java.lang.NoClassDefFoundError: org/junit/runners/model/InitializationError
        at net.grinder.scriptengine.groovy.GroovyScriptEngineService.createScriptEngine(GroovyScriptEngineService.java:109) ~[ngrinder-groovy-3.4.2.jar:na]
        at net.grinder.engine.process.ScriptEngineContainer.getScriptEngine(ScriptEngineContainer.java:105) ~[grinder-core-3.9.1.jar:na]
        at net.grinder.engine.process.GrinderProcess.run(GrinderProcess.java:330) ~[ngrinder-runtime-3.4.2.jar:na]
        at net.grinder.engine.process.WorkerProcessEntryPoint.run(WorkerProcessEntryPoint.java:87) [grinder-core-3.9.1.jar:na]
        at net.grinder.engine.process.WorkerProcessEntryPoint.main(WorkerProcessEntryPoint.java:60) [grinder-core-3.9.1.jar:na]
Caused by: java.lang.ClassNotFoundException: org.junit.runners.model.InitializationError
        at java.net.URLClassLoader$1.run(URLClassLoader.java:366) ~[na:1.7.0_55]
        at java.net.URLClassLoader$1.run(URLClassLoader.java:355) ~[na:1.7.0_55]
        at java.security.AccessController.doPrivileged(Native Method) ~[na:1.7.0_55]
        at java.net.URLClassLoader.findClass(URLClassLoader.java:354) ~[na:1.7.0_55]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:425) ~[na:1.7.0_55]
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) ~[na:1.7.0_55]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ~[na:1.7.0_55]
        ... 5 common frames omitted
        at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
        ... 5 more
Exception in thread "main" java.lang.NoClassDefFoundError: org/junit/runners/model/InitializationError
        at net.grinder.scriptengine.groovy.GroovyScriptEngineService.createScriptEngine(GroovyScriptEngineService.java:109)
        at net.grinder.engine.process.ScriptEngineContainer.getScriptEngine(ScriptEngineContainer.java:105)
        at net.grinder.engine.process.GrinderProcess.run(GrinderProcess.java:330)
        at net.grinder.engine.process.WorkerProcessEntryPoint.run(WorkerProcessEntryPoint.java:87)
        at net.grinder.engine.process.WorkerProcessEntryPoint.main(WorkerProcessEntryPoint.java:60)
Caused by: java.lang.ClassNotFoundException: org.junit.runners.model.InitializationError
        at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
        ... 5 more
2018-11-12 17:07:16,471 INFO  agent daemon: All workers are finished
2018-11-12 17:07:16,474 INFO  agent daemon: communication shut down
2018-11-12 17:07:16,477 INFO  agent daemon: Test shuts down.