commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthias Wessendorf" <maili...@matthias-wessendorf.de>
Subject RE: [GUMP@brutus]: Project commons-email (in module jakarta-commons-sandbox) failed
Date Wed, 24 Nov 2004 13:13:57 GMT
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 
> <dion@multitask.com.au> 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 general@gump.apache.org.
> > 
> > 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 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-e
> > mail/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/jak
> arta-commons-sandbox/target/classes:/usr/local/gump/public/wor
> kspace/ant/dist/lib/ant-stylebook.jar:/usr/local/gump/public/w
> orkspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/works
> pace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspa
> ce/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/
> ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/an
> t/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/a
> nt/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/an
> t/dist/lib/ant.jar:/usr/local/gump/public/workspace/jakarta-co
> mmons/lang/dist/commons-lang-24112004.jar:/usr/local/gump/pack
> ages/dumbster1.3/build/dumbster.jar:/usr/local/gump/packages/j
> avamail-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 
> > available
> > build:start:
> > 
> > java:prepare-filesystem:
> >     [mkdir] Created dir: 
> > 
> /home/gump/workspaces2/public/workspace/jakarta-commons-sandbox/email/
> > target/classes
> > 
> > java:compile:
> >     [echo] Compiling to 
> /home/gump/workspaces2/public/workspace/jakarta-commons-sandbo
> x/email/target/classes
> >     [javac] Compiling 6 source files to 
> > 
> /home/gump/workspaces2/public/workspace/jakarta-commons-sandbox/email/
> > target/classes
> > 
> > java:jar-resources:
> > Copying 2 files to 
> > 
> /home/gump/workspaces2/public/workspace/jakarta-commons-sandbo
> x/email/target/classes
> > Copying 1 file to 
> /home/gump/workspaces2/public/workspace/jakarta-commons-sandbo
> x/email/target/classes/META-INF
> > 
> > test:prepare-filesystem:
> >     [mkdir] Created dir: 
> /home/gump/workspaces2/public/workspace/jakarta-commons-sandbo
> x/email/target/test-classes
> >     [mkdir] Created dir: 
> > 
> /home/gump/workspaces2/public/workspace/jakarta-commons-sandbox/email/
> > target/test-reports
> > 
> > test:test-resources:
> > 
> > test:compile:
> >     [javac] Compiling 13 source files to 
> > 
> /home/gump/workspaces2/public/workspace/jakarta-commons-sandbo
> x/email/target/test-classes
> > 
> /home/gump/workspaces2/public/workspace/jakarta-commons-sandbo
x/email/src/test/org/apache/commons/mail/BaseEma> ilTestCase.java:138:
cannot resolve symbol
> > symbol  : method getReceivedEmailSize ()
> > location: class com.dumbster.smtp.SimpleSmtpServer
> >         
> assertTrue(this.fakeMailServer.getReceivedEmailSize() >= intMsgNo);
> >                    ^
> > 
> /home/gump/workspaces2/public/workspace/jakarta-commons-sandbo
x/email/src/test/org/apache/commons/mail/BaseEma> ilTestCase.java:207:
cannot resolve symbol
> > symbol  : method getReceivedEmailSize ()
> > location: class com.dumbster.smtp.SimpleSmtpServer
> >         assertTrue(mailServer.getReceivedEmailSize() == 1);
> >                              ^
> > 2 errors
> > 
> > BUILD FAILED
> > File...... 
> > /home/gump/.maven/cache/maven-test-plugin-1.6.2/plugin.jelly
> > Element... javac
> > Line...... 52
> > Column.... 46
> > Compile failed; see the compiler error output for details.
> > Total time: 5 seconds
> > Finished at: Wed Nov 24 00:57:44 PST 2004
> > 
> > ---------------------------------------------
> > 
> > To subscribe to this information via syndicated feeds:
> > - RSS: 
> > 
> http://brutus.apache.org/gump/public/jakarta-commons-sandbox/c
ommons-email/rss.xml
> - Atom:
http://brutus.apache.org/gump/public/jakarta-commons-sandbox/commons-ema
il/atom.xml
> 
> ============================== Gump Tracking Only === Produced by Gump

> version 2.2. Gump Run 21000024112004, 
> brutus:brutus-public:21000024112004
> Gump E-mail Identifier (unique within run) #18.
> 
> 
> 
> --
> Apache Gump
> http://gump.apache.org/ [Instance: brutus]
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message