groovy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pascal Schumacher <pascalschumac...@gmx.net>
Subject Re: builds.apache.org - test failures
Date Wed, 28 Oct 2015 07:50:14 GMT
I solved this with a workaround by excluding the stax-api dependency 
(part of jdk 6+). Therefore test now run on window on builds.apache.org

Am 25.10.2015 um 16:44 schrieb Pascal Schumacher:
> As I have no idea how to fix them, both tests are now skipped when run 
> on builds.apache.org
>
> This means that the tests now run on ubunutu.
>
> On windows there is an additional test failure: 
> StaxBuilderTest#testStaxBuilderExternalLibrary (failure seems similar 
> to the GrapeIvyTest#testClassifierWithConf one). With grap debug 
> turned on it shows:
>
> downloading C:\.groovy\grapes\stax\stax-api\ivy-1.0.1.xml ...
>     cachedGrapes: downloading 
> C:\.groovy\grapes\stax\stax-api\ivy-1.0.1.xml
>         to C:\.groovy\grapes\stax\stax-api\ivy-1.0.1.xml.original.part
>     [SUCCESSFUL ] stax#stax-api;1.0.1!ivy.xml(ivy.original) (24ms)
> post 1.3 ivy file: using exact as default matcher
>     default-cache: parsed downloaded md file for stax#stax-api;1.0.1; 
> parsed=stax#stax-api;1.0.1
> java.net.MalformedURLException: unknown protocol: c
>     at java.net.URL.<init>(URL.java:592)
>
> https://builds.apache.org/view/Groovy/job/Groovy%20Windows/lastCompletedBuild/Windows=Windows,jdk=latest1.7/testReport/%28root%29/StaxBuilderTest/testStaxBuilderExternalLibrary/

>
>
> Any ideas?
>
> Thanks,
> Pascal
>
> Am 22.10.2015 um 20:21 schrieb Pascal Schumacher:
>> Hello everybody,
>>
>> so the groovy tests are almost working on builds.apache.org, but 
>> ClassReloadingTest#testReloading always fails (Ubuntu/Windows does 
>> not matter).
>>
>> I increased the #sleep parameters to ridiculous levels:
>>
>> https://github.com/apache/incubator-groovy/blob/ce537f7ade9e04d2911710cf2641d2231a328d30/src/test/groovy/lang/ClassReloadingTest.groovy

>>
>>
>> but to no avail:
>>
>> https://builds.apache.org/job/Groovy%20Ubuntu/lastCompletedBuild/Ubuntu=Ubuntu,jdk=latest1.6/testReport/groovy.lang/ClassReloadingTest/testReloading/

>>
>>
>> The similar 
>> ClassReloadingTesttestReloading#IfInitialFileMissesTimestamp test 
>> always succeeds.
>>
>> I suspect the failure has something to do with the file system of the 
>> server???
>>
>> Anybody got any ideas how to fix this?
>>
>> On windows there is an additional test with always fails: 
>> GrapeIvyTest#testClassifierWithConf
>>
>> https://github.com/apache/incubator-groovy/blob/d3bc07e5c2af7f5fbd344a961d549772de0680c7/src/test/groovy/grape/GrapeIvyTest.groovy

>>
>>
>> It fails with: Error grabbing Grapes -- [download failed: 
>> org.apache.ant#ant;1.7.0!ant.jar]
>>
>> https://builds.apache.org/job/Groovy%20Windows/lastCompletedBuild/Windows=Windows,jdk=jdk-1.6u45/testReport/groovy.grape/GrapeIvyTest/testClassifierWithConf/

>>
>>
>> Any ideas how how to fix this?
>>
>> Thanks,
>> Pascal
>>
>


Mime
View raw message