[Geoserver-devel] [jira] (GEOS-6065) Build failure in MemoryUserDetailsServiceTest

Ben Caradoc-Davies created BugGEOS-6065
Build failure in MemoryUserDetailsServiceTest

Issue Type:

BugBug

Affects Versions:

2.5-beta

Assignee:

Andrea Aime

Components:

Global

Created:

30/Sep/13 9:45 PM

Description:

Failed tests:   testPasswordPersistence(org.geoserver.security.impl.MemoryUserDetailsServiceTest)

Point of failure is MemoryUserDetailsServiceTest:330:

assertTrue((prefix+"secret").equals(encrypted));

At the point of failure the value of the variable encrypted is “secret” and lacks the prefix “plain:”.

Failure started with this GeoTools commit, and can be fixed by reverting it:

commit d82b49e65bbd129b400c6a05cfc7d2f81876725e
Author: Andrea Aime <andrea.aime@anonymised.com>
Date:   Mon Sep 30 12:02:24 2013 +0200
[GEOT-4581] ImageMosaic forces dependencies on jdbc-h2, jdbc-postgis, jdbc-oracle

Fails with JDK6 32-bit and 64-bit in Maven and Eclipse, all in a path with spaces.

I tried adding a gt-jdbc-h2 test dependency to the main pom, but this did not fix the problem. I was suspicious of the H2 changes, but why would this affect a password change?

Environment:

Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19 21:51:28+0800)
Maven home: /home/car605/junk/java/maven3
Java version: 1.6.0_45, vendor: Sun Microsystems Inc.
Java home: /home/car605/junk/java/jdk1.6.0_45.x64/jre
Default locale: en_GB, platform encoding: UTF-8
OS name: “linux”, version: “3.10-3-amd64”, arch: “amd64”, family: “unix”

And others

Project:

GeoServer

Priority:

CriticalCritical

Reporter:

Ben Caradoc-Davies

This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: [http://www.atlassian.com/software/jira](http://www.atlassian.com/software/jira)