Chris M. Hostetter created LUCENE-9549: ------------------------------------------
Summary: gradle "Reproduce with" line doesn't fully quote all args Key: LUCENE-9549 URL: https://issues.apache.org/jira/browse/LUCENE-9549 Project: Lucene - Core Issue Type: Bug Reporter: Chris M. Hostetter Recent jenkins build include the following outpu... {noformat} Build Log: [...truncated 1849 lines...] ERROR: The following test(s) have failed: - org.apache.solr.handler.JsonLoaderTest.testAddBigIntegerValueToTrieField (:solr:core) Test output: /home/jenkins/workspace/Lucene-Solr-master-Linux/solr/core/build/test-results/test/outputs/OUTPUT-org.apache.solr.ha ndler.JsonLoaderTest.txt Reproduce with: gradlew :solr:core:test --tests "org.apache.solr.handler.JsonLoaderTest" -Ptests.jvms=6 -Ptests.haltonfailure=false -Ptests.jvmargs=-XX:+UseCompressedOops -XX:+UseSerialGC -Ptests.seed=B65FB0896CCB43ED -Ptests.multiplier=3 -Ptests.badapples=false -Ptests.file.encoding=US-ASCII {noformat} Attempting to run that command as written produces the following output... {noformat} FAILURE: Build failed with an exception. * What went wrong: Problem configuring task :solr:core:test from command line. > Unknown command-line option '-X'. {noformat} The explanation of that error is that {{\-XX:+UseSerialGC}} is suppose to be part of the {{\-Ptests.jvmargs}} param. Ideally the gradle Reproduce with line should have looked like... {noformat} Reproduce with: gradlew :solr:core:test --tests "org.apache.solr.handler.JsonLoaderTest" -Ptests.jvms=6 -Ptests.haltonfailure=false -Ptests.jvmargs='-XX:+UseCompressedOops -XX:+UseSerialGC' -Ptests.seed=B65FB0896CCB43ED -Ptests.multiplier=3 -Ptests.badapples=false -Ptests.file.encoding=US-ASCII {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org