geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Jencks <djen...@gluecode.com>
Subject Re: Build error
Date Wed, 20 Oct 2004 16:04:28 GMT
Thanks for pointing this out on the list.  The itest plugin is not  
entirely failsafe: if an error occurs during the pretest setup  
goal/script it won't execute the post test teardown script.  If anyone  
has ideas on how to fix this... it's the itest plugin, now part of  
maven.

david jencks


On Oct 20, 2004, at 5:33 AM, Jeff Fletcher wrote:

> This seems to have been caused by a previous build failing and leaving  
> a process running.  The process in question is:
> 0 S jeff     20787     1  0  83   0 - 62294 schedu 14:40 pts1      
> 00:00:02 /usr/java/j2sdk1.4.2_05/jre/bin/java  
> -Djava.rmi.server.RMIClassLoaderSpi=org.apache.geronimo.system.rmi.RMIC 
> lassLoaderSpiImpl -ea -jar  
> /home/jeff/openSource/geronimo/geronimo/openejb/modules/itests/target/ 
> openejb/bin/server.jar org/openejb/Security ...
>
> All these tests failed due to SocketException: Address already in use
>
> Just an FYI in case anybody else has an issue like this.
>
> David Jencks wrote:
>
>> I don't see these errors.  Any clue what's causing them?
>>
>> david jencks
>>
>> On Oct 19, 2004, at 2:45 PM, Jeff Fletcher wrote:
>>
>>> Thanks, it got past that part, but now this:
>>>
>>> test:test:
>>>    [junit] Running   
>>> org.apache.geronimo.security.remoting.jmx.RemoteLoginTest
>>>    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 2.061  
>>>  sec
>>>    [junit] [ERROR] TEST   
>>> org.apache.geronimo.security.remoting.jmx.RemoteLoginTest FAILED
>>>    [junit] Running   
>>> org.apache.geronimo.security.network.protocol.SubjectCarryingProtocol 
>>> Te st
>>>    [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 1.763  
>>>  sec
>>>    [junit] [ERROR] TEST   
>>> org.apache.geronimo.security.network.protocol.SubjectCarryingProtocol 
>>> Te st FAILED
>>>    [junit] Running   
>>> org.apache.geronimo.security.bridge.MappingUserPasswordBridgeTest
>>>    [junit] Tests run: 3, Failures: 0, Errors: 3, Time elapsed: 1.919  
>>>  sec
>>>    [junit] [ERROR] TEST   
>>> org.apache.geronimo.security.bridge.MappingUserPasswordBridgeTest   
>>> FAILED
>>>    [junit] Running   
>>> org.apache.geronimo.security.bridge.ConfiguredIdentityUserPasswordBri 
>>> dg eTest
>>>    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 1.85  
>>> sec
>>>    [junit] [ERROR] TEST   
>>> org.apache.geronimo.security.bridge.ConfiguredIdentityUserPasswordBri 
>>> dg eTest FAILED
>>>    [junit] Running   
>>> org.apache.geronimo.security.bridge.CallerIdentityUserPasswordBridgeT 
>>> es t
>>>    [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 2.045  
>>>  sec
>>>    [junit] [ERROR] TEST   
>>> org.apache.geronimo.security.bridge.CallerIdentityUserPasswordBridgeT 
>>> es t FAILED
>>>    [junit] Running   
>>> org.apache.geronimo.security.jaas.LoginKerberosNonGeronimoTest
>>>    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 1.902  
>>>  sec
>>>    [junit] [ERROR] TEST   
>>> org.apache.geronimo.security.jaas.LoginKerberosNonGeronimoTest  
>>> FAILED
>>>    [junit] Running   
>>> org.apache.geronimo.security.jaas.LoginSimpleRealmTest
>>>    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 1.853  
>>>  sec
>>>    [junit] [ERROR] TEST   
>>> org.apache.geronimo.security.jaas.LoginSimpleRealmTest FAILED
>>>    [junit] Running   
>>> org.apache.geronimo.security.jaas.LoginPropertiesFileTest
>>>    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 1.849  
>>>  sec
>>>    [junit] [ERROR] TEST   
>>> org.apache.geronimo.security.jaas.LoginPropertiesFileTest FAILED
>>>    [junit] Running  
>>> org.apache.geronimo.security.jaas.LoginKerberosTest
>>>    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 1.841  
>>>  sec
>>>    [junit] [ERROR] TEST   
>>> org.apache.geronimo.security.jaas.LoginKerberosTest FAILED
>>>    [junit] Running org.apache.geronimo.security.jaas.LoginSQLTest
>>>    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 1.845  
>>>  sec
>>>    [junit] [ERROR] TEST  
>>> org.apache.geronimo.security.jaas.LoginSQLTest  FAILED
>>>    [junit] Running   
>>> org.apache.geronimo.security.jaas.ConfigurationEntryTest
>>>    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 2.005  
>>>  sec
>>>    [junit] [ERROR] TEST   
>>> org.apache.geronimo.security.jaas.ConfigurationEntryTest FAILED
>>> BUILD FAILED
>>> File......   
>>> /home/jeff/.maven/cache/maven-multiproject-plugin-1.3.1/plugin.jelly
>>> Element... maven:reactor
>>> Line...... 217
>>> Column.... 9
>>> Unable to obtain goal [default] --   
>>> /home/jeff/.maven/cache/maven-test-plugin-1.6.2/plugin.jelly:181:54:  
>>>  <fail> There were test failures.
>>> Total time: 8 minutes 15 seconds
>>> Finished at: Tue Oct 19 15:42:29 MDT 2004
>>>
>>>
>>> David Jencks wrote:
>>>
>>>> sorry about that, I committed an experiment by mistake.
>>>>
>>>> should be fixed in svn.
>>>>
>>>> david jencks
>>>>
>>>> On Oct 19, 2004, at 2:19 PM, Jeff Fletcher wrote:
>>>>
>>>>> I got a bunch of NullPointerExceptions
>>>>> test:test:
>>>>>    [junit] Running org.apache.geronimo.transaction.log.HOWLLogTest
>>>>> Thread-28
>>>>> java.lang.NullPointerException
>>>>>        at    
>>>>> org.objectweb.howl.log.BlockLogBuffer.put(BlockLogBuffer.java:195)
>>>>>        at    
>>>>> org.objectweb.howl.log.LogBufferManager.put(LogBufferManager.java:  
>>>>> 605)
>>>>>        at org.objectweb.howl.log.Logger.put(Logger.java:200)
>>>>>        at   
>>>>> org.objectweb.howl.log.xa.XALogger.putDone(XALogger.java:531)
>>>>>        at    
>>>>> org.apache.geronimo.transaction.log.HOWLLog.commit(HOWLLog.java: 
>>>>> 274)
>>>>>        at    
>>>>> org.apache.geronimo.transaction.log.AbstractLogTest$1.run(AbstractL 
>>>>> og Te st.java:137)
>>>>> Thread-27
>>>>> java.lang.NullPointerException
>>>>>        at    
>>>>> org.objectweb.howl.log.BlockLogBuffer.put(BlockLogBuffer.java:195)
>>>>>        at    
>>>>> org.objectweb.howl.log.LogBufferManager.put(LogBufferManager.java:  
>>>>> 605)
>>>>>        at org.objectweb.howl.log.Logger.put(Logger.java:200)
>>>>>        at   
>>>>> org.objectweb.howl.log.xa.XALogger.putDone(XALogger.java:531)
>>>>>        at    
>>>>> org.apache.geronimo.transaction.log.HOWLLog.commit(HOWLLog.java: 
>>>>> 274)
>>>>>        at    
>>>>> org.apache.geronimo.transaction.log.AbstractLogTest$1.run(AbstractL 
>>>>> og Te st.java:137)
>>>>> .. (19 different threads total) ...
>>>>> Thread-36
>>>>> java.lang.NullPointerException
>>>>>        at    
>>>>> org.objectweb.howl.log.BlockLogBuffer.put(BlockLogBuffer.java:195)
>>>>>        at    
>>>>> org.objectweb.howl.log.LogBufferManager.put(LogBufferManager.java:  
>>>>> 605)
>>>>>        at org.objectweb.howl.log.Logger.put(Logger.java:200)
>>>>>        at   
>>>>> org.objectweb.howl.log.xa.XALogger.putDone(XALogger.java:531)
>>>>>        at    
>>>>> org.apache.geronimo.transaction.log.HOWLLog.commit(HOWLLog.java: 
>>>>> 274)
>>>>>        at    
>>>>> org.apache.geronimo.transaction.log.AbstractLogTest$1.run(AbstractL 
>>>>> og Te st.java:137)
>>>>>    [junit] Tests run: 2, Failures: 0, Errors: 1, Time elapsed:  
>>>>> 0.321   sec
>>>>>    [junit] [ERROR] TEST    
>>>>> org.apache.geronimo.transaction.log.HOWLLogTest FAILED
>>>>>    [junit] Running    
>>>>> org.apache.geronimo.transaction.context.TransactionContextManagerTe 
>>>>> st
>>>>>    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed:  
>>>>> 0.074   sec
>>>>>    [junit] Running    
>>>>> org.apache.geronimo.transaction.manager.XidImporterTest
>>>>>    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed:  
>>>>> 0.029   sec
>>>>>    [junit] Running    
>>>>> org.apache.geronimo.transaction.manager.MockLogRecoveryTest
>>>>>    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed:  
>>>>> 0.029   sec
>>>>>    [junit] Running    
>>>>> org.apache.geronimo.transaction.manager.HOWLLogRecoveryTest
>>>>>    [junit] Tests run: 5, Failures: 0, Errors: 4, Time elapsed:  
>>>>> 5.078   sec
>>>>>    [junit] [ERROR] TEST    
>>>>> org.apache.geronimo.transaction.manager.HOWLLogRecoveryTest FAILED
>>>>>    [junit] Running   
>>>>> org.apache.geronimo.transaction.manager.RecoveryTest
>>>>>    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed:  
>>>>> 0.032   sec
>>>>>    [junit] Running   
>>>>> org.apache.geronimo.transaction.manager.ProtocolTest
>>>>>    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed:  
>>>>> 0.046   sec
>>>>>    [junit] Running    
>>>>> org.apache.geronimo.transaction.TransactionManagerProxyTest
>>>>>    [junit] Tests run: 13, Failures: 0, Errors: 0, Time elapsed:   
>>>>> 0.043  sec
>>>>> BUILD FAILED
>>>>> File......    
>>>>> /home/jeff/.maven/cache/maven-multiproject-plugin-1.3.1/ 
>>>>> plugin.jelly
>>>>> Element... maven:reactor
>>>>> Line...... 217
>>>>> Column.... 9
>>>>> Unable to obtain goal [default] --    
>>>>> /home/jeff/.maven/cache/maven-test-plugin-1.6.2/plugin.jelly:181: 
>>>>> 54:   <fail> There were test failures.
>>>>> Total time: 5 minutes 19 seconds
>>>>> Finished at: Tue Oct 19 15:00:57 MDT 2004
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> David Jencks wrote:
>>>>>
>>>>>> looks good to me -- I was fixing something that another  
>>>>>> participant   broke yesterday.  Since my environment often has a
 
>>>>>> bunch of   uncommitted changes it would be good to get others to
 
>>>>>> check that  this  works.
>>>>>>
>>>>>> thanks
>>>>>> david jencks
>>>>>>
>>>>>> On Oct 19, 2004, at 11:58 AM, Ralf Barkow wrote:
>>>>>>
>>>>>>>
>>>>>>>       I just updated the Building page on the wiki. In the  
>>>>>>> section   "For the impatient .." it currently reads:
>>>>>>>
>>>>>>>     $ svn checkout  
>>>>>>> http://svn.apache.org/repos/asf/geronimo/trunk   geronimo
>>>>>>>     $ cd geronimo
>>>>>>>     $ maven m:fresh-checkout
>>>>>>>       [ BECAREFUL: Deletes checkout of ActiveMQ, HOWL, OpenEJB,
  
>>>>>>> and  TranQL                    and checks them out again
>>>>>>>       ]
>>>>>>>
>>>>>>>     $ maven m:rebuild-all
>>>>>>>       [ Same as m:clean m:clean-repo m:default         and it
   
>>>>>>> includes geronimo-spec modules
>>>>>>>       ]
>>>>>>>
>>>>>>>
>>>>>>> The instructions are meant for the fresh checkout scenario. Any
  
>>>>>>>  comments?
>>>>>>>
>>>>>>> --  Ralf
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> David Jencks wrote:
>>>>>>>
>>>>>>>> OK, I've updated the dependencies and successfully built
once.   
>>>>>>>>   Please do maven m:update; maven -p dependencies.xml;maven
  
>>>>>>>> m:rebuild  -o
>>>>>>>>
>>>>>>>> I might have missed something but it did work once for me.
   
>>>>>>>> Please  report any further problems.
>>>>>>>>
>>>>>>>> many thanks
>>>>>>>> david jencks
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>
>>>>
>>>
>>
>>
>


Mime
View raw message