[Geoserver-devel] GetFeatureInfoTest failing locally

I have been trying to build GeoServer trunk so I can commit and this test
keeps failing.
I thought it might've been some of my changes, but I just got clean latest
copies and built both Geotools-trunk and Geoserver-trunk.
Florence actually had this same problem a few weeks ago, and she reverted to
the older version of the test (that doesn't have testCoverageGML).
I must add we both run GeoServer on Windows.

The test that fails:

Tests run: 13, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.25 sec
<<< FAILURE!
testCoverageGML(org.vfny.geoserver.wms.responses.featureinfo.GetFeatureInfoTest)
Time elapsed: 0.046 sec <<< FAILURE!
junit.framework.ComparisonFailure: expected:<2[6].0> but was:<2[7].0>
  at junit.framework.Assert.assertEquals(Assert.java:81)
  at junit.framework.Assert.assertEquals(Assert.java:87)
  at
org.custommonkey.xmlunit.XMLAssert.assertXpathEvaluatesTo(XMLAssert.java:858)
  at
org.vfny.geoserver.wms.responses.featureinfo.GetFeatureInfoTest.testCoverageGML(GetFeatureInfoTest.java:221)
--
View this message in context: http://old.nabble.com/GetFeatureInfoTest-failing-locally-tp29245848p29245848.html
Sent from the GeoServer - Dev mailing list archive at Nabble.com.

I have a copy of the trunk from yesterday (July 22) and I'm not seeing
testCoverageGML() show up in my error log from the build. In fact there
were no failures from any of the tests. I wonder if it's caused by
something that was submitted overnight? I can attach my log if anyone
is interested. Is there any checksum or version number I can get to
identify my version of the trunk?

On Fri, 23 Jul 2010 03:02:32 -0700, Rini Angreani <Rini.Angreani@anonymised.com> wrote:

I have been trying to build GeoServer trunk so I can commit and this test
keeps failing.
I thought it might've been some of my changes, but I just got clean latest
copies and built both Geotools-trunk and Geoserver-trunk.
Florence actually had this same problem a few weeks ago, and she reverted to
the older version of the test (that doesn't have testCoverageGML).
I must add we both run GeoServer on Windows.

The test that fails:

Tests run: 13, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.25 sec
<<< FAILURE!
testCoverageGML(org.vfny.geoserver.wms.responses.featureinfo.GetFeatureInfoTest)
Time elapsed: 0.046 sec <<< FAILURE!
junit.framework.ComparisonFailure: expected:<2[6].0> but was:<2[7].0>
  at junit.framework.Assert.assertEquals(Assert.java:81)
  at junit.framework.Assert.assertEquals(Assert.java:87)
  at
org.custommonkey.xmlunit.XMLAssert.assertXpathEvaluatesTo(XMLAssert.java:858)
  at
org.vfny.geoserver.wms.responses.featureinfo.GetFeatureInfoTest.testCoverageGML(GetFeatureInfoTest.java:221)

I hope I'm not getting in the way, but I know I didn't provide enough
information in my last post. I tried building the latest trunk (14621)
on windows and linux. I checked the source and GetFeatureInfoTest.java
does contain testCoverageGML() in this revision. I'm seeing some
exceptions resulting from a wmsException for a missing "Forests" layer,
but it's not showing up as a test failure. The output from both builds say
successful and 0 failed tests. Hope that saves some build time at least.

On Fri, 23 Jul 2010 03:02:32 -0700, Rini Angreani <Rini.Angreani@anonymised.com> wrote:

I have been trying to build GeoServer trunk so I can commit and this test
keeps failing.
I thought it might've been some of my changes, but I just got clean latest
copies and built both Geotools-trunk and Geoserver-trunk.
Florence actually had this same problem a few weeks ago, and she reverted to
the older version of the test (that doesn't have testCoverageGML).
I must add we both run GeoServer on Windows.

The test that fails:

Tests run: 13, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.25 sec
<<< FAILURE!
testCoverageGML(org.vfny.geoserver.wms.responses.featureinfo.GetFeatureInfoTest)
Time elapsed: 0.046 sec <<< FAILURE!
junit.framework.ComparisonFailure: expected:<2[6].0> but was:<2[7].0>
  at junit.framework.Assert.assertEquals(Assert.java:81)
  at junit.framework.Assert.assertEquals(Assert.java:87)
  at
org.custommonkey.xmlunit.XMLAssert.assertXpathEvaluatesTo(XMLAssert.java:858)
  at
org.vfny.geoserver.wms.responses.featureinfo.GetFeatureInfoTest.testCoverageGML(GetFeatureInfoTest.java:221)

Hi Asael,

Thanks for helping. My colleague Ben suggested to try a different Java
version, and it works with 1.6!
I was using jdk1.5.0_16 in Eclipse, and Victor uses jdk1.5.0_22 which works.
I switched to jdk1.6.0_17 and it worked, then I switched back to jdk1.5.0_16
and proved that the test failed again.
Since according to this page
(http://geoserver.org/pages/viewpage.action?pageId=1277991), we still
support java 1.5 JDK, I'm going to raise a bug report for this.

Cheers

Rini

Asael Temple wrote:

I hope I'm not getting in the way, but I know I didn't provide enough
information in my last post. I tried building the latest trunk (14621)
on windows and linux. I checked the source and GetFeatureInfoTest.java
does contain testCoverageGML() in this revision. I'm seeing some
exceptions resulting from a wmsException for a missing "Forests" layer,
but it's not showing up as a test failure. The output from both builds say
successful and 0 failed tests. Hope that saves some build time at least.

On Fri, 23 Jul 2010 03:02:32 -0700, Rini Angreani <Rini.Angreani@anonymised.com>
wrote:

I have been trying to build GeoServer trunk so I can commit and this test
keeps failing.
I thought it might've been some of my changes, but I just got clean
latest
copies and built both Geotools-trunk and Geoserver-trunk.
Florence actually had this same problem a few weeks ago, and she
reverted to
the older version of the test (that doesn't have testCoverageGML).
I must add we both run GeoServer on Windows.

The test that fails:

Tests run: 13, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.25 sec
<<< FAILURE!
testCoverageGML(org.vfny.geoserver.wms.responses.featureinfo.GetFeatureInfoTest)
Time elapsed: 0.046 sec <<< FAILURE!
junit.framework.ComparisonFailure: expected:<2[6].0> but was:<2[7].0>
  at junit.framework.Assert.assertEquals(Assert.java:81)
  at junit.framework.Assert.assertEquals(Assert.java:87)
  at
org.custommonkey.xmlunit.XMLAssert.assertXpathEvaluatesTo(XMLAssert.java:858)
  at
org.vfny.geoserver.wms.responses.featureinfo.GetFeatureInfoTest.testCoverageGML(GetFeatureInfoTest.java:221)

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

--
View this message in context: http://old.nabble.com/GetFeatureInfoTest-failing-locally-tp29245848p29263031.html
Sent from the GeoServer - Dev mailing list archive at Nabble.com.