You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Doron Cohen (JIRA)" <ji...@apache.org> on 2011/03/24 07:54:06 UTC

[jira] [Created] (LUCENE-2988) trunk 'ant test' hangs

trunk 'ant test' hangs
----------------------

                 Key: LUCENE-2988
                 URL: https://issues.apache.org/jira/browse/LUCENE-2988
             Project: Lucene - Java
          Issue Type: Bug
          Components: Tests
         Environment: inspected so far on XP within Cygwin using IBM JDK 6
            Reporter: Doron Cohen
            Assignee: Doron Cohen
             Fix For: 4.0


Running 'ant test' from trunk on XP in a Cygwin shell hangs, taking 100% CPU.
There was no progress in the console for a long time, so i stopped the program.
Before stopping it, created 5 consecutive thread dumps to see where the code is.
It is not clear what is going on - does not seem like a Lucene code I think but not sure.
Opening this issue to keep an eye on this - I will try with other JDKs to see if this is persistent.
Also, when first seeing this had local changes of two issue: LUCENE-2986 and LUCENE-2977 - I think the changes in these issues are related but will repeat the tests without these changes.


--
This message is automatically generated by JIRA.
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-2988) trunk 'ant test' hangs

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

Doron Cohen updated LUCENE-2988:
--------------------------------

    Attachment: 5-java-dumps.zip

Attached contains 5 consecutive java dumps taken when the tests were hanging - in the hope that comparing the thread states in the files would reveal the problem.

> trunk 'ant test' hangs
> ----------------------
>
>                 Key: LUCENE-2988
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2988
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Tests
>         Environment: inspected so far on XP within Cygwin using IBM JDK 6
>            Reporter: Doron Cohen
>            Assignee: Doron Cohen
>             Fix For: 4.0
>
>         Attachments: 5-java-dumps.zip
>
>
> Running 'ant test' from trunk on XP in a Cygwin shell hangs, taking 100% CPU.
> There was no progress in the console for a long time, so i stopped the program.
> Before stopping it, created 5 consecutive thread dumps to see where the code is.
> It is not clear what is going on - does not seem like a Lucene code I think but not sure.
> Opening this issue to keep an eye on this - I will try with other JDKs to see if this is persistent.
> Also, when first seeing this had local changes of two issue: LUCENE-2986 and LUCENE-2977 - I think the changes in these issues are related but will repeat the tests without these changes.

--
This message is automatically generated by JIRA.
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] [Resolved] (LUCENE-2988) trunk 'ant test' hangs

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

Doron Cohen resolved LUCENE-2988.
---------------------------------

       Resolution: Cannot Reproduce
    Lucene Fields:   (was: [New])

Could not reproduce once moved from ant 1.8.1 to 1.7.1.

> trunk 'ant test' hangs
> ----------------------
>
>                 Key: LUCENE-2988
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2988
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Tests
>         Environment: inspected so far on XP within Cygwin using IBM JDK 6
>            Reporter: Doron Cohen
>            Assignee: Doron Cohen
>             Fix For: 4.0
>
>         Attachments: 5-java-dumps.zip
>
>
> Running 'ant test' from trunk on XP in a Cygwin shell hangs.
> There was no progress in the console for a long time, so i stopped the program.
> Before stopping it, created 5 consecutive thread dumps to see where the code is.
> It is not clear what is going on - does not seem like a Lucene code I think but not sure.
> Opening this issue to keep an eye on this - I will try with other JDKs to see if this is persistent.
> Also, when first seeing this had local changes of two issue: LUCENE-2986 and LUCENE-2977 - I think the changes in these issues are related but will repeat the tests without these changes.

--
This message is automatically generated by JIRA.
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-2988) trunk 'ant test' hangs

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

Doron Cohen commented on LUCENE-2988:
-------------------------------------

Thanks Robert for looking into this!

bq. it seems they are from the 'ant' jvm, not the forked process that actually runs the tests

Indeed, now I notice that too... when 'ant test' hanged I used <CTRL BREAK> to get the thread dump and did not realize the ant JVM stands in between... That console is lost and I don't know the exact location in the tests when that happened - too bad. 

bq. It could be the case here that its just in some ultra-slow test such as TestIndexWriterOnDiskFull... this one frequently takes several minutes for me even on Sun JRE.

I was away for half an hour so its something slower...

I was not able to reproduce this, and also in the meantime found out that I was using incompatible ant version - 1.8.1. 

So thinking of closing this for now, will reopen it if it will reappear with ant 1.7.1.

> trunk 'ant test' hangs
> ----------------------
>
>                 Key: LUCENE-2988
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2988
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Tests
>         Environment: inspected so far on XP within Cygwin using IBM JDK 6
>            Reporter: Doron Cohen
>            Assignee: Doron Cohen
>             Fix For: 4.0
>
>         Attachments: 5-java-dumps.zip
>
>
> Running 'ant test' from trunk on XP in a Cygwin shell hangs.
> There was no progress in the console for a long time, so i stopped the program.
> Before stopping it, created 5 consecutive thread dumps to see where the code is.
> It is not clear what is going on - does not seem like a Lucene code I think but not sure.
> Opening this issue to keep an eye on this - I will try with other JDKs to see if this is persistent.
> Also, when first seeing this had local changes of two issue: LUCENE-2986 and LUCENE-2977 - I think the changes in these issues are related but will repeat the tests without these changes.

--
This message is automatically generated by JIRA.
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-2988) trunk 'ant test' hangs

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

Robert Muir commented on LUCENE-2988:
-------------------------------------

I havent tried the tests with IBM's JRE in a while, I just did so and actually noticed some test failures. So it seems we have some issues to cleanup here.

As far as hangs, I inspected your dump files and it seems they are from the 'ant' jvm, not the forked process that actually runs the tests? 

It could be the case here that its just in some ultra-slow test such as TestIndexWriterOnDiskFull... this one frequently takes several minutes for me even on Sun JRE.


> trunk 'ant test' hangs
> ----------------------
>
>                 Key: LUCENE-2988
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2988
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Tests
>         Environment: inspected so far on XP within Cygwin using IBM JDK 6
>            Reporter: Doron Cohen
>            Assignee: Doron Cohen
>             Fix For: 4.0
>
>         Attachments: 5-java-dumps.zip
>
>
> Running 'ant test' from trunk on XP in a Cygwin shell hangs.
> There was no progress in the console for a long time, so i stopped the program.
> Before stopping it, created 5 consecutive thread dumps to see where the code is.
> It is not clear what is going on - does not seem like a Lucene code I think but not sure.
> Opening this issue to keep an eye on this - I will try with other JDKs to see if this is persistent.
> Also, when first seeing this had local changes of two issue: LUCENE-2986 and LUCENE-2977 - I think the changes in these issues are related but will repeat the tests without these changes.

--
This message is automatically generated by JIRA.
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-2988) trunk 'ant test' hangs

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

Doron Cohen updated LUCENE-2988:
--------------------------------

    Description: 
Running 'ant test' from trunk on XP in a Cygwin shell hangs.
There was no progress in the console for a long time, so i stopped the program.
Before stopping it, created 5 consecutive thread dumps to see where the code is.
It is not clear what is going on - does not seem like a Lucene code I think but not sure.
Opening this issue to keep an eye on this - I will try with other JDKs to see if this is persistent.
Also, when first seeing this had local changes of two issue: LUCENE-2986 and LUCENE-2977 - I think the changes in these issues are related but will repeat the tests without these changes.


  was:
Running 'ant test' from trunk on XP in a Cygwin shell hangs, taking 100% CPU.
There was no progress in the console for a long time, so i stopped the program.
Before stopping it, created 5 consecutive thread dumps to see where the code is.
It is not clear what is going on - does not seem like a Lucene code I think but not sure.
Opening this issue to keep an eye on this - I will try with other JDKs to see if this is persistent.
Also, when first seeing this had local changes of two issue: LUCENE-2986 and LUCENE-2977 - I think the changes in these issues are related but will repeat the tests without these changes.



Updated the description - removed the part about 100% CPU - apparently the CPU consumption was unrelated (though the tests do hang).

> trunk 'ant test' hangs
> ----------------------
>
>                 Key: LUCENE-2988
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2988
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Tests
>         Environment: inspected so far on XP within Cygwin using IBM JDK 6
>            Reporter: Doron Cohen
>            Assignee: Doron Cohen
>             Fix For: 4.0
>
>         Attachments: 5-java-dumps.zip
>
>
> Running 'ant test' from trunk on XP in a Cygwin shell hangs.
> There was no progress in the console for a long time, so i stopped the program.
> Before stopping it, created 5 consecutive thread dumps to see where the code is.
> It is not clear what is going on - does not seem like a Lucene code I think but not sure.
> Opening this issue to keep an eye on this - I will try with other JDKs to see if this is persistent.
> Also, when first seeing this had local changes of two issue: LUCENE-2986 and LUCENE-2977 - I think the changes in these issues are related but will repeat the tests without these changes.

--
This message is automatically generated by JIRA.
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