Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 99BD16428 for ; Wed, 18 May 2011 14:00:30 +0000 (UTC) Received: (qmail 63112 invoked by uid 500); 18 May 2011 14:00:29 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 63062 invoked by uid 500); 18 May 2011 14:00:29 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 63055 invoked by uid 99); 18 May 2011 14:00:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 May 2011 14:00:29 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 May 2011 14:00:27 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 7013BCF228 for ; Wed, 18 May 2011 13:59:47 +0000 (UTC) Date: Wed, 18 May 2011 13:59:47 +0000 (UTC) From: "Yonik Seeley (JIRA)" To: dev@lucene.apache.org Message-ID: <2139036612.22377.1305727187455.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <536018759.15650.1305564887255.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (SOLR-2521) TestJoin.testRandom fails MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SOLR-2521?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:all-tabpanel ] Yonik Seeley resolved SOLR-2521. -------------------------------- Resolution: Fixed Fixed silly bug. Strange that the conditions to hit it seemed so rare. > TestJoin.testRandom fails > ------------------------- > > Key: SOLR-2521 > URL: https://issues.apache.org/jira/browse/SOLR-2521 > Project: Solr > Issue Type: Bug > Reporter: Michael McCandless > Assignee: Yonik Seeley > Fix For: 4.0 > > > Hit this random failure; it reproduces on trunk: > {noformat} > [junit] Testsuite: org.apache.solr.TestJoin > [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 4.512 sec > [junit]=20 > [junit] ------------- Standard Error ----------------- > [junit] 2011-05-16 12:51:46 org.apache.solr.TestJoin testRandomJoin > [junit] SEVERE: GROUPING MISMATCH: mismatch: '0'!=3D'1' @ response/nu= mFound > [junit] =09request=3DLocalSolrQueryRequest{echoParams=3Dall&indent=3D= true&q=3D{!join+from%3Dsmall_i+to%3Dsmall3_is}*:*&wt=3Djson} > [junit] =09result=3D{ > [junit] "responseHeader":{ > [junit] "status":0, > [junit] "QTime":0, > [junit] "params":{ > [junit] "echoParams":"all", > [junit] "indent":"true", > [junit] "q":"{!join from=3Dsmall_i to=3Dsmall3_is}*:*", > [junit] "wt":"json"}}, > [junit] "response":{"numFound":1,"start":0,"docs":[ > [junit] { > [junit] "id":"NXEA", > [junit] "score_f":87.90162, > [junit] "small3_ss":["N", > [junit] "v", > [junit] "n"], > [junit] "small_i":4, > [junit] "small2_i":1, > [junit] "small2_is":[2], > [junit] "small3_is":[69, > [junit] 88, > [junit] 54, > [junit] 80, > [junit] 75, > [junit] 83, > [junit] 57, > [junit] 73, > [junit] 85, > [junit] 52, > [junit] 50, > [junit] 88, > [junit] 51, > [junit] 89, > [junit] 12, > [junit] 8, > [junit] 19, > [junit] 23, > [junit] 53, > [junit] 75, > [junit] 26, > [junit] 99, > [junit] 0, > [junit] 44]}] > [junit] }} > [junit] =09expected=3D{"numFound":0,"start":0,"docs":[]} > [junit] =09model=3D{"NXEA":"Doc(0):[id=3DNXEA, score_f=3D87.90162, sm= all3_ss=3D[N, v, n], small_i=3D4, small2_i=3D1, small2_is=3D2, small3_is=3D= [69, 88, 54, 80, 75, 83, 57, 73, 85, 52, 50, 88, 51, 89, 12, 8, 19, 23, 53,= 75, 26, 99, 0, 44]]","JSLZ":"Doc(1):[id=3DJSLZ, score_f=3D11.198811, small= 2_ss=3D[c, d], small3_ss=3D[b, R, H, Q, O, f, C, e, Z, u, z, u, w, I, f, _,= Y, r, w, u], small_i=3D6, small2_is=3D[2, 3], small3_is=3D[22, 1]]","FAWX"= :"Doc(2):[id=3DFAWX, score_f=3D25.524109, small_s=3Dd, small3_ss=3D[O, D, X= , `, W, z, k, M, j, m, r, [, E, P, w, ^, y, T, e, R, V, H, g, e, I], small_= i=3D2, small2_is=3D[2, 1], small3_is=3D[95, 42]]","GDDZ":"Doc(3):[id=3DGDDZ= , score_f=3D8.483642, small2_ss=3D[b, e], small3_ss=3D[o, i, y, l, I, O, r,= O, f, d, E, e, d, f, b, P], small2_is=3D[6, 6], small3_is=3D[36, 48, 9, 8,= 40, 40, 68]]","RBIQ":"Doc(4):[id=3DRBIQ, score_f=3D97.06258, small_s=3Db, = small2_s=3Dc, small2_ss=3D[e, e], small_i=3D2, small2_is=3D6, small3_is=3D[= 13, 77, 96, 45]]","LRDM":"Doc(5):[id=3DLRDM, score_f=3D82.302124, small_s= =3Db, small2_s=3Da, small2_ss=3Dd, small3_ss=3D[H, m, O, D, I, J, U, D, f, = N, ^, m, I, j, L, s, F, h, A, `, c, j], small2_i=3D2, small2_is=3D[2, 7], s= mall3_is=3D[81, 31, 78, 23, 88, 1, 7, 86, 20, 7, 40, 52, 100, 81, 34, 45, 8= 7, 72, 14, 5]]"} > [junit] NOTE: reproduce with: ant test -Dtestcase=3DTestJoin -Dtestme= thod=3DtestRandomJoin -Dtests.seed=3D-4998031941344546449:85419282650649924= 44 > [junit] NOTE: test params are: codec=3DRandomCodecProvider: {id=3DMoc= kRandom, small2_ss=3DStandard, small2_is=3DMockFixedIntBlock(blockSize=3D17= 38), small2_s=3DMockFixedIntBlock(blockSize=3D1738), small3_is=3DMockVariab= leIntBlock(baseBlockSize=3D77), small_i=3DMockFixedIntBlock(blockSize=3D173= 8), small_s=3DMockVariableIntBlock(baseBlockSize=3D77), score_f=3DMockSep, = small2_i=3DPulsing(freqCutoff=3D9), small3_ss=3DSimpleText}, locale=3Dsr_BA= , timezone=3DAmerica/Barbados > [junit] NOTE: all tests run in this JVM: > [junit] [TestJoin] > [junit] NOTE: Linux 2.6.33.6-147.fc13.x86_64 amd64/Sun Microsystems I= nc. 1.6.0_21 (64-bit)/cpus=3D24,threads=3D1,free=3D252342544,total=3D308084= 736 > [junit] ------------- ---------------- --------------- > [junit] Testcase: testRandomJoin(org.apache.solr.TestJoin):=09FAILED > [junit] mismatch: '0'!=3D'1' @ response/numFound > [junit] junit.framework.AssertionFailedError: mismatch: '0'!=3D'1' @ = response/numFound > [junit] =09at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRun= ner.runChild(LuceneTestCase.java:1282) > [junit] =09at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRun= ner.runChild(LuceneTestCase.java:1211) > [junit] =09at org.apache.solr.TestJoin.testRandomJoin(TestJoin.java:1= 72) > [junit]=20 > [junit]=20 > [junit] Test org.apache.solr.TestJoin FAILED > {noformat} -- 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