OK I committed the fixes to smoke tester for this ...

Mike McCandless

http://blog.mikemccandless.com

On Thu, Oct 18, 2012 at 12:34 PM, Uwe Schindler <u...@thetaphi.de> wrote:
>> Hmm I'm confused ... I changed the script (locally) to require
>> solr/SYSTEM_REQUIREMENTS.txt to exist ... but when I run "ant nightly-
>> smoke" it fails on artifact apache-solr-5.0.0.tgz.
>
> That is easy to explain:
> The *binary* tgz contains only solr, so the root dir of the tar file is Solr
> The *source* tgz is the SVN root (contains lucene/ and solr/).
>
> So in the binary one the SYSTEM_REQUIREMENTS is in the root of the ZIP, in 
> the src checkout it is in solr/
>
>> And then when I look in that tgz I see SYSTEM_REQUIREMENTS.txt in the
>> root directory of that archive (ie, side by side w/ CHANGES.txt, LICENSE.txt,
>> etc.).
>
> In the binary one?
>
>> Where exactly is it supposed to be :)
>
> And there it must be. It is next to CHANGES.txt, like in the checkout.
>
>>
>> Mike McCandless
>>
>> http://blog.mikemccandless.com
>>
>> On Thu, Oct 18, 2012 at 2:22 AM, Uwe Schindler <u...@thetaphi.de> wrote:
>> > Hi,
>> >
>> > the system requirements TXT file is in the SOLR src-tgz, but as its Sol-
>> specfific, it is in the solr/ subfolder, maybe that’s the problem here. I 
>> think
>> this script wants to check, if the README and NOTICE files are in the root
>> folder of the tgz, but SYSTEM_REQUIREMENTS.txt has to be in Solr only?
>> >
>> > Mike can you fix the script for trunk and 4.x? I verified the artifacts on
>> https://builds.apache.org/job/Solr-Artifacts-
>> trunk/lastSuccessfulBuild/artifact/solr/package/, same for 4.x.
>> >
>> > Uwe
>> >
>> > -----
>> > Uwe Schindler
>> > H.-H.-Meier-Allee 63, D-28213 Bremen
>> > http://www.thetaphi.de
>> > eMail: u...@thetaphi.de
>> >
>> >> -----Original Message-----
>> >> From: Apache Jenkins Server [mailto:jenk...@builds.apache.org]
>> >> Sent: Thursday, October 18, 2012 7:25 AM
>> >> To: dev@lucene.apache.org
>> >> Subject: [JENKINS] Lucene-Solr-SmokeRelease-trunk - Build # 24 -
>> >> Failure
>> >>
>> >> Build:
>> >> https://builds.apache.org/job/Lucene-Solr-SmokeRelease-trunk/24/
>> >>
>> >> No tests ran.
>> >>
>> >> Build Log:
>> >> [...truncated 30393 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.5 MB
>> >>      [exec]     verify md5/sha1 digests
>> >>      [exec]   unpack lucene-5.0.0.tgz...
>> >>      [exec]     verify JAR/WAR metadata...
>> >>      [exec]     test demo...
>> >>      [exec]       got 5267 hits for query "lucene"
>> >>      [exec]     check Lucene's javadoc JAR
>> >>      [exec]
>> >>      [exec] Crawl/parse...
>> >>      [exec]
>> >>      [exec] Verify...
>> >>      [exec]   unpack lucene-5.0.0.zip...
>> >>      [exec]     verify JAR/WAR metadata...
>> >>      [exec]     test demo...
>> >>      [exec]       got 5267 hits for query "lucene"
>> >>      [exec]     check Lucene's javadoc JAR
>> >>      [exec]
>> >>      [exec] Crawl/parse...
>> >>      [exec]
>> >>      [exec] Verify...
>> >>      [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...
>> >>      [exec]       got 201 hits for query "lucene"
>> >>      [exec]     generate javadocs w/ Java 6...
>> >>      [exec]
>> >>      [exec] Crawl/parse...
>> >>      [exec]
>> >>      [exec] Verify...
>> >>      [exec]
>> >>      [exec] Test Solr...
>> >>      [exec]   test basics...
>> >>      [exec]   get KEYS
>> >>      [exec]     0.1 MB
>> >>      [exec]   check changes HTML...
>> >>      [exec]   download apache-solr-5.0.0-src.tgz...
>> >>      [exec]     29.6 MB
>> >>      [exec]     verify md5/sha1 digests
>> >>      [exec]   download apache-solr-5.0.0.tgz...
>> >>      [exec]     102.4 MB
>> >>      [exec]     verify md5/sha1 digests
>> >>      [exec]   download apache-solr-5.0.0.zip...
>> >>      [exec]     106.6 MB
>> >>      [exec]     verify md5/sha1 digests
>> >>      [exec]   unpack apache-solr-5.0.0.tgz...
>> >>      [exec]     verify JAR/WAR metadata...
>> >>      [exec]       **WARNING**: skipping check of
>> /usr/home/hudson/hudson-
>> >> slave/workspace/Lucene-Solr-SmokeRelease-
>> >> trunk/lucene/build/fakeReleaseTmp/unpack/apache-solr-
>> >> 5.0.0/contrib/dataimporthandler/lib/activation-1.1.jar: it has javax.*
>> classes
>> >>      [exec]       **WARNING**: skipping check of
>> /usr/home/hudson/hudson-
>> >> slave/workspace/Lucene-Solr-SmokeRelease-
>> >> trunk/lucene/build/fakeReleaseTmp/unpack/apache-solr-
>> >> 5.0.0/contrib/dataimporthandler/lib/mail-1.4.1.jar: it has javax.* classes
>> >>      [exec]     make sure WAR file has no javax.* or java.* classes...
>> >>      [exec]     copying unpacked distribution for Java 6 ...
>> >>      [exec]     test solr example w/ Java 6...
>> >>      [exec]       start Solr instance (log=/usr/home/hudson/hudson-
>> >> slave/workspace/Lucene-Solr-SmokeRelease-
>> >> trunk/lucene/build/fakeReleaseTmp/unpack/apache-solr-5.0.0-java6/solr
>> >> -
>> >> example.log)...
>> >>      [exec]       startup done
>> >>      [exec]       test utf8...
>> >>      [exec]       index example docs...
>> >>      [exec]       run query...
>> >>      [exec]       stop server (SIGINT)...
>> >>      [exec]     copying unpacked distribution for Java 7 ...
>> >>      [exec]     test solr example w/ Java 7...
>> >>      [exec]       start Solr instance (log=/usr/home/hudson/hudson-
>> >> slave/workspace/Lucene-Solr-SmokeRelease-
>> >> trunk/lucene/build/fakeReleaseTmp/unpack/apache-solr-5.0.0-java7/solr
>> >> -
>> >> example.log)...
>> >>      [exec]       startup done
>> >>      [exec]       test utf8...
>> >>      [exec]       index example docs...
>> >>      [exec]       run query...
>> >>      [exec]       stop server (SIGINT)...
>> >>      [exec]   unpack apache-solr-5.0.0.zip...
>> >>      [exec]     verify JAR/WAR metadata...
>> >>      [exec]       **WARNING**: skipping check of
>> /usr/home/hudson/hudson-
>> >> slave/workspace/Lucene-Solr-SmokeRelease-
>> >> trunk/lucene/build/fakeReleaseTmp/unpack/apache-solr-
>> >> 5.0.0/contrib/dataimporthandler/lib/mail-1.4.1.jar: it has javax.* classes
>> >>      [exec]       **WARNING**: skipping check of
>> /usr/home/hudson/hudson-
>> >> slave/workspace/Lucene-Solr-SmokeRelease-
>> >> trunk/lucene/build/fakeReleaseTmp/unpack/apache-solr-
>> >> 5.0.0/contrib/dataimporthandler/lib/activation-1.1.jar: it has javax.*
>> classes
>> >>      [exec]     make sure WAR file has no javax.* or java.* classes...
>> >>      [exec]     copying unpacked distribution for Java 6 ...
>> >>      [exec]     test solr example w/ Java 6...
>> >>      [exec]       start Solr instance (log=/usr/home/hudson/hudson-
>> >> slave/workspace/Lucene-Solr-SmokeRelease-
>> >> trunk/lucene/build/fakeReleaseTmp/unpack/apache-solr-5.0.0-java6/solr
>> >> -
>> >> example.log)...
>> >>      [exec]       startup done
>> >>      [exec]       test utf8...
>> >>      [exec]       index example docs...
>> >>      [exec]       run query...
>> >>      [exec]       stop server (SIGINT)...
>> >>      [exec]     copying unpacked distribution for Java 7 ...
>> >>      [exec]     test solr example w/ Java 7...
>> >>      [exec]       start Solr instance (log=/usr/home/hudson/hudson-
>> >> slave/workspace/Lucene-Solr-SmokeRelease-
>> >> trunk/lucene/build/fakeReleaseTmp/unpack/apache-solr-5.0.0-java7/solr
>> >> -
>> >> example.log)...
>> >>      [exec]       startup done
>> >>      [exec]       test utf8...
>> >>      [exec]       index example docs...
>> >>      [exec]       run query...
>> >>      [exec]       stop server (SIGINT)...
>> >>      [exec]   unpack apache-solr-5.0.0-src.tgz...
>> >>      [exec] Traceback (most recent call last):
>> >>      [exec]   File "/usr/home/hudson/hudson-slave/workspace/Lucene-
>> Solr-
>> >> SmokeRelease-trunk/dev-tools/scripts/smokeTestRelease.py", line 1314,
>> >> in <module>
>> >>      [exec]     main()
>> >>      [exec]   File "/usr/home/hudson/hudson-slave/workspace/Lucene-
>> Solr-
>> >> SmokeRelease-trunk/dev-tools/scripts/smokeTestRelease.py", line 1260,
>> >> 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 1303,
>> >> in smokeTest
>> >>      [exec]     unpackAndVerify('solr', tmpDir, 'apache-solr-%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 587,
>> >> in verifyUnpacked
>> >>      [exec]     raise RuntimeError('file "%s" is missing from artifact 
>> >> %s' %
>> >> (fileName, artifact))
>> >>      [exec] RuntimeError: file "SYSTEM_REQUIREMENTS.txt" is missing
>> >> from artifact apache-solr-5.0.0-src.tgz
>> >>
>> >> BUILD FAILED
>> >> /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-
>> SmokeRelease-
>> >> trunk/build.xml:288: exec returned: 1
>> >>
>> >> Total time: 33 minutes 41 seconds
>> >> Build step 'Invoke Ant' marked build as failure Email was triggered
>> >> for: Failure Sending email for trigger: Failure
>> >>
>> >
>> >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For
>> > additional commands, e-mail: dev-h...@lucene.apache.org
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional
>> commands, e-mail: dev-h...@lucene.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
> For additional commands, e-mail: dev-h...@lucene.apache.org
>

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

Reply via email to