geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim McConnell <tim.mcco...@gmail.com>
Subject Re: Test failures in MyFaces Builder :-(
Date Wed, 28 Mar 2007 19:33:09 GMT
Hi Jason, that's my fault--I inadvertently named one of the expected XML files 
with an uppercase 'M' instead of a lowercase 'm', which presumably your OS 
cannot find. I'll open a Jira and apply a patch immediately....

Thanks,
Tim McConnell


Jason Dillon wrote:
> Here is org.apache.geronimo.myfaces.deployment.SchemaConversionTest.txt:
> 
> <snip>
> ------------------------------------------------------------------------------- 
> 
> Test set: org.apache.geronimo.myfaces.deployment.SchemaConversionTest
> ------------------------------------------------------------------------------- 
> 
> Tests run: 16, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.958 
> sec <<< FAILURE!
> testFacesConfig10Moderate(org.apache.geronimo.myfaces.deployment.SchemaConversionTest)
 
> Time elapsed: 0.037 sec  <<< ERROR!
> java.lang.NullPointerException
>         at 
> org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.parse(SchemaTypeLoaderBase.java:265)

> 
>         at org.apache.xmlbeans.XmlObject$Factory.parse(XmlObject.java:650)
>         at 
> org.apache.geronimo.myfaces.deployment.SchemaConversionTest.parseAndCompare(SchemaConversionTest.java:152)

> 
>         at 
> org.apache.geronimo.myfaces.deployment.SchemaConversionTest.testFacesConfig10Moderate(SchemaConversionTest.java:102)

> 
> </snip>
> 
> and org.apache.geronimo.myfaces.deployment.BasicTest.txt:
> 
> <snip>
> ------------------------------------------------------------------------------- 
> 
> Test set: org.apache.geronimo.myfaces.deployment.BasicTest
> ------------------------------------------------------------------------------- 
> 
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.078 sec
> </snip>
> 
>  * * *
> 
> It running 16 tests, I just did not include the summary in the snip.
> 
> --jason
> 
> 
> 
> On Mar 28, 2007, at 12:08 PM, Tim McConnell wrote:
> 
>> Hi Jason, these new tests went in last night. It's odd though that 
>> you're only running 16 instead of the 17 tests. Could you attach the 
>> output from the two text files under the surefire-reports directory ??
>>
>> Thanks,
>> Tim McConnell
>>
>>
>> Jason Dillon wrote:
>>> I ran this build twice from scratch, both fail in the same place...
>>> <snip>
>>> [INFO] 
>>> ----------------------------------------------------------------------------

>>> [INFO] Building Geronimo :: MyFaces Builder
>>> [INFO]    task-segment: [install]
>>> [INFO] 
>>> ----------------------------------------------------------------------------

>>> [INFO] [enforcer:enforce {execution: default}]
>>> [INFO] Detected JDK Version: 1.5.0 is allowed in the range [1.5,1.6).
>>> [INFO] Detected Maven Version: 2.0.5 is allowed in the range [2.0.5,).
>>> [INFO] [tools:copy-legal-files {execution: install-legal-files}]
>>> [INFO] Created dir: 
>>> /home/anthill/anthill3/agent/var/jobs/projects/Geronimo_Components/build_trunk/project/modules/geronimo-myfaces-builder/target/classes/META-INF

>>> [INFO] Copying 2 files to 
>>> /home/anthill/anthill3/agent/var/jobs/projects/Geronimo_Components/build_trunk/project/modules/geronimo-myfaces-builder/target/classes/META-INF

>>> [INFO] [resources:resources]
>>> [INFO] Using default encoding to copy filtered resources.
>>> [INFO] [compiler:compile]
>>> [INFO] Compiling 1 source file to 
>>> /home/anthill/anthill3/agent/var/jobs/projects/Geronimo_Components/build_trunk/project/modules/geronimo-myfaces-builder/target/classes

>>> [INFO] [resources:testResources]
>>> [INFO] Using default encoding to copy filtered resources.
>>> [INFO] [compiler:testCompile]
>>> [INFO] Compiling 2 source files to 
>>> /home/anthill/anthill3/agent/var/jobs/projects/Geronimo_Components/build_trunk/project/modules/geronimo-myfaces-builder/target/test-classes

>>> [INFO] [surefire:test]
>>> [INFO] Surefire report directory: 
>>> /home/anthill/anthill3/agent/var/jobs/projects/Geronimo_Components/build_trunk/project/modules/geronimo-myfaces-builder/target/surefire-reports

>>> -------------------------------------------------------
>>>  T E S T S
>>> -------------------------------------------------------
>>> Running org.apache.geronimo.myfaces.deployment.BasicTest
>>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.078 
>>> sec
>>> Running org.apache.geronimo.myfaces.deployment.SchemaConversionTest
>>> Tests run: 16, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 
>>> 1.958 sec <<< FAILURE!
>>> </snip>
>>> --jason
> 
> 

Mime
View raw message