commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Craig McClanahan <craig...@gmail.com>
Subject Re: [GUMP@brutus]: Project commons-email (in module jakarta-commons-sandbox) failed
Date Wed, 24 Nov 2004 09:07:03 GMT
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 <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-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 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-sandbox/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-sandbox/email/target/classes
> Copying 1 file to /home/gump/workspaces2/public/workspace/jakarta-commons-sandbox/email/target/classes/META-INF
> 
> test:prepare-filesystem:
>     [mkdir] Created dir: /home/gump/workspaces2/public/workspace/jakarta-commons-sandbox/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-sandbox/email/target/test-classes
> /home/gump/workspaces2/public/workspace/jakarta-commons-sandbox/email/src/test/org/apache/commons/mail/BaseEmailTestCase.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-sandbox/email/src/test/org/apache/commons/mail/BaseEmailTestCase.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/commons-email/rss.xml
> - Atom: http://brutus.apache.org/gump/public/jakarta-commons-sandbox/commons-email/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


Mime
View raw message