Commit Graph

117 Commits

Author SHA1 Message Date
Michael McCandless 08a6f78510 SOLR-4766: detect when maven war/jar has different contents (file name + size) from the corresponding binary release
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1476154 13f79535-47bb-0310-9956-ffa450edef68
2013-04-26 12:03:13 +00:00
Steven Rowe 587641ef3d Add svn revision check to jar/war metadata checks in smokeTestRelease.py
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1470366 13f79535-47bb-0310-9956-ffa450edef68
2013-04-22 00:23:53 +00:00
Michael McCandless 01306436ae print time taken in some steps plus total time
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1470296 13f79535-47bb-0310-9956-ffa450edef68
2013-04-21 13:26:54 +00:00
Michael McCandless 5fb07458d4 be more clear about JAVA6/7_HOME and don't use silly defaults; on exc downloading file state which file failed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1470150 13f79535-47bb-0310-9956-ffa450edef68
2013-04-20 10:54:55 +00:00
Michael McCandless 452c1d4683 LUCENE-4944: smoke tester detects duplicate sections in changes.html
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1469966 13f79535-47bb-0310-9956-ffa450edef68
2013-04-19 17:38:46 +00:00
Robert Muir a6c5fe9f3a SOLR-4677: Improve Solrs use of spec version
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466031 13f79535-47bb-0310-9956-ffa450edef68
2013-04-09 13:51:01 +00:00
Michael McCandless 44b883aff4 read both stderr and stdout from Solr example server
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1463314 13f79535-47bb-0310-9956-ffa450edef68
2013-04-01 22:04:05 +00:00
Michael McCandless 5d8cc29da9 kill Solr example server if it hasn't started after 30 minutes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1463057 13f79535-47bb-0310-9956-ffa450edef68
2013-03-31 21:30:31 +00:00
Michael McCandless 25bd58b826 make sure Java 1.7 was used to compile the JARs in binary release
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1461067 13f79535-47bb-0310-9956-ffa450edef68
2013-03-26 11:56:55 +00:00
Uwe Schindler 6231597974 LUCENE-4747: Move to Java 7 in trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457734 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 12:28:52 +00:00
Steven Rowe 56b62c1ddb SOLR-4287: Removed "apache-" prefix from Solr distribution and artifact filenames.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1432483 13f79535-47bb-0310-9956-ffa450edef68
2013-01-12 17:51:57 +00:00
Michael McCandless c85875c33e don't hang if Solr example fails to start
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1407083 13f79535-47bb-0310-9956-ffa450edef68
2012-11-08 14:00:28 +00:00
Michael McCandless b4728370c4 also set JAVACMD env var (sometimes ant uses only that and doesn't fallback to JAVA_HOME)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1405956 13f79535-47bb-0310-9956-ffa450edef68
2012-11-05 21:13:08 +00:00
Michael McCandless 770b1e3dd2 use os.path.exists instead of os.access
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1402828 13f79535-47bb-0310-9956-ffa450edef68
2012-10-27 17:42:45 +00:00
Robert Muir 612b5f6707 LUCENE-4506: fix smokeTester and beef up missing java7 checks
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1402387 13f79535-47bb-0310-9956-ffa450edef68
2012-10-26 04:53:34 +00:00
Michael McCandless bfc75d60b7 LUCENE-4006: re-enable checking SYSTEM_REQUIREMENTS.txt for Solr
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1399743 13f79535-47bb-0310-9956-ffa450edef68
2012-10-18 17:31:39 +00:00
Michael McCandless 3088a66b17 only check SYSTEM_REQUIREMENTS.txt for lucene
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1399620 13f79535-47bb-0310-9956-ffa450edef68
2012-10-18 12:34:08 +00:00
Michael McCandless 398d987b19 LUCENE-4006: expect SYSTEM_REQUIREMENTS.txt in unpacked Lucene / Solr
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1399188 13f79535-47bb-0310-9956-ffa450edef68
2012-10-17 11:38:38 +00:00
Michael McCandless 4481cf4d84 NOTICE/LICENSE are UTF-8
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1391809 13f79535-47bb-0310-9956-ffa450edef68
2012-09-29 14:26:53 +00:00
Michael McCandless bddab9a355 LUCENE-4428: verify MANIFEST.MF/LICENSE.txt/NOTICE.txt for all Lucene/Solr JARs/WARs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1390646 13f79535-47bb-0310-9956-ffa450edef68
2012-09-26 18:33:46 +00:00
Michael McCandless 0c5a6b7bbc when tests fail, print the output to stdout in addition to the log file
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1390581 13f79535-47bb-0310-9956-ffa450edef68
2012-09-26 15:55:27 +00:00
Michael McCandless f86a366b97 LUCENE-4430: check for/warn about javax.* and java.* class in any Lucene/Solr, or dependency JARs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1390534 13f79535-47bb-0310-9956-ffa450edef68
2012-09-26 14:51:36 +00:00
Uwe Schindler 5709c18bd5 LUCENE-4430: Lucene Demo module should not ship with servlet-api.jar file
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1390194 13f79535-47bb-0310-9956-ffa450edef68
2012-09-25 22:22:58 +00:00
Michael McCandless 7152625e73 LUCENE-4429: smokeTestRelease requires version is format X.Y.Z[-ALPHA|-BETA]
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1390163 13f79535-47bb-0310-9956-ffa450edef68
2012-09-25 21:37:31 +00:00
Michael McCandless fea15e75a4 SOLR-3879: don't ship servlet-api*.jar
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1390139 13f79535-47bb-0310-9956-ffa450edef68
2012-09-25 21:08:51 +00:00
Steven Rowe 07045a77df - properly indent 'unpack ...' message at the top of unpack() (was indented one too many levels)
- SOLR-3884: When testing the Solr example with the binary Solr distributions (.tgz and .zip), start with a clean copy of the unpacked distribution for each JVM to be tested with
(merge branch lucene_solr_4_0 r1390046)

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1390055 13f79535-47bb-0310-9956-ffa450edef68
2012-09-25 19:09:58 +00:00
Michael McCandless d179a78fa5 print success in the end
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1389529 13f79535-47bb-0310-9956-ffa450edef68
2012-09-24 19:37:53 +00:00
Steven Rowe 2957201208 Make smoke tester work on cygwin when JAVAX_HOME environment variable values are Windows style (X:/blah or X:\blah...) (merge branch lucene_solr_4_0 r1389448)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1389476 13f79535-47bb-0310-9956-ffa450edef68
2012-09-24 16:33:39 +00:00
Michael McCandless 948fd1fe0b fix typo
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1389428 13f79535-47bb-0310-9956-ffa450edef68
2012-09-24 15:25:13 +00:00
Michael McCandless 2c783bd178 get smoke tester working with shortened URL again (python3 upgrade broke it)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1389334 13f79535-47bb-0310-9956-ffa450edef68
2012-09-24 12:31:22 +00:00
Robert Muir 11d421a36d LUCENE-4420: add solr changes.html testing to smoketester
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1389202 13f79535-47bb-0310-9956-ffa450edef68
2012-09-24 04:40:14 +00:00
Steven Rowe 79e5328de2 - Enable running under cygwin (windows path -> cygwin path)
- Don't put non-POM-templates into POMtemplates
(merge lucene_solr_4_0 branch r1388937)

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1388940 13f79535-47bb-0310-9956-ffa450edef68
2012-09-23 01:28:16 +00:00
Michael McCandless dcc6a599b2 port hack to trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1388850 13f79535-47bb-0310-9956-ffa450edef68
2012-09-22 17:28:40 +00:00
Robert Muir 14f3c55ca3 make smoketester able to reliably test packaging again
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1388802 13f79535-47bb-0310-9956-ffa450edef68
2012-09-22 13:10:29 +00:00
Michael McCandless 9d7309c134 add missing comma
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1385249 13f79535-47bb-0310-9956-ffa450edef68
2012-09-16 12:11:09 +00:00
Robert Muir 4e4b5be24f LUCENE-4345: javadocs-lint, eclipse, smokeTester
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384293 13f79535-47bb-0310-9956-ffa450edef68
2012-09-13 12:12:10 +00:00
Robert Muir 25fe03ae90 fix smoketester
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1381790 13f79535-47bb-0310-9956-ffa450edef68
2012-09-06 22:45:52 +00:00
Adrien Grand 257db54ab0 LUCENE-4340: move non-default codec, postings format and terms dictionary implementations to lucene/codecs.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1381071 13f79535-47bb-0310-9956-ffa450edef68
2012-09-05 08:44:11 +00:00
Michael McCandless 34662efe02 fail if smoke tester hits exc reading Solr output
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1375340 13f79535-47bb-0310-9956-ffa450edef68
2012-08-21 00:16:43 +00:00
Uwe Schindler d5212c9ae2 Smoketester should also run with OpenJDK to be able to run on FreeBSD
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1371623 13f79535-47bb-0310-9956-ffa450edef68
2012-08-10 09:24:51 +00:00
Robert Muir fde78b8196 LUCENE-4295: add task to build and smoke-test a release for the nightly build
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1370518 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 20:58:46 +00:00
Michael McCandless 100349a03e fixup more python3 issues
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369243 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 22:48:27 +00:00
Robert Muir 120a816d0c expect licenses in the binary dist
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369240 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 22:45:52 +00:00
Michael McCandless e76a86110b fixup some python3 issues
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369223 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 21:49:24 +00:00
Robert Muir bc0a8e69d8 initial cutover to python3 (this script works with neither 3 or nor 2 anymore, and still doesnt)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369216 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 21:18:14 +00:00
Robert Muir 7b2abe6e19 LUCENE-3950: load rat via ivy so you dont need it in .ant/lib etc, invoke from validate
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1360475 13f79535-47bb-0310-9956-ffa450edef68
2012-07-11 23:27:21 +00:00
Robert Muir 78cedd7426 smokeTester: fix demo execution and javadocs tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1348062 13f79535-47bb-0310-9956-ffa450edef68
2012-06-08 13:25:04 +00:00
Robert Muir 1f37709d41 smokeTester: add module-build and ivy-settings.html to the expected list here
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1348018 13f79535-47bb-0310-9956-ffa450edef68
2012-06-08 10:43:20 +00:00
Robert Muir f91b69093a smokeTester: nuke java 1.5 tests, check for broken links, enforce working package summaries
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1348009 13f79535-47bb-0310-9956-ffa450edef68
2012-06-08 10:18:09 +00:00
Robert Muir a8a154f434 smokeTester: packaging updates
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1347982 13f79535-47bb-0310-9956-ffa450edef68
2012-06-08 09:46:28 +00:00
Robert Muir 5a837d9910 smokeTester: don't look for Contrib-Changes.html
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1347969 13f79535-47bb-0310-9956-ffa450edef68
2012-06-08 09:24:17 +00:00
Michael McCandless 879e825083 LUCENE-3966: smoke tester can test from local (file://) urls, handle url-shortened base URLs, and build/stage/test unsigned artifacts
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1311067 13f79535-47bb-0310-9956-ffa450edef68
2012-04-08 18:22:14 +00:00
Steven Rowe 6350ed1b8a LUCENE-3963: Enable smokeTestRelease.py usage under Windows+Cygwin
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1311055 13f79535-47bb-0310-9956-ffa450edef68
2012-04-08 17:15:54 +00:00
Robert Muir 7c36e9f838 SOLR-3331: merge smoketester changes only to trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1310316 13f79535-47bb-0310-9956-ffa450edef68
2012-04-06 13:33:54 +00:00
Robert Muir cbddf0809e fix smokeTestRelease to not expect lib/ (instead test-framework), and temporary disable the requirement that all classes have some javadocs (see LUCENE-3887, more work to be done there for another day
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1309638 13f79535-47bb-0310-9956-ffa450edef68
2012-04-05 03:10:37 +00:00
Steven Rowe 6fc8fa052c Enable comparisons between Solr distribution artifact names (apache-solr-*) and those of Maven artifacts (solr-*)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1304662 13f79535-47bb-0310-9956-ffa450edef68
2012-03-23 23:47:55 +00:00
Michael McCandless aa8cfa0d12 LUCENE-3887: fix smoke tester to fail when package.html is missing or public classes don't have description in package-summary
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1303830 13f79535-47bb-0310-9956-ffa450edef68
2012-03-22 15:24:44 +00:00
Steven Rowe 870c47f4d7 LUCENE-3885: When checking maven artifacts from an RC URL that doesn't name a release branch, instead of failing, find the POM templates in the local working copy the script is run from; also, (temporarily) stop requiring that maven artifacts are identical to their counterparts in the binary distribution
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1302734 13f79535-47bb-0310-9956-ffa450edef68
2012-03-20 00:21:13 +00:00
Robert Muir 4b3ff33e46 sync up trunk copy of smoke-tester with branch_3x
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1302556 13f79535-47bb-0310-9956-ffa450edef68
2012-03-19 17:36:27 +00:00
Robert Muir baa92a6330 test javadocs in smoketester
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1204550 13f79535-47bb-0310-9956-ffa450edef68
2011-11-21 15:45:07 +00:00
Robert Muir 4656dfdb1e also check that loops are working in release candidates
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1204520 13f79535-47bb-0310-9956-ffa450edef68
2011-11-21 14:39:23 +00:00
Robert Muir abca92123b improve GPG checking to not emit bogus warning, and separately check trust
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1204498 13f79535-47bb-0310-9956-ffa450edef68
2011-11-21 13:54:41 +00:00
Michael McCandless b25b42ae2c fail if api docs are missing from solr (this bit us in 3.4.0)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1171167 13f79535-47bb-0310-9956-ffa450edef68
2011-09-15 16:36:09 +00:00
Michael McCandless 710e77f5f7 comment out debug print
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1167267 13f79535-47bb-0310-9956-ffa450edef68
2011-09-09 16:05:11 +00:00
Michael McCandless 5327a55ff7 also check all CHANGES.txt files
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1140836 13f79535-47bb-0310-9956-ffa450edef68
2011-06-28 20:51:05 +00:00
Michael McCandless f5991e3de0 fix hardwired paths in release smoke tester
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1139054 13f79535-47bb-0310-9956-ffa450edef68
2011-06-23 20:09:11 +00:00
Michael McCandless 144f209f49 LUCENE-3169: add basic release smoke tester
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1131371 13f79535-47bb-0310-9956-ffa450edef68
2011-06-04 10:37:48 +00:00