That part of the script expects you run from the root of a checkout.  It
runs the backcompat tests, and scrapes the test output to check all are
tested.

On Mon, Feb 9, 2015 at 8:49 PM, Chris Hostetter <[email protected]>
wrote:

>
> : Or you can run the smoke tester directly with this command:
> : python3.2 dev-tools/scripts/smokeTestRelease.py
> :
> http://people.apache.org/~anshum/staging_area/lucene-solr-5.0.0-RC2-rev1658469
>
> smokeTestRelease.py is freaking out for me regarding back compat
> testing -- i haven't had a chance to investigate this and figure out
> what's going on, probably won't until tomorow, but i wnated to get it out
> there in case anyone has any ideas...
>
>
> hossman@frisbee:~/tmp$ python3.2
> ~/lucene/branch_5_0/dev-tools/scripts/smokeTestRelease.py
>
> http://people.apache.org/~anshum/staging_area/lucene-solr-5.0.0-RC2-rev1658469
> Java 1.7 JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64/
> NOTE: output encoding is UTF-8
>
> Load release URL
> "
> http://people.apache.org/~anshum/staging_area/lucene-solr-5.0.0-RC2-rev1658469
> "...
>   unshortened:
>
> http://people.apache.org/~anshum/staging_area/lucene-solr-5.0.0-RC2-rev1658469/
>
> Test Lucene...
>   test basics...
>   get KEYS
>     0.1 MB in 0.60 sec (0.2 MB/sec)
>   check changes HTML...
>   download lucene-5.0.0-src.tgz...
>     27.9 MB in 7.01 sec (4.0 MB/sec)
>     verify md5/sha1 digests
>     verify sig
>     verify trust
>       GPG: gpg: WARNING: This key is not certified with a trusted
> signature!
>   download lucene-5.0.0.tgz...
>     64.0 MB in 16.79 sec (3.8 MB/sec)
>     verify md5/sha1 digests
>     verify sig
>     verify trust
>       GPG: gpg: WARNING: This key is not certified with a trusted
> signature!
>   download lucene-5.0.0.zip...
>     73.5 MB in 24.60 sec (3.0 MB/sec)
>     verify md5/sha1 digests
>     verify sig
>     verify trust
>       GPG: gpg: WARNING: This key is not certified with a trusted
> signature!
>   unpack lucene-5.0.0.tgz...
>     verify JAR metadata/identity/no javax.* or java.* classes...
>     test demo with 1.7...
>       got 5647 hits for query "lucene"
>     checkindex with 1.7...
>     check Lucene's javadoc JAR
>   unpack lucene-5.0.0.zip...
>     verify JAR metadata/identity/no javax.* or java.* classes...
>     test demo with 1.7...
>       got 5647 hits for query "lucene"
>     checkindex with 1.7...
>     check Lucene's javadoc JAR
>   unpack lucene-5.0.0-src.tgz...
>     make sure no JARs/WARs in src dist...
>     run "ant validate"
>     run tests w/ Java 7 and testArgs=''...
>     test demo with 1.7...
>       got 210 hits for query "lucene"
>     checkindex with 1.7...
>     generate javadocs w/ Java 7...
>
> Crawl/parse...
>
> Verify...
>   confirm all releases have coverage in TestBackwardsCompatibility
>     find all past Lucene releases...
>     run TestBackwardsCompatibility..
> Releases that don't seem to be tested:
>   2.0.0
>   2.1.0
>   2.2.0
>   2.3.0
>   2.4.0
>   2.4.1
>   2.9.0
>   2.9.1
>   2.9.2
>   2.9.3
>   2.9.4
>   3.0.0
>   3.0.1
>   3.0.2
>   3.0.3
>   3.1.0
>   3.2.0
>   3.3.0
>   3.4.0
>   3.5.0
>   3.6.0
>   3.6.1
>   3.6.2
>   4.0.0
>   4.0.0.0
>   4.0.0.1
>   4.1.0
>   4.2.0
>   4.2.1
>   4.3.0
>   4.3.1
>   4.4.0
>   4.5.0
>   4.5.1
>   4.6.0
>   4.6.1
>   4.7.0
>   4.7.1
>   4.7.2
>   4.8.0
>   4.8.1
>   4.9.0
>   4.9.1
>   4.10.0
>   4.10.1
>   4.10.2
>   4.10.3
> Traceback (most recent call last):
>   File
> "/home/hossman/lucene/branch_5_0/dev-tools/scripts/smokeTestRelease.py",
> line 1523, in <module>
>     main()
>   File
> "/home/hossman/lucene/branch_5_0/dev-tools/scripts/smokeTestRelease.py",
> line 1468, in main
>     smokeTest(c.java, c.url, c.revision, c.version, c.tmp_dir,
> c.is_signed, ' '.join(c.test_args))
>   File
> "/home/hossman/lucene/branch_5_0/dev-tools/scripts/smokeTestRelease.py",
> line 1506, in smokeTest
>     unpackAndVerify(java, 'lucene', tmpDir, 'lucene-%s-src.tgz' % version,
> svnRevision, version, testArgs, baseURL)
>   File
> "/home/hossman/lucene/branch_5_0/dev-tools/scripts/smokeTestRelease.py",
> line 616, in unpackAndVerify
>     verifyUnpacked(java, project, artifact, unpackPath, svnRevision,
> version, testArgs, tmpDir, baseURL)
>   File
> "/home/hossman/lucene/branch_5_0/dev-tools/scripts/smokeTestRelease.py",
> line 797, in verifyUnpacked
>     confirmAllReleasesAreTestedForBackCompat(unpackPath)
>   File
> "/home/hossman/lucene/branch_5_0/dev-tools/scripts/smokeTestRelease.py",
> line 1461, in confirmAllReleasesAreTestedForBackCompat
>     raise RuntimeError('some releases are not tested by
> TestBackwardsCompatibility?')
> RuntimeError: some releases are not tested by TestBackwardsCompatibility?
>
>
>
> hossman@frisbee:~/tmp$ svn info
> ~/lucene/branch_5_0/dev-tools/scripts/smokeTestRelease.py
> Path: /home/hossman/lucene/branch_5_0/dev-tools/scripts/smokeTestRelease.py
> Name: smokeTestRelease.py
> URL:
> https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_5_0/dev-tools/scripts/smokeTestRelease.py
> Repository Root: https://svn.apache.org/repos/asf
> Repository UUID: 13f79535-47bb-0310-9956-ffa450edef68
> Revision: 1658617
> Node Kind: file
> Schedule: normal
> Last Changed Author: ehatcher
> Last Changed Rev: 1652718
> Last Changed Date: 2015-01-18 03:00:48 -0700 (Sun, 18 Jan 2015)
> Text Last Updated: 2015-01-23 10:48:12 -0700 (Fri, 23 Jan 2015)
> Checksum: 70b5da807b4540e7f1b16c009bc4efad
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to