[jira] [Commented] (SOLR-12150) CdcrBidirectionalTest.testBiDir() reproducing failure

2018-04-12 Thread Varun Thacker (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-12150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16436424#comment-16436424
 ] 

Varun Thacker commented on SOLR-12150:
--

Thanks Steve and Amrit!

> CdcrBidirectionalTest.testBiDir() reproducing failure
> -
>
> Key: SOLR-12150
> URL: https://issues.apache.org/jira/browse/SOLR-12150
> Project: Solr
>  Issue Type: Bug
>  Security Level: Public(Default Security Level. Issues are Public) 
>  Components: CDCR, Tests
>Reporter: Steve Rowe
>Assignee: Varun Thacker
>Priority: Major
> Fix For: 7.4, master (8.0)
>
> Attachments: SOLR-12150.patch, SOLR-12150.patch, SOLR-12150.patch
>
>
> From [https://jenkins.thetaphi.de/job/Lucene-Solr-7.x-MacOSX/538/] (also 
> reproduces for me on Linux):
> {noformat}
> Checking out Revision e80ee7fff85918e68c212757c0e6c4bddbdb5ab6 
> (refs/remotes/origin/branch_7x)
> [...]
>[junit4]   2> NOTE: reproduce with: ant test  
> -Dtestcase=CdcrBidirectionalTest -Dtests.method=testBiDir 
> -Dtests.seed=38DB802FA0173E8D -Dtests.slow=true -Dtests.locale=ro-RO 
> -Dtests.timezone=Etc/GMT-8 -Dtests.asserts=true -Dtests.file.encoding=UTF-8
>[junit4] ERROR   23.3s J0 | CdcrBidirectionalTest.testBiDir <<<
>[junit4]> Throwable #1: java.lang.IndexOutOfBoundsException: Index: 0, 
> Size: 0
>[junit4]>  at 
> __randomizedtesting.SeedInfo.seed([38DB802FA0173E8D:7D0070CDB83972CF]:0)
>[junit4]>  at java.util.ArrayList.rangeCheck(ArrayList.java:653)
>[junit4]>  at java.util.ArrayList.get(ArrayList.java:429)
>[junit4]>  at 
> org.apache.solr.cloud.cdcr.CdcrBidirectionalTest.getDocFieldValue(CdcrBidirectionalTest.java:227)
>[junit4]>  at 
> org.apache.solr.cloud.cdcr.CdcrBidirectionalTest.testBiDir(CdcrBidirectionalTest.java:200)
>[junit4]>  at java.lang.Thread.run(Thread.java:748)
> [...]
>[junit4]   2> NOTE: test params are: codec=Asserting(Lucene70), 
> sim=RandomSimilarity(queryNorm=false): {}, locale=ro-RO, timezone=Etc/GMT-8
>[junit4]   2> NOTE: Mac OS X 10.11.6 x86_64/Oracle Corporation 1.8.0_144 
> (64-bit)/cpus=3,threads=1,free=160960440,total=347418624
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Commented] (SOLR-12150) CdcrBidirectionalTest.testBiDir() reproducing failure

2018-04-12 Thread Varun Thacker (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-12150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16436422#comment-16436422
 ] 

Varun Thacker commented on SOLR-12150:
--

Added CHANGES entry and also made a slight modification where the source will 
always have the new document as we are calling a commit. So we don't need the 
additional null check 
{code:java}
assertEquals("cluster 2 wrong doc", "ABC", 
response.getResults().get(0).get(atomicFieldName));{code}

> CdcrBidirectionalTest.testBiDir() reproducing failure
> -
>
> Key: SOLR-12150
> URL: https://issues.apache.org/jira/browse/SOLR-12150
> Project: Solr
>  Issue Type: Bug
>  Security Level: Public(Default Security Level. Issues are Public) 
>  Components: CDCR, Tests
>Reporter: Steve Rowe
>Priority: Major
> Attachments: SOLR-12150.patch, SOLR-12150.patch, SOLR-12150.patch
>
>
> From [https://jenkins.thetaphi.de/job/Lucene-Solr-7.x-MacOSX/538/] (also 
> reproduces for me on Linux):
> {noformat}
> Checking out Revision e80ee7fff85918e68c212757c0e6c4bddbdb5ab6 
> (refs/remotes/origin/branch_7x)
> [...]
>[junit4]   2> NOTE: reproduce with: ant test  
> -Dtestcase=CdcrBidirectionalTest -Dtests.method=testBiDir 
> -Dtests.seed=38DB802FA0173E8D -Dtests.slow=true -Dtests.locale=ro-RO 
> -Dtests.timezone=Etc/GMT-8 -Dtests.asserts=true -Dtests.file.encoding=UTF-8
>[junit4] ERROR   23.3s J0 | CdcrBidirectionalTest.testBiDir <<<
>[junit4]> Throwable #1: java.lang.IndexOutOfBoundsException: Index: 0, 
> Size: 0
>[junit4]>  at 
> __randomizedtesting.SeedInfo.seed([38DB802FA0173E8D:7D0070CDB83972CF]:0)
>[junit4]>  at java.util.ArrayList.rangeCheck(ArrayList.java:653)
>[junit4]>  at java.util.ArrayList.get(ArrayList.java:429)
>[junit4]>  at 
> org.apache.solr.cloud.cdcr.CdcrBidirectionalTest.getDocFieldValue(CdcrBidirectionalTest.java:227)
>[junit4]>  at 
> org.apache.solr.cloud.cdcr.CdcrBidirectionalTest.testBiDir(CdcrBidirectionalTest.java:200)
>[junit4]>  at java.lang.Thread.run(Thread.java:748)
> [...]
>[junit4]   2> NOTE: test params are: codec=Asserting(Lucene70), 
> sim=RandomSimilarity(queryNorm=false): {}, locale=ro-RO, timezone=Etc/GMT-8
>[junit4]   2> NOTE: Mac OS X 10.11.6 x86_64/Oracle Corporation 1.8.0_144 
> (64-bit)/cpus=3,threads=1,free=160960440,total=347418624
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Commented] (SOLR-12150) CdcrBidirectionalTest.testBiDir() reproducing failure

2018-04-12 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-12150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16436420#comment-16436420
 ] 

ASF subversion and git services commented on SOLR-12150:


Commit c6c0821ddb235269de27daeeb34db43110aaf0c2 in lucene-solr's branch 
refs/heads/branch_7x from [~varun_saxena]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=c6c0821 ]

SOLR-12150: Fix a test bug in CdcrBidirectionalTest.testBiDir

(cherry picked from commit 2a2a0b6)


> CdcrBidirectionalTest.testBiDir() reproducing failure
> -
>
> Key: SOLR-12150
> URL: https://issues.apache.org/jira/browse/SOLR-12150
> Project: Solr
>  Issue Type: Bug
>  Security Level: Public(Default Security Level. Issues are Public) 
>  Components: CDCR, Tests
>Reporter: Steve Rowe
>Priority: Major
> Attachments: SOLR-12150.patch, SOLR-12150.patch, SOLR-12150.patch
>
>
> From [https://jenkins.thetaphi.de/job/Lucene-Solr-7.x-MacOSX/538/] (also 
> reproduces for me on Linux):
> {noformat}
> Checking out Revision e80ee7fff85918e68c212757c0e6c4bddbdb5ab6 
> (refs/remotes/origin/branch_7x)
> [...]
>[junit4]   2> NOTE: reproduce with: ant test  
> -Dtestcase=CdcrBidirectionalTest -Dtests.method=testBiDir 
> -Dtests.seed=38DB802FA0173E8D -Dtests.slow=true -Dtests.locale=ro-RO 
> -Dtests.timezone=Etc/GMT-8 -Dtests.asserts=true -Dtests.file.encoding=UTF-8
>[junit4] ERROR   23.3s J0 | CdcrBidirectionalTest.testBiDir <<<
>[junit4]> Throwable #1: java.lang.IndexOutOfBoundsException: Index: 0, 
> Size: 0
>[junit4]>  at 
> __randomizedtesting.SeedInfo.seed([38DB802FA0173E8D:7D0070CDB83972CF]:0)
>[junit4]>  at java.util.ArrayList.rangeCheck(ArrayList.java:653)
>[junit4]>  at java.util.ArrayList.get(ArrayList.java:429)
>[junit4]>  at 
> org.apache.solr.cloud.cdcr.CdcrBidirectionalTest.getDocFieldValue(CdcrBidirectionalTest.java:227)
>[junit4]>  at 
> org.apache.solr.cloud.cdcr.CdcrBidirectionalTest.testBiDir(CdcrBidirectionalTest.java:200)
>[junit4]>  at java.lang.Thread.run(Thread.java:748)
> [...]
>[junit4]   2> NOTE: test params are: codec=Asserting(Lucene70), 
> sim=RandomSimilarity(queryNorm=false): {}, locale=ro-RO, timezone=Etc/GMT-8
>[junit4]   2> NOTE: Mac OS X 10.11.6 x86_64/Oracle Corporation 1.8.0_144 
> (64-bit)/cpus=3,threads=1,free=160960440,total=347418624
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Commented] (SOLR-12150) CdcrBidirectionalTest.testBiDir() reproducing failure

2018-04-12 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-12150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16436416#comment-16436416
 ] 

ASF subversion and git services commented on SOLR-12150:


Commit 2a2a0b6acd527ae219b66d22b67c2c7b37273bf2 in lucene-solr's branch 
refs/heads/master from [~varun_saxena]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=2a2a0b6 ]

SOLR-12150: Fix a test bug in CdcrBidirectionalTest.testBiDir


> CdcrBidirectionalTest.testBiDir() reproducing failure
> -
>
> Key: SOLR-12150
> URL: https://issues.apache.org/jira/browse/SOLR-12150
> Project: Solr
>  Issue Type: Bug
>  Security Level: Public(Default Security Level. Issues are Public) 
>  Components: CDCR, Tests
>Reporter: Steve Rowe
>Priority: Major
> Attachments: SOLR-12150.patch, SOLR-12150.patch, SOLR-12150.patch
>
>
> From [https://jenkins.thetaphi.de/job/Lucene-Solr-7.x-MacOSX/538/] (also 
> reproduces for me on Linux):
> {noformat}
> Checking out Revision e80ee7fff85918e68c212757c0e6c4bddbdb5ab6 
> (refs/remotes/origin/branch_7x)
> [...]
>[junit4]   2> NOTE: reproduce with: ant test  
> -Dtestcase=CdcrBidirectionalTest -Dtests.method=testBiDir 
> -Dtests.seed=38DB802FA0173E8D -Dtests.slow=true -Dtests.locale=ro-RO 
> -Dtests.timezone=Etc/GMT-8 -Dtests.asserts=true -Dtests.file.encoding=UTF-8
>[junit4] ERROR   23.3s J0 | CdcrBidirectionalTest.testBiDir <<<
>[junit4]> Throwable #1: java.lang.IndexOutOfBoundsException: Index: 0, 
> Size: 0
>[junit4]>  at 
> __randomizedtesting.SeedInfo.seed([38DB802FA0173E8D:7D0070CDB83972CF]:0)
>[junit4]>  at java.util.ArrayList.rangeCheck(ArrayList.java:653)
>[junit4]>  at java.util.ArrayList.get(ArrayList.java:429)
>[junit4]>  at 
> org.apache.solr.cloud.cdcr.CdcrBidirectionalTest.getDocFieldValue(CdcrBidirectionalTest.java:227)
>[junit4]>  at 
> org.apache.solr.cloud.cdcr.CdcrBidirectionalTest.testBiDir(CdcrBidirectionalTest.java:200)
>[junit4]>  at java.lang.Thread.run(Thread.java:748)
> [...]
>[junit4]   2> NOTE: test params are: codec=Asserting(Lucene70), 
> sim=RandomSimilarity(queryNorm=false): {}, locale=ro-RO, timezone=Etc/GMT-8
>[junit4]   2> NOTE: Mac OS X 10.11.6 x86_64/Oracle Corporation 1.8.0_144 
> (64-bit)/cpus=3,threads=1,free=160960440,total=347418624
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Commented] (SOLR-12150) CdcrBidirectionalTest.testBiDir() reproducing failure

2018-04-12 Thread Amrit Sarkar (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-12150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16436373#comment-16436373
 ] 

Amrit Sarkar commented on SOLR-12150:
-

Thanks Varun for polishing.

> CdcrBidirectionalTest.testBiDir() reproducing failure
> -
>
> Key: SOLR-12150
> URL: https://issues.apache.org/jira/browse/SOLR-12150
> Project: Solr
>  Issue Type: Bug
>  Security Level: Public(Default Security Level. Issues are Public) 
>  Components: CDCR, Tests
>Reporter: Steve Rowe
>Priority: Major
> Attachments: SOLR-12150.patch, SOLR-12150.patch
>
>
> From [https://jenkins.thetaphi.de/job/Lucene-Solr-7.x-MacOSX/538/] (also 
> reproduces for me on Linux):
> {noformat}
> Checking out Revision e80ee7fff85918e68c212757c0e6c4bddbdb5ab6 
> (refs/remotes/origin/branch_7x)
> [...]
>[junit4]   2> NOTE: reproduce with: ant test  
> -Dtestcase=CdcrBidirectionalTest -Dtests.method=testBiDir 
> -Dtests.seed=38DB802FA0173E8D -Dtests.slow=true -Dtests.locale=ro-RO 
> -Dtests.timezone=Etc/GMT-8 -Dtests.asserts=true -Dtests.file.encoding=UTF-8
>[junit4] ERROR   23.3s J0 | CdcrBidirectionalTest.testBiDir <<<
>[junit4]> Throwable #1: java.lang.IndexOutOfBoundsException: Index: 0, 
> Size: 0
>[junit4]>  at 
> __randomizedtesting.SeedInfo.seed([38DB802FA0173E8D:7D0070CDB83972CF]:0)
>[junit4]>  at java.util.ArrayList.rangeCheck(ArrayList.java:653)
>[junit4]>  at java.util.ArrayList.get(ArrayList.java:429)
>[junit4]>  at 
> org.apache.solr.cloud.cdcr.CdcrBidirectionalTest.getDocFieldValue(CdcrBidirectionalTest.java:227)
>[junit4]>  at 
> org.apache.solr.cloud.cdcr.CdcrBidirectionalTest.testBiDir(CdcrBidirectionalTest.java:200)
>[junit4]>  at java.lang.Thread.run(Thread.java:748)
> [...]
>[junit4]   2> NOTE: test params are: codec=Asserting(Lucene70), 
> sim=RandomSimilarity(queryNorm=false): {}, locale=ro-RO, timezone=Etc/GMT-8
>[junit4]   2> NOTE: Mac OS X 10.11.6 x86_64/Oracle Corporation 1.8.0_144 
> (64-bit)/cpus=3,threads=1,free=160960440,total=347418624
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Commented] (SOLR-12150) CdcrBidirectionalTest.testBiDir() reproducing failure

2018-04-12 Thread Varun Thacker (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-12150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16436148#comment-16436148
 ] 

Varun Thacker commented on SOLR-12150:
--

Thanks Amrit! 

Uploaded a slightly modified patch. Running tests and will commit it shortly.

> CdcrBidirectionalTest.testBiDir() reproducing failure
> -
>
> Key: SOLR-12150
> URL: https://issues.apache.org/jira/browse/SOLR-12150
> Project: Solr
>  Issue Type: Bug
>  Security Level: Public(Default Security Level. Issues are Public) 
>  Components: CDCR, Tests
>Reporter: Steve Rowe
>Priority: Major
> Attachments: SOLR-12150.patch, SOLR-12150.patch
>
>
> From [https://jenkins.thetaphi.de/job/Lucene-Solr-7.x-MacOSX/538/] (also 
> reproduces for me on Linux):
> {noformat}
> Checking out Revision e80ee7fff85918e68c212757c0e6c4bddbdb5ab6 
> (refs/remotes/origin/branch_7x)
> [...]
>[junit4]   2> NOTE: reproduce with: ant test  
> -Dtestcase=CdcrBidirectionalTest -Dtests.method=testBiDir 
> -Dtests.seed=38DB802FA0173E8D -Dtests.slow=true -Dtests.locale=ro-RO 
> -Dtests.timezone=Etc/GMT-8 -Dtests.asserts=true -Dtests.file.encoding=UTF-8
>[junit4] ERROR   23.3s J0 | CdcrBidirectionalTest.testBiDir <<<
>[junit4]> Throwable #1: java.lang.IndexOutOfBoundsException: Index: 0, 
> Size: 0
>[junit4]>  at 
> __randomizedtesting.SeedInfo.seed([38DB802FA0173E8D:7D0070CDB83972CF]:0)
>[junit4]>  at java.util.ArrayList.rangeCheck(ArrayList.java:653)
>[junit4]>  at java.util.ArrayList.get(ArrayList.java:429)
>[junit4]>  at 
> org.apache.solr.cloud.cdcr.CdcrBidirectionalTest.getDocFieldValue(CdcrBidirectionalTest.java:227)
>[junit4]>  at 
> org.apache.solr.cloud.cdcr.CdcrBidirectionalTest.testBiDir(CdcrBidirectionalTest.java:200)
>[junit4]>  at java.lang.Thread.run(Thread.java:748)
> [...]
>[junit4]   2> NOTE: test params are: codec=Asserting(Lucene70), 
> sim=RandomSimilarity(queryNorm=false): {}, locale=ro-RO, timezone=Etc/GMT-8
>[junit4]   2> NOTE: Mac OS X 10.11.6 x86_64/Oracle Corporation 1.8.0_144 
> (64-bit)/cpus=3,threads=1,free=160960440,total=347418624
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Commented] (SOLR-12150) CdcrBidirectionalTest.testBiDir() reproducing failure

2018-03-29 Thread Amrit Sarkar (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-12150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16420010#comment-16420010
 ] 

Amrit Sarkar commented on SOLR-12150:
-

[~steve_rowe]: added patch with the fix for the test, added basic sanity size 
check, refactored a little around atomic test. thank you for reporting this.

> CdcrBidirectionalTest.testBiDir() reproducing failure
> -
>
> Key: SOLR-12150
> URL: https://issues.apache.org/jira/browse/SOLR-12150
> Project: Solr
>  Issue Type: Bug
>  Security Level: Public(Default Security Level. Issues are Public) 
>  Components: CDCR, Tests
>Reporter: Steve Rowe
>Priority: Major
> Attachments: SOLR-12150.patch
>
>
> From [https://jenkins.thetaphi.de/job/Lucene-Solr-7.x-MacOSX/538/] (also 
> reproduces for me on Linux):
> {noformat}
> Checking out Revision e80ee7fff85918e68c212757c0e6c4bddbdb5ab6 
> (refs/remotes/origin/branch_7x)
> [...]
>[junit4]   2> NOTE: reproduce with: ant test  
> -Dtestcase=CdcrBidirectionalTest -Dtests.method=testBiDir 
> -Dtests.seed=38DB802FA0173E8D -Dtests.slow=true -Dtests.locale=ro-RO 
> -Dtests.timezone=Etc/GMT-8 -Dtests.asserts=true -Dtests.file.encoding=UTF-8
>[junit4] ERROR   23.3s J0 | CdcrBidirectionalTest.testBiDir <<<
>[junit4]> Throwable #1: java.lang.IndexOutOfBoundsException: Index: 0, 
> Size: 0
>[junit4]>  at 
> __randomizedtesting.SeedInfo.seed([38DB802FA0173E8D:7D0070CDB83972CF]:0)
>[junit4]>  at java.util.ArrayList.rangeCheck(ArrayList.java:653)
>[junit4]>  at java.util.ArrayList.get(ArrayList.java:429)
>[junit4]>  at 
> org.apache.solr.cloud.cdcr.CdcrBidirectionalTest.getDocFieldValue(CdcrBidirectionalTest.java:227)
>[junit4]>  at 
> org.apache.solr.cloud.cdcr.CdcrBidirectionalTest.testBiDir(CdcrBidirectionalTest.java:200)
>[junit4]>  at java.lang.Thread.run(Thread.java:748)
> [...]
>[junit4]   2> NOTE: test params are: codec=Asserting(Lucene70), 
> sim=RandomSimilarity(queryNorm=false): {}, locale=ro-RO, timezone=Etc/GMT-8
>[junit4]   2> NOTE: Mac OS X 10.11.6 x86_64/Oracle Corporation 1.8.0_144 
> (64-bit)/cpus=3,threads=1,free=160960440,total=347418624
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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