Re: [GUMP@brutus]: Project commons-email (in module jakarta-commons-sandbox) failed

2004-11-24 Thread Craig McClanahan
Having arrived home from a business trip, and seen what is actually
causing the nightly builds to fail, it is likely to be the same issue
that Gump is running into -- it's not the compilation that fails, it's
the unit tests.  Here is a representative stack trace:

[junit] Running org.apache.commons.mail.EmailTest
[junit] Tests run: 36, Failures: 2, Errors: 0, Time elapsed: 1.065 sec
[junit] Testsuite: org.apache.commons.mail.EmailTest
[junit] Tests run: 36, Failures: 2, Errors: 0, Time elapsed: 1.065 sec
[junit] - Standard Error -
[junit] java.net.BindException: Permission denied
[junit] at java.net.PlainSocketImpl.socketBind(Native Method)
[junit] at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:331)
[junit] at java.net.ServerSocket.bind(ServerSocket.java:318)
[junit] at java.net.ServerSocket.init(ServerSocket.java:185)
[junit] at java.net.ServerSocket.init(ServerSocket.java:97)
[junit] at com.dumbster.smtp.SimpleSmtpServer.run(Unknown Source)
[junit] at java.lang.Thread.run(Thread.java:534)
[junit] java.net.BindException: Permission denied
[junit] at java.net.PlainSocketImpl.socketBind(Native Method)
[junit] at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:331)
[junit] at java.net.ServerSocket.bind(ServerSocket.java:318)
[junit] at java.net.ServerSocket.init(ServerSocket.java:185)
[junit] at java.net.ServerSocket.init(ServerSocket.java:97)
[junit] at com.dumbster.smtp.SimpleSmtpServer.run(Unknown Source)
[junit] at java.lang.Thread.run(Thread.java:534)
[junit] -  ---
 
I haven't looked at the sources for the tests, but if you are trying
to start a dummy email server on a port  1024, this is guaranteed to
fail (unless you are running as root) on any Unix platform, which is
definitely the case for the nightly builds (Red Hat Linux 9.0).

Craig McClanahan





On Wed, 24 Nov 2004 00:57:45 PST, dIon Gillard [EMAIL PROTECTED] wrote:
 To whom it may engage...
 
 This is an automated request, but not an unsolicited one. For
 more information please visit http://gump.apache.org/nagged.html,
 and/or contact the folk at [EMAIL PROTECTED]
 
 Project commons-email has an issue affecting its community integration.
 This issue affects 1 projects,
  and has been outstanding for 3 runs.
 The current state of this project is 'Failed', with reason 'Build Failed'.
 For reference only, the following projects are affected by this:
 - commons-email :  Commons Email Package
 
 Full details are available at:
 
 http://brutus.apache.org/gump/public/jakarta-commons-sandbox/commons-email/index.html
 
 That said, some information snippets are provided here.
 
 The following annotations (debug/informational/warning/error messages) were 
 provided:
  -DEBUG- Sole output [commons-email-24112004.jar] identifier set to project 
 name
 
 
  -DEBUG- (Gump generated) Maven Properties in: 
 /usr/local/gump/public/workspace/jakarta-commons-sandbox/email/build.properties
  -INFO- Failed with reason build failed
  -DEBUG- Maven POM in: 
 /usr/local/gump/public/workspace/jakarta-commons-sandbox/email/project.xml
  -DEBUG- Maven project properties in: 
 /usr/local/gump/public/workspace/jakarta-commons-sandbox/email/project.properties
  -INFO- Failed to extract fallback artifacts from Gump Repository
 
 The following work was performed:
 http://brutus.apache.org/gump/public/jakarta-commons-sandbox/commons-email/gump_work/build_jakarta-commons-sandbox_commons-email.html
 Work Name: build_jakarta-commons-sandbox_commons-email (Type: Build)
 Work ended in a state of : Failed
 Elapsed: 5 secs
 Command Line: maven --offline jar
 [Working Directory: 
 /usr/local/gump/public/workspace/jakarta-commons-sandbox/email]
 CLASSPATH: 
 /opt/jdk1.4/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons-sandbox/target/classes:/usr/local/gump/public/workspace/ant/dist/lib/ant-stylebook.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/public/workspace/jakarta-commons/lang/dist/commons-lang-24112004.jar:/usr/local/gump/packages/dumbster1.3/build/dumbster.jar:/usr/local/gump/packages/javamail-1.3.2/mail.jar:/usr/local/gump/packages/javamail-1.3.2/lib/mailapi.jar:/usr/local/gump/packages/jaf-1.0.1/activation.jar
 
 
 -
  __  __
 |  \/  |__ _Apache__ ___
 | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
 |_|  |_\__,_|\_/\___|_||_|  v. 1.0
 
 Plugin 'maven-deploy-plugin' in project 'Commons Email' is not 

RE: [GUMP@brutus]: Project commons-email (in module jakarta-commons-sandbox) failed

2004-11-24 Thread Matthias Wessendorf
Craig,

 I haven't looked at the sources for the tests, but if you are 
 trying to start a dummy email server on a port  1024, this 
 is guaranteed to fail (unless you are running as root) on any 
 Unix platform, which is definitely the case for the nightly 
 builds (Red Hat Linux 9.0).

thanks for pointig this out.
I just remember ;-)

the failure reported by 
was because of a typo
(assertTrue(this.fakeMailServer.getReceivedEmailSize() = intMsgNo);)
was fixed by Eric


on my box it also fails (JUNIT)
:-(



test:test:
[junit] Running org.apache.commons.mail.DefaultAuthenticatorTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0,08 sec
[junit] Running org.apache.commons.mail.EmailAttachmentTest
[junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 4,667
sec
[junit] Running org.apache.commons.mail.EmailTest
[junit] Tests run: 36, Failures: 0, Errors: 0, Time elapsed: 2,744
sec
[junit] Running org.apache.commons.mail.HtmlEmailTest
java.net.BindException: Address already in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(Unknown Source)
at java.net.ServerSocket.bind(Unknown Source)
at java.net.ServerSocket.init(Unknown Source)
at java.net.ServerSocket.init(Unknown Source)
at com.dumbster.smtp.SimpleSmtpServer.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.net.BindException: Address already in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(Unknown Source)
at java.net.ServerSocket.bind(Unknown Source)
at java.net.ServerSocket.init(Unknown Source)
at java.net.ServerSocket.init(Unknown Source)
at com.dumbster.smtp.SimpleSmtpServer.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
[junit] Tests run: 6, Failures: 2, Errors: 0, Time elapsed: 3,605
sec
[junit] [ERROR] TEST org.apache.commons.mail.HtmlEmailTest FAILED
[junit] Running org.apache.commons.mail.MultiPartEmailTest
java.net.BindException: Address already in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(Unknown Source)
at java.net.ServerSocket.bind(Unknown Source)
at java.net.ServerSocket.init(Unknown Source)
at java.net.ServerSocket.init(Unknown Source)
at com.dumbster.smtp.SimpleSmtpServer.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
[junit] Tests run: 10, Failures: 1, Errors: 0, Time elapsed: 2,704
sec
[junit] [ERROR] TEST org.apache.commons.mail.MultiPartEmailTest
FAILED
[junit] Running org.apache.commons.mail.SendWithAttachmentsTest
[junit] Tests run: 2, Failures: 2, Errors: 0, Time elapsed: 8,231
sec
[junit] [ERROR] TEST org.apache.commons.mail.SendWithAttachmentsTest
FAILED
[junit] Running org.apache.commons.mail.SimpleEmailTest
java.net.BindException: Address already in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(Unknown Source)
at java.net.ServerSocket.bind(Unknown Source)
at java.net.ServerSocket.init(Unknown Source)
at java.net.ServerSocket.init(Unknown Source)
at com.dumbster.smtp.SimpleSmtpServer.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
[junit] Tests run: 2, Failures: 1, Errors: 0, Time elapsed: 0,67 sec
[junit] [ERROR] TEST org.apache.commons.mail.SimpleEmailTest FAILED

jar:jar:
[jar] Building jar:
C:\Programme\eclipse-SDK-3.0-win32\eclipse\workspace\email\target\common
s-email-1.0-dev.jar
Copying: from
'C:\Programme\eclipse-SDK-3.0-win32\eclipse\workspace\email\target\commo
ns-email-1.0-dev.jar' to: 'C:\Dokumente und
Einstellungen\Administrator\.maven\repository\commons-email\jars\commons
-email-1.0-dev.jar'
Copying: from
'C:\Programme\eclipse-SDK-3.0-win32\eclipse\workspace\email\project.xml'
to: 'C:\Dokumente und
Einstellungen\Administrator\.maven\repository\commons-email\poms\commons
-email-1.0-dev.pom'
BUILD SUCCESSFUL




-Matthias
 
 Craig McClanahan
 
 
 
 
 
 On Wed, 24 Nov 2004 00:57:45 PST, dIon Gillard 
 [EMAIL PROTECTED] wrote:
  To whom it may engage...
  
  This is an automated request, but not an unsolicited one. For more 
  information please visit http://gump.apache.org/nagged.html,
  and/or contact the folk at [EMAIL PROTECTED]
  
  Project commons-email has an issue affecting its community 
  integration. This issue affects 1 projects,  and has been 
 outstanding 
  for 3 runs. The current state of this project is 'Failed', 
 with reason 
  'Build Failed'. For reference only, the following projects are 
  affected by this:
  - commons-email :  Commons Email Package
  
  Full details are available at:
  
  
 http://brutus.apache.org/gump/public/jakarta-commons-sandbox/commons-e
  mail/index.html
  
  That said, some 

[email]RE: [GUMP@brutus]: Project commons-email (in module jakarta-commons-sandbox) failed

2004-10-19 Thread Eric Pugh
Hi guys..  I just fixed it...  I am just starting to learn about gump, which
is a continous integration tool.  It needs to know about all dependencies,
so when commons-validator and oro where added, gump gave up the ghost!  The
fix is here:
http://cvs.apache.org/viewcvs.cgi/gump/project/jakarta-commons-sandbox.xml

However, we are not out of the woods yet...  Corey, the unit tests depend on
a public email server being up and running.  However, due to spammers etc,
most prevent relaying.  So we really need a Mock SMPT server.  Dumbster
would work.

Corey, if you have time, but not lots, if you can compile Dumbster, I'll do
the integration work.  better yet would be a patch with both!

Eric

 -Original Message-
 From: Corey Scott [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, October 19, 2004 5:48 AM
 To: Jakarta Commons Developers List
 Subject: Re: [EMAIL PROTECTED]: Project commons-email (in module
 jakarta-commons-sandbox) failed


 I dont know how to fix this, but yes, I added email validation using
 commons-validator and I believe this is the problem that is causing
 the build to fail.

 -Corey

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [email]RE: [GUMP@brutus]: Project commons-email (in module jakarta-commons-sandbox) failed

2004-10-19 Thread Corey Scott
Im on it :-)

I have also reformatted the code to the 'original' code as specified
on the website.

Hopefully be in the bugzilla soon.

Corey


On Tue, 19 Oct 2004 10:02:44 +0100, Eric Pugh [EMAIL PROTECTED] wrote:
 Hi guys..  I just fixed it...  I am just starting to learn about gump, which
 is a continous integration tool.  It needs to know about all dependencies,
 so when commons-validator and oro where added, gump gave up the ghost!  The
 fix is here:
 http://cvs.apache.org/viewcvs.cgi/gump/project/jakarta-commons-sandbox.xml
 
 However, we are not out of the woods yet...  Corey, the unit tests depend on
 a public email server being up and running.  However, due to spammers etc,
 most prevent relaying.  So we really need a Mock SMPT server.  Dumbster
 would work.
 
 Corey, if you have time, but not lots, if you can compile Dumbster, I'll do
 the integration work.  better yet would be a patch with both!
 
 Eric
 
 
 
  -Original Message-
  From: Corey Scott [mailto:[EMAIL PROTECTED]
  Sent: Tuesday, October 19, 2004 5:48 AM
  To: Jakarta Commons Developers List
  Subject: Re: [EMAIL PROTECTED]: Project commons-email (in module
  jakarta-commons-sandbox) failed
 
 
  I dont know how to fix this, but yes, I added email validation using
  commons-validator and I believe this is the problem that is causing
  the build to fail.
 
  -Corey
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [email]RE: [GUMP@brutus]: Project commons-email (in module jakarta-commons-sandbox) failed

2004-10-19 Thread Eric Pugh
Great..  What do you mean by 'original'?  I'm not too fussed about code
formats as long as it all matches.  My rule of thumb is to make my IDE do
whatever the existing code does.

If you are looking to do a big reformat of the code, make that a seperate
patch.  The reason is that when the reformat happens it causes lots of
noise in the CVS diffs, so any actual code functionality changes get lost.
So, maybe submit first the code change, and then the reformatting change.

Thanks!
Eric

 -Original Message-
 From: Corey Scott [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, October 19, 2004 12:06 PM
 To: [EMAIL PROTECTED]
 Cc: Jakarta Commons Developers List
 Subject: Re: [email]RE: [EMAIL PROTECTED]: Project commons-email (in module
 jakarta-commons-sandbox) failed


 Im on it :-)

 I have also reformatted the code to the 'original' code as specified
 on the website.

 Hopefully be in the bugzilla soon.

 Corey


 On Tue, 19 Oct 2004 10:02:44 +0100, Eric Pugh [EMAIL PROTECTED] wrote:
  Hi guys..  I just fixed it...  I am just starting to learn
 about gump, which
  is a continous integration tool.  It needs to know about all
 dependencies,
  so when commons-validator and oro where added, gump gave up the
 ghost!  The
  fix is here:
 
 http://cvs.apache.org/viewcvs.cgi/gump/project/jakarta-commons-sandbox.xml
 
  However, we are not out of the woods yet...  Corey, the unit
 tests depend on
  a public email server being up and running.  However, due to
 spammers etc,
  most prevent relaying.  So we really need a Mock SMPT server.  Dumbster
  would work.
 
  Corey, if you have time, but not lots, if you can compile
 Dumbster, I'll do
  the integration work.  better yet would be a patch with both!
 
  Eric
 
 
 
   -Original Message-
   From: Corey Scott [mailto:[EMAIL PROTECTED]
   Sent: Tuesday, October 19, 2004 5:48 AM
   To: Jakarta Commons Developers List
   Subject: Re: [EMAIL PROTECTED]: Project commons-email (in module
   jakarta-commons-sandbox) failed
  
  
   I dont know how to fix this, but yes, I added email validation using
   commons-validator and I believe this is the problem that is causing
   the build to fail.
  
   -Corey
  
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
 
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [GUMP@brutus]: Project commons-email (in module jakarta-commons-sandbox) failed

2004-10-18 Thread Corey Scott
I dont know how to fix this, but yes, I added email validation using
commons-validator and I believe this is the problem that is causing
the build to fail.

-Corey

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]