Closed jhajek closed 9 years ago
Fixed it. It was a typo due to which a section of code supposed to be commented was not. Please give it a try and let me know for any concerns.
Hi - the job seems to be stuck now at one point this error is repeating over and over
to recreate - ssh into .112 from .110 and cd SetupSCripts/Packer-builscripts/backend-worker/vagrant then ./end-to-end-vagrant-build.sh (you may have to ps -ef | grep qemu and kill any zombie qemu processes from running before hand)
qemu: Queue already exists, moving on
qemu: Jun 21, 2015 1:08:09 AM JobExecutionTest runWordCount
qemu: SEVERE: null
qemu: java.lang.NullPointerException
qemu: at edu.iit.rabbitmq.Receive.getMessage(Receive.java:22)
qemu: at JobExecutionTest.runWordCount(JobExecutionTest.java:48)
qemu: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
qemu: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
qemu: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
qemu: at java.lang.reflect.Method.invoke(Method.java:606)
qemu: at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
qemu: at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
qemu: at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
qemu: at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
qemu: at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
qemu: at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
qemu: at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
qemu: at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
qemu: at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
qemu: at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
qemu: at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
qemu: at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
qemu: at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
qemu: at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
qemu: at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123)
qemu: at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104)
qemu: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
qemu: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
qemu: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
qemu: at java.lang.reflect.Method.invoke(Method.java:606)
qemu: at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164)
qemu: at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110)
qemu: at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175)
qemu: at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107)
qemu: at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68)
qemu:
Please donot run the test. Just build it. The Junit runs in a infinite while loop.
Thanks, Sai.
On Sat, Jun 20, 2015 at 8:13 PM, jhajek notifications@github.com wrote:
Hi - the job seems to be stuck now at one point this error is repeating over and over
to recreate - ssh into .112 from .110 and cd SetupSCripts/Packer-builscripts/backend-worker/vagrant then ./end-to-end-vagrant-build.sh (you may have to ps -ef | grep qemu and kill any zombie qemu processes from running before hand)
qemu: Queue already exists, moving on qemu: Jun 21, 2015 1:08:09 AM JobExecutionTest runWordCount qemu: SEVERE: null qemu: java.lang.NullPointerException qemu: at edu.iit.rabbitmq.Receive.getMessage(Receive.java:22) qemu: at JobExecutionTest.runWordCount(JobExecutionTest.java:48) qemu: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) qemu: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) qemu: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) qemu: at java.lang.reflect.Method.invoke(Method.java:606) qemu: at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45) qemu: at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) qemu: at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42) qemu: at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) qemu: at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263) qemu: at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68) qemu: at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47) qemu: at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231) qemu: at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60) qemu: at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229) qemu: at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50) qemu: at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222) qemu: at org.junit.runners.ParentRunner.run(ParentRunner.java:300) qemu: at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53) qemu: at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123) qemu: at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104) qemu: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) qemu: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) qemu: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) qemu: at java.lang.reflect.Method.invoke(Method.java:606) qemu: at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164) qemu: at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110) qemu: at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175) qemu: at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107) qemu: at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68) qemu:
— Reply to this email directly or view it on GitHub https://github.com/SAT-Hadoop/SetupScripts/issues/5#issuecomment-113846610 .
Ok where are the tests? Are they part of this command? mvn clean install -f ~/BackendWorker/pom.xml How do I skip the tests?
mvn clean install -Dmaven.test.skip=true -f ~/BackendWorker/pom.xml
On Sat, Jun 20, 2015 at 8:18 PM, jhajek notifications@github.com wrote:
Ok where are the tests? Are they part of this command? mvn clean install -f ~/BackendWorker/pom.xml How do I skip the tests?
— Reply to this email directly or view it on GitHub https://github.com/SAT-Hadoop/SetupScripts/issues/5#issuecomment-113847099 .
ok I will update the post-install-vagrant.sh that calls that and try again
Ok removing the test worked build is successful
on running the Backendworker mvn build the script fails - does it need Hadoop to be running?
Here is the build output