dev@glassfish.java.net

Re: failed to mvn install

From: Javafuns <javafuns_at_qq.com>
Date: Wed, 29 Feb 2012 14:10:13 +0800

Jagadish, Romain, Jane, Bill and Jason,
Thank you for so quick response. I re-checked my JDK, it's version 7.
It will be built successfully if I change to 6.

------------------
Gavin.Zhang_at_Beijing.COM




 
------------------ Original ------------------
From: "Jagadish Prasath Ramu"<jagadish.ramu_at_oracle.com>;
Date: Tue, Feb 28, 2012 07:49 PM
To: "dev"<dev_at_glassfish.java.net>;
Cc: "Jane Young"<jane.young_at_oracle.com>; "Javafuns"<javafuns_at_qq.com>;
Subject: Re: failed to mvn install

 
From the email, the JDK version is "1.6.0_31".
I do not think mail resources test would have failed (as it would have
stopped the build instead of continuing to JDBC module).

Regarding the issue :
GLASSFISH-17285

I have so far fixed list-javamail, list-custom, list-jndi resource
related tests and a few more are pending.

Thanks,
-Jagadish

On Tue, 2012-02-28 at 10:50 +0100, Romain Grecourt wrote:
> Can you please provide the name(s) of the test(s) that fail ? (by
> looking at the files in target/surefire-report).
>
> Are you really using JDK6?
> By looking at both issues you reported, I see that you had test
> failures under "appserver/resource/javamail/javamail-connector" and
> "appserver/jdbc".
> These unit tests are part of the ones that are failing randomly when
> building GlassFish using JDK7. (java.net/jira/browse/GLASSFISH-17285)
>
> Thanks,
> Romain
>
> On 02/28/2012 10:30 AM, Jane Young wrote:
> > Can you try with Maven 2.2.1?
> >
> >
> >
> > On 2/27/12 11:25 PM, Javafuns wrote:
> > > yes, it is apparently failed.
> > >
> > > [INFO] JMS Module ........................................ SUCCESS
> > > [1.749s]
> > > [INFO] JMS admin ......................................... SUCCESS
> > > [1.752s]
> > > [INFO] JDBC Resource Adapter ............................. SUCCESS
> > > [0.269s]
> > > [INFO] Core JDBC Resource Adapter classes ................ SUCCESS
> > > [3.347s]
> > > [INFO] JDBC 30 related classes for JDBC Resource Adapter . SUCCESS
> > > [1.182s]
> > > [INFO] JDBC 40 related classes for JDBC Resource Adapter . SUCCESS
> > > [1.637s]
> > > [INFO] JDBC Module ....................................... SUCCESS
> > > [0.061s]
> > > [INFO] JDBC Templates .................................... SUCCESS
> > > [0.821s]
> > > [INFO] Distribution Module for JDBC Resource Adapter ..... SUCCESS
> > > [1.029s]
> > > [INFO] JDBC admin ........................................ FAILURE
> > > [4.149s]
> > > [INFO] GlassFish Module Extending system bundle to provide access
> > > to additional packages from oracle jdbc driver SKIPPED
> > > [INFO] Connector for JPA runtime in glassfish ............ SKIPPED
> > > [INFO] JPA container for glassfish ....................... SKIPPED
> > > [INFO] Declaring EclipseLink dependencies ................ SKIPPED
> > >
> > > This time, the error changed.
> > > -------------------------------------------------------
> > > T E S T S
> > > -------------------------------------------------------
> > > Running org.glassfish.jdbc.admin.cli.ListJdbcResourcesTest
> > > Feb 28, 2012 3:06:27 PM org.jvnet.hk2.config.ConfigParser
> > > handleElement
> > > SEVERE: Ignoring unrecognized element management-rules at Line
> > > number = 156
> > > Column number = 40
> > > System Id =
> > > file:/home/gavin/OpenSource/glassfish/main/appserver/jdbc/admin/target/test-classes/DomainTest.xml
> > > Public Id = null
> > > Location Uri=
> > > file:/home/gavin/OpenSource/glassfish/main/appserver/jdbc/admin/target/test-classes/DomainTest.xml
> > > CharacterOffset = 10721
> > >
> > > BTW, my os is Debian 3.2.6-1, amd64, java version "1.6.0_31".
> > > ------------------
> > > Gavin.Zhang_at_Beijing.COM
> > >
> > >
> > >
> > >
> > >
> > > ------------------ Original ------------------
> > > From: "Bill Shannon"<bill.shannon_at_oracle.com>;
> > > Date: Tue, Feb 28, 2012 01:58 PM
> > > To: "dev"<dev_at_glassfish.java.net>;
> > > Cc: "Javafuns"<javafuns_at_qq.com>;
> > > Subject: Re: failed to mvn install
> > >
> > > The tests produce a lot of messages like that without actually
> > > failing.
> > > Are you actually see test failures?
> > >
> > > Javafuns wrote on 2/27/12 8:29 PM:
> > > > I'm new to glassfish. I followed
> > > >
> > > https://wikis.oracle.com/display/GlassFish/FullBuildInstructions,
> > > and checked
> > > > out glassfish source code, then 'mvn install', but got following
> > > test errors.
> > > > Is there anyone know how to solve it ?
> > > > Thanks in advance.
> > > >
> > > > -------------------------------------------------------
> > > > T E S T S
> > > > -------------------------------------------------------
> > > > Running org.glassfish.resources.javamail.admin.cli.TestDocument
> > > > Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed:
> > > 0.005 sec
> > > > Running
> > > org.glassfish.resources.javamail.admin.cli.CreateJavaMailResourceTest
> > > > Feb 28, 2012 10:39:09 AM org.jvnet.hk2.config.ConfigParser
> > > handleElement
> > > > SEVERE: Ignoring unrecognized element jdbc-resource at Line
> > > number = 47
> > > > Column number = 102
> > > > System Id =
> > > >
> > > file:/home/gavin/OpenSource/glassfish/main/appserver/resources/javamail/javamail-connector/target/test-classes/DomainTest.xml
> > > > Public Id = null
> > > > Location Uri=
> > > >
> > > file:/home/gavin/OpenSource/glassfish/main/appserver/resources/javamail/javamail-connector/target/test-classes/DomainTest.xml
> > > > CharacterOffset = 2299
> > > >
> > > > Feb 28, 2012 10:39:09 AM org.jvnet.hk2.config.ConfigParser
> > > handleElement
> > > > SEVERE: Ignoring unrecognized element jdbc-resource at Line
> > > number = 48
> > > > Column number = 71
> > > > System Id =
> > > >
> > > file:/home/gavin/OpenSource/glassfish/main/appserver/resources/javamail/javamail-connector/target/test-classes/DomainTest.xml
> > > > Public Id = null
> > > > Location Uri=
> > > >
> > > file:/home/gavin/OpenSource/glassfish/main/appserver/resources/javamail/javamail-connector/target/test-classes/DomainTest.xml
> > > > CharacterOffset = 2370
> > > >
> > > > Feb 28, 2012 10:39:09 AM org.jvnet.hk2.config.ConfigParser
> > > handleElement
> > > > SEVERE: Ignoring unrecognized element jdbc-connection-pool at
> > > Line number = 49
> > > > Column number = 146
> > > > System Id =
> > > >
> > > file:/home/gavin/OpenSource/glassfish/main/appserver/resources/javamail/javamail-connector/target/test-classes/DomainTest.xml
> > > > Public Id = null
> > > > Location Uri=
> > > >
> > > file:/home/gavin/OpenSource/glassfish/main/appserver/resources/javamail/javamail-connector/target/test-classes/DomainTest.xml
> > > > CharacterOffset = 2516
> > > >
> > > > Feb 28, 2012 10:39:09 AM org.jvnet.hk2.config.ConfigParser
> > > handleElement
> > > > SEVERE: Ignoring unrecognized element jdbc-connection-pool at
> > > Line number = 53
> > > > Column number = 176
> > > > System Id =
> > > >
> > > file:/home/gavin/OpenSource/glassfish/main/appserver/resources/javamail/javamail-connector/target/test-classes/DomainTest.xml
> > > > Public Id = null
> > > > Location Uri=
> > > >
> > > file:/home/gavin/OpenSource/glassfish/main/appserver/resources/javamail/javamail-connector/target/test-classes/DomainTest.xml
> > > > CharacterOffset = 2886
> > > >
> > > > Feb 28, 2012 10:39:09 AM org.jvnet.hk2.config.ConfigParser
> > > handleElement
> > > > SEVERE: Ignoring unrecognized element transaction-service at
> > > Line number = 145
> > > > Column number = 76
> > > > System Id =
> > > >
> > > file:/home/gavin/OpenSource/glassfish/main/appserver/resources/javamail/javamail-connector/target/test-classes/DomainTest.xml
> > > > Public Id = null
> > > > Location Uri=
> > > >
> > > file:/home/gavin/OpenSource/glassfish/main/appserver/resources/javamail/javamail-connector/target/test-classes/DomainTest.xml
> > > > CharacterOffset = 8946
> > > >
> > > > Feb 28, 2012 10:39:09 AM org.jvnet.hk2.config.ConfigParser
> > > handleElement
> > > > SEVERE: Ignoring unrecognized element management-rules at Line
> > > number = 175
> > > > Column number = 42
> > > > System Id =
> > > >
> > > file:/home/gavin/OpenSource/glassfish/main/appserver/resources/javamail/javamail-connector/target/test-classes/DomainTest.xml
> > > > Public Id = null
> > > > Location Uri=
> > > >
> > > file:/home/gavin/OpenSource/glassfish/main/appserver/resources/javamail/javamail-connector/target/test-classes/DomainTest.xml
> > > > CharacterOffset = 1095
> > > >
> > > > ------------------
> > > > Gavin.Zhang_at_Beijing.COM
> > >
> > >
> > >
> >