You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Jason Dillon <ja...@planet57.com> on 2007/03/28 20:57:16 UTC

Test failures in MyFaces Builder :-(

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

Re: Test failures in MyFaces Builder :-(

Posted by Jason Dillon <ja...@planet57.com>.
Applied, re-running to see if its gone. Thanks Tim :-)

--jason


On Mar 28, 2007, at 12:33 PM, Tim McConnell wrote:

> 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.parseAndC 
>> ompare(SchemaConversionTest.java:152)         at  
>> org.apache.geronimo.myfaces.deployment.SchemaConversionTest.testFaces 
>> Config10Moderate(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


Re: Test failures in MyFaces Builder :-(

Posted by Tim McConnell <ti...@gmail.com>.
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
> 
> 

Re: Test failures in MyFaces Builder :-(

Posted by Jason Dillon <ja...@planet57.com>.
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.parseAndComp 
are(SchemaConversionTest.java:152)
         at  
org.apache.geronimo.myfaces.deployment.SchemaConversionTest.testFacesCon 
fig10Moderate(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


Re: Test failures in MyFaces Builder :-(

Posted by Tim McConnell <ti...@gmail.com>.
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
>