gatein_wsrp_trunk_sun6 #154: Still Failing
148 tests 1 failure(s) / -1
1 tests failed.
REGRESSION:
org.gatein.wsrp.producer.invoker.RegistrationCheckingPortletInvokerTestCase.testGetPortletShouldWorkDirectly
Error Message:
Mockito cannot mock this class: interface org.gatein.pc.api.PortletInvoker Mockito can
only mock visible & non-final classes. If you're not sure why you're getting
this error, please report to the mailing list.
Stack Trace:
org.mockito.exceptions.base.MockitoException:
Mockito cannot mock this class: interface org.gatein.pc.api.PortletInvoker
Mockito can only mock visible & non-final classes.
If you're not sure why you're getting this error, please report to the mailing
list.
at
org.gatein.wsrp.producer.invoker.RegistrationCheckingPortletInvokerTestCase.testGetPortletShouldWorkDirectly(RegistrationCheckingPortletInvokerTestCase.java:50)
Caused by: org.mockito.cglib.core.CodeGenerationException:
java.lang.reflect.InvocationTargetException-->null
at org.mockito.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:238)
at org.mockito.cglib.proxy.Enhancer.createHelper(Enhancer.java:378)
at org.mockito.cglib.proxy.Enhancer.createClass(Enhancer.java:318)
at
org.mockito.internal.creation.jmock.ClassImposterizer.createProxyClass(ClassImposterizer.java:93)
at
org.mockito.internal.creation.jmock.ClassImposterizer.imposterise(ClassImposterizer.java:50)
at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:54)
at org.mockito.internal.MockitoCore.mock(MockitoCore.java:45)
at org.mockito.Mockito.mock(Mockito.java:921)
at org.mockito.Mockito.mock(Mockito.java:816)
... 29 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.mockito.cglib.core.ReflectUtils.defineClass(ReflectUtils.java:385)
at org.mockito.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:220)
... 37 more
Caused by: java.lang.SecurityException: class
"org.gatein.pc.api.PortletInvoker$$EnhancerByMockitoWithCGLIB$$66295ea5"'s
signer information does not match signer information of other classes in the same package
at java.lang.ClassLoader.checkCerts(ClassLoader.java:807)
at java.lang.ClassLoader.preDefineClass(ClassLoader.java:488)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:626)
at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
... 43 more
Changes for Build #149
[chris.laprun(a)jboss.com] - GTNWSRP-192: Fixed improper default resource name
Changes for Build #150
[chris.laprun(a)jboss.com] - GTNWSRP-244: Retrieve the property name from the selected
object directly instead of using a parameter which value is set *before* the name of the
property is actually set.
[chris.laprun(a)jboss.com] - Use ParameterValidation.isOldAndNewDifferent instead of local
version.
- Added getter for ValueChangeListener.
[chris.laprun(a)jboss.com] - GTNWSRP-192: Improved (and fixed) test cases.
Changes for Build #151
[chris.laprun(a)jboss.com] - Upgrading to Staxnav 0.9.6 for upcoming changes in PC
Changes for Build #152
[chris.laprun(a)jboss.com] - Cleaned-up dependencies: upgraded to Chromattic 1.1.0-beta7 and
gatein-dep to 1.1.0-Beta06, removed duplicated dependencies.
Changes for Build #153
[chris.laprun(a)jboss.com] [maven-release-plugin] prepare for next development iteration
[chris.laprun(a)jboss.com] [maven-release-plugin] prepare release 2.1.0-Beta06
[chris.laprun(a)jboss.com] - If an error occurs in getConsumer, bypass processing and
redisplay page.
[chris.laprun(a)jboss.com] - Updated to PC 2.3.0-Beta06.
[chris.laprun(a)jboss.com] - Minor improvement.
[chris.laprun(a)jboss.com] - Added WSDL url to exception logging.
[chris.laprun(a)jboss.com] - Make findBean look into session before attempting to resolve
the bean from an EL expression.
- Use findBean to resolve manager in ConsumerBean.
Changes for Build #154
[chris.laprun(a)jboss.com] - Updated gatein-parent to 1.1.0-Beta02 and common to
2.4.0-Beta03.
[...truncated 1400 lines...]
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] [enforcer:enforce {execution: enforce-java-version}]
[INFO] [enforcer:enforce {execution: enforce-maven-version}]
[debug] execute contextualize
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 6 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 155 source files to
/mnt/hudson_workspace/workspace/gatein_wsrp_trunk_sun6/wsrp/wsrp2-ws/target/classes
[debug] execute contextualize
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
/mnt/hudson_workspace/workspace/gatein_wsrp_trunk_sun6/wsrp/wsrp2-ws/src/test/resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] No sources to compile
[INFO] [surefire:test {execution: default-test}]
[INFO] No tests to run.
[INFO] Surefire report directory:
/mnt/hudson_workspace/workspace/gatein_wsrp_trunk_sun6/wsrp/wsrp2-ws/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
There are no tests to run.
Results :
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[INFO] [jar:jar {execution: default-jar}]
[INFO] Building jar:
/mnt/hudson_workspace/workspace/gatein_wsrp_trunk_sun6/wsrp/wsrp2-ws/target/wsrp-wsrp2-ws-2.1.0-CR01-SNAPSHOT.jar
[INFO] [source:jar-no-fork {execution: attach-sources}]
[INFO] Building jar:
/mnt/hudson_workspace/workspace/gatein_wsrp_trunk_sun6/wsrp/wsrp2-ws/target/wsrp-wsrp2-ws-2.1.0-CR01-SNAPSHOT-sources.jar
[INFO] [install:install {execution: default-install}]
[INFO] Installing
/mnt/hudson_workspace/workspace/gatein_wsrp_trunk_sun6/wsrp/wsrp2-ws/target/wsrp-wsrp2-ws-2.1.0-CR01-SNAPSHOT.jar
to
/home/hudson/.m2/repository/org/gatein/wsrp/wsrp-wsrp2-ws/2.1.0-CR01-SNAPSHOT/wsrp-wsrp2-ws-2.1.0-CR01-SNAPSHOT.jar
[INFO] Installing
/mnt/hudson_workspace/workspace/gatein_wsrp_trunk_sun6/wsrp/wsrp2-ws/target/wsrp-wsrp2-ws-2.1.0-CR01-SNAPSHOT-sources.jar
to
/home/hudson/.m2/repository/org/gatein/wsrp/wsrp-wsrp2-ws/2.1.0-CR01-SNAPSHOT/wsrp-wsrp2-ws-2.1.0-CR01-SNAPSHOT-sources.jar
[INFO] ------------------------------------------------------------------------
[INFO] Building GateIn WSRP Test Framework
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] [enforcer:enforce {execution: enforce-java-version}]
[INFO] [enforcer:enforce {execution: enforce-maven-version}]
[debug] execute contextualize
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
/mnt/hudson_workspace/workspace/gatein_wsrp_trunk_sun6/wsrp/test/src/main/resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 7 source files to
/mnt/hudson_workspace/workspace/gatein_wsrp_trunk_sun6/wsrp/test/target/classes
[debug] execute contextualize
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
/mnt/hudson_workspace/workspace/gatein_wsrp_trunk_sun6/wsrp/test/src/test/resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] No sources to compile
[INFO] [surefire:test {execution: default-test}]
[INFO] No tests to run.
[INFO] Surefire report directory:
/mnt/hudson_workspace/workspace/gatein_wsrp_trunk_sun6/wsrp/test/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
There are no tests to run.
Results :
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[INFO] [jar:jar {execution: default-jar}]
[INFO] Building jar:
/mnt/hudson_workspace/workspace/gatein_wsrp_trunk_sun6/wsrp/test/target/test-framework-2.1.0-CR01-SNAPSHOT.jar
[INFO] [source:jar-no-fork {execution: attach-sources}]
[INFO] Building jar:
/mnt/hudson_workspace/workspace/gatein_wsrp_trunk_sun6/wsrp/test/target/test-framework-2.1.0-CR01-SNAPSHOT-sources.jar
[INFO] [install:install {execution: default-install}]
[INFO] Installing
/mnt/hudson_workspace/workspace/gatein_wsrp_trunk_sun6/wsrp/test/target/test-framework-2.1.0-CR01-SNAPSHOT.jar
to
/home/hudson/.m2/repository/org/gatein/wsrp/test-framework/2.1.0-CR01-SNAPSHOT/test-framework-2.1.0-CR01-SNAPSHOT.jar
[INFO] Installing
/mnt/hudson_workspace/workspace/gatein_wsrp_trunk_sun6/wsrp/test/target/test-framework-2.1.0-CR01-SNAPSHOT-sources.jar
to
/home/hudson/.m2/repository/org/gatein/wsrp/test-framework/2.1.0-CR01-SNAPSHOT/test-framework-2.1.0-CR01-SNAPSHOT-sources.jar
[INFO] ------------------------------------------------------------------------
[INFO] Building GateIn WSRP Common Classes
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] [enforcer:enforce {execution: enforce-java-version}]
[INFO] [enforcer:enforce {execution: enforce-maven-version}]
[debug] execute contextualize
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 34 source files to
/mnt/hudson_workspace/workspace/gatein_wsrp_trunk_sun6/wsrp/common/target/classes
[debug] execute contextualize
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
/mnt/hudson_workspace/workspace/gatein_wsrp_trunk_sun6/wsrp/common/src/test/resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Compiling 9 source files to
/mnt/hudson_workspace/workspace/gatein_wsrp_trunk_sun6/wsrp/common/target/test-classes
[WARNING]
/mnt/hudson_workspace/workspace/gatein_wsrp_trunk_sun6/wsrp/common/src/test/java/org/gatein/wsrp/WSRPPortletURLTestCase.java:[63,26]
[deprecation] requiresRewrite() in org.gatein.wsrp.WSRPResourceURL has been deprecated
[WARNING]
/mnt/hudson_workspace/workspace/gatein_wsrp_trunk_sun6/wsrp/common/src/test/java/org/gatein/wsrp/WSRPPortletURLTestCase.java:[64,62]
[deprecation] getResourceURL() in org.gatein.wsrp.WSRPResourceURL has been deprecated
[WARNING]
/mnt/hudson_workspace/workspace/gatein_wsrp_trunk_sun6/wsrp/common/src/test/java/org/gatein/wsrp/WSRPPortletURLTestCase.java:[83,26]
[deprecation] requiresRewrite() in org.gatein.wsrp.WSRPResourceURL has been deprecated
[WARNING]
/mnt/hudson_workspace/workspace/gatein_wsrp_trunk_sun6/wsrp/common/src/test/java/org/gatein/wsrp/WSRPPortletURLTestCase.java:[84,25]
[deprecation] getResourceURL() in org.gatein.wsrp.WSRPResourceURL has been deprecated
[WARNING]
/mnt/hudson_workspace/workspace/gatein_wsrp_trunk_sun6/wsrp/common/src/test/java/org/gatein/wsrp/WSRPPortletURLTestCase.java:[116,26]
[deprecation] requiresRewrite() in org.gatein.wsrp.WSRPResourceURL has been deprecated
[WARNING]
/mnt/hudson_workspace/workspace/gatein_wsrp_trunk_sun6/wsrp/common/src/test/java/org/gatein/wsrp/WSRPPortletURLTestCase.java:[117,62]
[deprecation] getResourceURL() in org.gatein.wsrp.WSRPResourceURL has been deprecated
[WARNING]
/mnt/hudson_workspace/workspace/gatein_wsrp_trunk_sun6/wsrp/common/src/test/java/org/gatein/wsrp/WSRPPortletURLTestCase.java:[137,26]
[deprecation] requiresRewrite() in org.gatein.wsrp.WSRPResourceURL has been deprecated
[WARNING]
/mnt/hudson_workspace/workspace/gatein_wsrp_trunk_sun6/wsrp/common/src/test/java/org/gatein/wsrp/WSRPPortletURLTestCase.java:[138,62]
[deprecation] getResourceURL() in org.gatein.wsrp.WSRPResourceURL has been deprecated
[WARNING]
/mnt/hudson_workspace/workspace/gatein_wsrp_trunk_sun6/wsrp/common/src/test/java/org/gatein/wsrp/WSRPPortletURLTestCase.java:[158,26]
[deprecation] requiresRewrite() in org.gatein.wsrp.WSRPResourceURL has been deprecated
[WARNING]
/mnt/hudson_workspace/workspace/gatein_wsrp_trunk_sun6/wsrp/common/src/test/java/org/gatein/wsrp/WSRPPortletURLTestCase.java:[176,26]
[deprecation] requiresRewrite() in org.gatein.wsrp.WSRPResourceURL has been deprecated
[WARNING]
/mnt/hudson_workspace/workspace/gatein_wsrp_trunk_sun6/wsrp/common/src/test/java/org/gatein/wsrp/WSRPPortletURLTestCase.java:[177,62]
[deprecation] getResourceURL() in org.gatein.wsrp.WSRPResourceURL has been deprecated
[INFO] [surefire:test {execution: default-test}]
[INFO] Surefire report directory:
/mnt/hudson_workspace/workspace/gatein_wsrp_trunk_sun6/wsrp/common/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.gatein.wsrp.WSRPConstantsTestCase
WSRPConstants.WSRP_SERVICE_VERSION = 2.1.0-CR01-SNAPSHOT
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.151 sec
Running org.gatein.wsrp.WSRPPortletURLTestCase
Tests run: 24, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.409 sec
Running org.gatein.wsrp.AbsoluteURLReplacementGeneratorTestCase
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.064 sec
Running org.gatein.wsrp.WSRPExceptionFactoryTestCase
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.06 sec
Running org.gatein.wsrp.other.UserContextConverterTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.044 sec
Running org.gatein.wsrp.spec.v1.V2ToV1ConverterTestCase
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.153 sec
Running org.gatein.wsrp.spec.v1.V1ToV2ConverterTestCase
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 sec
Running org.gatein.wsrp.handler.WSRPExtensionHandlerTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.424 sec
Running org.gatein.wsrp.WSRPRenderURLTestCase
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
Results :
Tests run: 50, Failures: 0, Errors: 0, Skipped: 0
[INFO] [jar:jar {execution: default-jar}]
[INFO] Building jar:
/mnt/hudson_workspace/workspace/gatein_wsrp_trunk_sun6/wsrp/common/target/wsrp-common-2.1.0-CR01-SNAPSHOT.jar
[INFO] [source:jar-no-fork {execution: attach-sources}]
[INFO] Building jar:
/mnt/hudson_workspace/workspace/gatein_wsrp_trunk_sun6/wsrp/common/target/wsrp-common-2.1.0-CR01-SNAPSHOT-sources.jar
[INFO] [install:install {execution: default-install}]
[INFO] Installing
/mnt/hudson_workspace/workspace/gatein_wsrp_trunk_sun6/wsrp/common/target/wsrp-common-2.1.0-CR01-SNAPSHOT.jar
to
/home/hudson/.m2/repository/org/gatein/wsrp/wsrp-common/2.1.0-CR01-SNAPSHOT/wsrp-common-2.1.0-CR01-SNAPSHOT.jar
[INFO] Installing
/mnt/hudson_workspace/workspace/gatein_wsrp_trunk_sun6/wsrp/common/target/wsrp-common-2.1.0-CR01-SNAPSHOT-sources.jar
to
/home/hudson/.m2/repository/org/gatein/wsrp/wsrp-common/2.1.0-CR01-SNAPSHOT/wsrp-common-2.1.0-CR01-SNAPSHOT-sources.jar
[INFO] ------------------------------------------------------------------------
[INFO] Building GateIn WSRP Producer
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] [enforcer:enforce {execution: enforce-java-version}]
[INFO] [enforcer:enforce {execution: enforce-maven-version}]
[debug] execute contextualize
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
/mnt/hudson_workspace/workspace/gatein_wsrp_trunk_sun6/wsrp/producer/src/main/resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 89 source files to
/mnt/hudson_workspace/workspace/gatein_wsrp_trunk_sun6/wsrp/producer/target/classes
[WARNING]
/mnt/hudson_workspace/workspace/gatein_wsrp_trunk_sun6/wsrp/producer/src/main/java/org/gatein/wsrp/producer/config/impl/xml/FileSystemXMLProducerConfigurationService.java:[28,27]
[deprecation] org.jboss.xb.binding.XercesXsMarshaller in org.jboss.xb.binding has been
deprecated
[WARNING]
/mnt/hudson_workspace/workspace/gatein_wsrp_trunk_sun6/wsrp/producer/src/main/java/org/gatein/wsrp/producer/config/impl/xml/FileSystemXMLProducerConfigurationService.java:[188,6]
[deprecation] org.jboss.xb.binding.XercesXsMarshaller in org.jboss.xb.binding has been
deprecated
[WARNING]
/mnt/hudson_workspace/workspace/gatein_wsrp_trunk_sun6/wsrp/producer/src/main/java/org/gatein/wsrp/producer/config/impl/xml/FileSystemXMLProducerConfigurationService.java:[188,42]
[deprecation] org.jboss.xb.binding.XercesXsMarshaller in org.jboss.xb.binding has been
deprecated
[debug] execute contextualize
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 11 resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Compiling 20 source files to
/mnt/hudson_workspace/workspace/gatein_wsrp_trunk_sun6/wsrp/producer/target/test-classes
[WARNING]
/mnt/hudson_workspace/workspace/gatein_wsrp_trunk_sun6/wsrp/producer/src/test/java/org/gatein/wsrp/producer/config/ProducerConfigurationTestCase.java:[38,27]
[deprecation] org.jboss.xb.binding.XercesXsMarshaller in org.jboss.xb.binding has been
deprecated
[WARNING]
/mnt/hudson_workspace/workspace/gatein_wsrp_trunk_sun6/wsrp/producer/src/test/java/org/gatein/wsrp/producer/config/ProducerConfigurationTestCase.java:[273,6]
[deprecation] org.jboss.xb.binding.XercesXsMarshaller in org.jboss.xb.binding has been
deprecated
[WARNING]
/mnt/hudson_workspace/workspace/gatein_wsrp_trunk_sun6/wsrp/producer/src/test/java/org/gatein/wsrp/producer/config/ProducerConfigurationTestCase.java:[273,42]
[deprecation] org.jboss.xb.binding.XercesXsMarshaller in org.jboss.xb.binding has been
deprecated
[INFO] [surefire:test {execution: default-test}]
[INFO] Surefire report directory:
/mnt/hudson_workspace/workspace/gatein_wsrp_trunk_sun6/wsrp/producer/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.gatein.wsrp.producer.config.ProducerRegistrationRequirementsTestCase
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.147 sec
Running org.gatein.wsrp.producer.config.TestEntityResolver
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.gatein.wsrp.producer.config.RegistrationPropertyDescriptionTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.gatein.wsrp.producer.config.JAXBProducerConfigurationTestCase
location =
file:/mnt/hudson_workspace/workspace/gatein_wsrp_trunk_sun6/wsrp/producer/target/test-classes/custom-policy.xml
location =
file:/mnt/hudson_workspace/workspace/gatein_wsrp_trunk_sun6/wsrp/producer/target/test-classes/extended.xml
location =
file:/mnt/hudson_workspace/workspace/gatein_wsrp_trunk_sun6/wsrp/producer/target/test-classes/minimal-registration.xml
location =
file:/mnt/hudson_workspace/workspace/gatein_wsrp_trunk_sun6/wsrp/producer/target/test-classes/minimal.xml
location =
file:/mnt/hudson_workspace/workspace/gatein_wsrp_trunk_sun6/wsrp/producer/target/test-classes/invalid2.xml
location =
file:/mnt/hudson_workspace/workspace/gatein_wsrp_trunk_sun6/wsrp/producer/target/test-classes/invalid-type.xml
location =
file:/mnt/hudson_workspace/workspace/gatein_wsrp_trunk_sun6/wsrp/producer/target/test-classes/invalid3.xml
location =
file:/mnt/hudson_workspace/workspace/gatein_wsrp_trunk_sun6/wsrp/producer/target/test-classes/invalid1.xml
location =
file:/mnt/hudson_workspace/workspace/gatein_wsrp_trunk_sun6/wsrp/producer/target/test-classes/strict-mode.xml
location =
file:/mnt/hudson_workspace/workspace/gatein_wsrp_trunk_sun6/wsrp/producer/target/test-classes/minimal.xml
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.852 sec
Running org.gatein.wsrp.producer.config.TestRegistrationPropertyValidator
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.gatein.wsrp.producer.config.TestRegistrationPolicy
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.gatein.wsrp.producer.handlers.processors.MimeResponseProcessorTestCase
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.182 sec
Running org.gatein.wsrp.producer.invoker.RegistrationCheckingPortletInvokerTestCase
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.091 sec <<<
FAILURE!
Running org.gatein.wsrp.registration.RegistrationPropertyDescriptionTestCase
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.gatein.export.ExportTestCase
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec
Running org.gatein.registration.ConsumerGroupTestCase
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.017 sec
Running org.gatein.registration.policies.DefaultRegistrationPolicyTestCase
TEST validator is called for prop2 with value value2
TEST validator is called for prop1 with value value1
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
Running org.gatein.registration.policies.RegistrationPolicyWrapperTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running org.gatein.registration.RegistrationTestCase
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
Running org.gatein.registration.RegistrationPersistenceManagerTestCase
Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec
Running org.gatein.registration.RegistrationUtilsTestCase
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.gatein.registration.RegistrationManagerTestCase
Tests run: 21, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec
Running org.gatein.registration.ConsumerTestCase
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Results :
Tests in error:
testGetPortletShouldWorkDirectly(org.gatein.wsrp.producer.invoker.RegistrationCheckingPortletInvokerTestCase):
Mockito cannot mock this class: interface org.gatein.pc.api.PortletInvoker
Mockito can only mock visible & non-final classes.
If you're not sure why you're getting this error, please report to the mailing
list.
Tests run: 98, Failures: 0, Errors: 1, Skipped: 0
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.
Please refer to
/mnt/hudson_workspace/workspace/gatein_wsrp_trunk_sun6/wsrp/producer/target/surefire-reports
for the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 48 seconds
[INFO] Finished at: Thu Sep 29 08:10:44 EDT 2011
[INFO] Final Memory: 58M/287M
[INFO] ------------------------------------------------------------------------
Recording test results
Email was triggered for: Failure
Sending email for trigger: Failure
Public URL:
https://hudson.jboss.org/hudson/job/gatein_wsrp_trunk_sun6/154
Private URL:
http://hudson.qa.jboss.com/hudson/job/gatein_wsrp_trunk_sun6/154/