lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: [JENKINS] Lucene-Solr-SmokeRelease-trunk - Build # 29 - Still Failing
Date Mon, 05 Nov 2012 20:45:15 GMT
OK passing JAVACMD fixes it ... I'll commit that for now.

Separately we should think about forcing specifying the ANT_HOME ...

Mike McCandless

http://blog.mikemccandless.com

On Mon, Nov 5, 2012 at 3:35 PM, Robert Muir <rcmuir@gmail.com> wrote:
> I changed my login configuration on jenkins a long time ago to use the
> "correct ant". Maybe thats why it passes for me?
> Because I have in my .profile:
> PATH=/home/hudson/tools/ant/supported18/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:$HOME/bin;
> export PATH
>
> This is because at least before (maybe still!) /usr/local/bin/ant was broken.
>
> I am testing this theory right now, hopefully it fails!:
>
> [rcmuir@lucene ~/trunk]$ export PATH=/usr/local/bin:$PATH
> [rcmuir@lucene ~/trunk]$ ant nightly-smoke
> -DJAVA6_HOME=/usr/local/openjdk6 -DJAVA7_HOME=/usr/local/openjdk7
>
> On Mon, Nov 5, 2012 at 3:06 PM, Michael McCandless
> <lucene@mikemccandless.com> wrote:
>> OK I think smokeTestRelease needs to set JAVACMD=$JAVA_HOME/bin: ant
>> looks @ JAVACMD to figure out which java it should spawn.
>>
>> Testing that now ...
>>
>> But I'm not sure why it works for Rob but not me!!
>>
>> Mike McCandless
>>
>> http://blog.mikemccandless.com
>>
>> On Mon, Nov 5, 2012 at 2:46 PM, Robert Muir <rcmuir@gmail.com> wrote:
>>> I don't know why it passes for me!
>>>
>>> there must be some if (username == rmuir) { hide the bug } logic in there!!!!!
>>>
>>> On Mon, Nov 5, 2012 at 2:35 PM, Michael McCandless
>>> <lucene@mikemccandless.com> wrote:
>>>> Hrm, passing -DJAVA6/7_HOME=XXX still runs java6 when it should run
>>>> java7 (and fails) ....
>>>>
>>>> Mike McCandless
>>>>
>>>> http://blog.mikemccandless.com
>>>>
>>>>
>>>> On Mon, Nov 5, 2012 at 1:51 PM, Michael McCandless
>>>> <lucene@mikemccandless.com> wrote:
>>>>> I was able to reproduce this!
>>>>>
>>>>> All I did was login as myself to lucene.zones.a.o, checked out lucene
>>>>> trunk, set my env vars:
>>>>>
>>>>>   JAVA6_HOME=/home/hudson/tools/java/openjdk6
>>>>>   JAVA7_HOME=/home/hudson/tools/java/openjdk7
>>>>>
>>>>> And ran "ant nightly-smoke".
>>>>>
>>>>> While it was on the "generate javadocs w/ Java 7" part, I ran ps, and
>>>>> indeed it was using openjdk6 not 7!
>>>>>
>>>>> Yet, oddly, the script does confirm that java versions "match" (it
>>>>> runs java -version and checks for 1.6/1.7 in the output) ...
>>>>>
>>>>> My shell is /usr/local/bin/bash.
>>>>>
>>>>> Baffled ...
>>>>>
>>>>> Maybe something is wrong w/ the ant logic that pulls from env vars?
>>>>> I'll try running with -DJAVA6_HOME/-DJAVA7_HOME ...
>>>>>
>>>>> Mike McCandless
>>>>>
>>>>> http://blog.mikemccandless.com
>>>>>
>>>>>
>>>>> On Mon, Nov 5, 2012 at 11:55 AM, Robert Muir <rcmuir@gmail.com>
wrote:
>>>>>> This is the kind of failures you get if there is java6-generated
html.
>>>>>> So i feel like there is leftover java6-generated docs in the output
>>>>>> directory somehow!
>>>>>>
>>>>>> On Sun, Nov 4, 2012 at 11:11 PM, Apache Jenkins Server
>>>>>> <jenkins@builds.apache.org> wrote:
>>>>>>> Build: https://builds.apache.org/job/Lucene-Solr-SmokeRelease-trunk/29/
>>>>>>>
>>>>>>> No tests ran.
>>>>>>>
>>>>>>> Build Log:
>>>>>>> [...truncated 30392 lines...]
>>>>>>> prepare-release-no-sign:
>>>>>>>     [mkdir] Created dir: /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-SmokeRelease-trunk/lucene/build/fakeRelease
>>>>>>>      [copy] Copying 396 files to /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-SmokeRelease-trunk/lucene/build/fakeRelease/lucene
>>>>>>>      [copy] Copying 4 files to /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-SmokeRelease-trunk/lucene/build/fakeRelease/lucene/changes
>>>>>>>       [get] Getting: http://people.apache.org/keys/group/lucene.asc
>>>>>>>       [get] To: /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-SmokeRelease-trunk/lucene/build/fakeRelease/lucene/KEYS
>>>>>>>      [copy] Copying 189 files to /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-SmokeRelease-trunk/lucene/build/fakeRelease/solr
>>>>>>>      [copy] Copying 1 file to /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-SmokeRelease-trunk/lucene/build/fakeRelease/solr
>>>>>>>      [copy] Copying 4 files to /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-SmokeRelease-trunk/lucene/build/fakeRelease/solr/changes
>>>>>>>      [exec] NOTE: output encoding is US-ASCII
>>>>>>>      [exec]
>>>>>>>      [exec] Load release URL "file:/usr/home/hudson/hudson-slave/workspace/Lucene-Solr-SmokeRelease-trunk/lucene/build/fakeRelease/"...
>>>>>>>      [exec]
>>>>>>>      [exec] Test Lucene...
>>>>>>>      [exec]   test basics...
>>>>>>>      [exec]   get KEYS
>>>>>>>      [exec]     0.1 MB
>>>>>>>      [exec]   check changes HTML...
>>>>>>>      [exec]   download lucene-5.0.0-src.tgz...
>>>>>>>      [exec]     26.2 MB
>>>>>>>      [exec]     verify md5/sha1 digests
>>>>>>>      [exec]   download lucene-5.0.0.tgz...
>>>>>>>      [exec]     47.2 MB
>>>>>>>      [exec]     verify md5/sha1 digests
>>>>>>>      [exec]   download lucene-5.0.0.zip...
>>>>>>>      [exec]     56.6 MB
>>>>>>>      [exec]     verify md5/sha1 digests
>>>>>>>      [exec]   unpack lucene-5.0.0.tgz...
>>>>>>>      [exec]     verify JAR/WAR metadata...
>>>>>>>      [exec]     test demo with 1.6...
>>>>>>>      [exec]       got 5285 hits for query "lucene"
>>>>>>>      [exec]     test demo with 1.7...
>>>>>>>      [exec]       got 5285 hits for query "lucene"
>>>>>>>      [exec]     check Lucene's javadoc JAR
>>>>>>>      [exec]   unpack lucene-5.0.0.zip...
>>>>>>>      [exec]     verify JAR/WAR metadata...
>>>>>>>      [exec]     test demo with 1.6...
>>>>>>>      [exec]       got 5285 hits for query "lucene"
>>>>>>>      [exec]     test demo with 1.7...
>>>>>>>      [exec]       got 5285 hits for query "lucene"
>>>>>>>      [exec]     check Lucene's javadoc JAR
>>>>>>>      [exec]   unpack lucene-5.0.0-src.tgz...
>>>>>>>      [exec]     make sure no JARs/WARs in src dist...
>>>>>>>      [exec]     run "ant validate"
>>>>>>>      [exec]     run tests w/ Java 6...
>>>>>>>      [exec]     test demo with 1.6...
>>>>>>>      [exec]       got 202 hits for query "lucene"
>>>>>>>      [exec]     generate javadocs w/ Java 6...
>>>>>>>      [exec]     run tests w/ Java 7...
>>>>>>>      [exec]     test demo with 1.7...
>>>>>>>      [exec]       got 202 hits for query "lucene"
>>>>>>>      [exec]     generate javadocs w/ Java 7...
>>>>>>>      [exec]
>>>>>>>      [exec] Crawl/parse...
>>>>>>>      [exec] Traceback (most recent call last):
>>>>>>>      [exec]   File "/usr/home/hudson/hudson-slave/workspace/Lucene-Solr-SmokeRelease-trunk/dev-tools/scripts/smokeTestRelease.py",
line 1342, in <module>
>>>>>>>      [exec]     main()
>>>>>>>      [exec]   File "/usr/home/hudson/hudson-slave/workspace/Lucene-Solr-SmokeRelease-trunk/dev-tools/scripts/smokeTestRelease.py",
line 1288, in main
>>>>>>>      [exec]     smokeTest(baseURL, version, tmpDir, isSigned)
>>>>>>>      [exec]   File "/usr/home/hudson/hudson-slave/workspace/Lucene-Solr-SmokeRelease-trunk/dev-tools/scripts/smokeTestRelease.py",
line 1324, in smokeTest
>>>>>>>      [exec]     unpackAndVerify('lucene', tmpDir, 'lucene-%s-src.tgz'
% version, version)
>>>>>>>      [exec]   File "/usr/home/hudson/hudson-slave/workspace/Lucene-Solr-SmokeRelease-trunk/dev-tools/scripts/smokeTestRelease.py",
line 563, in unpackAndVerify
>>>>>>>      [exec]     verifyUnpacked(project, artifact, unpackPath,
version, tmpDir)
>>>>>>>      [exec]   File "/usr/home/hudson/hudson-slave/workspace/Lucene-Solr-SmokeRelease-trunk/dev-tools/scripts/smokeTestRelease.py",
line 673, in verifyUnpacked
>>>>>>>      [exec]     checkJavadocpathFull('%s/build/docs' % unpackPath)
>>>>>>>      [exec]   File "/usr/home/hudson/hudson-slave/workspace/Lucene-Solr-SmokeRelease-trunk/dev-tools/scripts/smokeTestRelease.py",
line 854, in checkJavadocpathFull
>>>>>>>      [exec]     if checkJavadocLinks.checkAll(path):
>>>>>>>      [exec]   File "/usr/home/hudson/hudson-slave/workspace/Lucene-Solr-SmokeRelease-trunk/dev-tools/scripts/checkJavadocLinks.py",
line 160, in checkAll
>>>>>>>      [exec]     allFiles[fullPath] = parse(fullPath, open('%s/%s'
% (root, f), encoding='UTF-8').read())
>>>>>>>      [exec]   File "/usr/home/hudson/hudson-slave/workspace/Lucene-Solr-SmokeRelease-trunk/dev-tools/scripts/checkJavadocLinks.py",
line 110, in parse
>>>>>>>      [exec]     parser.feed(html)
>>>>>>>      [exec]   File "/usr/local/lib/python3.2/html/parser.py",
line 142, in feed
>>>>>>>      [exec]     self.goahead(0)
>>>>>>>      [exec]   File "/usr/local/lib/python3.2/html/parser.py",
line 188, in goahead
>>>>>>>      [exec]     k = self.parse_endtag(i)
>>>>>>>      [exec]   File "/usr/local/lib/python3.2/html/parser.py",
line 454, in parse_endtag
>>>>>>>      [exec]     self.handle_endtag(elem.lower())
>>>>>>>      [exec]   File "/usr/home/hudson/hudson-slave/workspace/Lucene-Solr-SmokeRelease-trunk/dev-tools/scripts/checkJavadocLinks.py",
line 92, in handle_endtag
>>>>>>>      [exec]     raise RuntimeError('%s %s:%s: saw </%s>
but expected </%s>' % (self.baseURL, self.getpos()[0], self.getpos()[1], tag, self.stack[-1]))
>>>>>>>      [exec] RuntimeError: file:///usr/home/hudson/hudson-slave/workspace/Lucene-Solr-SmokeRelease-trunk/lucene/build/fakeReleaseTmp/unpack/lucene-5.0.0/build/docs/analyzers-morfologik/constant-values.html
111:0: saw </font> but expected </table>
>>>>>>>
>>>>>>> BUILD FAILED
>>>>>>> /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-SmokeRelease-trunk/build.xml:279:
exec returned: 1
>>>>>>>
>>>>>>> Total time: 47 minutes 38 seconds
>>>>>>> Build step 'Invoke Ant' marked build as failure
>>>>>>> Email was triggered for: Failure
>>>>>>> Sending email for trigger: Failure
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> ---------------------------------------------------------------------
>>>>>>> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
>>>>>>> For additional commands, e-mail: dev-help@lucene.apache.org
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
>>>>>> For additional commands, e-mail: dev-help@lucene.apache.org
>>>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
>>>> For additional commands, e-mail: dev-help@lucene.apache.org
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
>>> For additional commands, e-mail: dev-help@lucene.apache.org
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
>> For additional commands, e-mail: dev-help@lucene.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
>

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


Mime
View raw message