Discussion:
[castor-dev] Failures on maven build
Ralf Joachim
2010-08-19 15:55:57 UTC
Permalink
Hi Philipp, Hi Werner,

after checking out SVN HEAD I executed 'mvn -Pit clean' followed by 'mvn
-Pit install' and recognized a few issues:

Environment:
Apache Maven 2.2.1 (rdebian-1)
Java version: 1.6.0_20
Java home: /usr/lib/jvm/java-6-sun-1.6.0.20/jre
Default locale: de_DE, platform encoding: UTF-8
OS name: "linux" version: "2.6.31-22-generic" arch: "amd64" Family: "unix"

1. Assertion failed at line 129 of
org.exolab.castor.xml.Sax2EventFromStaxProducerIntegrationTest.testPrefixUnbound()
As a workaround I commented out the asserts in line 129 and 130.

2. 17 failed tests at XML MasterTestSuite

3. For some time I frequently get OutOffMemoryExceptions at execution of
'mvn -Pit install' after previous 'mvn -Pit clean' at jdo-extension-it
or jpa-extension-it module. To workaround this i have to execute
'jdo-extinsion-it/mvn clean' and 'jpa-extension-it/mvn clean' followed
by a second call of 'mvn -Pit install'. Is there any way to increase the
memory maven uses?

If you are not able to reproduce the problems let me know and I will try
to reproduce things and send you log files.

Regards
Ralf
--
Syscon Ingenieurbüro für Meß- und Datentechnik GmbH
Ralf Joachim
Raiffeisenstraße 11
72127 Kusterdingen
Germany

Tel. +49 7071 3690 52
Mobil: +49 173 9630135
Fax +49 7071 3690 98

Internet: www.syscon.eu
E-Mail: ***@syscon.eu

Sitz der Gesellschaft: D-72127 Kusterdingen
Registereintrag: Amtsgericht Stuttgart, HRB 382295
Geschäftsleitung: Jens Joachim, Ralf Joachim


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email
Werner Guttmann
2010-08-19 21:38:42 UTC
Permalink
Hi ralf,

thanks for letting us know that something might be broken. I have asked
Philipp already to look into the failure case 1) already.

But on a more general side: to execute integration tests with Castor,
please simply issue
mvn clean verify
as all modules are not part of the modules section.

Regards
Werner
Hi Philipp, Hi Werner,
after checking out SVN HEAD I executed 'mvn -Pit clean' followed by 'mvn
Apache Maven 2.2.1 (rdebian-1)
Java version: 1.6.0_20
Java home: /usr/lib/jvm/java-6-sun-1.6.0.20/jre
Default locale: de_DE, platform encoding: UTF-8
OS name: "linux" version: "2.6.31-22-generic" arch: "amd64" Family: "unix"
1. Assertion failed at line 129 of
org.exolab.castor.xml.Sax2EventFromStaxProducerIntegrationTest.testPrefixUnbound()
As a workaround I commented out the asserts in line 129 and 130.
2. 17 failed tests at XML MasterTestSuite
3. For some time I frequently get OutOffMemoryExceptions at execution of
'mvn -Pit install' after previous 'mvn -Pit clean' at jdo-extension-it
or jpa-extension-it module. To workaround this i have to execute
'jdo-extinsion-it/mvn clean' and 'jpa-extension-it/mvn clean' followed
by a second call of 'mvn -Pit install'. Is there any way to increase the
memory maven uses?
If you are not able to reproduce the problems let me know and I will try
to reproduce things and send you log files.
Regards
Ralf
---------------------------------------------------------------------
To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email
Philipp Erlacher
2010-08-30 14:19:42 UTC
Permalink
Hi Ralf, Hi Werner,

I'm sorry for my late response.

Werner, you asked for a Sax2EventFromStax test in which there is a
prefix that's not bound to a namespace.
This test should check if the exceptions thrown by SAX and StAX are the same.


In this test there is an error AND also a wrong assumption [1].

I'm trying to unmarshal this XML document:
<?xml version="1.0" encoding="UTF-8"?><pre:UnmarshalFranz
pre:content="Bla Bla Bla" />

The error was that the test uses XMLEventReader which works for Java 6
but not for Java 5. That's why I'm going to change to XMLStreamReader
which works for both versions.

My wrong assumption was that using SAX for unmarshalling will fail but
it doesn't. Why doesn't fail it ?

Regards,
Philipp

[1] http://jira.codehaus.org/browse/CASTOR-2989
Post by Werner Guttmann
Hi ralf,
thanks for letting us know that something might be broken. I have asked
Philipp already to look into the failure case 1) already.
But on a more general side: to execute integration tests with Castor, please
simply issue
mvn clean verify
as all modules are not part of the modules section.
Regards
Werner
Hi Philipp, Hi Werner,
after checking out SVN HEAD I executed 'mvn -Pit clean' followed by 'mvn
Apache Maven 2.2.1 (rdebian-1)
Java version: 1.6.0_20
Java home: /usr/lib/jvm/java-6-sun-1.6.0.20/jre
Default locale: de_DE, platform encoding: UTF-8
OS name: "linux" version: "2.6.31-22-generic" arch: "amd64" Family: "unix"
1. Assertion failed at line 129 of
org.exolab.castor.xml.Sax2EventFromStaxProducerIntegrationTest.testPrefixUnbound()
As a workaround I commented out the asserts in line 129 and 130.
2. 17 failed tests at XML MasterTestSuite
3. For some time I frequently get OutOffMemoryExceptions at execution of
'mvn -Pit install' after previous 'mvn -Pit clean' at jdo-extension-it
or jpa-extension-it module. To workaround this i have to execute
'jdo-extinsion-it/mvn clean' and 'jpa-extension-it/mvn clean' followed
by a second call of 'mvn -Pit install'. Is there any way to increase the
memory maven uses?
If you are not able to reproduce the problems let me know and I will try
to reproduce things and send you log files.
Regards
Ralf
---------------------------------------------------------------------
  http://xircles.codehaus.org/manage_email
---------------------------------------------------------------------
To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

Loading...