Hi I am running smokeTestRelease.py first time on my local machine in the context of https://issues.apache.org/jira/browse/SOLR-6474 and understanding how the smoke test can be launched using the script.
First I was running it using Python-27 and faced SyntaxError issues and got rid of them when tried with Python 3.4.2. Now getting error when am trying to run smoke using command below: python -u smokeTestRelease.py http://people.apache.org/~mikemccand/staging_area/lucene-solr-4.10.2-RC1-rev1634293 Java 1.7 JAVA_HOME=C:\Program Files\Java\jdk1.7.0_51 Traceback (most recent call last): File "smokeTestRelease.py", line 1522, in <module> main() File "smokeTestRelease.py", line 1465, in main c = parse_config() File "smokeTestRelease.py", line 1351, in parse_config c.java = make_java_config(parser, c.test_java8) File "smokeTestRelease.py", line 1303, in make_java_config run_java7 = _make_runner(java7_home, '1.7') File "smokeTestRelease.py", line 1294, in _make_runner shell=True, stderr=subprocess.STDOUT).decode('utf-8') File "C:\Program Files (x86)\Python34\lib\subprocess.py", line 620, in check_output raise CalledProcessError(retcode, process.args, output=output) subprocess.CalledProcessError: Command 'export JAVA_HOME="C:\Program Files\Java\jdk1.7.0_51" PATH="C:\Program Files\Java\jdk1.7.0_51/bin:$PATH" JAVACMD="C:\Program Files\Java\jdk1.7.0_51/bin/java"; java -version' returned non-zero exit status 1 The only usage example I find in the code is it takes a URL param and it's giving the above error: Example usage: python3.2 -u dev-tools/scripts/smokeTestRelease.py http://people.apache.org/~whoever/staging_area/lucene-solr-4.3.0-RC1-rev1469340 Please suggest if I am missing anything (path/env setting) while running through URL param in the above fashion. Also, is there a way I can run the smoke locally without giving URL params. Thanks Anurag
