You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Hoss Man (JIRA)" <ji...@apache.org> on 2012/06/15 02:22:42 UTC

[jira] [Created] (LUCENE-4145) "Unhandled exception" from test framework?

Hoss Man created LUCENE-4145:
--------------------------------

             Summary: "Unhandled exception" from test framework?
                 Key: LUCENE-4145
                 URL: https://issues.apache.org/jira/browse/LUCENE-4145
             Project: Lucene - Java
          Issue Type: Improvement
            Reporter: Hoss Man
            Assignee: Dawid Weiss


Working on SOLR-3267 i got a weird exception printed to the junit output...

{noformat}
   [junit4] Unhandled exception in thread: Thread[pumper-events,5,main]
   [junit4] com.carrotsearch.ant.tasks.junit4.dependencies.com.google.gson.JsonParseException: No such reference: id#org.apache.solr.search.TestSort[3]
...
{noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] [Commented] (LUCENE-4145) "Unhandled exception" from test framework (in json parsing of test output files?)

Posted by "Dawid Weiss (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LUCENE-4145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295505#comment-13295505 ] 

Dawid Weiss commented on LUCENE-4145:
-------------------------------------

This is an OOM on the client VM related to buffering output events. I thought gson would propagate these immediately to the master -- have to see what's going on.

https://github.com/carrotsearch/randomizedtesting/issues/110

Workaround: -Dtests.iters=[1,smaller number]
                
> "Unhandled exception" from test framework (in json parsing of test output files?)
> ---------------------------------------------------------------------------------
>
>                 Key: LUCENE-4145
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4145
>             Project: Lucene - Java
>          Issue Type: Improvement
>            Reporter: Hoss Man
>            Assignee: Dawid Weiss
>
> Working on SOLR-3267 i got a weird exception printed to the junit output...
> {noformat}
>    [junit4] Unhandled exception in thread: Thread[pumper-events,5,main]
>    [junit4] com.carrotsearch.ant.tasks.junit4.dependencies.com.google.gson.JsonParseException: No such reference: id#org.apache.solr.search.TestSort[3]
> ...
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] [Commented] (LUCENE-4145) "Unhandled exception" from test framework (in json parsing of test output files?)

Posted by "Hoss Man (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LUCENE-4145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13396432#comment-13396432 ] 

Hoss Man commented on LUCENE-4145:
----------------------------------

Thanks Dawid ... i would totally expect/respect -Dtests.iters=$HUGE to be limited by the amount of Ram in use, it was the odd except on console followed by the aparent infinite hang that concerend me the most (would hate to see that happen in a jenkins build)
                
> "Unhandled exception" from test framework (in json parsing of test output files?)
> ---------------------------------------------------------------------------------
>
>                 Key: LUCENE-4145
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4145
>             Project: Lucene - Java
>          Issue Type: Improvement
>            Reporter: Hoss Man
>            Assignee: Dawid Weiss
>
> Working on SOLR-3267 i got a weird exception printed to the junit output...
> {noformat}
>    [junit4] Unhandled exception in thread: Thread[pumper-events,5,main]
>    [junit4] com.carrotsearch.ant.tasks.junit4.dependencies.com.google.gson.JsonParseException: No such reference: id#org.apache.solr.search.TestSort[3]
> ...
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] [Commented] (LUCENE-4145) "Unhandled exception" from test framework (in json parsing of test output files?)

Posted by "Dawid Weiss (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LUCENE-4145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13396588#comment-13396588 ] 

Dawid Weiss commented on LUCENE-4145:
-------------------------------------

It shouldn't hang -- you're right. I'll try to fix this for the next release (I know where the problem is). 
                
> "Unhandled exception" from test framework (in json parsing of test output files?)
> ---------------------------------------------------------------------------------
>
>                 Key: LUCENE-4145
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4145
>             Project: Lucene - Java
>          Issue Type: Improvement
>            Reporter: Hoss Man
>            Assignee: Dawid Weiss
>
> Working on SOLR-3267 i got a weird exception printed to the junit output...
> {noformat}
>    [junit4] Unhandled exception in thread: Thread[pumper-events,5,main]
>    [junit4] com.carrotsearch.ant.tasks.junit4.dependencies.com.google.gson.JsonParseException: No such reference: id#org.apache.solr.search.TestSort[3]
> ...
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] [Commented] (LUCENE-4145) "Unhandled exception" from test framework?

Posted by "Hoss Man (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LUCENE-4145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295404#comment-13295404 ] 

Hoss Man commented on LUCENE-4145:
----------------------------------

Execution was...

{noformat}
hossman@bester:~/lucene/dev/solr/core$ ant test -Dtests.iters=100000 -Dtestcase=TestSort -Dtestmethod=testRandomFieldNameSorts 
...
validate:

common.test:
   [junit4] <JUnit4> says aloha! Master seed: D6A9197BD551566E
   [junit4] Executing 1 suite with 1 JVM.
   [junit4] Unhandled exception in thread: Thread[pumper-events,5,main]
   [junit4] com.carrotsearch.ant.tasks.junit4.dependencies.com.google.gson.JsonParseException: No such reference: id#org.apache.solr.search.TestSort[3]
   [junit4] 	at com.carrotsearch.ant.tasks.junit4.events.json.JsonDescriptionAdapter.deserialize(JsonDescriptionAdapter.java:90)
   [junit4] 	at com.carrotsearch.ant.tasks.junit4.events.json.JsonDescriptionAdapter.deserialize(JsonDescriptionAdapter.java:15)
   [junit4] 	at com.carrotsearch.ant.tasks.junit4.dependencies.com.google.gson.JsonDeserializerExceptionWrapper.deserialize(JsonDeserializerExceptionWrapper.java:51)
   [junit4] 	at com.carrotsearch.ant.tasks.junit4.dependencies.com.google.gson.GsonToMiniGsonTypeAdapterFactory$3.read(GsonToMiniGsonTypeAdapterFactory.java:85)
   [junit4] 	at com.carrotsearch.ant.tasks.junit4.dependencies.com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:86)
   [junit4] 	at com.carrotsearch.ant.tasks.junit4.dependencies.com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:170)
   [junit4] 	at com.carrotsearch.ant.tasks.junit4.dependencies.com.google.gson.Gson.fromJson(Gson.java:720)
   [junit4] 	at com.carrotsearch.ant.tasks.junit4.events.Deserializer.deserialize(Deserializer.java:31)
   [junit4] 	at com.carrotsearch.ant.tasks.junit4.LocalSlaveStreamHandler.pumpEvents(LocalSlaveStreamHandler.java:100)
   [junit4] 	at com.carrotsearch.ant.tasks.junit4.LocalSlaveStreamHandler$1.run(LocalSlaveStreamHandler.java:73)
   [junit4] 	at java.lang.Thread.run(Thread.java:662)
...
{noformat}

...and the (ant) process is still running, but no files in solr/build/solr-core/test have been modified in over 20 minutes.
                
> "Unhandled exception" from test framework?
> ------------------------------------------
>
>                 Key: LUCENE-4145
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4145
>             Project: Lucene - Java
>          Issue Type: Improvement
>            Reporter: Hoss Man
>            Assignee: Dawid Weiss
>
> Working on SOLR-3267 i got a weird exception printed to the junit output...
> {noformat}
>    [junit4] Unhandled exception in thread: Thread[pumper-events,5,main]
>    [junit4] com.carrotsearch.ant.tasks.junit4.dependencies.com.google.gson.JsonParseException: No such reference: id#org.apache.solr.search.TestSort[3]
> ...
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] [Commented] (LUCENE-4145) "Unhandled exception" from test framework (in json parsing of test output files?)

Posted by "Dawid Weiss (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LUCENE-4145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295509#comment-13295509 ] 

Dawid Weiss commented on LUCENE-4145:
-------------------------------------

This will also affect reports -- tests.iters=100000 means there will be 100k tests under that suite... If this test has no special setup/ teardown you may be better off just looping it internally (add a test method that invokes the other one in a loop). 

I'll fix that problem but 100k repetitions is kind of extreme. Don't try to run it in Eclipse or IntelliJ, I'm sure their GUI system will not like it ;)
                
> "Unhandled exception" from test framework (in json parsing of test output files?)
> ---------------------------------------------------------------------------------
>
>                 Key: LUCENE-4145
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4145
>             Project: Lucene - Java
>          Issue Type: Improvement
>            Reporter: Hoss Man
>            Assignee: Dawid Weiss
>
> Working on SOLR-3267 i got a weird exception printed to the junit output...
> {noformat}
>    [junit4] Unhandled exception in thread: Thread[pumper-events,5,main]
>    [junit4] com.carrotsearch.ant.tasks.junit4.dependencies.com.google.gson.JsonParseException: No such reference: id#org.apache.solr.search.TestSort[3]
> ...
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] [Updated] (LUCENE-4145) "Unhandled exception" from test framework (in json parsing of test output files?)

Posted by "Hoss Man (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-4145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hoss Man updated LUCENE-4145:
-----------------------------

    Summary: "Unhandled exception" from test framework (in json parsing of test output files?)  (was: "Unhandled exception" from test framework?)

FWIW: i can reproduce this fairly trivially ... let me now if you want me to capture anything in particular.
                
> "Unhandled exception" from test framework (in json parsing of test output files?)
> ---------------------------------------------------------------------------------
>
>                 Key: LUCENE-4145
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4145
>             Project: Lucene - Java
>          Issue Type: Improvement
>            Reporter: Hoss Man
>            Assignee: Dawid Weiss
>
> Working on SOLR-3267 i got a weird exception printed to the junit output...
> {noformat}
>    [junit4] Unhandled exception in thread: Thread[pumper-events,5,main]
>    [junit4] com.carrotsearch.ant.tasks.junit4.dependencies.com.google.gson.JsonParseException: No such reference: id#org.apache.solr.search.TestSort[3]
> ...
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] [Commented] (LUCENE-4145) "Unhandled exception" from test framework (in json parsing of test output files?)

Posted by "Dawid Weiss (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LUCENE-4145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295490#comment-13295490 ] 

Dawid Weiss commented on LUCENE-4145:
-------------------------------------

This is weird, I'll look into it.
                
> "Unhandled exception" from test framework (in json parsing of test output files?)
> ---------------------------------------------------------------------------------
>
>                 Key: LUCENE-4145
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4145
>             Project: Lucene - Java
>          Issue Type: Improvement
>            Reporter: Hoss Man
>            Assignee: Dawid Weiss
>
> Working on SOLR-3267 i got a weird exception printed to the junit output...
> {noformat}
>    [junit4] Unhandled exception in thread: Thread[pumper-events,5,main]
>    [junit4] com.carrotsearch.ant.tasks.junit4.dependencies.com.google.gson.JsonParseException: No such reference: id#org.apache.solr.search.TestSort[3]
> ...
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org