Niels,

I added two System.stderr.println statements to print the HTML responses 
before parsing is attempted:
https://github.com/geoserver/geoserver/commit/e670b241f8322a755a0c893b2ecb65b48c33f432

The next Winbuild failure log should give us an idea what is going on.

Kind regards,
Ben.

On 17/02/16 09:14, Ben Caradoc-Davies wrote:
> Niels,
>
> the only difference I can see is the child link. Could Windows be
> returning a resource called '"mydir/myres"' (with the quotes in the
> string) or a backslash or something else which would break the HTML
> parser? Some problem with resource path canonicalisation of wWindows? I
> thought this situation would be covered in the Resource unit tests,
> which pass on Windows. Can you confirm?
>
> The encoding of the child href is very thin (only ampersand is
> replaced). Encoding " to " might give a better error message. And
> what about percent-encoding? What happens to spaces or # or other
> characters in resource names?
>
> I am guessing a quote or backslash in the child resource href on Windows.
>
> Kind regards,
> Ben.
>
> On 17/02/16 04:54, Niels Charlier wrote:
>> Hi Ben,
>>
>> I solved an issue in the test with Italian dates on the windows server,
>> but testDirectoryHTML is still failing on windows, and it appears to be
>> the same problem as when we tested with |ISO-8859-15 |before we fixed
>> the template charset issue. it could be anything though, because it
>> seems that exceptions thrown by the template process are being captured
>> and ignored, and an empty result is returned instead.
>>
>> What is incomprehensible to me is why testResourceMetadataHTML is
>> working. The tests and the templates are nearly identical. This is a
>> mystery to me. Can you see any significant difference?
>>
>> @geosolutions: Can I get access to the server again to see if I can
>> figure it out?
>>
>> Regards
>> Niels
>>
>>
>> On 16-02-16 16:16, winbu...@geo-solutions.it wrote:
>>> See
>>> <http://winbuild.geo-solutions.it/jenkins/job/GeoServer-Master/2635/changes>
>>>
>>>
>>> Changes:
>>>
>>> [niels] GEOS-7407 / GSIP 137 ResourceStore Rest API: fix date test
>>> other languages
>>>
>>> [andrea.aime] [GEOS-7428] Allow cancelling a WPS import process
>>>
>>> ------------------------------------------
>>> [...truncated 57520 lines...]
>>> [INFO] Main Module ....................................... SUCCESS
>>> [3:41.406s]
>>> [INFO] GeoServer Security Modules ........................ SUCCESS
>>> [0.593s]
>>> [INFO] GeoServer JDBC Security Module .................... SUCCESS
>>> [32.086s]
>>> [INFO] GeoServer LDAP Security Module .................... SUCCESS
>>> [13.721s]
>>> [INFO] Web Coverage Service Module ....................... SUCCESS
>>> [4.138s]
>>> [INFO] Web Coverage Service 1.0 Module ................... SUCCESS
>>> [1:03.111s]
>>> [INFO] Web Coverage Service 1.1 Module ................... SUCCESS
>>> [1:09.850s]
>>> [INFO] Web Coverage Service 2.0 Module ................... SUCCESS
>>> [1:59.942s]
>>> [INFO] Web Feature Service Module ........................ SUCCESS
>>> [2:48.675s]
>>> [INFO] Web Map Service Module ............................ SUCCESS
>>> [4:29.406s]
>>> [INFO] KML support for GeoServer ......................... SUCCESS
>>> [49.475s]
>>> [INFO] GeoWebCache (GWC) Module .......................... SUCCESS
>>> [1:45.223s]
>>> [INFO] REST Support Module ............................... SUCCESS
>>> [26.014s]
>>> [INFO] REST Configuration Service Module ................. FAILURE
>>> [2:11.819s]
>>> [INFO] GeoServer Web Modules ............................. SKIPPED
>>> [INFO] Core UI Module .................................... SKIPPED
>>> [INFO] WMS UI Module ..................................... SKIPPED
>>> [INFO] GWC UI Module ..................................... SKIPPED
>>> [INFO] WFS UI Module ..................................... SKIPPED
>>> [INFO] Demos Module ...................................... SKIPPED
>>> [INFO] WCS UI Module ..................................... SKIPPED
>>> [INFO] Security UI Modules ............................... SKIPPED
>>> [INFO] Security UI Core Module ........................... SKIPPED
>>> [INFO] Security UI JDBC Module ........................... SKIPPED
>>> [INFO] Security UI LDAP Module ........................... SKIPPED
>>> [INFO] REST UI Module .................................... SKIPPED
>>> [INFO] GeoServer Web Application ......................... SKIPPED
>>> [INFO] Community Space ................................... SKIPPED
>>> [INFO] GeoServer Extensions .............................. SKIPPED
>>> [INFO] Application Schema Support ........................ SKIPPED
>>> [INFO] Application Schema Integration Test ............... SKIPPED
>>> [INFO] Sample DataAccess Integration Test ................ SKIPPED
>>> [INFO] ArcSDE DataStore Extension ........................ SKIPPED
>>> [INFO] H2 DataStore Extension ............................ SKIPPED
>>> [INFO] SQL Server DataStore Extension .................... SKIPPED
>>> [INFO] Oracle DataStore Extension ........................ SKIPPED
>>> [INFO] MySQL DataStore Extension ......................... SKIPPED
>>> [INFO] DB2 DataStore Extension ........................... SKIPPED
>>> [INFO] ImageMap Output Format ............................ SKIPPED
>>> [INFO] ImageI/O-Ext GDAL Coverage Extension .............. SKIPPED
>>> [INFO] JP2K Coverage Extension ........................... SKIPPED
>>> [INFO] OGR parent ........................................ SKIPPED
>>> [INFO] OGR CORE .......................................... SKIPPED
>>> [INFO] OGR WFS ........................................... SKIPPED
>>> [INFO] Web Processing Service parent ..................... SKIPPED
>>> [INFO] Web Processing Service Module ..................... SKIPPED
>>> [INFO] OGR WPS ........................................... SKIPPED
>>> [INFO] Excel Output Format ............................... SKIPPED
>>> [INFO] Chart external graphics support ................... SKIPPED
>>> [INFO] Feature Generalization Extension .................. SKIPPED
>>> [INFO] Image Mosaic JDBC Extension ....................... SKIPPED
>>> [INFO] OWS request flow controller ....................... SKIPPED
>>> [INFO] Web process status sharing with Hazelcast ......... SKIPPED
>>> [INFO] Web Processing Service GUI ........................ SKIPPED
>>> [INFO] GeoServer Layer Querying filter functions ......... SKIPPED
>>> [INFO] Teradata DataStore Extension ...................... SKIPPED
>>> [INFO] GeoServer Monitor Extensions ...................... SKIPPED
>>> [INFO] Core Monitor Extension ............................ SKIPPED
>>> [INFO] Monitor Hibernate Extension ....................... SKIPPED
>>> [INFO] GeoServer Security Extension Modules .............. SKIPPED
>>> [INFO] GeoServer CAS Security Module ..................... SKIPPED
>>> [INFO] GeoServer Security Extension Web Modules .......... SKIPPED
>>> [INFO] GeoServer CAS Security Web Module ................. SKIPPED
>>> [INFO] XLST based WFS output format ...................... SKIPPED
>>> [INFO] GeoServer INSPIRE Extensions ...................... SKIPPED
>>> [INFO] GeoServer CSS Styling ............................. SKIPPED
>>> [INFO] Catalog Services for the Web parent ............... SKIPPED
>>> [INFO] Catalog Services for the Web interfaces ........... SKIPPED
>>> [INFO] Catalog Services for the Web - Simple CatalogStore
>>> implementation  SKIPPED
>>> [INFO] Catalog Services for the Web core module .......... SKIPPED
>>> [INFO] CSW UI Module ..................................... SKIPPED
>>> [INFO] DXF WFS output format and WPS PPIO ................ SKIPPED
>>> [INFO] DXF WFS output format ............................. SKIPPED
>>> [INFO] DXF WPS PPIO ...................................... SKIPPED
>>> [INFO] Printing Module ................................... SKIPPED
>>> [INFO] GeoServer WCS 2.0 Earth Observation Extensions .... SKIPPED
>>> [INFO] Web Coverage Service 2.0 Earth Observation extensions  SKIPPED
>>> [INFO] Web Coverage Service 2.0 Earth Observation GUI extension  SKIPPED
>>> [INFO] GeoServer libjpeg-turbo Module .................... SKIPPED
>>> [INFO] GeoServer Data Importer ........................... SKIPPED
>>> [INFO] Importer Core Module .............................. SKIPPED
>>> [INFO] Importer REST Api Module .......................... SKIPPED
>>> [INFO] Importer Berkley DB Persistence Module ............ SKIPPED
>>> [INFO] Importer Web UI Module ............................ SKIPPED
>>> [INFO] GRIB Coverage Format .............................. SKIPPED
>>> [INFO] NetCDF Coverage format ............................ SKIPPED
>>> [INFO] WCS NetCDF output Module .......................... SKIPPED
>>> [INFO] GeoServer Release Module .......................... SKIPPED
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] BUILD FAILURE
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Total time: 22:11.467s
>>> [INFO] Finished at: Tue Feb 16 16:15:43 CET 2016
>>> [INFO] Final Memory: 61M/565M
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> [JENKINS] Archiving disabled
>>> Waiting for Jenkins to finish collecting data
>>> [ERROR] Failed to execute goal
>>> org.apache.maven.plugins:maven-surefire-plugin:2.12.3:test
>>> (default-test) on project gs-restconfig: There are test failures.
>>> [ERROR]
>>> [ERROR] Please refer to
>>> C:\.jenkins\jobs\GeoServer-Master\workspace\src\restconfig\target\surefire-reports
>>> for the individual test results.
>>> [ERROR] -> [Help 1]
>>> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
>>> execute goal
>>> org.apache.maven.plugins:maven-surefire-plugin:2.12.3:test
>>> (default-test) on project gs-restconfig: There are test failures.
>>>
>>> Please refer to
>>> C:\.jenkins\jobs\GeoServer-Master\workspace\src\restconfig\target\surefire-reports
>>> for the individual test results.
>>>      at
>>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
>>>
>>>      at
>>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
>>>
>>>      at
>>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
>>>
>>>      at
>>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
>>>
>>>      at
>>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
>>>
>>>      at
>>> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
>>>
>>>      at
>>> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
>>>
>>>      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
>>>      at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
>>>      at
>>> org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:117)
>>>
>>>      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>      at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>>>
>>>      at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>>
>>>      at java.lang.reflect.Method.invoke(Method.java:497)
>>>      at
>>> org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329)
>>>
>>>      at
>>> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239)
>>>
>>>      at
>>> org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:178)
>>>      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>      at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>>>
>>>      at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>>
>>>      at java.lang.reflect.Method.invoke(Method.java:497)
>>>      at hudson.maven.Maven3Builder.call(Maven3Builder.java:136)
>>>      at hudson.maven.Maven3Builder.call(Maven3Builder.java:71)
>>>      at hudson.remoting.UserRequest.perform(UserRequest.java:121)
>>>      at hudson.remoting.UserRequest.perform(UserRequest.java:49)
>>>      at hudson.remoting.Request$2.run(Request.java:325)
>>>      at
>>> hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
>>>
>>>      at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>>>      at
>>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>>>
>>>      at
>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>>>
>>>      at java.lang.Thread.run(Thread.java:745)
>>> Caused by: org.apache.maven.plugin.MojoFailureException: There are
>>> test failures.
>>>
>>> Please refer to
>>> C:\.jenkins\jobs\GeoServer-Master\workspace\src\restconfig\target\surefire-reports
>>> for the individual test results.
>>>      at
>>> org.apache.maven.plugin.surefire.SurefireHelper.reportExecution(SurefireHelper.java:83)
>>>
>>>      at
>>> org.apache.maven.plugin.surefire.SurefirePlugin.writeSummary(SurefirePlugin.java:177)
>>>
>>>      at
>>> org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary(SurefirePlugin.java:151)
>>>
>>>      at
>>> org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:650)
>>>
>>>      at
>>> org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:586)
>>>
>>>      at
>>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
>>>
>>>      at
>>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
>>>
>>>      ... 30 more
>>> [ERROR]
>>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>>> [ERROR]
>>> [ERROR] For more information about the errors and possible solutions,
>>> please read the following articles:
>>> [ERROR] [Help 1]
>>> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
>>> [ERROR]
>>> [ERROR] After correcting the problems, you can resume the build with
>>> the command
>>> [ERROR]   mvn <goals> -rf :gs-restconfig
>>> channel stopped
>>> Started calculate disk usage of build
>>> Finished Calculation of disk usage of build in 0 seconds
>>> Started calculate disk usage of workspace
>>> Finished Calculation of disk usage of workspace in  2 second
>>>
>>> ------------------------------------------------------------------------------
>>>
>>> Site24x7 APM Insight: Get Deep Visibility into Application Performance
>>> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
>>> Monitor end-to-end web transactions and take corrective actions now
>>> Troubleshoot faster and improve end-user experience. Signup Now!
>>> http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
>>> _______________________________________________
>>> Geoserver-devel mailing list
>>> Geoserver-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>>
>>
>

-- 
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to