Ben Caradoc-Davies created GEOS-5043:
----------------------------------------
Summary: Build failure in sec-jdbc with Maven 3
Key: GEOS-5043
URL: https://jira.codehaus.org/browse/GEOS-5043
Project: GeoServer
Issue Type: Bug
Components: Security
Environment: Maven 3.0.3 with Java 6 64-bit (same failure seen with 32-bit):
Apache Maven 3.0.3 (r1075438; 2011-03-01 01:31:09+0800)
Maven home: /home/car605/junk/java/maven3
Java version: 1.6.0_29, vendor: Sun Microsystems Inc.
Java home: /home/car605/junk/java/jdk1.6.0_29.x64/jre
Default locale: en_GB, platform encoding: UTF-8
OS name: "linux", version: "2.6.42.12-1.fc15.x86_64", arch: "amd64", family: "unix"
Apache Maven 3.0.3 (r1075438; 2011-03-01 01:31:09+0800)
Maven home: /home/car605/junk/java/maven
Java version: 1.6.0_26, vendor: Sun Microsystems Inc.
Java home: /home/car605/junk/java/jdk1.6.0_26.i586/jre
Default locale: en_GB, platform encoding: UTF-8
OS name: "linux", version: "2.6.42.12-1.fc15.x86_64", arch: "i386", family: "unix"
Reporter: Ben Caradoc-Davies
Assignee: Andrea Aime
Priority: Blocker
{noformat}
mvn -o -Djava.awt.headless=true -Dtest.maxHeapSize=256m clean install
{noformat}
results in:
{noformat}
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]
testRoleCalculation(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]
testPersonalizedRoles(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
testUserGroupDatabaseSetup(org.geoserver.security.jdbc.H2UserGroupServiceTest): 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]
testRemove(org.geoserver.security.jdbc.H2UserGroupServiceTest): User/group service h2 already exists
testInsert(org.geoserver.security.jdbc.H2UserGroupServiceTest): User/group service h2 already exists
testModify(org.geoserver.security.jdbc.H2UserGroupServiceTest): User/group service h2 already exists
testIsModified(org.geoserver.security.jdbc.H2UserGroupServiceTest): User/group service h2 already exists
testEmptyPassword(org.geoserver.security.jdbc.H2UserGroupServiceTest): User/group service h2 already exists
testRoleDatabaseSetup(org.geoserver.security.jdbc.PostGisRoleServiceTest): org.geoserver.data.test.LiveData cannot be cast to org.geoserver.security.jdbc.LiveDbmsDataSecurity
testRemove(org.geoserver.security.jdbc.PostGisRoleServiceTest): org.geoserver.data.test.LiveData cannot be cast to org.geoserver.security.jdbc.LiveDbmsDataSecurity
testInsert(org.geoserver.security.jdbc.PostGisRoleServiceTest): org.geoserver.data.test.LiveData cannot be cast to org.geoserver.security.jdbc.LiveDbmsDataSecurity
testModify(org.geoserver.security.jdbc.PostGisRoleServiceTest): org.geoserver.data.test.LiveData cannot be cast to org.geoserver.security.jdbc.LiveDbmsDataSecurity
testIsModified(org.geoserver.security.jdbc.PostGisRoleServiceTest): org.geoserver.data.test.LiveData cannot be cast to org.geoserver.security.jdbc.LiveDbmsDataSecurity
testUserGroupDatabaseSetup(org.geoserver.security.jdbc.SqlServerUserGroupServiceTest): org.geoserver.data.test.LiveData cannot be cast to org.geoserver.security.jdbc.LiveDbmsDataSecurity
testRemove(org.geoserver.security.jdbc.SqlServerUserGroupServiceTest): org.geoserver.data.test.LiveData cannot be cast to org.geoserver.security.jdbc.LiveDbmsDataSecurity
testInsert(org.geoserver.security.jdbc.SqlServerUserGroupServiceTest): org.geoserver.data.test.LiveData cannot be cast to org.geoserver.security.jdbc.LiveDbmsDataSecurity
testModify(org.geoserver.security.jdbc.SqlServerUserGroupServiceTest): org.geoserver.data.test.LiveData cannot be cast to org.geoserver.security.jdbc.LiveDbmsDataSecurity
testIsModified(org.geoserver.security.jdbc.SqlServerUserGroupServiceTest): org.geoserver.data.test.LiveData cannot be cast to org.geoserver.security.jdbc.LiveDbmsDataSecurity
testEmptyPassword(org.geoserver.security.jdbc.SqlServerUserGroupServiceTest): org.geoserver.data.test.LiveData cannot be cast to org.geoserver.security.jdbc.LiveDbmsDataSecurity
Tests run: 158, Failures: 3, Errors: 37, Skipped: 0
{noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira