You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@esme.apache.org by Richard Hirsch <hi...@gmail.com> on 2010/09/06 14:57:37 UTC

1.1 Release: Failed Test

I aws going through the release preparation steps and we have a failing test:

"Twitter API should show message in user, home and public timelines"

I'd know whether the problem is a timing problem or something else.

---------------


Tests run: 14, Failures: 1, Errors: 0, Skipped: 0, Time elapsed:
37.046 sec <<< FAILURE!
Twitter API should show message in user, home and public timelines
Time elapsed: 0.016 sec  <<< FAILURE!
org.specs.runner.UserError: <statuses success="true"
operation="statuses"><status><user><followers_count>0</followers_count><description>N/A</description><url></url><profile_image_url></profile_image_url><protected>false</protected><location>Europe/Berlin</location><screen_name>twitter_user</screen_name><name>Unknown
Unknown</name><id>23</id></user><text>User twitter_user changed
profile. Name: Unknown Unknown
Image:</text><in_reply_to_screen_name></in_reply_to_screen_name><truncated>false</truncated><in_reply_to_user_id></in_reply_to_user_id><favorited>false</favorited><created_at>Mon
Sep 06 14:52:07 +0200
2010</created_at><source>profile</source><in_reply_to_status_id></in_reply_to_status_id><id>42</id></status></statuses>
doesn't contain <text>test_msg1</text>
	at org.apache.esme.api.TwitterAPISpecs$XmlResponse$$anonfun$$bslash$bslash$1.apply(TwitterAPITest.scala:131)
	at org.apache.esme.api.TwitterAPISpecs$XmlResponse$$anonfun$$bslash$bslash$1.apply(TwitterAPITest.scala:131)
	at org.apache.esme.api.TwitterAPISpecs$XmlResponse$class.xmlMatch(TwitterAPITest.scala:126)
	at org.apache.esme.api.TwitterAPISpecs$$anon$1.xmlMatch(TwitterAPITest.scala:143)
	at org.apache.esme.api.TwitterAPISpecs$XmlResponse$class.$bslash$bslash(TwitterAPITest.scala:131)
	at org.apache.esme.api.TwitterAPISpecs$$anon$1.$bslash$bslash(TwitterAPITest.scala:143)
	at org.apache.esme.api.TwitterAPISpecs$$anonfun$1$$anonfun$apply$24.apply(TwitterAPITest.scala:163)
	at org.apache.esme.api.TwitterAPISpecs$$anonfun$1$$anonfun$apply$24.apply(TwitterAPITest.scala:160)
	at org.specs.specification.LifeCycle$class.withCurrent(ExampleLifeCycle.scala:64)
	at org.specs.specification.Examples.withCurrent(Examples.scala:52)
	at org.specs.specification.Examples$$anonfun$specifyExample$1.apply(Examples.scala:108)
	at org.specs.specification.Examples$$anonfun$specifyExample$1.apply(Examples.scala:108)
	at org.specs.specification.ExampleExecution$$anonfun$3$$anonfun$apply$5.apply(ExampleLifeCycle.scala:195)
	at scala.Option.getOrElse(Option.scala:61)
	at org.specs.specification.LifeCycle$class.executeExpectations(ExampleLifeCycle.scala:86)
	at org.specs.specification.BaseSpecification.executeExpectations(BaseSpecification.scala:55)
	at org.specs.specification.LifeCycle$$anonfun$executeExpectations$1.apply(ExampleLifeCycle.scala:86)
	at org.specs.specification.LifeCycle$$anonfun$executeExpectations$1.apply(ExampleLifeCycle.scala:86)
	at scala.Option.map(Option.scala:70)
	at org.specs.specification.LifeCycle$class.executeExpectations(ExampleLifeCycle.scala:86)
	at org.specs.specification.BaseSpecification.executeExpectations(BaseSpecification.scala:55)
	at org.specs.specification.ExampleContext$$anonfun$executeExpectations$2$$anonfun$apply$1$$anonfun$apply$2.apply(ExampleContext.scala:58)
	at org.specs.specification.ExampleContext$$anonfun$executeExpectations$2$$anonfun$apply$1$$anonfun$apply$2.apply(ExampleContext.scala:58)
	at scala.Option.map(Option.scala:70)
	at org.specs.specification.ExampleContext$$anonfun$executeExpectations$2$$anonfun$apply$1.apply(ExampleContext.scala:58)
	at org.specs.specification.ExampleContext$$anonfun$executeExpectations$2$$anonfun$apply$1.apply(ExampleContext.scala:58)
	at org.specs.specification.ExampleContext$class.id$1(ExampleContext.scala:31)
	at org.specs.specification.ExampleContext$$anonfun$1.apply(ExampleContext.scala:32)
	at org.specs.specification.ExampleContext$$anonfun$1.apply(ExampleContext.scala:32)
	at org.specs.specification.ExampleContext$$anonfun$executeExpectations$2.apply(ExampleContext.scala:58)
	at org.specs.specification.ExampleContext$$anonfun$executeExpectations$2.apply(ExampleContext.scala:57)
	at scala.Option.map(Option.scala:70)
	at org.specs.specification.ExampleContext$class.executeExpectations(ExampleContext.scala:57)
	at org.specs.specification.Examples.executeExpectations(Examples.scala:52)
	at org.specs.specification.ExampleContext$$anonfun$executeExpectations$2$$anonfun$apply$1$$anonfun$apply$2.apply(ExampleContext.scala:58)
	at org.specs.specification.ExampleContext$$anonfun$executeExpectations$2$$anonfun$apply$1$$anonfun$apply$2.apply(ExampleContext.scala:58)
	at scala.Option.map(Option.scala:70)
	at org.specs.specification.ExampleContext$$anonfun$executeExpectations$2$$anonfun$apply$1.apply(ExampleContext.scala:58)
	at org.specs.specification.ExampleContext$$anonfun$executeExpectations$2$$anonfun$apply$1.apply(ExampleContext.scala:58)
	at org.specs.specification.ExampleContext$class.id$1(ExampleContext.scala:31)
	at org.specs.specification.ExampleContext$$anonfun$1.apply(ExampleContext.scala:32)
	at org.specs.specification.ExampleContext$$anonfun$1.apply(ExampleContext.scala:32)
	at org.specs.specification.ExampleContext$$anonfun$executeExpectations$2.apply(ExampleContext.scala:58)
	at org.specs.specification.ExampleContext$$anonfun$executeExpectations$2.apply(ExampleContext.scala:57)
	at scala.Option.map(Option.scala:70)
	at org.specs.specification.ExampleContext$class.executeExpectations(ExampleContext.scala:57)
	at org.specs.specification.Examples.executeExpectations(Examples.scala:52)
	at org.specs.specification.ExampleExecution$$anonfun$3.apply(ExampleLifeCycle.scala:195)
	at org.specs.specification.ExampleExecution$$anonfun$3.apply(ExampleLifeCycle.scala:182)
	at org.specs.specification.ExampleExecution$$anonfun$2.apply(ExampleLifeCycle.scala:165)
	at org.specs.specification.ExampleExecution.execute(ExampleLifeCycle.scala:215)
	at org.specs.specification.SpecificationExecutor$$anonfun$executeExample$1.apply(SpecificationExecutor.scala:51)
	at org.specs.specification.SpecificationExecutor$$anonfun$executeExample$1.apply(SpecificationExecutor.scala:51)
	at scala.Option.map(Option.scala:70)
	at org.specs.specification.SpecificationExecutor$class.executeExample(SpecificationExecutor.scala:51)
	at org.specs.specification.BaseSpecification.executeExample(BaseSpecification.scala:55)
	at org.specs.specification.BaseSpecification.executeExample(BaseSpecification.scala:55)
	at org.specs.specification.ExampleLifeCycle$$anonfun$executeExample$1.apply(ExampleLifeCycle.scala:124)
	at org.specs.specification.ExampleLifeCycle$$anonfun$executeExample$1.apply(ExampleLifeCycle.scala:124)
	at scala.Option.map(Option.scala:70)
	at org.specs.specification.ExampleLifeCycle$class.executeExample(ExampleLifeCycle.scala:124)
	at org.specs.specification.Examples.executeExample(Examples.scala:52)
	at org.specs.specification.Examples.executeExample(Examples.scala:52)
	at org.specs.specification.Examples$$anonfun$executeExamples$1.apply(Examples.scala:80)
	at org.specs.specification.Examples$$anonfun$executeExamples$1.apply(Examples.scala:80)
	at scala.Option.map(Option.scala:70)
	at org.specs.specification.Examples.executeExamples(Examples.scala:80)
	at org.specs.specification.ExampleStructure$class.examples(ExampleStructure.scala:77)
	at org.specs.specification.Examples.examples(Examples.scala:52)
	at org.specs.runner.ExamplesTestSuite$$anonfun$initialize$4.apply(JUnit.scala:157)
	at org.specs.runner.ExamplesTestSuite$$anonfun$initialize$4.apply(JUnit.scala:153)
	at scala.List.foreach(List.scala:841)
	at org.specs.runner.ExamplesTestSuite.initialize(JUnit.scala:153)
	at org.specs.runner.JUnitSuite$class.init(JUnit.scala:53)
	at org.specs.runner.ExamplesTestSuite.init(JUnit.scala:143)
	at org.specs.runner.JUnitSuite$class.run(JUnit.scala:60)
	at org.specs.runner.ExamplesTestSuite.run(JUnit.scala:172)
	at junit.framework.TestSuite.runTest(TestSuite.java:232)
	at junit.framework.TestSuite.run(TestSuite.java:227)
	at org.specs.runner.JUnitSuite$class.run(JUnit.scala:61)
	at org.specs.runner.JUnit3.run(JUnit.scala:124)
	at org.specs.runner.JUnitSuiteRunner.run(JUnitSuiteRunner.scala:45)
	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
	at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
	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:345)
	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)

Re: 1.1 Release: Failed Test

Posted by Richard Hirsch <hi...@gmail.com>.
I'll do that any way during the release process - used to it.

On Mon, Sep 6, 2010 at 3:25 PM, Ethan Jewett <es...@gmail.com> wrote:
> Doubt it, it should all run locally. Can you try "mvn clean test"?
>
> Also "svn status" to make sure you don't have any local changes hanging around.
>
> Hopefully you don't need to clean out your maven repository and start
> from scratch. :-(
>
> Ethan
>
> On Mon, Sep 6, 2010 at 3:21 PM, Richard Hirsch <hi...@gmail.com> wrote:
>> On Mon, Sep 6, 2010 at 3:19 PM, Ethan Jewett <es...@gmail.com> wrote:
>>> Tests are successful for me locally (mvn clean test) and Hudson was
>>> happy as of an hour ago (https://hudson.apache.org/hudson/job/ESME/).
>>>
>>> What exactly are you doing that results in this test failure?
>>
>> mvn test - might be some sort of a proxy problem??
>>>
>>> Ethan
>>>
>>> On Mon, Sep 6, 2010 at 3:05 PM, Richard Hirsch <hi...@gmail.com> wrote:
>>>> Yep - this is the support of those legacy apps that still support
>>>> basic authentication in the Twitter API.  We'll have to decide how we
>>>> deal with OAuth but not in the 1.1 release. Either 1.2 or a later
>>>> release.
>>>>
>>>> On Mon, Sep 6, 2010 at 3:01 PM, Joe Schaefer <jo...@yahoo.com> wrote:
>>>>> You are aware of the OAuth mandate for twitter
>>>>> apps, right?  It started Sept 1.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> ----- Original Message ----
>>>>>> From: Richard Hirsch <hi...@gmail.com>
>>>>>> To: esme-dev@incubator.apache.org
>>>>>> Sent: Mon, September 6, 2010 8:57:37 AM
>>>>>> Subject: 1.1 Release: Failed Test
>>>>>>
>>>>>> I aws going through the release preparation steps and we have a failing  test:
>>>>>>
>>>>>> "Twitter API should show message in user, home and public  timelines"
>>>>>>
>>>>>> I'd know whether the problem is a timing problem or something  else.
>>>>>>
>>>>>> ---------------
>>>>>>
>>>>>>
>>>>>> Tests run: 14, Failures: 1, Errors: 0,  Skipped: 0, Time elapsed:
>>>>>> 37.046 sec <<< FAILURE!
>>>>>> Twitter API  should show message in user, home and public timelines
>>>>>> Time elapsed: 0.016  sec  <<< FAILURE!
>>>>>> org.specs.runner.UserError: <statuses  success="true"
>>>>>>operation="statuses"><status><user><followers_count>0</followers_count><description>N/A</description><url></url><profile_image_url></profile_image_url><protected>false</protected><location>Europe/Berlin</location><screen_name>twitter_user</screen_name><name>Unknown
>>>>>>n
>>>>>> Unknown</name><id>23</id></user><text>User  twitter_user changed
>>>>>> profile. Name: Unknown  Unknown
>>>>>>Image:</text><in_reply_to_screen_name></in_reply_to_screen_name><truncated>false</truncated><in_reply_to_user_id></in_reply_to_user_id><favorited>false</favorited><created_at>Mon
>>>>>>n
>>>>>> Sep  06 14:52:07  +0200
>>>>>>2010</created_at><source>profile</source><in_reply_to_status_id></in_reply_to_status_id><id>42</id></status></statuses>
>>>>>>>
>>>>>> doesn't  contain <text>test_msg1</text>
>>>>>>     at
>>>>>>org.apache.esme.api.TwitterAPISpecs$XmlResponse$$anonfun$$bslash$bslash$1.apply(TwitterAPITest.scala:131)
>>>>>>
>>>>>>      at
>>>>>>org.apache.esme.api.TwitterAPISpecs$XmlResponse$$anonfun$$bslash$bslash$1.apply(TwitterAPITest.scala:131)
>>>>>>
>>>>>>      at
>>>>>>org.apache.esme.api.TwitterAPISpecs$XmlResponse$class.xmlMatch(TwitterAPITest.scala:126)
>>>>>>
>>>>>>      at
>>>>>>org.apache.esme.api.TwitterAPISpecs$$anon$1.xmlMatch(TwitterAPITest.scala:143)
>>>>>>      at
>>>>>>org.apache.esme.api.TwitterAPISpecs$XmlResponse$class.$bslash$bslash(TwitterAPITest.scala:131)
>>>>>>
>>>>>>      at
>>>>>>org.apache.esme.api.TwitterAPISpecs$$anon$1.$bslash$bslash(TwitterAPITest.scala:143)
>>>>>>
>>>>>>      at
>>>>>>org.apache.esme.api.TwitterAPISpecs$$anonfun$1$$anonfun$apply$24.apply(TwitterAPITest.scala:163)
>>>>>>
>>>>>>      at
>>>>>>org.apache.esme.api.TwitterAPISpecs$$anonfun$1$$anonfun$apply$24.apply(TwitterAPITest.scala:160)
>>>>>>
>>>>>>      at
>>>>>>org.specs.specification.LifeCycle$class.withCurrent(ExampleLifeCycle.scala:64)
>>>>>>      at  org.specs.specification.Examples.withCurrent(Examples.scala:52)
>>>>>>      at
>>>>>>org.specs.specification.Examples$$anonfun$specifyExample$1.apply(Examples.scala:108)
>>>>>>
>>>>>>      at
>>>>>>org.specs.specification.Examples$$anonfun$specifyExample$1.apply(Examples.scala:108)
>>>>>>
>>>>>>      at
>>>>>>org.specs.specification.ExampleExecution$$anonfun$3$$anonfun$apply$5.apply(ExampleLifeCycle.scala:195)
>>>>>>
>>>>>>      at scala.Option.getOrElse(Option.scala:61)
>>>>>>     at
>>>>>>org.specs.specification.LifeCycle$class.executeExpectations(ExampleLifeCycle.scala:86)
>>>>>>
>>>>>>      at
>>>>>>org.specs.specification.BaseSpecification.executeExpectations(BaseSpecification.scala:55)
>>>>>>
>>>>>>      at
>>>>>>org.specs.specification.LifeCycle$$anonfun$executeExpectations$1.apply(ExampleLifeCycle.scala:86)
>>>>>>
>>>>>>      at
>>>>>>org.specs.specification.LifeCycle$$anonfun$executeExpectations$1.apply(ExampleLifeCycle.scala:86)
>>>>>>
>>>>>>      at scala.Option.map(Option.scala:70)
>>>>>>     at
>>>>>>org.specs.specification.LifeCycle$class.executeExpectations(ExampleLifeCycle.scala:86)
>>>>>>
>>>>>>      at
>>>>>>org.specs.specification.BaseSpecification.executeExpectations(BaseSpecification.scala:55)
>>>>>>
>>>>>>      at
>>>>>>org.specs.specification.ExampleContext$$anonfun$executeExpectations$2$$anonfun$apply$1$$anonfun$apply$2.apply(ExampleContext.scala:58)
>>>>>>
>>>>>>      at
>>>>>>org.specs.specification.ExampleContext$$anonfun$executeExpectations$2$$anonfun$apply$1$$anonfun$apply$2.apply(ExampleContext.scala:58)
>>>>>>
>>>>>>      at scala.Option.map(Option.scala:70)
>>>>>>     at
>>>>>>org.specs.specification.ExampleContext$$anonfun$executeExpectations$2$$anonfun$apply$1.apply(ExampleContext.scala:58)
>>>>>>
>>>>>>      at
>>>>>>org.specs.specification.ExampleContext$$anonfun$executeExpectations$2$$anonfun$apply$1.apply(ExampleContext.scala:58)
>>>>>>
>>>>>>      at
>>>>>>org.specs.specification.ExampleContext$class.id$1(ExampleContext.scala:31)
>>>>>>      at
>>>>>>org.specs.specification.ExampleContext$$anonfun$1.apply(ExampleContext.scala:32)
>>>>>>      at
>>>>>>org.specs.specification.ExampleContext$$anonfun$1.apply(ExampleContext.scala:32)
>>>>>>      at
>>>>>>org.specs.specification.ExampleContext$$anonfun$executeExpectations$2.apply(ExampleContext.scala:58)
>>>>>>
>>>>>>      at
>>>>>>org.specs.specification.ExampleContext$$anonfun$executeExpectations$2.apply(ExampleContext.scala:57)
>>>>>>
>>>>>>      at scala.Option.map(Option.scala:70)
>>>>>>     at
>>>>>>org.specs.specification.ExampleContext$class.executeExpectations(ExampleContext.scala:57)
>>>>>>
>>>>>>      at
>>>>>>org.specs.specification.Examples.executeExpectations(Examples.scala:52)
>>>>>>      at
>>>>>>org.specs.specification.ExampleContext$$anonfun$executeExpectations$2$$anonfun$apply$1$$anonfun$apply$2.apply(ExampleContext.scala:58)
>>>>>>
>>>>>>      at
>>>>>>org.specs.specification.ExampleContext$$anonfun$executeExpectations$2$$anonfun$apply$1$$anonfun$apply$2.apply(ExampleContext.scala:58)
>>>>>>
>>>>>>      at scala.Option.map(Option.scala:70)
>>>>>>     at
>>>>>>org.specs.specification.ExampleContext$$anonfun$executeExpectations$2$$anonfun$apply$1.apply(ExampleContext.scala:58)
>>>>>>
>>>>>>      at
>>>>>>org.specs.specification.ExampleContext$$anonfun$executeExpectations$2$$anonfun$apply$1.apply(ExampleContext.scala:58)
>>>>>>
>>>>>>      at
>>>>>>org.specs.specification.ExampleContext$class.id$1(ExampleContext.scala:31)
>>>>>>      at
>>>>>>org.specs.specification.ExampleContext$$anonfun$1.apply(ExampleContext.scala:32)
>>>>>>      at
>>>>>>org.specs.specification.ExampleContext$$anonfun$1.apply(ExampleContext.scala:32)
>>>>>>      at
>>>>>>org.specs.specification.ExampleContext$$anonfun$executeExpectations$2.apply(ExampleContext.scala:58)
>>>>>>
>>>>>>      at
>>>>>>org.specs.specification.ExampleContext$$anonfun$executeExpectations$2.apply(ExampleContext.scala:57)
>>>>>>
>>>>>>      at scala.Option.map(Option.scala:70)
>>>>>>     at
>>>>>>org.specs.specification.ExampleContext$class.executeExpectations(ExampleContext.scala:57)
>>>>>>
>>>>>>      at
>>>>>>org.specs.specification.Examples.executeExpectations(Examples.scala:52)
>>>>>>      at
>>>>>>org.specs.specification.ExampleExecution$$anonfun$3.apply(ExampleLifeCycle.scala:195)
>>>>>>
>>>>>>      at
>>>>>>org.specs.specification.ExampleExecution$$anonfun$3.apply(ExampleLifeCycle.scala:182)
>>>>>>
>>>>>>      at
>>>>>>org.specs.specification.ExampleExecution$$anonfun$2.apply(ExampleLifeCycle.scala:165)
>>>>>>
>>>>>>      at
>>>>>>org.specs.specification.ExampleExecution.execute(ExampleLifeCycle.scala:215)
>>>>>>      at
>>>>>>org.specs.specification.SpecificationExecutor$$anonfun$executeExample$1.apply(SpecificationExecutor.scala:51)
>>>>>>
>>>>>>      at
>>>>>>org.specs.specification.SpecificationExecutor$$anonfun$executeExample$1.apply(SpecificationExecutor.scala:51)
>>>>>>
>>>>>>      at scala.Option.map(Option.scala:70)
>>>>>>     at
>>>>>>org.specs.specification.SpecificationExecutor$class.executeExample(SpecificationExecutor.scala:51)
>>>>>>
>>>>>>      at
>>>>>>org.specs.specification.BaseSpecification.executeExample(BaseSpecification.scala:55)
>>>>>>
>>>>>>      at
>>>>>>org.specs.specification.BaseSpecification.executeExample(BaseSpecification.scala:55)
>>>>>>
>>>>>>      at
>>>>>>org.specs.specification.ExampleLifeCycle$$anonfun$executeExample$1.apply(ExampleLifeCycle.scala:124)
>>>>>>
>>>>>>      at
>>>>>>org.specs.specification.ExampleLifeCycle$$anonfun$executeExample$1.apply(ExampleLifeCycle.scala:124)
>>>>>>
>>>>>>      at scala.Option.map(Option.scala:70)
>>>>>>     at
>>>>>>org.specs.specification.ExampleLifeCycle$class.executeExample(ExampleLifeCycle.scala:124)
>>>>>>
>>>>>>      at  org.specs.specification.Examples.executeExample(Examples.scala:52)
>>>>>>      at  org.specs.specification.Examples.executeExample(Examples.scala:52)
>>>>>>      at
>>>>>>org.specs.specification.Examples$$anonfun$executeExamples$1.apply(Examples.scala:80)
>>>>>>
>>>>>>      at
>>>>>>org.specs.specification.Examples$$anonfun$executeExamples$1.apply(Examples.scala:80)
>>>>>>
>>>>>>      at scala.Option.map(Option.scala:70)
>>>>>>     at  org.specs.specification.Examples.executeExamples(Examples.scala:80)
>>>>>>      at
>>>>>>org.specs.specification.ExampleStructure$class.examples(ExampleStructure.scala:77)
>>>>>>
>>>>>>      at  org.specs.specification.Examples.examples(Examples.scala:52)
>>>>>>      at
>>>>>>org.specs.runner.ExamplesTestSuite$$anonfun$initialize$4.apply(JUnit.scala:157)
>>>>>>      at
>>>>>>org.specs.runner.ExamplesTestSuite$$anonfun$initialize$4.apply(JUnit.scala:153)
>>>>>>      at scala.List.foreach(List.scala:841)
>>>>>>     at  org.specs.runner.ExamplesTestSuite.initialize(JUnit.scala:153)
>>>>>>      at org.specs.runner.JUnitSuite$class.init(JUnit.scala:53)
>>>>>>      at  org.specs.runner.ExamplesTestSuite.init(JUnit.scala:143)
>>>>>>      at org.specs.runner.JUnitSuite$class.run(JUnit.scala:60)
>>>>>>      at org.specs.runner.ExamplesTestSuite.run(JUnit.scala:172)
>>>>>>      at junit.framework.TestSuite.runTest(TestSuite.java:232)
>>>>>>      at junit.framework.TestSuite.run(TestSuite.java:227)
>>>>>>     at  org.specs.runner.JUnitSuite$class.run(JUnit.scala:61)
>>>>>>     at  org.specs.runner.JUnit3.run(JUnit.scala:124)
>>>>>>     at  org.specs.runner.JUnitSuiteRunner.run(JUnitSuiteRunner.scala:45)
>>>>>>      at
>>>>>>org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
>>>>>>      at
>>>>>>org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
>>>>>>
>>>>>>      at
>>>>>>org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
>>>>>>
>>>>>>      at  org.apache.maven.surefire.Surefire.run(Surefire.java:177)
>>>>>>      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:345)
>>>>>>
>>>>>>      at
>>>>>>org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>
>

Re: 1.1 Release: Failed Test

Posted by Ethan Jewett <es...@gmail.com>.
Doubt it, it should all run locally. Can you try "mvn clean test"?

Also "svn status" to make sure you don't have any local changes hanging around.

Hopefully you don't need to clean out your maven repository and start
from scratch. :-(

Ethan

On Mon, Sep 6, 2010 at 3:21 PM, Richard Hirsch <hi...@gmail.com> wrote:
> On Mon, Sep 6, 2010 at 3:19 PM, Ethan Jewett <es...@gmail.com> wrote:
>> Tests are successful for me locally (mvn clean test) and Hudson was
>> happy as of an hour ago (https://hudson.apache.org/hudson/job/ESME/).
>>
>> What exactly are you doing that results in this test failure?
>
> mvn test - might be some sort of a proxy problem??
>>
>> Ethan
>>
>> On Mon, Sep 6, 2010 at 3:05 PM, Richard Hirsch <hi...@gmail.com> wrote:
>>> Yep - this is the support of those legacy apps that still support
>>> basic authentication in the Twitter API.  We'll have to decide how we
>>> deal with OAuth but not in the 1.1 release. Either 1.2 or a later
>>> release.
>>>
>>> On Mon, Sep 6, 2010 at 3:01 PM, Joe Schaefer <jo...@yahoo.com> wrote:
>>>> You are aware of the OAuth mandate for twitter
>>>> apps, right?  It started Sept 1.
>>>>
>>>>
>>>>
>>>>
>>>> ----- Original Message ----
>>>>> From: Richard Hirsch <hi...@gmail.com>
>>>>> To: esme-dev@incubator.apache.org
>>>>> Sent: Mon, September 6, 2010 8:57:37 AM
>>>>> Subject: 1.1 Release: Failed Test
>>>>>
>>>>> I aws going through the release preparation steps and we have a failing  test:
>>>>>
>>>>> "Twitter API should show message in user, home and public  timelines"
>>>>>
>>>>> I'd know whether the problem is a timing problem or something  else.
>>>>>
>>>>> ---------------
>>>>>
>>>>>
>>>>> Tests run: 14, Failures: 1, Errors: 0,  Skipped: 0, Time elapsed:
>>>>> 37.046 sec <<< FAILURE!
>>>>> Twitter API  should show message in user, home and public timelines
>>>>> Time elapsed: 0.016  sec  <<< FAILURE!
>>>>> org.specs.runner.UserError: <statuses  success="true"
>>>>>operation="statuses"><status><user><followers_count>0</followers_count><description>N/A</description><url></url><profile_image_url></profile_image_url><protected>false</protected><location>Europe/Berlin</location><screen_name>twitter_user</screen_name><name>Unknown
>>>>>n
>>>>> Unknown</name><id>23</id></user><text>User  twitter_user changed
>>>>> profile. Name: Unknown  Unknown
>>>>>Image:</text><in_reply_to_screen_name></in_reply_to_screen_name><truncated>false</truncated><in_reply_to_user_id></in_reply_to_user_id><favorited>false</favorited><created_at>Mon
>>>>>n
>>>>> Sep  06 14:52:07  +0200
>>>>>2010</created_at><source>profile</source><in_reply_to_status_id></in_reply_to_status_id><id>42</id></status></statuses>
>>>>>>
>>>>> doesn't  contain <text>test_msg1</text>
>>>>>     at
>>>>>org.apache.esme.api.TwitterAPISpecs$XmlResponse$$anonfun$$bslash$bslash$1.apply(TwitterAPITest.scala:131)
>>>>>
>>>>>      at
>>>>>org.apache.esme.api.TwitterAPISpecs$XmlResponse$$anonfun$$bslash$bslash$1.apply(TwitterAPITest.scala:131)
>>>>>
>>>>>      at
>>>>>org.apache.esme.api.TwitterAPISpecs$XmlResponse$class.xmlMatch(TwitterAPITest.scala:126)
>>>>>
>>>>>      at
>>>>>org.apache.esme.api.TwitterAPISpecs$$anon$1.xmlMatch(TwitterAPITest.scala:143)
>>>>>      at
>>>>>org.apache.esme.api.TwitterAPISpecs$XmlResponse$class.$bslash$bslash(TwitterAPITest.scala:131)
>>>>>
>>>>>      at
>>>>>org.apache.esme.api.TwitterAPISpecs$$anon$1.$bslash$bslash(TwitterAPITest.scala:143)
>>>>>
>>>>>      at
>>>>>org.apache.esme.api.TwitterAPISpecs$$anonfun$1$$anonfun$apply$24.apply(TwitterAPITest.scala:163)
>>>>>
>>>>>      at
>>>>>org.apache.esme.api.TwitterAPISpecs$$anonfun$1$$anonfun$apply$24.apply(TwitterAPITest.scala:160)
>>>>>
>>>>>      at
>>>>>org.specs.specification.LifeCycle$class.withCurrent(ExampleLifeCycle.scala:64)
>>>>>      at  org.specs.specification.Examples.withCurrent(Examples.scala:52)
>>>>>      at
>>>>>org.specs.specification.Examples$$anonfun$specifyExample$1.apply(Examples.scala:108)
>>>>>
>>>>>      at
>>>>>org.specs.specification.Examples$$anonfun$specifyExample$1.apply(Examples.scala:108)
>>>>>
>>>>>      at
>>>>>org.specs.specification.ExampleExecution$$anonfun$3$$anonfun$apply$5.apply(ExampleLifeCycle.scala:195)
>>>>>
>>>>>      at scala.Option.getOrElse(Option.scala:61)
>>>>>     at
>>>>>org.specs.specification.LifeCycle$class.executeExpectations(ExampleLifeCycle.scala:86)
>>>>>
>>>>>      at
>>>>>org.specs.specification.BaseSpecification.executeExpectations(BaseSpecification.scala:55)
>>>>>
>>>>>      at
>>>>>org.specs.specification.LifeCycle$$anonfun$executeExpectations$1.apply(ExampleLifeCycle.scala:86)
>>>>>
>>>>>      at
>>>>>org.specs.specification.LifeCycle$$anonfun$executeExpectations$1.apply(ExampleLifeCycle.scala:86)
>>>>>
>>>>>      at scala.Option.map(Option.scala:70)
>>>>>     at
>>>>>org.specs.specification.LifeCycle$class.executeExpectations(ExampleLifeCycle.scala:86)
>>>>>
>>>>>      at
>>>>>org.specs.specification.BaseSpecification.executeExpectations(BaseSpecification.scala:55)
>>>>>
>>>>>      at
>>>>>org.specs.specification.ExampleContext$$anonfun$executeExpectations$2$$anonfun$apply$1$$anonfun$apply$2.apply(ExampleContext.scala:58)
>>>>>
>>>>>      at
>>>>>org.specs.specification.ExampleContext$$anonfun$executeExpectations$2$$anonfun$apply$1$$anonfun$apply$2.apply(ExampleContext.scala:58)
>>>>>
>>>>>      at scala.Option.map(Option.scala:70)
>>>>>     at
>>>>>org.specs.specification.ExampleContext$$anonfun$executeExpectations$2$$anonfun$apply$1.apply(ExampleContext.scala:58)
>>>>>
>>>>>      at
>>>>>org.specs.specification.ExampleContext$$anonfun$executeExpectations$2$$anonfun$apply$1.apply(ExampleContext.scala:58)
>>>>>
>>>>>      at
>>>>>org.specs.specification.ExampleContext$class.id$1(ExampleContext.scala:31)
>>>>>      at
>>>>>org.specs.specification.ExampleContext$$anonfun$1.apply(ExampleContext.scala:32)
>>>>>      at
>>>>>org.specs.specification.ExampleContext$$anonfun$1.apply(ExampleContext.scala:32)
>>>>>      at
>>>>>org.specs.specification.ExampleContext$$anonfun$executeExpectations$2.apply(ExampleContext.scala:58)
>>>>>
>>>>>      at
>>>>>org.specs.specification.ExampleContext$$anonfun$executeExpectations$2.apply(ExampleContext.scala:57)
>>>>>
>>>>>      at scala.Option.map(Option.scala:70)
>>>>>     at
>>>>>org.specs.specification.ExampleContext$class.executeExpectations(ExampleContext.scala:57)
>>>>>
>>>>>      at
>>>>>org.specs.specification.Examples.executeExpectations(Examples.scala:52)
>>>>>      at
>>>>>org.specs.specification.ExampleContext$$anonfun$executeExpectations$2$$anonfun$apply$1$$anonfun$apply$2.apply(ExampleContext.scala:58)
>>>>>
>>>>>      at
>>>>>org.specs.specification.ExampleContext$$anonfun$executeExpectations$2$$anonfun$apply$1$$anonfun$apply$2.apply(ExampleContext.scala:58)
>>>>>
>>>>>      at scala.Option.map(Option.scala:70)
>>>>>     at
>>>>>org.specs.specification.ExampleContext$$anonfun$executeExpectations$2$$anonfun$apply$1.apply(ExampleContext.scala:58)
>>>>>
>>>>>      at
>>>>>org.specs.specification.ExampleContext$$anonfun$executeExpectations$2$$anonfun$apply$1.apply(ExampleContext.scala:58)
>>>>>
>>>>>      at
>>>>>org.specs.specification.ExampleContext$class.id$1(ExampleContext.scala:31)
>>>>>      at
>>>>>org.specs.specification.ExampleContext$$anonfun$1.apply(ExampleContext.scala:32)
>>>>>      at
>>>>>org.specs.specification.ExampleContext$$anonfun$1.apply(ExampleContext.scala:32)
>>>>>      at
>>>>>org.specs.specification.ExampleContext$$anonfun$executeExpectations$2.apply(ExampleContext.scala:58)
>>>>>
>>>>>      at
>>>>>org.specs.specification.ExampleContext$$anonfun$executeExpectations$2.apply(ExampleContext.scala:57)
>>>>>
>>>>>      at scala.Option.map(Option.scala:70)
>>>>>     at
>>>>>org.specs.specification.ExampleContext$class.executeExpectations(ExampleContext.scala:57)
>>>>>
>>>>>      at
>>>>>org.specs.specification.Examples.executeExpectations(Examples.scala:52)
>>>>>      at
>>>>>org.specs.specification.ExampleExecution$$anonfun$3.apply(ExampleLifeCycle.scala:195)
>>>>>
>>>>>      at
>>>>>org.specs.specification.ExampleExecution$$anonfun$3.apply(ExampleLifeCycle.scala:182)
>>>>>
>>>>>      at
>>>>>org.specs.specification.ExampleExecution$$anonfun$2.apply(ExampleLifeCycle.scala:165)
>>>>>
>>>>>      at
>>>>>org.specs.specification.ExampleExecution.execute(ExampleLifeCycle.scala:215)
>>>>>      at
>>>>>org.specs.specification.SpecificationExecutor$$anonfun$executeExample$1.apply(SpecificationExecutor.scala:51)
>>>>>
>>>>>      at
>>>>>org.specs.specification.SpecificationExecutor$$anonfun$executeExample$1.apply(SpecificationExecutor.scala:51)
>>>>>
>>>>>      at scala.Option.map(Option.scala:70)
>>>>>     at
>>>>>org.specs.specification.SpecificationExecutor$class.executeExample(SpecificationExecutor.scala:51)
>>>>>
>>>>>      at
>>>>>org.specs.specification.BaseSpecification.executeExample(BaseSpecification.scala:55)
>>>>>
>>>>>      at
>>>>>org.specs.specification.BaseSpecification.executeExample(BaseSpecification.scala:55)
>>>>>
>>>>>      at
>>>>>org.specs.specification.ExampleLifeCycle$$anonfun$executeExample$1.apply(ExampleLifeCycle.scala:124)
>>>>>
>>>>>      at
>>>>>org.specs.specification.ExampleLifeCycle$$anonfun$executeExample$1.apply(ExampleLifeCycle.scala:124)
>>>>>
>>>>>      at scala.Option.map(Option.scala:70)
>>>>>     at
>>>>>org.specs.specification.ExampleLifeCycle$class.executeExample(ExampleLifeCycle.scala:124)
>>>>>
>>>>>      at  org.specs.specification.Examples.executeExample(Examples.scala:52)
>>>>>      at  org.specs.specification.Examples.executeExample(Examples.scala:52)
>>>>>      at
>>>>>org.specs.specification.Examples$$anonfun$executeExamples$1.apply(Examples.scala:80)
>>>>>
>>>>>      at
>>>>>org.specs.specification.Examples$$anonfun$executeExamples$1.apply(Examples.scala:80)
>>>>>
>>>>>      at scala.Option.map(Option.scala:70)
>>>>>     at  org.specs.specification.Examples.executeExamples(Examples.scala:80)
>>>>>      at
>>>>>org.specs.specification.ExampleStructure$class.examples(ExampleStructure.scala:77)
>>>>>
>>>>>      at  org.specs.specification.Examples.examples(Examples.scala:52)
>>>>>      at
>>>>>org.specs.runner.ExamplesTestSuite$$anonfun$initialize$4.apply(JUnit.scala:157)
>>>>>      at
>>>>>org.specs.runner.ExamplesTestSuite$$anonfun$initialize$4.apply(JUnit.scala:153)
>>>>>      at scala.List.foreach(List.scala:841)
>>>>>     at  org.specs.runner.ExamplesTestSuite.initialize(JUnit.scala:153)
>>>>>      at org.specs.runner.JUnitSuite$class.init(JUnit.scala:53)
>>>>>      at  org.specs.runner.ExamplesTestSuite.init(JUnit.scala:143)
>>>>>      at org.specs.runner.JUnitSuite$class.run(JUnit.scala:60)
>>>>>      at org.specs.runner.ExamplesTestSuite.run(JUnit.scala:172)
>>>>>      at junit.framework.TestSuite.runTest(TestSuite.java:232)
>>>>>      at junit.framework.TestSuite.run(TestSuite.java:227)
>>>>>     at  org.specs.runner.JUnitSuite$class.run(JUnit.scala:61)
>>>>>     at  org.specs.runner.JUnit3.run(JUnit.scala:124)
>>>>>     at  org.specs.runner.JUnitSuiteRunner.run(JUnitSuiteRunner.scala:45)
>>>>>      at
>>>>>org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
>>>>>      at
>>>>>org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
>>>>>
>>>>>      at
>>>>>org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
>>>>>
>>>>>      at  org.apache.maven.surefire.Surefire.run(Surefire.java:177)
>>>>>      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:345)
>>>>>
>>>>>      at
>>>>>org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
>>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>
>

Re: 1.1 Release: Failed Test

Posted by Richard Hirsch <hi...@gmail.com>.
On Mon, Sep 6, 2010 at 3:19 PM, Ethan Jewett <es...@gmail.com> wrote:
> Tests are successful for me locally (mvn clean test) and Hudson was
> happy as of an hour ago (https://hudson.apache.org/hudson/job/ESME/).
>
> What exactly are you doing that results in this test failure?

mvn test - might be some sort of a proxy problem??
>
> Ethan
>
> On Mon, Sep 6, 2010 at 3:05 PM, Richard Hirsch <hi...@gmail.com> wrote:
>> Yep - this is the support of those legacy apps that still support
>> basic authentication in the Twitter API.  We'll have to decide how we
>> deal with OAuth but not in the 1.1 release. Either 1.2 or a later
>> release.
>>
>> On Mon, Sep 6, 2010 at 3:01 PM, Joe Schaefer <jo...@yahoo.com> wrote:
>>> You are aware of the OAuth mandate for twitter
>>> apps, right?  It started Sept 1.
>>>
>>>
>>>
>>>
>>> ----- Original Message ----
>>>> From: Richard Hirsch <hi...@gmail.com>
>>>> To: esme-dev@incubator.apache.org
>>>> Sent: Mon, September 6, 2010 8:57:37 AM
>>>> Subject: 1.1 Release: Failed Test
>>>>
>>>> I aws going through the release preparation steps and we have a failing  test:
>>>>
>>>> "Twitter API should show message in user, home and public  timelines"
>>>>
>>>> I'd know whether the problem is a timing problem or something  else.
>>>>
>>>> ---------------
>>>>
>>>>
>>>> Tests run: 14, Failures: 1, Errors: 0,  Skipped: 0, Time elapsed:
>>>> 37.046 sec <<< FAILURE!
>>>> Twitter API  should show message in user, home and public timelines
>>>> Time elapsed: 0.016  sec  <<< FAILURE!
>>>> org.specs.runner.UserError: <statuses  success="true"
>>>>operation="statuses"><status><user><followers_count>0</followers_count><description>N/A</description><url></url><profile_image_url></profile_image_url><protected>false</protected><location>Europe/Berlin</location><screen_name>twitter_user</screen_name><name>Unknown
>>>>n
>>>> Unknown</name><id>23</id></user><text>User  twitter_user changed
>>>> profile. Name: Unknown  Unknown
>>>>Image:</text><in_reply_to_screen_name></in_reply_to_screen_name><truncated>false</truncated><in_reply_to_user_id></in_reply_to_user_id><favorited>false</favorited><created_at>Mon
>>>>n
>>>> Sep  06 14:52:07  +0200
>>>>2010</created_at><source>profile</source><in_reply_to_status_id></in_reply_to_status_id><id>42</id></status></statuses>
>>>>>
>>>> doesn't  contain <text>test_msg1</text>
>>>>     at
>>>>org.apache.esme.api.TwitterAPISpecs$XmlResponse$$anonfun$$bslash$bslash$1.apply(TwitterAPITest.scala:131)
>>>>
>>>>      at
>>>>org.apache.esme.api.TwitterAPISpecs$XmlResponse$$anonfun$$bslash$bslash$1.apply(TwitterAPITest.scala:131)
>>>>
>>>>      at
>>>>org.apache.esme.api.TwitterAPISpecs$XmlResponse$class.xmlMatch(TwitterAPITest.scala:126)
>>>>
>>>>      at
>>>>org.apache.esme.api.TwitterAPISpecs$$anon$1.xmlMatch(TwitterAPITest.scala:143)
>>>>      at
>>>>org.apache.esme.api.TwitterAPISpecs$XmlResponse$class.$bslash$bslash(TwitterAPITest.scala:131)
>>>>
>>>>      at
>>>>org.apache.esme.api.TwitterAPISpecs$$anon$1.$bslash$bslash(TwitterAPITest.scala:143)
>>>>
>>>>      at
>>>>org.apache.esme.api.TwitterAPISpecs$$anonfun$1$$anonfun$apply$24.apply(TwitterAPITest.scala:163)
>>>>
>>>>      at
>>>>org.apache.esme.api.TwitterAPISpecs$$anonfun$1$$anonfun$apply$24.apply(TwitterAPITest.scala:160)
>>>>
>>>>      at
>>>>org.specs.specification.LifeCycle$class.withCurrent(ExampleLifeCycle.scala:64)
>>>>      at  org.specs.specification.Examples.withCurrent(Examples.scala:52)
>>>>      at
>>>>org.specs.specification.Examples$$anonfun$specifyExample$1.apply(Examples.scala:108)
>>>>
>>>>      at
>>>>org.specs.specification.Examples$$anonfun$specifyExample$1.apply(Examples.scala:108)
>>>>
>>>>      at
>>>>org.specs.specification.ExampleExecution$$anonfun$3$$anonfun$apply$5.apply(ExampleLifeCycle.scala:195)
>>>>
>>>>      at scala.Option.getOrElse(Option.scala:61)
>>>>     at
>>>>org.specs.specification.LifeCycle$class.executeExpectations(ExampleLifeCycle.scala:86)
>>>>
>>>>      at
>>>>org.specs.specification.BaseSpecification.executeExpectations(BaseSpecification.scala:55)
>>>>
>>>>      at
>>>>org.specs.specification.LifeCycle$$anonfun$executeExpectations$1.apply(ExampleLifeCycle.scala:86)
>>>>
>>>>      at
>>>>org.specs.specification.LifeCycle$$anonfun$executeExpectations$1.apply(ExampleLifeCycle.scala:86)
>>>>
>>>>      at scala.Option.map(Option.scala:70)
>>>>     at
>>>>org.specs.specification.LifeCycle$class.executeExpectations(ExampleLifeCycle.scala:86)
>>>>
>>>>      at
>>>>org.specs.specification.BaseSpecification.executeExpectations(BaseSpecification.scala:55)
>>>>
>>>>      at
>>>>org.specs.specification.ExampleContext$$anonfun$executeExpectations$2$$anonfun$apply$1$$anonfun$apply$2.apply(ExampleContext.scala:58)
>>>>
>>>>      at
>>>>org.specs.specification.ExampleContext$$anonfun$executeExpectations$2$$anonfun$apply$1$$anonfun$apply$2.apply(ExampleContext.scala:58)
>>>>
>>>>      at scala.Option.map(Option.scala:70)
>>>>     at
>>>>org.specs.specification.ExampleContext$$anonfun$executeExpectations$2$$anonfun$apply$1.apply(ExampleContext.scala:58)
>>>>
>>>>      at
>>>>org.specs.specification.ExampleContext$$anonfun$executeExpectations$2$$anonfun$apply$1.apply(ExampleContext.scala:58)
>>>>
>>>>      at
>>>>org.specs.specification.ExampleContext$class.id$1(ExampleContext.scala:31)
>>>>      at
>>>>org.specs.specification.ExampleContext$$anonfun$1.apply(ExampleContext.scala:32)
>>>>      at
>>>>org.specs.specification.ExampleContext$$anonfun$1.apply(ExampleContext.scala:32)
>>>>      at
>>>>org.specs.specification.ExampleContext$$anonfun$executeExpectations$2.apply(ExampleContext.scala:58)
>>>>
>>>>      at
>>>>org.specs.specification.ExampleContext$$anonfun$executeExpectations$2.apply(ExampleContext.scala:57)
>>>>
>>>>      at scala.Option.map(Option.scala:70)
>>>>     at
>>>>org.specs.specification.ExampleContext$class.executeExpectations(ExampleContext.scala:57)
>>>>
>>>>      at
>>>>org.specs.specification.Examples.executeExpectations(Examples.scala:52)
>>>>      at
>>>>org.specs.specification.ExampleContext$$anonfun$executeExpectations$2$$anonfun$apply$1$$anonfun$apply$2.apply(ExampleContext.scala:58)
>>>>
>>>>      at
>>>>org.specs.specification.ExampleContext$$anonfun$executeExpectations$2$$anonfun$apply$1$$anonfun$apply$2.apply(ExampleContext.scala:58)
>>>>
>>>>      at scala.Option.map(Option.scala:70)
>>>>     at
>>>>org.specs.specification.ExampleContext$$anonfun$executeExpectations$2$$anonfun$apply$1.apply(ExampleContext.scala:58)
>>>>
>>>>      at
>>>>org.specs.specification.ExampleContext$$anonfun$executeExpectations$2$$anonfun$apply$1.apply(ExampleContext.scala:58)
>>>>
>>>>      at
>>>>org.specs.specification.ExampleContext$class.id$1(ExampleContext.scala:31)
>>>>      at
>>>>org.specs.specification.ExampleContext$$anonfun$1.apply(ExampleContext.scala:32)
>>>>      at
>>>>org.specs.specification.ExampleContext$$anonfun$1.apply(ExampleContext.scala:32)
>>>>      at
>>>>org.specs.specification.ExampleContext$$anonfun$executeExpectations$2.apply(ExampleContext.scala:58)
>>>>
>>>>      at
>>>>org.specs.specification.ExampleContext$$anonfun$executeExpectations$2.apply(ExampleContext.scala:57)
>>>>
>>>>      at scala.Option.map(Option.scala:70)
>>>>     at
>>>>org.specs.specification.ExampleContext$class.executeExpectations(ExampleContext.scala:57)
>>>>
>>>>      at
>>>>org.specs.specification.Examples.executeExpectations(Examples.scala:52)
>>>>      at
>>>>org.specs.specification.ExampleExecution$$anonfun$3.apply(ExampleLifeCycle.scala:195)
>>>>
>>>>      at
>>>>org.specs.specification.ExampleExecution$$anonfun$3.apply(ExampleLifeCycle.scala:182)
>>>>
>>>>      at
>>>>org.specs.specification.ExampleExecution$$anonfun$2.apply(ExampleLifeCycle.scala:165)
>>>>
>>>>      at
>>>>org.specs.specification.ExampleExecution.execute(ExampleLifeCycle.scala:215)
>>>>      at
>>>>org.specs.specification.SpecificationExecutor$$anonfun$executeExample$1.apply(SpecificationExecutor.scala:51)
>>>>
>>>>      at
>>>>org.specs.specification.SpecificationExecutor$$anonfun$executeExample$1.apply(SpecificationExecutor.scala:51)
>>>>
>>>>      at scala.Option.map(Option.scala:70)
>>>>     at
>>>>org.specs.specification.SpecificationExecutor$class.executeExample(SpecificationExecutor.scala:51)
>>>>
>>>>      at
>>>>org.specs.specification.BaseSpecification.executeExample(BaseSpecification.scala:55)
>>>>
>>>>      at
>>>>org.specs.specification.BaseSpecification.executeExample(BaseSpecification.scala:55)
>>>>
>>>>      at
>>>>org.specs.specification.ExampleLifeCycle$$anonfun$executeExample$1.apply(ExampleLifeCycle.scala:124)
>>>>
>>>>      at
>>>>org.specs.specification.ExampleLifeCycle$$anonfun$executeExample$1.apply(ExampleLifeCycle.scala:124)
>>>>
>>>>      at scala.Option.map(Option.scala:70)
>>>>     at
>>>>org.specs.specification.ExampleLifeCycle$class.executeExample(ExampleLifeCycle.scala:124)
>>>>
>>>>      at  org.specs.specification.Examples.executeExample(Examples.scala:52)
>>>>      at  org.specs.specification.Examples.executeExample(Examples.scala:52)
>>>>      at
>>>>org.specs.specification.Examples$$anonfun$executeExamples$1.apply(Examples.scala:80)
>>>>
>>>>      at
>>>>org.specs.specification.Examples$$anonfun$executeExamples$1.apply(Examples.scala:80)
>>>>
>>>>      at scala.Option.map(Option.scala:70)
>>>>     at  org.specs.specification.Examples.executeExamples(Examples.scala:80)
>>>>      at
>>>>org.specs.specification.ExampleStructure$class.examples(ExampleStructure.scala:77)
>>>>
>>>>      at  org.specs.specification.Examples.examples(Examples.scala:52)
>>>>      at
>>>>org.specs.runner.ExamplesTestSuite$$anonfun$initialize$4.apply(JUnit.scala:157)
>>>>      at
>>>>org.specs.runner.ExamplesTestSuite$$anonfun$initialize$4.apply(JUnit.scala:153)
>>>>      at scala.List.foreach(List.scala:841)
>>>>     at  org.specs.runner.ExamplesTestSuite.initialize(JUnit.scala:153)
>>>>      at org.specs.runner.JUnitSuite$class.init(JUnit.scala:53)
>>>>      at  org.specs.runner.ExamplesTestSuite.init(JUnit.scala:143)
>>>>      at org.specs.runner.JUnitSuite$class.run(JUnit.scala:60)
>>>>      at org.specs.runner.ExamplesTestSuite.run(JUnit.scala:172)
>>>>      at junit.framework.TestSuite.runTest(TestSuite.java:232)
>>>>      at junit.framework.TestSuite.run(TestSuite.java:227)
>>>>     at  org.specs.runner.JUnitSuite$class.run(JUnit.scala:61)
>>>>     at  org.specs.runner.JUnit3.run(JUnit.scala:124)
>>>>     at  org.specs.runner.JUnitSuiteRunner.run(JUnitSuiteRunner.scala:45)
>>>>      at
>>>>org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
>>>>      at
>>>>org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
>>>>
>>>>      at
>>>>org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
>>>>
>>>>      at  org.apache.maven.surefire.Surefire.run(Surefire.java:177)
>>>>      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:345)
>>>>
>>>>      at
>>>>org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
>>>>
>>>
>>>
>>>
>>>
>>
>

Re: 1.1 Release: Failed Test

Posted by Ethan Jewett <es...@gmail.com>.
Tests are successful for me locally (mvn clean test) and Hudson was
happy as of an hour ago (https://hudson.apache.org/hudson/job/ESME/).

What exactly are you doing that results in this test failure?

Ethan

On Mon, Sep 6, 2010 at 3:05 PM, Richard Hirsch <hi...@gmail.com> wrote:
> Yep - this is the support of those legacy apps that still support
> basic authentication in the Twitter API.  We'll have to decide how we
> deal with OAuth but not in the 1.1 release. Either 1.2 or a later
> release.
>
> On Mon, Sep 6, 2010 at 3:01 PM, Joe Schaefer <jo...@yahoo.com> wrote:
>> You are aware of the OAuth mandate for twitter
>> apps, right?  It started Sept 1.
>>
>>
>>
>>
>> ----- Original Message ----
>>> From: Richard Hirsch <hi...@gmail.com>
>>> To: esme-dev@incubator.apache.org
>>> Sent: Mon, September 6, 2010 8:57:37 AM
>>> Subject: 1.1 Release: Failed Test
>>>
>>> I aws going through the release preparation steps and we have a failing  test:
>>>
>>> "Twitter API should show message in user, home and public  timelines"
>>>
>>> I'd know whether the problem is a timing problem or something  else.
>>>
>>> ---------------
>>>
>>>
>>> Tests run: 14, Failures: 1, Errors: 0,  Skipped: 0, Time elapsed:
>>> 37.046 sec <<< FAILURE!
>>> Twitter API  should show message in user, home and public timelines
>>> Time elapsed: 0.016  sec  <<< FAILURE!
>>> org.specs.runner.UserError: <statuses  success="true"
>>>operation="statuses"><status><user><followers_count>0</followers_count><description>N/A</description><url></url><profile_image_url></profile_image_url><protected>false</protected><location>Europe/Berlin</location><screen_name>twitter_user</screen_name><name>Unknown
>>>n
>>> Unknown</name><id>23</id></user><text>User  twitter_user changed
>>> profile. Name: Unknown  Unknown
>>>Image:</text><in_reply_to_screen_name></in_reply_to_screen_name><truncated>false</truncated><in_reply_to_user_id></in_reply_to_user_id><favorited>false</favorited><created_at>Mon
>>>n
>>> Sep  06 14:52:07  +0200
>>>2010</created_at><source>profile</source><in_reply_to_status_id></in_reply_to_status_id><id>42</id></status></statuses>
>>>>
>>> doesn't  contain <text>test_msg1</text>
>>>     at
>>>org.apache.esme.api.TwitterAPISpecs$XmlResponse$$anonfun$$bslash$bslash$1.apply(TwitterAPITest.scala:131)
>>>
>>>      at
>>>org.apache.esme.api.TwitterAPISpecs$XmlResponse$$anonfun$$bslash$bslash$1.apply(TwitterAPITest.scala:131)
>>>
>>>      at
>>>org.apache.esme.api.TwitterAPISpecs$XmlResponse$class.xmlMatch(TwitterAPITest.scala:126)
>>>
>>>      at
>>>org.apache.esme.api.TwitterAPISpecs$$anon$1.xmlMatch(TwitterAPITest.scala:143)
>>>      at
>>>org.apache.esme.api.TwitterAPISpecs$XmlResponse$class.$bslash$bslash(TwitterAPITest.scala:131)
>>>
>>>      at
>>>org.apache.esme.api.TwitterAPISpecs$$anon$1.$bslash$bslash(TwitterAPITest.scala:143)
>>>
>>>      at
>>>org.apache.esme.api.TwitterAPISpecs$$anonfun$1$$anonfun$apply$24.apply(TwitterAPITest.scala:163)
>>>
>>>      at
>>>org.apache.esme.api.TwitterAPISpecs$$anonfun$1$$anonfun$apply$24.apply(TwitterAPITest.scala:160)
>>>
>>>      at
>>>org.specs.specification.LifeCycle$class.withCurrent(ExampleLifeCycle.scala:64)
>>>      at  org.specs.specification.Examples.withCurrent(Examples.scala:52)
>>>      at
>>>org.specs.specification.Examples$$anonfun$specifyExample$1.apply(Examples.scala:108)
>>>
>>>      at
>>>org.specs.specification.Examples$$anonfun$specifyExample$1.apply(Examples.scala:108)
>>>
>>>      at
>>>org.specs.specification.ExampleExecution$$anonfun$3$$anonfun$apply$5.apply(ExampleLifeCycle.scala:195)
>>>
>>>      at scala.Option.getOrElse(Option.scala:61)
>>>     at
>>>org.specs.specification.LifeCycle$class.executeExpectations(ExampleLifeCycle.scala:86)
>>>
>>>      at
>>>org.specs.specification.BaseSpecification.executeExpectations(BaseSpecification.scala:55)
>>>
>>>      at
>>>org.specs.specification.LifeCycle$$anonfun$executeExpectations$1.apply(ExampleLifeCycle.scala:86)
>>>
>>>      at
>>>org.specs.specification.LifeCycle$$anonfun$executeExpectations$1.apply(ExampleLifeCycle.scala:86)
>>>
>>>      at scala.Option.map(Option.scala:70)
>>>     at
>>>org.specs.specification.LifeCycle$class.executeExpectations(ExampleLifeCycle.scala:86)
>>>
>>>      at
>>>org.specs.specification.BaseSpecification.executeExpectations(BaseSpecification.scala:55)
>>>
>>>      at
>>>org.specs.specification.ExampleContext$$anonfun$executeExpectations$2$$anonfun$apply$1$$anonfun$apply$2.apply(ExampleContext.scala:58)
>>>
>>>      at
>>>org.specs.specification.ExampleContext$$anonfun$executeExpectations$2$$anonfun$apply$1$$anonfun$apply$2.apply(ExampleContext.scala:58)
>>>
>>>      at scala.Option.map(Option.scala:70)
>>>     at
>>>org.specs.specification.ExampleContext$$anonfun$executeExpectations$2$$anonfun$apply$1.apply(ExampleContext.scala:58)
>>>
>>>      at
>>>org.specs.specification.ExampleContext$$anonfun$executeExpectations$2$$anonfun$apply$1.apply(ExampleContext.scala:58)
>>>
>>>      at
>>>org.specs.specification.ExampleContext$class.id$1(ExampleContext.scala:31)
>>>      at
>>>org.specs.specification.ExampleContext$$anonfun$1.apply(ExampleContext.scala:32)
>>>      at
>>>org.specs.specification.ExampleContext$$anonfun$1.apply(ExampleContext.scala:32)
>>>      at
>>>org.specs.specification.ExampleContext$$anonfun$executeExpectations$2.apply(ExampleContext.scala:58)
>>>
>>>      at
>>>org.specs.specification.ExampleContext$$anonfun$executeExpectations$2.apply(ExampleContext.scala:57)
>>>
>>>      at scala.Option.map(Option.scala:70)
>>>     at
>>>org.specs.specification.ExampleContext$class.executeExpectations(ExampleContext.scala:57)
>>>
>>>      at
>>>org.specs.specification.Examples.executeExpectations(Examples.scala:52)
>>>      at
>>>org.specs.specification.ExampleContext$$anonfun$executeExpectations$2$$anonfun$apply$1$$anonfun$apply$2.apply(ExampleContext.scala:58)
>>>
>>>      at
>>>org.specs.specification.ExampleContext$$anonfun$executeExpectations$2$$anonfun$apply$1$$anonfun$apply$2.apply(ExampleContext.scala:58)
>>>
>>>      at scala.Option.map(Option.scala:70)
>>>     at
>>>org.specs.specification.ExampleContext$$anonfun$executeExpectations$2$$anonfun$apply$1.apply(ExampleContext.scala:58)
>>>
>>>      at
>>>org.specs.specification.ExampleContext$$anonfun$executeExpectations$2$$anonfun$apply$1.apply(ExampleContext.scala:58)
>>>
>>>      at
>>>org.specs.specification.ExampleContext$class.id$1(ExampleContext.scala:31)
>>>      at
>>>org.specs.specification.ExampleContext$$anonfun$1.apply(ExampleContext.scala:32)
>>>      at
>>>org.specs.specification.ExampleContext$$anonfun$1.apply(ExampleContext.scala:32)
>>>      at
>>>org.specs.specification.ExampleContext$$anonfun$executeExpectations$2.apply(ExampleContext.scala:58)
>>>
>>>      at
>>>org.specs.specification.ExampleContext$$anonfun$executeExpectations$2.apply(ExampleContext.scala:57)
>>>
>>>      at scala.Option.map(Option.scala:70)
>>>     at
>>>org.specs.specification.ExampleContext$class.executeExpectations(ExampleContext.scala:57)
>>>
>>>      at
>>>org.specs.specification.Examples.executeExpectations(Examples.scala:52)
>>>      at
>>>org.specs.specification.ExampleExecution$$anonfun$3.apply(ExampleLifeCycle.scala:195)
>>>
>>>      at
>>>org.specs.specification.ExampleExecution$$anonfun$3.apply(ExampleLifeCycle.scala:182)
>>>
>>>      at
>>>org.specs.specification.ExampleExecution$$anonfun$2.apply(ExampleLifeCycle.scala:165)
>>>
>>>      at
>>>org.specs.specification.ExampleExecution.execute(ExampleLifeCycle.scala:215)
>>>      at
>>>org.specs.specification.SpecificationExecutor$$anonfun$executeExample$1.apply(SpecificationExecutor.scala:51)
>>>
>>>      at
>>>org.specs.specification.SpecificationExecutor$$anonfun$executeExample$1.apply(SpecificationExecutor.scala:51)
>>>
>>>      at scala.Option.map(Option.scala:70)
>>>     at
>>>org.specs.specification.SpecificationExecutor$class.executeExample(SpecificationExecutor.scala:51)
>>>
>>>      at
>>>org.specs.specification.BaseSpecification.executeExample(BaseSpecification.scala:55)
>>>
>>>      at
>>>org.specs.specification.BaseSpecification.executeExample(BaseSpecification.scala:55)
>>>
>>>      at
>>>org.specs.specification.ExampleLifeCycle$$anonfun$executeExample$1.apply(ExampleLifeCycle.scala:124)
>>>
>>>      at
>>>org.specs.specification.ExampleLifeCycle$$anonfun$executeExample$1.apply(ExampleLifeCycle.scala:124)
>>>
>>>      at scala.Option.map(Option.scala:70)
>>>     at
>>>org.specs.specification.ExampleLifeCycle$class.executeExample(ExampleLifeCycle.scala:124)
>>>
>>>      at  org.specs.specification.Examples.executeExample(Examples.scala:52)
>>>      at  org.specs.specification.Examples.executeExample(Examples.scala:52)
>>>      at
>>>org.specs.specification.Examples$$anonfun$executeExamples$1.apply(Examples.scala:80)
>>>
>>>      at
>>>org.specs.specification.Examples$$anonfun$executeExamples$1.apply(Examples.scala:80)
>>>
>>>      at scala.Option.map(Option.scala:70)
>>>     at  org.specs.specification.Examples.executeExamples(Examples.scala:80)
>>>      at
>>>org.specs.specification.ExampleStructure$class.examples(ExampleStructure.scala:77)
>>>
>>>      at  org.specs.specification.Examples.examples(Examples.scala:52)
>>>      at
>>>org.specs.runner.ExamplesTestSuite$$anonfun$initialize$4.apply(JUnit.scala:157)
>>>      at
>>>org.specs.runner.ExamplesTestSuite$$anonfun$initialize$4.apply(JUnit.scala:153)
>>>      at scala.List.foreach(List.scala:841)
>>>     at  org.specs.runner.ExamplesTestSuite.initialize(JUnit.scala:153)
>>>      at org.specs.runner.JUnitSuite$class.init(JUnit.scala:53)
>>>      at  org.specs.runner.ExamplesTestSuite.init(JUnit.scala:143)
>>>      at org.specs.runner.JUnitSuite$class.run(JUnit.scala:60)
>>>      at org.specs.runner.ExamplesTestSuite.run(JUnit.scala:172)
>>>      at junit.framework.TestSuite.runTest(TestSuite.java:232)
>>>      at junit.framework.TestSuite.run(TestSuite.java:227)
>>>     at  org.specs.runner.JUnitSuite$class.run(JUnit.scala:61)
>>>     at  org.specs.runner.JUnit3.run(JUnit.scala:124)
>>>     at  org.specs.runner.JUnitSuiteRunner.run(JUnitSuiteRunner.scala:45)
>>>      at
>>>org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
>>>      at
>>>org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
>>>
>>>      at
>>>org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
>>>
>>>      at  org.apache.maven.surefire.Surefire.run(Surefire.java:177)
>>>      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:345)
>>>
>>>      at
>>>org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
>>>
>>
>>
>>
>>
>

Re: 1.1 Release: Failed Test

Posted by Richard Hirsch <hi...@gmail.com>.
Yep - this is the support of those legacy apps that still support
basic authentication in the Twitter API.  We'll have to decide how we
deal with OAuth but not in the 1.1 release. Either 1.2 or a later
release.

On Mon, Sep 6, 2010 at 3:01 PM, Joe Schaefer <jo...@yahoo.com> wrote:
> You are aware of the OAuth mandate for twitter
> apps, right?  It started Sept 1.
>
>
>
>
> ----- Original Message ----
>> From: Richard Hirsch <hi...@gmail.com>
>> To: esme-dev@incubator.apache.org
>> Sent: Mon, September 6, 2010 8:57:37 AM
>> Subject: 1.1 Release: Failed Test
>>
>> I aws going through the release preparation steps and we have a failing  test:
>>
>> "Twitter API should show message in user, home and public  timelines"
>>
>> I'd know whether the problem is a timing problem or something  else.
>>
>> ---------------
>>
>>
>> Tests run: 14, Failures: 1, Errors: 0,  Skipped: 0, Time elapsed:
>> 37.046 sec <<< FAILURE!
>> Twitter API  should show message in user, home and public timelines
>> Time elapsed: 0.016  sec  <<< FAILURE!
>> org.specs.runner.UserError: <statuses  success="true"
>>operation="statuses"><status><user><followers_count>0</followers_count><description>N/A</description><url></url><profile_image_url></profile_image_url><protected>false</protected><location>Europe/Berlin</location><screen_name>twitter_user</screen_name><name>Unknown
>>n
>> Unknown</name><id>23</id></user><text>User  twitter_user changed
>> profile. Name: Unknown  Unknown
>>Image:</text><in_reply_to_screen_name></in_reply_to_screen_name><truncated>false</truncated><in_reply_to_user_id></in_reply_to_user_id><favorited>false</favorited><created_at>Mon
>>n
>> Sep  06 14:52:07  +0200
>>2010</created_at><source>profile</source><in_reply_to_status_id></in_reply_to_status_id><id>42</id></status></statuses>
>>>
>> doesn't  contain <text>test_msg1</text>
>>     at
>>org.apache.esme.api.TwitterAPISpecs$XmlResponse$$anonfun$$bslash$bslash$1.apply(TwitterAPITest.scala:131)
>>
>>      at
>>org.apache.esme.api.TwitterAPISpecs$XmlResponse$$anonfun$$bslash$bslash$1.apply(TwitterAPITest.scala:131)
>>
>>      at
>>org.apache.esme.api.TwitterAPISpecs$XmlResponse$class.xmlMatch(TwitterAPITest.scala:126)
>>
>>      at
>>org.apache.esme.api.TwitterAPISpecs$$anon$1.xmlMatch(TwitterAPITest.scala:143)
>>      at
>>org.apache.esme.api.TwitterAPISpecs$XmlResponse$class.$bslash$bslash(TwitterAPITest.scala:131)
>>
>>      at
>>org.apache.esme.api.TwitterAPISpecs$$anon$1.$bslash$bslash(TwitterAPITest.scala:143)
>>
>>      at
>>org.apache.esme.api.TwitterAPISpecs$$anonfun$1$$anonfun$apply$24.apply(TwitterAPITest.scala:163)
>>
>>      at
>>org.apache.esme.api.TwitterAPISpecs$$anonfun$1$$anonfun$apply$24.apply(TwitterAPITest.scala:160)
>>
>>      at
>>org.specs.specification.LifeCycle$class.withCurrent(ExampleLifeCycle.scala:64)
>>      at  org.specs.specification.Examples.withCurrent(Examples.scala:52)
>>      at
>>org.specs.specification.Examples$$anonfun$specifyExample$1.apply(Examples.scala:108)
>>
>>      at
>>org.specs.specification.Examples$$anonfun$specifyExample$1.apply(Examples.scala:108)
>>
>>      at
>>org.specs.specification.ExampleExecution$$anonfun$3$$anonfun$apply$5.apply(ExampleLifeCycle.scala:195)
>>
>>      at scala.Option.getOrElse(Option.scala:61)
>>     at
>>org.specs.specification.LifeCycle$class.executeExpectations(ExampleLifeCycle.scala:86)
>>
>>      at
>>org.specs.specification.BaseSpecification.executeExpectations(BaseSpecification.scala:55)
>>
>>      at
>>org.specs.specification.LifeCycle$$anonfun$executeExpectations$1.apply(ExampleLifeCycle.scala:86)
>>
>>      at
>>org.specs.specification.LifeCycle$$anonfun$executeExpectations$1.apply(ExampleLifeCycle.scala:86)
>>
>>      at scala.Option.map(Option.scala:70)
>>     at
>>org.specs.specification.LifeCycle$class.executeExpectations(ExampleLifeCycle.scala:86)
>>
>>      at
>>org.specs.specification.BaseSpecification.executeExpectations(BaseSpecification.scala:55)
>>
>>      at
>>org.specs.specification.ExampleContext$$anonfun$executeExpectations$2$$anonfun$apply$1$$anonfun$apply$2.apply(ExampleContext.scala:58)
>>
>>      at
>>org.specs.specification.ExampleContext$$anonfun$executeExpectations$2$$anonfun$apply$1$$anonfun$apply$2.apply(ExampleContext.scala:58)
>>
>>      at scala.Option.map(Option.scala:70)
>>     at
>>org.specs.specification.ExampleContext$$anonfun$executeExpectations$2$$anonfun$apply$1.apply(ExampleContext.scala:58)
>>
>>      at
>>org.specs.specification.ExampleContext$$anonfun$executeExpectations$2$$anonfun$apply$1.apply(ExampleContext.scala:58)
>>
>>      at
>>org.specs.specification.ExampleContext$class.id$1(ExampleContext.scala:31)
>>      at
>>org.specs.specification.ExampleContext$$anonfun$1.apply(ExampleContext.scala:32)
>>      at
>>org.specs.specification.ExampleContext$$anonfun$1.apply(ExampleContext.scala:32)
>>      at
>>org.specs.specification.ExampleContext$$anonfun$executeExpectations$2.apply(ExampleContext.scala:58)
>>
>>      at
>>org.specs.specification.ExampleContext$$anonfun$executeExpectations$2.apply(ExampleContext.scala:57)
>>
>>      at scala.Option.map(Option.scala:70)
>>     at
>>org.specs.specification.ExampleContext$class.executeExpectations(ExampleContext.scala:57)
>>
>>      at
>>org.specs.specification.Examples.executeExpectations(Examples.scala:52)
>>      at
>>org.specs.specification.ExampleContext$$anonfun$executeExpectations$2$$anonfun$apply$1$$anonfun$apply$2.apply(ExampleContext.scala:58)
>>
>>      at
>>org.specs.specification.ExampleContext$$anonfun$executeExpectations$2$$anonfun$apply$1$$anonfun$apply$2.apply(ExampleContext.scala:58)
>>
>>      at scala.Option.map(Option.scala:70)
>>     at
>>org.specs.specification.ExampleContext$$anonfun$executeExpectations$2$$anonfun$apply$1.apply(ExampleContext.scala:58)
>>
>>      at
>>org.specs.specification.ExampleContext$$anonfun$executeExpectations$2$$anonfun$apply$1.apply(ExampleContext.scala:58)
>>
>>      at
>>org.specs.specification.ExampleContext$class.id$1(ExampleContext.scala:31)
>>      at
>>org.specs.specification.ExampleContext$$anonfun$1.apply(ExampleContext.scala:32)
>>      at
>>org.specs.specification.ExampleContext$$anonfun$1.apply(ExampleContext.scala:32)
>>      at
>>org.specs.specification.ExampleContext$$anonfun$executeExpectations$2.apply(ExampleContext.scala:58)
>>
>>      at
>>org.specs.specification.ExampleContext$$anonfun$executeExpectations$2.apply(ExampleContext.scala:57)
>>
>>      at scala.Option.map(Option.scala:70)
>>     at
>>org.specs.specification.ExampleContext$class.executeExpectations(ExampleContext.scala:57)
>>
>>      at
>>org.specs.specification.Examples.executeExpectations(Examples.scala:52)
>>      at
>>org.specs.specification.ExampleExecution$$anonfun$3.apply(ExampleLifeCycle.scala:195)
>>
>>      at
>>org.specs.specification.ExampleExecution$$anonfun$3.apply(ExampleLifeCycle.scala:182)
>>
>>      at
>>org.specs.specification.ExampleExecution$$anonfun$2.apply(ExampleLifeCycle.scala:165)
>>
>>      at
>>org.specs.specification.ExampleExecution.execute(ExampleLifeCycle.scala:215)
>>      at
>>org.specs.specification.SpecificationExecutor$$anonfun$executeExample$1.apply(SpecificationExecutor.scala:51)
>>
>>      at
>>org.specs.specification.SpecificationExecutor$$anonfun$executeExample$1.apply(SpecificationExecutor.scala:51)
>>
>>      at scala.Option.map(Option.scala:70)
>>     at
>>org.specs.specification.SpecificationExecutor$class.executeExample(SpecificationExecutor.scala:51)
>>
>>      at
>>org.specs.specification.BaseSpecification.executeExample(BaseSpecification.scala:55)
>>
>>      at
>>org.specs.specification.BaseSpecification.executeExample(BaseSpecification.scala:55)
>>
>>      at
>>org.specs.specification.ExampleLifeCycle$$anonfun$executeExample$1.apply(ExampleLifeCycle.scala:124)
>>
>>      at
>>org.specs.specification.ExampleLifeCycle$$anonfun$executeExample$1.apply(ExampleLifeCycle.scala:124)
>>
>>      at scala.Option.map(Option.scala:70)
>>     at
>>org.specs.specification.ExampleLifeCycle$class.executeExample(ExampleLifeCycle.scala:124)
>>
>>      at  org.specs.specification.Examples.executeExample(Examples.scala:52)
>>      at  org.specs.specification.Examples.executeExample(Examples.scala:52)
>>      at
>>org.specs.specification.Examples$$anonfun$executeExamples$1.apply(Examples.scala:80)
>>
>>      at
>>org.specs.specification.Examples$$anonfun$executeExamples$1.apply(Examples.scala:80)
>>
>>      at scala.Option.map(Option.scala:70)
>>     at  org.specs.specification.Examples.executeExamples(Examples.scala:80)
>>      at
>>org.specs.specification.ExampleStructure$class.examples(ExampleStructure.scala:77)
>>
>>      at  org.specs.specification.Examples.examples(Examples.scala:52)
>>      at
>>org.specs.runner.ExamplesTestSuite$$anonfun$initialize$4.apply(JUnit.scala:157)
>>      at
>>org.specs.runner.ExamplesTestSuite$$anonfun$initialize$4.apply(JUnit.scala:153)
>>      at scala.List.foreach(List.scala:841)
>>     at  org.specs.runner.ExamplesTestSuite.initialize(JUnit.scala:153)
>>      at org.specs.runner.JUnitSuite$class.init(JUnit.scala:53)
>>      at  org.specs.runner.ExamplesTestSuite.init(JUnit.scala:143)
>>      at org.specs.runner.JUnitSuite$class.run(JUnit.scala:60)
>>      at org.specs.runner.ExamplesTestSuite.run(JUnit.scala:172)
>>      at junit.framework.TestSuite.runTest(TestSuite.java:232)
>>      at junit.framework.TestSuite.run(TestSuite.java:227)
>>     at  org.specs.runner.JUnitSuite$class.run(JUnit.scala:61)
>>     at  org.specs.runner.JUnit3.run(JUnit.scala:124)
>>     at  org.specs.runner.JUnitSuiteRunner.run(JUnitSuiteRunner.scala:45)
>>      at
>>org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
>>      at
>>org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
>>
>>      at
>>org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
>>
>>      at  org.apache.maven.surefire.Surefire.run(Surefire.java:177)
>>      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:345)
>>
>>      at
>>org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
>>
>
>
>
>

Re: 1.1 Release: Failed Test

Posted by Joe Schaefer <jo...@yahoo.com>.
You are aware of the OAuth mandate for twitter
apps, right?  It started Sept 1.




----- Original Message ----
> From: Richard Hirsch <hi...@gmail.com>
> To: esme-dev@incubator.apache.org
> Sent: Mon, September 6, 2010 8:57:37 AM
> Subject: 1.1 Release: Failed Test
> 
> I aws going through the release preparation steps and we have a failing  test:
> 
> "Twitter API should show message in user, home and public  timelines"
> 
> I'd know whether the problem is a timing problem or something  else.
> 
> ---------------
> 
> 
> Tests run: 14, Failures: 1, Errors: 0,  Skipped: 0, Time elapsed:
> 37.046 sec <<< FAILURE!
> Twitter API  should show message in user, home and public timelines
> Time elapsed: 0.016  sec  <<< FAILURE!
> org.specs.runner.UserError: <statuses  success="true"
>operation="statuses"><status><user><followers_count>0</followers_count><description>N/A</description><url></url><profile_image_url></profile_image_url><protected>false</protected><location>Europe/Berlin</location><screen_name>twitter_user</screen_name><name>Unknown
>n
> Unknown</name><id>23</id></user><text>User  twitter_user changed
> profile. Name: Unknown  Unknown
>Image:</text><in_reply_to_screen_name></in_reply_to_screen_name><truncated>false</truncated><in_reply_to_user_id></in_reply_to_user_id><favorited>false</favorited><created_at>Mon
>n
> Sep  06 14:52:07  +0200
>2010</created_at><source>profile</source><in_reply_to_status_id></in_reply_to_status_id><id>42</id></status></statuses>
>>
> doesn't  contain <text>test_msg1</text>
>     at  
>org.apache.esme.api.TwitterAPISpecs$XmlResponse$$anonfun$$bslash$bslash$1.apply(TwitterAPITest.scala:131)
>
>      at  
>org.apache.esme.api.TwitterAPISpecs$XmlResponse$$anonfun$$bslash$bslash$1.apply(TwitterAPITest.scala:131)
>
>      at  
>org.apache.esme.api.TwitterAPISpecs$XmlResponse$class.xmlMatch(TwitterAPITest.scala:126)
>
>      at  
>org.apache.esme.api.TwitterAPISpecs$$anon$1.xmlMatch(TwitterAPITest.scala:143)
>      at  
>org.apache.esme.api.TwitterAPISpecs$XmlResponse$class.$bslash$bslash(TwitterAPITest.scala:131)
>
>      at  
>org.apache.esme.api.TwitterAPISpecs$$anon$1.$bslash$bslash(TwitterAPITest.scala:143)
>
>      at  
>org.apache.esme.api.TwitterAPISpecs$$anonfun$1$$anonfun$apply$24.apply(TwitterAPITest.scala:163)
>
>      at  
>org.apache.esme.api.TwitterAPISpecs$$anonfun$1$$anonfun$apply$24.apply(TwitterAPITest.scala:160)
>
>      at  
>org.specs.specification.LifeCycle$class.withCurrent(ExampleLifeCycle.scala:64)
>      at  org.specs.specification.Examples.withCurrent(Examples.scala:52)
>      at  
>org.specs.specification.Examples$$anonfun$specifyExample$1.apply(Examples.scala:108)
>
>      at  
>org.specs.specification.Examples$$anonfun$specifyExample$1.apply(Examples.scala:108)
>
>      at  
>org.specs.specification.ExampleExecution$$anonfun$3$$anonfun$apply$5.apply(ExampleLifeCycle.scala:195)
>
>      at scala.Option.getOrElse(Option.scala:61)
>     at  
>org.specs.specification.LifeCycle$class.executeExpectations(ExampleLifeCycle.scala:86)
>
>      at  
>org.specs.specification.BaseSpecification.executeExpectations(BaseSpecification.scala:55)
>
>      at  
>org.specs.specification.LifeCycle$$anonfun$executeExpectations$1.apply(ExampleLifeCycle.scala:86)
>
>      at  
>org.specs.specification.LifeCycle$$anonfun$executeExpectations$1.apply(ExampleLifeCycle.scala:86)
>
>      at scala.Option.map(Option.scala:70)
>     at  
>org.specs.specification.LifeCycle$class.executeExpectations(ExampleLifeCycle.scala:86)
>
>      at  
>org.specs.specification.BaseSpecification.executeExpectations(BaseSpecification.scala:55)
>
>      at  
>org.specs.specification.ExampleContext$$anonfun$executeExpectations$2$$anonfun$apply$1$$anonfun$apply$2.apply(ExampleContext.scala:58)
>
>      at  
>org.specs.specification.ExampleContext$$anonfun$executeExpectations$2$$anonfun$apply$1$$anonfun$apply$2.apply(ExampleContext.scala:58)
>
>      at scala.Option.map(Option.scala:70)
>     at  
>org.specs.specification.ExampleContext$$anonfun$executeExpectations$2$$anonfun$apply$1.apply(ExampleContext.scala:58)
>
>      at  
>org.specs.specification.ExampleContext$$anonfun$executeExpectations$2$$anonfun$apply$1.apply(ExampleContext.scala:58)
>
>      at  
>org.specs.specification.ExampleContext$class.id$1(ExampleContext.scala:31)
>      at  
>org.specs.specification.ExampleContext$$anonfun$1.apply(ExampleContext.scala:32)
>      at  
>org.specs.specification.ExampleContext$$anonfun$1.apply(ExampleContext.scala:32)
>      at  
>org.specs.specification.ExampleContext$$anonfun$executeExpectations$2.apply(ExampleContext.scala:58)
>
>      at  
>org.specs.specification.ExampleContext$$anonfun$executeExpectations$2.apply(ExampleContext.scala:57)
>
>      at scala.Option.map(Option.scala:70)
>     at  
>org.specs.specification.ExampleContext$class.executeExpectations(ExampleContext.scala:57)
>
>      at  
>org.specs.specification.Examples.executeExpectations(Examples.scala:52)
>      at  
>org.specs.specification.ExampleContext$$anonfun$executeExpectations$2$$anonfun$apply$1$$anonfun$apply$2.apply(ExampleContext.scala:58)
>
>      at  
>org.specs.specification.ExampleContext$$anonfun$executeExpectations$2$$anonfun$apply$1$$anonfun$apply$2.apply(ExampleContext.scala:58)
>
>      at scala.Option.map(Option.scala:70)
>     at  
>org.specs.specification.ExampleContext$$anonfun$executeExpectations$2$$anonfun$apply$1.apply(ExampleContext.scala:58)
>
>      at  
>org.specs.specification.ExampleContext$$anonfun$executeExpectations$2$$anonfun$apply$1.apply(ExampleContext.scala:58)
>
>      at  
>org.specs.specification.ExampleContext$class.id$1(ExampleContext.scala:31)
>      at  
>org.specs.specification.ExampleContext$$anonfun$1.apply(ExampleContext.scala:32)
>      at  
>org.specs.specification.ExampleContext$$anonfun$1.apply(ExampleContext.scala:32)
>      at  
>org.specs.specification.ExampleContext$$anonfun$executeExpectations$2.apply(ExampleContext.scala:58)
>
>      at  
>org.specs.specification.ExampleContext$$anonfun$executeExpectations$2.apply(ExampleContext.scala:57)
>
>      at scala.Option.map(Option.scala:70)
>     at  
>org.specs.specification.ExampleContext$class.executeExpectations(ExampleContext.scala:57)
>
>      at  
>org.specs.specification.Examples.executeExpectations(Examples.scala:52)
>      at  
>org.specs.specification.ExampleExecution$$anonfun$3.apply(ExampleLifeCycle.scala:195)
>
>      at  
>org.specs.specification.ExampleExecution$$anonfun$3.apply(ExampleLifeCycle.scala:182)
>
>      at  
>org.specs.specification.ExampleExecution$$anonfun$2.apply(ExampleLifeCycle.scala:165)
>
>      at  
>org.specs.specification.ExampleExecution.execute(ExampleLifeCycle.scala:215)
>      at  
>org.specs.specification.SpecificationExecutor$$anonfun$executeExample$1.apply(SpecificationExecutor.scala:51)
>
>      at  
>org.specs.specification.SpecificationExecutor$$anonfun$executeExample$1.apply(SpecificationExecutor.scala:51)
>
>      at scala.Option.map(Option.scala:70)
>     at  
>org.specs.specification.SpecificationExecutor$class.executeExample(SpecificationExecutor.scala:51)
>
>      at  
>org.specs.specification.BaseSpecification.executeExample(BaseSpecification.scala:55)
>
>      at  
>org.specs.specification.BaseSpecification.executeExample(BaseSpecification.scala:55)
>
>      at  
>org.specs.specification.ExampleLifeCycle$$anonfun$executeExample$1.apply(ExampleLifeCycle.scala:124)
>
>      at  
>org.specs.specification.ExampleLifeCycle$$anonfun$executeExample$1.apply(ExampleLifeCycle.scala:124)
>
>      at scala.Option.map(Option.scala:70)
>     at  
>org.specs.specification.ExampleLifeCycle$class.executeExample(ExampleLifeCycle.scala:124)
>
>      at  org.specs.specification.Examples.executeExample(Examples.scala:52)
>      at  org.specs.specification.Examples.executeExample(Examples.scala:52)
>      at  
>org.specs.specification.Examples$$anonfun$executeExamples$1.apply(Examples.scala:80)
>
>      at  
>org.specs.specification.Examples$$anonfun$executeExamples$1.apply(Examples.scala:80)
>
>      at scala.Option.map(Option.scala:70)
>     at  org.specs.specification.Examples.executeExamples(Examples.scala:80)
>      at  
>org.specs.specification.ExampleStructure$class.examples(ExampleStructure.scala:77)
>
>      at  org.specs.specification.Examples.examples(Examples.scala:52)
>      at  
>org.specs.runner.ExamplesTestSuite$$anonfun$initialize$4.apply(JUnit.scala:157)
>      at  
>org.specs.runner.ExamplesTestSuite$$anonfun$initialize$4.apply(JUnit.scala:153)
>      at scala.List.foreach(List.scala:841)
>     at  org.specs.runner.ExamplesTestSuite.initialize(JUnit.scala:153)
>      at org.specs.runner.JUnitSuite$class.init(JUnit.scala:53)
>      at  org.specs.runner.ExamplesTestSuite.init(JUnit.scala:143)
>      at org.specs.runner.JUnitSuite$class.run(JUnit.scala:60)
>      at org.specs.runner.ExamplesTestSuite.run(JUnit.scala:172)
>      at junit.framework.TestSuite.runTest(TestSuite.java:232)
>      at junit.framework.TestSuite.run(TestSuite.java:227)
>     at  org.specs.runner.JUnitSuite$class.run(JUnit.scala:61)
>     at  org.specs.runner.JUnit3.run(JUnit.scala:124)
>     at  org.specs.runner.JUnitSuiteRunner.run(JUnitSuiteRunner.scala:45)
>      at  
>org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
>      at  
>org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
>
>      at  
>org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
>
>      at  org.apache.maven.surefire.Surefire.run(Surefire.java:177)
>      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:345)
>
>      at  
>org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
>