Re: Build failed in Hudson: OpenWebBeans-trunk #298

2010-11-25 Thread Mark Struberg
The Hudson build didn't run for a while now. Joe enabled it again only 
yesterday. So the problem might have been older...

LieGrue,
strub

--- On Thu, 11/25/10, Gurkan Erdogdu gurkanerdo...@yahoo.com wrote:

 From: Gurkan Erdogdu gurkanerdo...@yahoo.com
 Subject: Re: Build failed in Hudson: OpenWebBeans-trunk #298
 To: dev@openwebbeans.apache.org
 Date: Thursday, November 25, 2010, 11:23 AM
 Weird error!
 
 
 Error Message
 org.apache.webbeans.lifecycle.test.OpenWebBeansTestMetaDataDiscoveryService.getAnnotationDB()Lorg/scannotation/AnnotationDB;
 
 Stacktrace
 java.lang.NoSuchMethodError: 
 org.apache.webbeans.lifecycle.test.OpenWebBeansTestMetaDataDiscoveryService.getAnnotationDB()Lorg/scannotation/AnnotationDB;
 
     at 
 org.apache.webbeans.lifecycle.test.OpenWebBeansTestMetaDataDiscoveryService.addBeanClass(OpenWebBeansTestMetaDataDiscoveryService.java:91)
 
     at 
 org.apache.webbeans.lifecycle.test.OpenWebBeansTestMetaDataDiscoveryService.deployClasses(OpenWebBeansTestMetaDataDiscoveryService.java:58)
 
     at 
 org.apache.webbeans.newtests.AbstractUnitTest.startContainer(AbstractUnitTest.java:61)
 
     at 
 org.apache.webbeans.newtests.contexts.SerializationTest.testPersonalDataBean(SerializationTest.java:116)
 
     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.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.runChild(BlockJUnit4ClassRunner.java:76)
 
     at 
 org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
 
 
 
 
 
 
 - Original Message 
 From: Apache Hudson Server hud...@hudson.apache.org
 To: dev@openwebbeans.apache.org
 Sent: Thu, November 25, 2010 1:15:36 PM
 Subject: Build failed in Hudson: OpenWebBeans-trunk #298
 
 See https://hudson.apache.org/hudson/job/OpenWebBeans-trunk/298/changes
 
 Changes:
 
 [gerdogdu] Spec is wrong on generic parameter order. RI TCK
 test will be updated 
 by RI Team
 
 [gerdogdu] Spec is wrong on generic parameter order. RI TCK
 test will be updated 
 by RI Team
 
 [gpetracek] OWB-407 intermediate result
 
 [djencks] OWB-497 Warn but don't break deployment if
 annotation scanning throws 
 an ArrayStoreException
 
 [djencks] OWB-496 don't replace the classloaderProvider
 without clear intention
 
 [bergmark] [OWB-472] Missed updating a file in
 webbeans-osgi
 Submitted by: Jacquelle Leggett
 
 [bergmark] [OWB-472] Make it clear that this functionality
 is disabled by 
 default by updating the property file.
 
 [bergmark] [OWB-472] Add optional support for archive
 centric beans.xml
 Submitted by: Jacquelle Leggett
 
 [struberg] OWB-492 enable event notification for private
 @Observes methods
 
 --
 [...truncated 3260 lines...]
 Results :
 
 Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
 
 [HUDSON] Recording test results
 [INFO] [war:war {execution: default-war}]
 [INFO] Exploding webapp...
 [INFO] Assembling webapp tomcat7-sample in 
 https://hudson.apache.org/hudson/job/OpenWebBeans-trunk/ws/trunk/samples/tomcat7-sample/target/tomcat-sample
 
 [INFO] Copy webapp webResources to 
 https://hudson.apache.org/hudson/job/OpenWebBeans-trunk/ws/trunk/samples/tomcat7-sample/target/tomcat-sample
 
 [INFO] Copy webapp webResources to 
 https://hudson.apache.org/hudson/job/OpenWebBeans-trunk/ws/trunk/samples/tomcat7-sample/target/tomcat-sample
 
 [INFO] Building jar: 
 https://hudson.apache.org/hudson/job/OpenWebBeans-trunk/ws/trunk/samples/tomcat7-sample/target/tomcat-sample/WEB-INF/lib/tomcat-sample.jar
 
 [INFO] Generating war 
 https://hudson.apache.org/hudson/job/OpenWebBeans-trunk/ws/trunk/samples/tomcat7-sample/target/tomcat-sample.war
 
 [INFO] Building war: 
 https://hudson.apache.org/hudson/job/OpenWebBeans-trunk/ws/trunk/samples/tomcat7-sample/target/tomcat-sample.war
 
 [INFO] Preparing source:jar
 [WARNING] Removing: jar from forked lifecycle, to prevent
 recursive invocation.
 [INFO] No goals needed for project - skipping
 [INFO] [source:jar {execution: default}]
 [INFO] META-INF already added, skipping
 [INFO] META-INF already added, skipping
 [INFO] META-INF/LICENSE already added, skipping
 [INFO] META-INF/DEPENDENCIES already added, skipping
 [INFO] META-INF/NOTICE already added, skipping
 [INFO] Building jar: 
 https://hudson.apache.org/hudson/job/OpenWebBeans-trunk/ws/trunk/samples/tomcat7-sample/target/tomcat-sample-sources.jar

Re: Build failed in Hudson: OpenWebBeans-trunk #298

2010-11-25 Thread Joseph Bergmark
 Mark hit the nail on the head.  A hung build had prevented anything from
running since Nov 16th.  I opened a JIRA ticket for this a day or two ago,
and they quickly resolved it.

This is an odd error message though.  Looks related to the fix I committed a
week or two back, but I'm not seeing the problem locally in my sandbox.

I wonder if it had some old artifacts from a previous build that caused the
problem?  By default I think Hudson tries to reuse where possible rather
than running clean.

If we see it again then I'll try changing the Hudson build setting.

Sincerely,

Joe

On Thu, Nov 25, 2010 at 6:54 AM, Mark Struberg strub...@yahoo.de wrote:

 The Hudson build didn't run for a while now. Joe enabled it again only
 yesterday. So the problem might have been older...

 LieGrue,
 strub

 --- On Thu, 11/25/10, Gurkan Erdogdu gurkanerdo...@yahoo.com wrote:

  From: Gurkan Erdogdu gurkanerdo...@yahoo.com
  Subject: Re: Build failed in Hudson: OpenWebBeans-trunk #298
  To: dev@openwebbeans.apache.org
  Date: Thursday, November 25, 2010, 11:23 AM
  Weird error!
 
 
  Error Message
 
 org.apache.webbeans.lifecycle.test.OpenWebBeansTestMetaDataDiscoveryService.getAnnotationDB()Lorg/scannotation/AnnotationDB;
 
  Stacktrace
  java.lang.NoSuchMethodError:
 
 org.apache.webbeans.lifecycle.test.OpenWebBeansTestMetaDataDiscoveryService.getAnnotationDB()Lorg/scannotation/AnnotationDB;
 
  at
 
 org.apache.webbeans.lifecycle.test.OpenWebBeansTestMetaDataDiscoveryService.addBeanClass(OpenWebBeansTestMetaDataDiscoveryService.java:91)
 
  at
 
 org.apache.webbeans.lifecycle.test.OpenWebBeansTestMetaDataDiscoveryService.deployClasses(OpenWebBeansTestMetaDataDiscoveryService.java:58)
 
  at
 
 org.apache.webbeans.newtests.AbstractUnitTest.startContainer(AbstractUnitTest.java:61)
 
  at
 
 org.apache.webbeans.newtests.contexts.SerializationTest.testPersonalDataBean(SerializationTest.java:116)
 
  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.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.runChild(BlockJUnit4ClassRunner.java:76)
 
  at
 
 org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
 
 
 
 
 
 
  - Original Message 
  From: Apache Hudson Server hud...@hudson.apache.org
  To: dev@openwebbeans.apache.org
  Sent: Thu, November 25, 2010 1:15:36 PM
  Subject: Build failed in Hudson: OpenWebBeans-trunk #298
 
  See https://hudson.apache.org/hudson/job/OpenWebBeans-trunk/298/changes
 
 
  Changes:
 
  [gerdogdu] Spec is wrong on generic parameter order. RI TCK
  test will be updated
  by RI Team
 
  [gerdogdu] Spec is wrong on generic parameter order. RI TCK
  test will be updated
  by RI Team
 
  [gpetracek] OWB-407 intermediate result
 
  [djencks] OWB-497 Warn but don't break deployment if
  annotation scanning throws
  an ArrayStoreException
 
  [djencks] OWB-496 don't replace the classloaderProvider
  without clear intention
 
  [bergmark] [OWB-472] Missed updating a file in
  webbeans-osgi
  Submitted by: Jacquelle Leggett
 
  [bergmark] [OWB-472] Make it clear that this functionality
  is disabled by
  default by updating the property file.
 
  [bergmark] [OWB-472] Add optional support for archive
  centric beans.xml
  Submitted by: Jacquelle Leggett
 
  [struberg] OWB-492 enable event notification for private
  @Observes methods
 
  --
  [...truncated 3260 lines...]
  Results :
 
  Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
 
  [HUDSON] Recording test results
  [INFO] [war:war {execution: default-war}]
  [INFO] Exploding webapp...
  [INFO] Assembling webapp tomcat7-sample in
  
 https://hudson.apache.org/hudson/job/OpenWebBeans-trunk/ws/trunk/samples/tomcat7-sample/target/tomcat-sample
 
 
  [INFO] Copy webapp webResources to
  
 https://hudson.apache.org/hudson/job/OpenWebBeans-trunk/ws/trunk/samples/tomcat7-sample/target/tomcat-sample
 
 
  [INFO] Copy webapp webResources to
  
 https://hudson.apache.org/hudson/job/OpenWebBeans-trunk/ws/trunk/samples/tomcat7-sample/target/tomcat-sample
 
 
  [INFO] Building jar:
  
 https://hudson.apache.org/hudson/job/OpenWebBeans-trunk/ws/trunk/samples/tomcat7-sample/target/tomcat-sample/WEB-INF/lib/tomcat-sample.jar
 
 
  [INFO] Generating war
  
 https://hudson.apache.org/hudson/job/OpenWebBeans-trunk/ws/trunk