The smoke tester should be seen as a last-resort effort to catch ridiculous problems that because of bugs in the test infra, our tests failed to catch!
Mike McCandless http://blog.mikemccandless.com On Mon, Aug 10, 2015 at 1:56 PM, Erik Hatcher <erik.hatc...@gmail.com> wrote: > Well, we do have a test for it after all… the smoker! This is > https://issues.apache.org/jira/browse/SOLR-7859 > > > > On Aug 10, 2015, at 1:37 PM, Apache Jenkins Server > <jenk...@builds.apache.org> wrote: > > Build: https://builds.apache.org/job/Lucene-Solr-SmokeRelease-trunk/249/ > > No tests ran. > > Build Log: > [...truncated 53024 lines...] > prepare-release-no-sign: > [mkdir] Created dir: > /x1/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-trunk/lucene/build/smokeTestRelease/dist > [copy] Copying 461 files to > /x1/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-trunk/lucene/build/smokeTestRelease/dist/lucene > [copy] Copying 245 files to > /x1/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-trunk/lucene/build/smokeTestRelease/dist/solr > [smoker] Java 1.8 > JAVA_HOME=/home/jenkins/jenkins-slave/tools/hudson.model.JDK/latest1.8 > [smoker] NOTE: output encoding is UTF-8 > [smoker] > [smoker] Load release URL > "file:/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-trunk/lucene/build/smokeTestRelease/dist/"... > [smoker] > [smoker] Test Lucene... > [smoker] test basics... > [smoker] get KEYS > [smoker] 0.1 MB in 0.01 sec (13.8 MB/sec) > [smoker] check changes HTML... > [smoker] download lucene-6.0.0-src.tgz... > [smoker] 28.1 MB in 0.04 sec (649.5 MB/sec) > [smoker] verify md5/sha1 digests > [smoker] download lucene-6.0.0.tgz... > [smoker] 64.9 MB in 0.12 sec (553.2 MB/sec) > [smoker] verify md5/sha1 digests > [smoker] download lucene-6.0.0.zip... > [smoker] 75.2 MB in 0.14 sec (550.5 MB/sec) > [smoker] verify md5/sha1 digests > [smoker] unpack lucene-6.0.0.tgz... > [smoker] verify JAR metadata/identity/no javax.* or java.* classes... > [smoker] test demo with 1.8... > [smoker] got 5831 hits for query "lucene" > [smoker] checkindex with 1.8... > [smoker] check Lucene's javadoc JAR > [smoker] unpack lucene-6.0.0.zip... > [smoker] verify JAR metadata/identity/no javax.* or java.* classes... > [smoker] test demo with 1.8... > [smoker] got 5831 hits for query "lucene" > [smoker] checkindex with 1.8... > [smoker] check Lucene's javadoc JAR > [smoker] unpack lucene-6.0.0-src.tgz... > [smoker] make sure no JARs/WARs in src dist... > [smoker] run "ant validate" > [smoker] run tests w/ Java 8 and testArgs='-Dtests.slow=false'... > [smoker] test demo with 1.8... > [smoker] got 213 hits for query "lucene" > [smoker] checkindex with 1.8... > [smoker] generate javadocs w/ Java 8... > [smoker] > [smoker] Crawl/parse... > [smoker] > [smoker] Verify... > [smoker] confirm all releases have coverage in > TestBackwardsCompatibility > [smoker] find all past Lucene releases... > [smoker] run TestBackwardsCompatibility.. > [smoker] success! > [smoker] > [smoker] Test Solr... > [smoker] test basics... > [smoker] get KEYS > [smoker] 0.1 MB in 0.01 sec (11.4 MB/sec) > [smoker] check changes HTML... > [smoker] download solr-6.0.0-src.tgz... > [smoker] 36.7 MB in 0.44 sec (82.8 MB/sec) > [smoker] verify md5/sha1 digests > [smoker] download solr-6.0.0.tgz... > [smoker] 130.5 MB in 2.43 sec (53.7 MB/sec) > [smoker] verify md5/sha1 digests > [smoker] download solr-6.0.0.zip... > [smoker] 138.6 MB in 3.76 sec (36.8 MB/sec) > [smoker] verify md5/sha1 digests > [smoker] unpack solr-6.0.0.tgz... > [smoker] verify JAR metadata/identity/no javax.* or java.* classes... > [smoker] unpack lucene-6.0.0.tgz... > [smoker] **WARNING**: skipping check of > /x1/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-trunk/lucene/build/smokeTestRelease/tmp/unpack/solr-6.0.0/contrib/dataimporthandler-extras/lib/javax.mail-1.5.1.jar: > it has javax.* classes > [smoker] **WARNING**: skipping check of > /x1/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-trunk/lucene/build/smokeTestRelease/tmp/unpack/solr-6.0.0/contrib/dataimporthandler-extras/lib/activation-1.1.1.jar: > it has javax.* classes > [smoker] copying unpacked distribution for Java 8 ... > [smoker] test solr example w/ Java 8... > [smoker] start Solr instance > (log=/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-trunk/lucene/build/smokeTestRelease/tmp/unpack/solr-6.0.0-java8/solr-example.log)... > [smoker] No process found for Solr node running on port 8983 > [smoker] starting Solr on port 8983 from > /x1/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-trunk/lucene/build/smokeTestRelease/tmp/unpack/solr-6.0.0-java8 > [smoker] startup done > [smoker] > [smoker] Setup new core instance directory: > [smoker] > /x1/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-trunk/lucene/build/smokeTestRelease/tmp/unpack/solr-6.0.0-java8/server/solr/techproducts > [smoker] > [smoker] Creating new core 'techproducts' using command: > [smoker] > http://localhost:8983/solr/admin/cores?action=CREATE&name=techproducts&instanceDir=techproducts > [smoker] > [smoker] { > [smoker] "responseHeader":{ > [smoker] "status":0, > [smoker] "QTime":1447}, > [smoker] "core":"techproducts"} > [smoker] > [smoker] > [smoker] test utf8... > [smoker] index example docs... > [smoker] > [smoker] command "java > -Durl=http://localhost:8983/solr/techproducts/update -jar > ./exampledocs/post.jar ./exampledocs/*.xml" failed: > [smoker] SimplePostTool version 5.0.0 > [smoker] Exception in thread "main" java.lang.NoClassDefFoundError: > org/apache/solr/util/RTimer > [smoker] at > org.apache.solr.util.SimplePostTool.execute(SimplePostTool.java:176) > [smoker] at > org.apache.solr.util.SimplePostTool.main(SimplePostTool.java:167) > [smoker] Caused by: java.lang.ClassNotFoundException: > org.apache.solr.util.RTimer > [smoker] at java.net.URLClassLoader.findClass(URLClassLoader.java:381) > [smoker] at java.lang.ClassLoader.loadClass(ClassLoader.java:424) > [smoker] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) > [smoker] at java.lang.ClassLoader.loadClass(ClassLoader.java:357) > [smoker] ... 2 more > [smoker] > [smoker] > [smoker] stop server using: bin/solr stop -p 8983 > [smoker] Sending stop command to Solr running on port 8983 ... waiting 5 > seconds to allow Jetty process 2379 to stop gracefully. > [smoker] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] > [smoker] Traceback (most recent call last): > [smoker] File > "/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-trunk/dev-tools/scripts/smokeTestRelease.py", > line 1454, in <module> > [smoker] main() > [smoker] File > "/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-trunk/dev-tools/scripts/smokeTestRelease.py", > line 1399, in main > [smoker] smokeTest(c.java, c.url, c.revision, c.version, c.tmp_dir, > c.is_signed, ' '.join(c.test_args)) > [smoker] File > "/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-trunk/dev-tools/scripts/smokeTestRelease.py", > line 1443, in smokeTest > [smoker] unpackAndVerify(java, 'solr', tmpDir, artifact, svnRevision, > version, testArgs, baseURL) > [smoker] File > "/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-trunk/dev-tools/scripts/smokeTestRelease.py", > line 583, in unpackAndVerify > [smoker] verifyUnpacked(java, project, artifact, unpackPath, > svnRevision, version, testArgs, tmpDir, baseURL) > [smoker] File > "/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-trunk/dev-tools/scripts/smokeTestRelease.py", > line 720, in verifyUnpacked > [smoker] testSolrExample(java8UnpackPath, java.java8_home, False) > [smoker] File > "/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-trunk/dev-tools/scripts/smokeTestRelease.py", > line 825, in testSolrExample > [smoker] run('java > -Durl=http://localhost:8983/solr/techproducts/update -jar > ./exampledocs/post.jar ./exampledocs/*.xml', 'post-example-docs.log') > [smoker] File > "/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-trunk/dev-tools/scripts/smokeTestRelease.py", > line 508, in run > [smoker] raise RuntimeError('command "%s" failed; see log file %s' % > (command, logPath)) > [smoker] RuntimeError: command "java > -Durl=http://localhost:8983/solr/techproducts/update -jar > ./exampledocs/post.jar ./exampledocs/*.xml" failed; see log file > /x1/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-trunk/lucene/build/smokeTestRelease/tmp/unpack/solr-6.0.0-java8/example/post-example-docs.log > > BUILD FAILED > /x1/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-trunk/build.xml:468: > exec returned: 1 > > Total time: 37 minutes 56 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