[Geoserver-devel] Test Failures in Web modules

I’m getting loads of Unit test failures when I build from

https://github.com/geoserver/geoserver/commit/4a4fcee9b960d3f63f320d4c28b342d06d750743

The last commit before my PR for GSIP-113.

Going back to the commit before the CodeMirror updates builds fine

https://github.com/geoserver/geoserver/commit/b7fa881f4bbc69025cf64b9aa741c136890b96c8

MAVEN_OPTS=“-Xmx1024m -XX:MaxPermSize=256m -XX:PermSize=128m” mvn test -Pjdbcconfig -Prelease -T4 -B

I’ve tried two machines (Ubuntu 12.04, Ubuntu Gnome 14.04), both Oracle and OpenJDK,and I’ve wiped my maven repo and downloaded everything fresh, upped the Perm space, and I still get the same failures and errors.

Does anyone have any idea what’s going on? It’s making it hard to check that my fix for the failure I introduced in GSIP-113 is working.

These are the tests failing for me in the WMS UI and Demoes modules. The other web UI modules have similar errors.

Results :

Failed tests: testStyleNewPage(org.geoserver.wms.web.admin.AdminPrivilegesTest): expected: but was:

Tests in error:
testLoad(org.geoserver.wms.web.data.StyleEditPageTest)
testChangeName(org.geoserver.wms.web.data.StyleEditPageTest)
testNewStyleNoSLD(org.geoserver.wms.web.data.StyleNewPageTest): path: ‘form’ does not exist for page: BrowserInfoPage
testLoad(org.geoserver.wms.web.data.StyleNewPageTest): path: ‘form:SLD:editorContainer:editor’ does not exist for page: StyleNewPage
testNewStyle(org.geoserver.wms.web.data.StyleNewPageTest): Unable to set value. Couldn’t find component with name: SLD:editorContainer:editor

Tests run: 22, Failures: 1, Errors: 5, Skipped: 0

Results :

Tests in error:
testProxyBaseUrl(org.geoserver.web.demo.DemoRequestsPageTest)
testUrlLinkSelected(org.geoserver.web.demo.DemoRequestsPageTest)
testStructure(org.geoserver.web.demo.DemoRequestsPageTest): path: ‘demoRequestsForm:body:editorContainer:editor’ does not exist for page: DemoRequestsPage

Tests run: 19, Failures: 0, Errors: 3, Skipped: 1

Kevin Smith

Junior Software Engineer | Boundless

ksmith@anonymised.com

+1-778-785-7459

@boundlessgeo

On Tue, Jun 3, 2014 at 8:48 PM, Kevin Smith <ksmith@anonymised.com> wrote:

I'm getting loads of Unit test failures when I build from

https://github.com/geoserver/geoserver/commit/4a4fcee9b960d3f63f320d4c28b342d06d750743

Doh, I could not get my build past the wms module so I did not get there.

From the failures I think I see what's going on, the browser detection code

is changing test
expectations. I can try to fix it tomorrow, but if you have a proper fix
for the wms failures
and want to get the build back in shape, please go and revert that merge.

Cheers
Andrea

--

Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK
for more information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------