[Geoserver-devel] [jira] Created: (GEOS-1921) Build failure: ReverseProxyfilterTest fails in web module

Build failure: ReverseProxyfilterTest fails in web module
---------------------------------------------------------

                 Key: GEOS-1921
                 URL: http://jira.codehaus.org/browse/GEOS-1921
             Project: GeoServer
          Issue Type: Bug
    Affects Versions: 1.6.x
            Reporter: Ben Caradoc-Davies
            Assignee: Andrea Aime

ReverseProxyFilterTest fails, breaking the build on the head of 1.6.x:

[INFO] -------------------------------------------------------------------------
---
[INFO] Building Web Application Module
[INFO] task-segment: [eclipse:clean, clean, install, eclipse:eclipse]
[INFO] -------------------------------------------------------------------------
---
[INFO] [eclipse:clean]
[INFO] Deleting file: .project
[INFO] Deleting file: .classpath
[INFO] Deleting file: .wtpmodules
[INFO] Deleting file: .component
[INFO] Deleting file: org.eclipse.wst.common.component
[INFO] Deleting file: org.eclipse.wst.common.project.facet.core.xml
[INFO] Deleting file: org.eclipse.jdt.core.prefs
[INFO] artifact org.geoserver.maven:config: checking for updates from mortbay-re
po
[INFO] artifact org.geoserver.maven:config: checking for updates from refraction
s-plugins
[INFO] snapshot org.geoserver.maven:config:1.6-SNAPSHOT: checking for updates fr
om mortbay-repo
[INFO] snapshot org.geoserver.maven:config:1.6-SNAPSHOT: checking for updates fr
om codehaus-snapshot-plugins
[INFO] snapshot org.geoserver.maven:config:1.6-SNAPSHOT: checking for updates fr
om refractions-plugins
[INFO] artifact org.apache.maven.plugins:maven-war-plugin: checking for updates
from mortbay-repo
[INFO] artifact org.apache.maven.plugins:maven-war-plugin: checking for updates
from refractions-plugins
[INFO] Ignoring available plugin update: 2.1-alpha-1 as it requires Maven versio
n 2.0.6
[INFO] [clean:clean]
[INFO] Deleting directory C:\Users\car605\geoserver\src\GeoServer-1.6\geoserver\
web\target
[INFO] [cobertura:clean {execution: default}]
[INFO] [config:clean {execution: configClean}]

clean:
   [delete] Deleting directory C:\Users\car605\geoserver\src\GeoServer-1.6\geose
rver\web\src\main\webapp\data
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[WARNING]
        Artifact javax.servlet:servlet-api:jar:2.4:provided retains local scope
'provided' overriding broader scope 'compile'
        given by a dependency. If this is not intended, modify or remove the loc
al scope.

[INFO] [compiler:compile]
[INFO] Compiling 109 source files to C:\Users\car605\geoserver\src\GeoServer-1.6
\geoserver\web\target\classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Compiling 3 source files to C:\Users\car605\geoserver\src\GeoServer-1.6\g
eoserver\web\target\test-classes
[INFO] [surefire:test]
[INFO] Surefire report directory: C:\Users\car605\geoserver\src\GeoServer-1.6\ge
oserver\web\target\surefire-reports

-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.vfny.geoserver.jetty.SpringContextTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.562 sec
Running org.geoserver.filters.ReverseProxyFilterTest
Tests run: 7, Failures: 6, Errors: 0, Skipped: 0, Time elapsed: 0.047 sec <<< FA
ILURE!

Results :

Failed tests:
  testDoFilterDisabled(org.geoserver.filters.ReverseProxyFilterTest)
  testDoFilterExtraProxyContext(org.geoserver.filters.ReverseProxyFilterTest)
  testDoFilterNonMatchingMime(org.geoserver.filters.ReverseProxyFilterTest)
  testDoFilterRelativeUrl(org.geoserver.filters.ReverseProxyFilterTest)
  testDoFilterProxyRoot(org.geoserver.filters.ReverseProxyFilterTest)
  testDoFilterContentContainsProxifiedUrl(org.geoserver.filters.ReverseProxyFilt
erTest)

Tests run: 8, Failures: 6, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.

Please refer to C:\Users\car605\geoserver\src\GeoServer-1.6\geoserver\web\target
\surefire-reports for the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6 minutes 26 seconds
[INFO] Finished at: Wed May 14 15:55:10 WST 2008
[INFO] Final Memory: 37M/79M
[INFO] ------------------------------------------------------------------------

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira