I'll dig. Mike McCandless
http://blog.mikemccandless.com On Tue, Dec 8, 2015 at 3:37 AM, Adrien Grand <[email protected]> wrote: > I hit a test failure when running the smoke tester that reproduces on the > 5.4 source tree: > > 09:32 jpountz@zreptik4:~/src/lucene_solr_5_4/lucene/core $ > JAVA_HOME=/home/jpountz/local/jdk1.7.0_55/ ant test > -Dtestcase=TestIndexWriterExceptions -Dtests.method=testTooManyFileException > -Dtests.seed=855A4CA4CD3CF9A3 -Dtests.slow=true s.locale=ar_SY > -Dtests.timezone=Australia/ACT -Dtests.asserts=true > -Dtests.file.encoding=UTF-8 > > [junit4] Suite: org.apache.lucene.index.TestIndexWriterExceptions [junit4] > 2> NOTE: reproduce with: ant test -Dtestcase=TestIndexWriterExceptions > -Dtests.method=testTooManyFileException -Dtests.seed=855A4CA4CD3CF9A3 > -Dtests.slow=true -Dtests.locale=ar_SY -Dtests.timezone=Australia/ACT > -Dtests.asserts=true -Dtests.file.encoding=UTF-8 [junit4] FAILURE 0.21s | > TestIndexWriterExceptions.testTooManyFileException <<< [junit4] > Throwable > #1: java.lang.AssertionError: file _0.si does not exist; files=[segments_1, > _0.cfs, _0.si, _0.cfe] [junit4] > at > __randomizedtesting.SeedInfo.seed([855A4CA4CD3CF9A3:DAC89DD242954BF]:0) > [junit4] > at > org.apache.lucene.index.IndexWriter.filesExist(IndexWriter.java:4327) > [junit4] > at > org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:955) [junit4] > > at > org.apache.lucene.index.TestIndexWriterExceptions.testTooManyFileException(TestIndexWriterExceptions.java:1852) > [junit4] > at java.lang.Thread.run(Thread.java:745) [junit4] 2> NOTE: test > params are: codec=Asserting(Lucene54): > {foo=PostingsFormat(name=LuceneFixedGap)}, docValues:{}, > sim=RandomSimilarityProvider(queryNorm=false,coord=crazy): {}, locale=ar_SY, > timezone=Australia/ACT [junit4] 2> NOTE: Linux 3.13.0-71-generic > amd64/Oracle Corporation 1.7.0_55 > (64-bit)/cpus=8,threads=1,free=187645328,total=251658240 [junit4] 2> NOTE: > All tests run in this JVM: [TestIndexWriterExceptions] [junit4] Completed > [1/1] in 0.46s, 1 test, 1 failure <<< FAILURES! > > > Le mar. 8 déc. 2015 à 09:14, Uwe Schindler <[email protected]> a écrit : >> >> Hi, >> >> You must use the smoke tester from the 5.4 branch (not branch_5x, not >> trunk). You may have used the one from trunk that checks (of course) if the >> files were compiled with Java 8, which is wrong. >> >> Uwe >> >> ----- >> Uwe Schindler >> H.-H.-Meier-Allee 63, D-28213 Bremen >> http://www.thetaphi.de >> eMail: [email protected] >> >> > -----Original Message----- >> > From: Ahmet Arslan [mailto:[email protected]] >> > Sent: Tuesday, December 08, 2015 9:04 AM >> > To: [email protected] >> > Subject: Re: [VOTE] Release Lucene/Solr 5.4.0-RC1 >> > >> > Hi, >> > >> > python3 -u dev-tools/scripts/smokeTestRelease.py >> > https://dist.apache.org/repos/dist/dev/lucene/lucene-solr-5.4.0-RC1- >> > rev1718046 gives me following exception: >> > >> > RuntimeError: JAR file >> > "/private/tmp/smoke_lucene_5.4.0_1718046_1/unpack/lucene- >> > 5.4.0/analysis/common/lucene-analyzers-common-5.4.0.jar" is missing "X- >> > Compile-Source-JDK: 1.8" inside its META-INF/MANIFEST.MF >> > >> > I am doing something wrong? >> > >> > Thanks, >> > Ahmet >> > >> > >> > >> > On Tuesday, December 8, 2015 3:15 AM, "[email protected]" >> > <[email protected]> wrote: >> > >> > >> > >> > +1 for release. (tested with Java 7) >> > SUCCESS! [0:56:31.943245] >> > >> > >> > On Mon, Dec 7, 2015 at 8:05 PM Steve Rowe <[email protected]> wrote: >> > >> > +1 >> > > >> > >Docs, javadocs, and changes look good. >> > > >> > >Smoke tester was happy with Java7 and Java8: >> > > >> > >SUCCESS! [1:53:58.550314] >> > > >> > >Steve >> > > >> > >> On Dec 7, 2015, at 5:31 AM, Upayavira <[email protected]> wrote: >> > >> >> > >> Yes, Shalin, you are right. My fix was still required, but I clearly >> > >> manually entered the SVN commit command wrong. Seeing as it does not >> > >> impact upon the contents of the files, I have executed an SVN mv >> > >> command, rerun the smoke test with the below, which worked: >> > >> >> > >> python3 -u dev-tools/scripts/smokeTestRelease.py >> > >> https://dist.apache.org/repos/dist/dev/lucene/lucene-solr-5.4.0-RC1- >> > rev1718046 >> > >> >> > >> Please, folks, use the above to run the smoke test for this release. >> > >> >> > >> Upayavira >> > >> >> > >> On Mon, Dec 7, 2015, at 04:00 AM, Shalin Shekhar Mangar wrote: >> > >>> Hi Upayavira, >> > >>> >> > >>> The svn revision in the URL is wrong. It should be 1718046 but it is >> > >>> 178046 which makes the smoke tester fail with the following message: >> > >>> >> > >>> RuntimeError: JAR file >> > >>> "/tmp/smoke_lucene_5.4.0_178046_1/unpack/lucene- >> > 5.4.0/analysis/common/lucene-analyzers-common-5.4.0.jar" >> > >>> is missing "Implementation-Version: 5.4.0 178046 " inside its >> > >>> META-INF/MANIFEST.MF (wrong svn revision?) >> > >>> >> > >>> I think you may need to generate a new RC. But perhaps an svn move >> > >>> to >> > >>> a path with the right revision number may also suffice? >> > >>> >> > >>> On Mon, Dec 7, 2015 at 9:12 AM, Shalin Shekhar Mangar >> > >>> <[email protected]> wrote: >> > >>>> Thanks Upayavira. I guess Apache has started redirecting http >> > >>>> traffic >> > >>>> to https recently on dist.apache.org which must have broken this >> > >>>> script. I am able to run smoke tester after applying your patch. >> > >>>> >> > >>>> On Mon, Dec 7, 2015 at 2:08 AM, Upayavira <[email protected]> wrote: >> > >>>>> The getHREFs() method is taking in an HTTPS URL, but failing to >> > preserve >> > >>>>> the protocol, resulting in an HTTP call that the server naturally >> > >>>>> bounces to HTTPS. Unfortunately, the next loop round also forgets >> > the >> > >>>>> HTTPS, and hence we're stuck in an endless loop. Below is a patch >> > >>>>> that >> > >>>>> fixes this issue. I'd rather someone with more knowledge of this >> > >>>>> script >> > >>>>> confirm my suspicion and apply the patch for us all to use, as I >> > >>>>> cannot >> > >>>>> see how this ever worked. >> > >>>>> >> > >>>>> I personally ran the smoke test on my local copy, so did not hit >> > >>>>> this >> > >>>>> HTTP/HTTPS code. I'm running the HTTP version now, and will check >> > on it >> > >>>>> in the morning. >> > >>>>> >> > >>>>> Index: dev-tools/scripts/smokeTestRelease.py >> > >>>>> >> > ========================================================== >> > ========= >> > >>>>> --- dev-tools/scripts/smokeTestRelease.py (revision 1718046) >> > >>>>> +++ dev-tools/scripts/smokeTestRelease.py (working copy) >> > >>>>> @@ -84,7 +84,12 @@ >> > >>>>> # Deref any redirects >> > >>>>> while True: >> > >>>>> url = urllib.parse.urlparse(urlString) >> > >>>>> - h = http.client.HTTPConnection(url.netloc) >> > >>>>> + if url.scheme == "http": >> > >>>>> + h = http.client.HTTPConnection(url.netloc) >> > >>>>> + elif url.scheme == "https": >> > >>>>> + h = http.client.HTTPSConnection(url.netloc) >> > >>>>> + else: >> > >>>>> + raise RuntimeError("Unknown protocol: %s" % url.scheme) >> > >>>>> h.request('GET', url.path) >> > >>>>> r = h.getresponse() >> > >>>>> newLoc = r.getheader('location') >> > >>>>> >> > >>>>> Upayavira >> > >>>>> >> > >>>>> On Sun, Dec 6, 2015, at 06:26 PM, Noble Paul wrote: >> > >>>>>> Same here. >> > >>>>>> >> > >>>>>> On Sun, Dec 6, 2015 at 2:36 PM, Shalin Shekhar Mangar >> > >>>>>> <[email protected]> wrote: >> > >>>>>>> Is anyone able to run the smoke tester on this RC? It just hangs >> > >>>>>>> for >> > a >> > >>>>>>> long time on "loading release URL" for me. >> > >>>>>>> >> > >>>>>>> python3 -u dev-tools/scripts/smokeTestRelease.py --tmp-dir >> > >>>>>>> ../smoke-5.4 --revision 178046 --version 5.4.0 --test-java8 >> > >>>>>>> ~/programs/jdk8 >> > >>>>>>> https://dist.apache.org/repos/dist/dev/lucene/lucene-solr-5.4.0- >> > RC1-rev178046/ >> > >>>>>>> Java 1.7 JAVA_HOME=/home/shalin/programs/jdk7 >> > >>>>>>> Java 1.8 JAVA_HOME=/home/shalin/programs/jdk8 >> > >>>>>>> NOTE: output encoding is UTF-8 >> > >>>>>>> >> > >>>>>>> Load release URL >> > >>>>>>> >> > >>>>>>> "https://dist.apache.org/repos/dist/dev/lucene/lucene-solr-5.4.0- >> > RC1-rev178046/"... >> > >>>>>>> >> > >>>>>>> I did a strace and found that the server is returning a HTTP 301 >> > moved >> > >>>>>>> permanently response to the http request. >> > >>>>>>> >> > >>>>>>> On Sat, Dec 5, 2015 at 4:28 PM, Upayavira <[email protected]> >> > wrote: >> > >>>>>>>> Please vote for the RC1 release candidate for Lucene/Solr 5.4.0 >> > >>>>>>>> >> > >>>>>>>> The artifacts can be downloaded from: >> > >>>>>>>> >> > >>>>>>>> https://dist.apache.org/repos/dist/dev/lucene/lucene-solr-5.4.0- >> > RC1-rev178046 >> > >>>>>>>> >> > >>>>>>>> You can run the smoke tester directly with this command: >> > >>>>>>>> python3 -u dev-tools/scripts/smokeTestRelease.py >> > >>>>>>>> >> > >>>>>>>> https://dist.apache.org/repos/dist/dev/lucene/lucene-solr-5.4.0- >> > RC1-rev178046 >> > >>>>>>>> >> > >>>>>>>> I will let this vote run until midnight (GMT) on Wednesday 9 >> > December. >> > >>>>>>>> >> > >>>>>>>> Please cast your votes! (and let me know, politely :-) if I >> > >>>>>>>> missed >> > >>>>>>>> anything) >> > >>>>>>>> >> > >>>>>>>> Upayavira >> > >>>>>>>> >> > >>>>>>>> >> > >>>>>>>> --------------------------------------------------------------------- >> > >>>>>>>> To unsubscribe, e-mail: [email protected] >> > >>>>>>>> For additional commands, e-mail: [email protected] >> > >>>>>>>> >> > >>>>>>> >> > >>>>>>> >> > >>>>>>> >> > >>>>>>> -- >> > >>>>>>> Regards, >> > >>>>>>> Shalin Shekhar Mangar. >> > >>>>>>> >> > >>>>>>> >> > >>>>>>> --------------------------------------------------------------------- >> > >>>>>>> To unsubscribe, e-mail: [email protected] >> > >>>>>>> For additional commands, e-mail: [email protected] >> > >>>>>>> >> > >>>>>> >> > >>>>>> >> > >>>>>> >> > >>>>>> -- >> > >>>>>> ----------------------------------------------------- >> > >>>>>> Noble Paul >> > >>>>>> >> > >>>>>> >> > >>>>>> --------------------------------------------------------------------- >> > >>>>>> To unsubscribe, e-mail: [email protected] >> > >>>>>> For additional commands, e-mail: [email protected] >> > >>>>>> >> > >>>>> >> > >>>>> >> > >>>>> --------------------------------------------------------------------- >> > >>>>> To unsubscribe, e-mail: [email protected] >> > >>>>> For additional commands, e-mail: [email protected] >> > >>>>> >> > >>>> >> > >>>> >> > >>>> >> > >>>> -- >> > >>>> Regards, >> > >>>> Shalin Shekhar Mangar. >> > >>> >> > >>> >> > >>> >> > >>> -- >> > >>> Regards, >> > >>> Shalin Shekhar Mangar. >> > >>> >> > >>> >> > >>> --------------------------------------------------------------------- >> > >>> To unsubscribe, e-mail: [email protected] >> > >>> For additional commands, e-mail: [email protected] >> > >>> >> > >> >> > >> --------------------------------------------------------------------- >> > >> To unsubscribe, e-mail: [email protected] >> > >> For additional commands, e-mail: [email protected] >> > >> >> > > >> > > >> > >--------------------------------------------------------------------- >> > >To unsubscribe, e-mail: [email protected] >> > >For additional commands, e-mail: [email protected] >> > > >> > > >> > -- >> > >> > Lucene/Solr Search Committer, Consultant, Developer, Author, Speaker >> > LinkedIn: http://linkedin.com/in/davidwsmiley | Book: >> > http://www.solrenterprisesearchserver.com >> > >> > --------------------------------------------------------------------- >> > To unsubscribe, e-mail: [email protected] >> > For additional commands, e-mail: [email protected] >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
