Even with this patch I also see multiple test failures in jdbc-sec. Might need another Jira issue:
Results :
Failed tests:
testConfiguration(org.geoserver.security.jdbc.H2UserDetailsServiceTest): org.h2.jdbc.JdbcSQLException: Table USERS already exists; SQL statement:
create table users(name varchar(128) not null,password varchar(254), enabled char(1) not null, primary key(name)) [42101-119]
Tests in error:
testWrapRoleService(org.geoserver.security.jdbc.JDBCGroupAdminServiceTest): org.h2.jdbc.JdbcSQLException: Unique index or primary key violation: PRIMARY_KEY_7 ON PUBLIC.GROUPS(NAME); SQL statement:
insert into groups(name ,enabled) values (?,?) [23001-119]
testWrapUserGroupService(org.geoserver.security.jdbc.JDBCGroupAdminServiceTest): User/group service gaugs already exists
testHideAdminRole(org.geoserver.security.jdbc.JDBCGroupAdminServiceTest): User/group service gaugs already exists
testHideGroups(org.geoserver.security.jdbc.JDBCGroupAdminServiceTest): User/group service gaugs already exists
testRoleServiceReadOnly(org.geoserver.security.jdbc.JDBCGroupAdminServiceTest): User/group service gaugs already exists
testCreateNewUser(org.geoserver.security.jdbc.JDBCGroupAdminServiceTest): User/group service gaugs already exists
testAssignUserToGroup(org.geoserver.security.jdbc.JDBCGroupAdminServiceTest): User/group service gaugs already exists
testRemoveUserInGroup(org.geoserver.security.jdbc.JDBCGroupAdminServiceTest): User/group service gaugs already exists
testRemoveUserNotInGroup(org.geoserver.security.jdbc.JDBCGroupAdminServiceTest): User/group service gaugs already exists
testRoleDatabaseSetup(org.geoserver.security.jdbc.DB2RoleServiceTest): org.geoserver.data.test.LiveData cannot be cast to org.geoserver.security.jdbc.LiveDbmsDataSecurity
testRemove(org.geoserver.security.jdbc.DB2RoleServiceTest): org.geoserver.data.test.LiveData cannot be cast to org.geoserver.security.jdbc.LiveDbmsDataSecurity
testInsert(org.geoserver.security.jdbc.DB2RoleServiceTest): org.geoserver.data.test.LiveData cannot be cast to org.geoserver.security.jdbc.LiveDbmsDataSecurity
testModify(org.geoserver.security.jdbc.DB2RoleServiceTest): org.geoserver.data.test.LiveData cannot be cast to org.geoserver.security.jdbc.LiveDbmsDataSecurity
testIsModified(org.geoserver.security.jdbc.DB2RoleServiceTest): org.geoserver.data.test.LiveData cannot be cast to org.geoserver.security.jdbc.LiveDbmsDataSecurity
testUserGroupDatabaseSetup(org.geoserver.security.jdbc.PostGisUserGroupServiceTest): org.geoserver.data.test.LiveData cannot be cast to org.geoserver.security.jdbc.LiveDbmsDataSecurity
testRemove(org.geoserver.security.jdbc.PostGisUserGroupServiceTest): org.geoserver.data.test.LiveData cannot be cast to org.geoserver.security.jdbc.LiveDbmsDataSecurity
testInsert(org.geoserver.security.jdbc.PostGisUserGroupServiceTest): org.geoserver.data.test.LiveData cannot be cast to org.geoserver.security.jdbc.LiveDbmsDataSecurity
testModify(org.geoserver.security.jdbc.PostGisUserGroupServiceTest): org.geoserver.data.test.LiveData cannot be cast to org.geoserver.security.jdbc.LiveDbmsDataSecurity
testIsModified(org.geoserver.security.jdbc.PostGisUserGroupServiceTest): org.geoserver.data.test.LiveData cannot be cast to org.geoserver.security.jdbc.LiveDbmsDataSecurity
testEmptyPassword(org.geoserver.security.jdbc.PostGisUserGroupServiceTest): org.geoserver.data.test.LiveData cannot be cast to org.geoserver.security.jdbc.LiveDbmsDataSecurity
Justin, there was a time when you configured Hudson to build in a path with spaces. I think that was a great way of catching problems like this.