You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by ant elder <an...@gmail.com> on 2009/05/01 12:12:15 UTC

1.x build

I'm getting a couple of test failures building binding-gdata-runtime,
is it working for others?

   ...ant

Re: 1.x build

Posted by Simon Laws <si...@googlemail.com>.
On Fri, May 1, 2009 at 11:51 PM, Luciano Resende <lu...@gmail.com> wrote:
> On Fri, May 1, 2009 at 8:39 AM, Luciano Resende <lu...@gmail.com> wrote:
>> On Fri, May 1, 2009 at 7:40 AM, Simon Laws <si...@googlemail.com> wrote:
>>>
>>> Could it be a google problem?
>>>
>>
>> Most likely... I'll update and give it a try.
>>
>
> From the test comments, it might be a google feature
>
>        //This test case might fail
>        //because Google blogger service has limitation on new posts
> allowed everyday/every hour?
>
> I have created TUSCANY-3006 and disabled the two failing tests for now.
>
> [1] https://issues.apache.org/jira/browse/TUSCANY-3006
>
> --
> Luciano Resende
> Apache Tuscany, Apache PhotArk
> http://people.apache.org/~lresende
> http://lresende.blogspot.com/
>

I'm getting unpredictable results when I build. I think it's to do
with the way that the Mediator is retrieved in two different
activators (which get started in variable orders). Be interesting to
know if others are experiencing variable build problems.

Simon

Re: 1.x build

Posted by Luciano Resende <lu...@gmail.com>.
On Fri, May 1, 2009 at 8:39 AM, Luciano Resende <lu...@gmail.com> wrote:
> On Fri, May 1, 2009 at 7:40 AM, Simon Laws <si...@googlemail.com> wrote:
>>
>> Could it be a google problem?
>>
>
> Most likely... I'll update and give it a try.
>

>From the test comments, it might be a google feature

        //This test case might fail
        //because Google blogger service has limitation on new posts
allowed everyday/every hour?

I have created TUSCANY-3006 and disabled the two failing tests for now.

[1] https://issues.apache.org/jira/browse/TUSCANY-3006

-- 
Luciano Resende
Apache Tuscany, Apache PhotArk
http://people.apache.org/~lresende
http://lresende.blogspot.com/

Re: 1.x build

Posted by Luciano Resende <lu...@gmail.com>.
On Fri, May 1, 2009 at 7:40 AM, Simon Laws <si...@googlemail.com> wrote:
>
> Could it be a google problem?
>

Most likely... I'll update and give it a try.


-- 
Luciano Resende
Apache Tuscany, Apache PhotArk
http://people.apache.org/~lresende
http://lresende.blogspot.com/

Re: 1.x build

Posted by Simon Laws <si...@googlemail.com>.
On Fri, May 1, 2009 at 12:01 PM, ant elder <an...@apache.org> wrote:
> On Fri, May 1, 2009 at 11:53 AM, Simon Laws <si...@googlemail.com> wrote:
>> On Fri, May 1, 2009 at 11:12 AM, ant elder <an...@gmail.com> wrote:
>>> I'm getting a couple of test failures building binding-gdata-runtime,
>>> is it working for others?
>>>
>>>   ...ant
>>>
>>
>> I didn't see that yesterday when I did a full build. What's the error
>> you're seeing?
>>
>> Simon
>>
>
> A couple of these:
>
>    <error message="com.google.gdata.util.ParseException:
> org.xml.sax.SAXParseException: Premature end of file."
> type="org.osoa.sca.ServiceRuntimeException">org.osoa.sca.ServiceRuntimeException:
> com.google.gdata.util.ParseException: org.xml.sax.SAXParseException:
> Premature end of file.
>        at org.apache.tuscany.sca.binding.gdata.provider.GdataBindingInvoker$PostInvoker.invoke(GdataBindingInvoker.java:174)
>        at org.apache.tuscany.sca.core.databinding.wire.PassByValueInterceptor.invoke(PassByValueInterceptor.java:55)
>        at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:309)
>        at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:156)
>        at $Proxy7.post(Unknown Source)
>        at org.apache.tuscany.sca.binding.gdata.CustomerClientImpl.clientPost(CustomerClientImpl.java:69)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:597)
>        at org.apache.tuscany.sca.implementation.java.invocation.JavaImplementationInvoker.invoke(JavaImplementationInvoker.java:156)
>        at org.apache.tuscany.sca.binding.sca.impl.SCABindingInvoker.invoke(SCABindingInvoker.java:61)
>        at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:309)
>        at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:156)
>        at $Proxy6.clientPost(Unknown Source)
>        at org.apache.tuscany.sca.binding.gdata.GoogleBloggerServiceTestCase.testClientPost(GoogleBloggerServiceTestCase.java:99)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:597)
>        at junit.framework.TestCase.runTest(TestCase.java:168)
>        at junit.framework.TestCase.runBare(TestCase.java:134)
>        at junit.framework.TestResult$1.protect(TestResult.java:110)
>        at junit.framework.TestResult.runProtected(TestResult.java:128)
>        at junit.framework.TestResult.run(TestResult.java:113)
>        at junit.framework.TestCase.run(TestCase.java:124)
>        at junit.framework.TestSuite.runTest(TestSuite.java:232)
>        at junit.framework.TestSuite.run(TestSuite.java:227)
>        at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:79)
>        at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
>        at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
>        at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
>        at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:597)
>        at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:308)
>        at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:879)
> Caused by: com.google.gdata.util.ParseException:
> org.xml.sax.SAXParseException: Premature end of file.
>        at com.google.gdata.util.XmlParser.parse(Unknown Source)
>        at com.google.gdata.util.XmlParser.parse(Unknown Source)
>        at com.google.gdata.data.BaseEntry.parseAtom(Unknown Source)
>        at com.google.gdata.data.BaseEntry.readEntry(Unknown Source)
>        at com.google.gdata.client.Service.parseEntry(Unknown Source)
>        at com.google.gdata.client.Service.insert(Unknown Source)
>        at com.google.gdata.client.GoogleService.insert(Unknown Source)
>        at org.apache.tuscany.sca.binding.gdata.provider.GdataBindingInvoker$PostInvoker.invoke(GdataBindingInvoker.java:167)
>        ... 38 more
> Caused by: org.xml.sax.SAXParseException: Premature end of file.
>        at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1231)
>        at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
>        at org.xml.sax.helpers.ParserAdapter.parse(ParserAdapter.java:405)
>        ... 46 more
> </error>
>

I'm seeing this also. I didn't see it yesterday and AFAIK I haven't
done an update. haven't looked at it. Could it be a google problem?

Simon

Re: 1.x build

Posted by ant elder <an...@apache.org>.
On Fri, May 1, 2009 at 11:53 AM, Simon Laws <si...@googlemail.com> wrote:
> On Fri, May 1, 2009 at 11:12 AM, ant elder <an...@gmail.com> wrote:
>> I'm getting a couple of test failures building binding-gdata-runtime,
>> is it working for others?
>>
>>   ...ant
>>
>
> I didn't see that yesterday when I did a full build. What's the error
> you're seeing?
>
> Simon
>

A couple of these:

    <error message="com.google.gdata.util.ParseException:
org.xml.sax.SAXParseException: Premature end of file."
type="org.osoa.sca.ServiceRuntimeException">org.osoa.sca.ServiceRuntimeException:
com.google.gdata.util.ParseException: org.xml.sax.SAXParseException:
Premature end of file.
	at org.apache.tuscany.sca.binding.gdata.provider.GdataBindingInvoker$PostInvoker.invoke(GdataBindingInvoker.java:174)
	at org.apache.tuscany.sca.core.databinding.wire.PassByValueInterceptor.invoke(PassByValueInterceptor.java:55)
	at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:309)
	at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:156)
	at $Proxy7.post(Unknown Source)
	at org.apache.tuscany.sca.binding.gdata.CustomerClientImpl.clientPost(CustomerClientImpl.java:69)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.tuscany.sca.implementation.java.invocation.JavaImplementationInvoker.invoke(JavaImplementationInvoker.java:156)
	at org.apache.tuscany.sca.binding.sca.impl.SCABindingInvoker.invoke(SCABindingInvoker.java:61)
	at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:309)
	at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:156)
	at $Proxy6.clientPost(Unknown Source)
	at org.apache.tuscany.sca.binding.gdata.GoogleBloggerServiceTestCase.testClientPost(GoogleBloggerServiceTestCase.java:99)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at junit.framework.TestCase.runTest(TestCase.java:168)
	at junit.framework.TestCase.runBare(TestCase.java:134)
	at junit.framework.TestResult$1.protect(TestResult.java:110)
	at junit.framework.TestResult.runProtected(TestResult.java:128)
	at junit.framework.TestResult.run(TestResult.java:113)
	at junit.framework.TestCase.run(TestCase.java:124)
	at junit.framework.TestSuite.runTest(TestSuite.java:232)
	at junit.framework.TestSuite.run(TestSuite.java:227)
	at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:79)
	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
	at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:308)
	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:879)
Caused by: com.google.gdata.util.ParseException:
org.xml.sax.SAXParseException: Premature end of file.
	at com.google.gdata.util.XmlParser.parse(Unknown Source)
	at com.google.gdata.util.XmlParser.parse(Unknown Source)
	at com.google.gdata.data.BaseEntry.parseAtom(Unknown Source)
	at com.google.gdata.data.BaseEntry.readEntry(Unknown Source)
	at com.google.gdata.client.Service.parseEntry(Unknown Source)
	at com.google.gdata.client.Service.insert(Unknown Source)
	at com.google.gdata.client.GoogleService.insert(Unknown Source)
	at org.apache.tuscany.sca.binding.gdata.provider.GdataBindingInvoker$PostInvoker.invoke(GdataBindingInvoker.java:167)
	... 38 more
Caused by: org.xml.sax.SAXParseException: Premature end of file.
	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1231)
	at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
	at org.xml.sax.helpers.ParserAdapter.parse(ParserAdapter.java:405)
	... 46 more
</error>

Re: 1.x build

Posted by Simon Laws <si...@googlemail.com>.
On Fri, May 1, 2009 at 11:12 AM, ant elder <an...@gmail.com> wrote:
> I'm getting a couple of test failures building binding-gdata-runtime,
> is it working for others?
>
>   ...ant
>

I didn't see that yesterday when I did a full build. What's the error
you're seeing?

Simon