mwsobol / SORCER

Service-ORiented Computing EnviRonment - SORCER is a federated service-oriented system developed at the SORCER lab (http://sorcersoft.org). It allows to create and provision service providers in heterogeneous service cloud and execute service commands, called exertions, that in runtime create service federations in the service cloud that are managed by the SORCER operating system.
http://sorcersoft.org/project/site/
Apache License 2.0
7 stars 36 forks source link

Bug in test: arithmeticFiBatchTaskTest #7

Open prubach opened 9 years ago

prubach commented 9 years ago

Run on version 5.1.2 - master as of Feb. 25, 2015.

sorcer.core.provider.ArithmeticNetTest > arithmeticFiBatchTaskTest STANDARDERROR Feb 25, 2015 12:53:19 PM sorcer.arithmetic.tester.provider.impl.Arithmometer calculateFromPositionalContext INFO: inputs: [50.0, 10.0] Feb 25, 2015 12:53:19 PM sorcer.arithmetic.tester.provider.impl.Arithmometer calculateFromPositionalContext INFO: multiply result: 500.0 Feb 25, 2015 12:53:19 PM sorcer.arithmetic.tester.provider.impl.Arithmometer calculateFromPositionalContext INFO: inputs: [50.0, 10.0] Feb 25, 2015 12:53:19 PM sorcer.arithmetic.tester.provider.impl.Arithmometer calculateFromPositionalContext INFO: add result: 60.0 Feb 25, 2015 12:53:19 PM sorcer.core.provider.ArithmeticNetTest arithmeticFiBatchTaskTest INFO: task cont4text: Context name: shared arg/x1 = 10.0 arg/x2 = 50.0 result/y = 60.0 result/y/description = calculated by lynx Feb 25, 2015 12:53:19 PM sorcer.core.provider.exerter.ServiceShell exert0 INFO: signature (before) = class sorcer.core.signature.NetSignature:;SRV;true;interface sorcer.arithmetic.tester.provider.Multiplier;multiply Feb 25, 2015 12:53:19 PM sorcer.core.provider.exerter.ServiceShell exert0 INFO: signature (after) = class sorcer.core.signature.NetSignature:_;SRV;true;interface sorcer.arithmetic.tester.provider.Multiplier;multiply Feb 25, 2015 12:53:19 PM sorcer.core.provider.exerter.ServiceShell exert0 INFO: Accessor.getAccessor() = sorcer.util.ProviderAccessor@36c50824 Feb 25, 2015 12:53:19 PM sorcer.util.ProviderAccessor getProvider INFO: servicer = refID=96989cef-ec8e-4286-9f55-8469346bebfc : proxy=Proxy[Provider,BasicInvocationHandler[BasicObjectEndpoint[6c4378c6-4c4e-4b05-8f19-b95ba622cdf1,TcpEndpoint[192.168.224.41:41865]]]] Feb 25, 2015 12:53:20 PM sorcer.core.provider.exerter.ServiceShell exert0 INFO: Provider found for: class sorcer.core.signature.NetSignature:*;SRV;true;interface sorcer.arithmetic.tester.provider.Multiplier;multiply refID=96989cef-ec8e-4286-9f55-8469346bebfc : proxy=Proxy[Provider,BasicInvocationHandler[BasicObjectEndpoint[6c4378c6-4c4e-4b05-8f19-b95ba622cdf1,TcpEndpoint[192.168.224.41:41865]]]] java.lang.reflect.UndeclaredThrowableException at com.sun.proxy.$Proxy33.service(Unknown Source) at sorcer.core.provider.exerter.ServiceShell.exert0(ServiceShell.java:318) at sorcer.core.provider.exerter.ServiceShell.exert(ServiceShell.java:142) at sorcer.service.ServiceExertion.exert(ServiceExertion.java:305) at sorcer.eo.operator.exert(operator.java:1796) at sorcer.core.provider.ArithmeticNetTest.arithmeticFiBatchTaskTest(ArithmeticNetTest.java:231) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) at org.junit.runners.ParentRunner.run(ParentRunner.java:236) at org.sorcer.test.SorcerTestRunner.run(SorcerTestRunner.java:124) at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.runTestClass(JUnitTestClassExecuter.java:86) at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.execute(JUnitTestClassExecuter.java:49) at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassProcessor.processTestClass(JUnitTestClassProcessor.java:69) at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:48) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35) at org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) at org.gradle.messaging.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32) at org.gradle.messaging.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93) at com.sun.proxy.$Proxy2.processTestClass(Unknown Source) at org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:105) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35) at org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) at org.gradle.messaging.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:360) at org.gradle.internal.concurrent.DefaultExecutorFactory$StoppableExecutorImpl$1.run(DefaultExecutorFactory.java:64) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at sorcer.core.proxy.ProviderProxy$ConstrainableInvocationHandler.invoke(ProviderProxy.java:250) ... 49 more Caused by: java.rmi.MarshalException: error marshalling arguments; nested exception is: java.io.NotSerializableException: sorcer.arithmetic.tester.provider.impl.MultiplierImpl at net.jini.jeri.BasicInvocationHandler.invokeRemoteMethodOnce(BasicInvocationHandler.java:785) at net.jini.jeri.BasicInvocationHandler.invokeRemoteMethod(BasicInvocationHandler.java:659) at net.jini.jeri.BasicInvocationHandler.invoke(BasicInvocationHandler.java:528) at com.sun.proxy.$Proxy34.service(Unknown Source) ... 54 more Caused by: java.io.NotSerializableException: sorcer.arithmetic.tester.provider.impl.MultiplierImpl at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1184) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348) at java.util.ArrayList.writeObject(ArrayList.java:762) at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:988) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1496) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348) at java.util.HashMap.internalWriteEntries(HashMap.java:1777) at java.util.HashMap.writeObject(HashMap.java:1354) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:988) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1496) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348) at java.util.Hashtable.writeObject(Hashtable.java:1157) at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:988) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1496) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348) at com.sun.jini.jeri.internal.runtime.Util.marshalValue(Util.java:176) at net.jini.jeri.BasicInvocationHandler.marshalArguments(BasicInvocationHandler.java:1182) at net.jini.jeri.BasicInvocationHandler.invokeRemoteMethodOnce(BasicInvocationHandler.java:778) ... 57 more Feb 25, 2015 12:53:20 PM sorcer.core.provider.ArithmeticNetTest arithmeticFiBatchTaskTest INFO: task cont4text: Context name: unknown41