<freeStyleBuild _class='hudson.model.FreeStyleBuild'><action _class='hudson.model.CauseAction'><cause _class='hudson.triggers.SCMTrigger$SCMTriggerCause'><shortDescription>Started by an SCM change</shortDescription></cause></action><action></action><action></action><action _class='jenkins.metrics.impl.TimeInQueueAction'><blockedDurationMillis>0</blockedDurationMillis><blockedTimeMillis>0</blockedTimeMillis><buildableDurationMillis>3559570</buildableDurationMillis><buildableTimeMillis>3559570</buildableTimeMillis><buildingDurationMillis>214796</buildingDurationMillis><executingTimeMillis>214796</executingTimeMillis><executorUtilization>1.0</executorUtilization><subTaskCount>0</subTaskCount><waitingDurationMillis>9478</waitingDurationMillis><waitingTimeMillis>9478</waitingTimeMillis></action><action></action><action _class='hudson.plugins.git.util.BuildData'><buildsByBranchName><refsremotesoriginmain _class='hudson.plugins.git.util.Build'><buildNumber>2456</buildNumber><marked><SHA1>188ef728c8d80688a1d873e0829b6840cc4021e1</SHA1><branch><SHA1>188ef728c8d80688a1d873e0829b6840cc4021e1</SHA1><name>refs/remotes/origin/main</name></branch></marked><revision><SHA1>188ef728c8d80688a1d873e0829b6840cc4021e1</SHA1><branch><SHA1>188ef728c8d80688a1d873e0829b6840cc4021e1</SHA1><name>refs/remotes/origin/main</name></branch></revision></refsremotesoriginmain></buildsByBranchName><lastBuiltRevision><SHA1>188ef728c8d80688a1d873e0829b6840cc4021e1</SHA1><branch><SHA1>188ef728c8d80688a1d873e0829b6840cc4021e1</SHA1><name>refs/remotes/origin/main</name></branch></lastBuiltRevision><remoteUrl>https://gitbox.apache.org/repos/asf/solr.git</remoteUrl><scmName></scmName></action><action></action><action></action><action _class='hudson.plugins.jira.JiraBuildAction'></action><action></action><action></action><action></action><action></action><action _class='org.jenkinsci.plugins.displayurlapi.actions.RunDisplayAction'></action><building>false</building><displayName>#2456</displayName><duration>214796</duration><estimatedDuration>216471</estimatedDuration><fullDisplayName>Solr » Solr-Maven-Snapshots-main #2456</fullDisplayName><id>2456</id><inProgress>false</inProgress><keepLog>false</keepLog><number>2456</number><queueId>33244287</queueId><result>SUCCESS</result><timestamp>1789609169744</timestamp><url>https://ci-builds.apache.org/job/Solr/job/Solr-Maven-Snapshots-main/2456/</url><builtOn>lucene-solr-4</builtOn><changeSet _class='hudson.plugins.git.GitChangeSetList'><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>solr/core/src/java/org/apache/solr/cloud/api/collections/SplitShardCmd.java</affectedPath><affectedPath>solr/solrj/src/java/org/apache/solr/client/solrj/response/InputStreamResponseParser.java</affectedPath><affectedPath>changelog/unreleased/SOLR-17316-input-stream-status-check.yml</affectedPath><affectedPath>solr/solrj-streaming/src/java/org/apache/solr/client/solrj/io/stream/JSONTupleStream.java</affectedPath><affectedPath>solr/solrj/src/test/org/apache/solr/client/solrj/response/InputStreamResponseParserTest.java</affectedPath><affectedPath>solr/solrj/src/java/org/apache/solr/client/solrj/impl/HttpSolrClient.java</affectedPath><affectedPath>solr/core/src/java/org/apache/solr/cli/ApiTool.java</affectedPath><affectedPath>solr/solrj-zookeeper/src/java/org/apache/solr/client/solrj/impl/NodeValueFetcher.java</affectedPath><affectedPath>solr/core/src/java/org/apache/solr/packagemanager/PackageUtils.java</affectedPath><commitId>10a2cb044e0320f0b63be7917f2742f5fff5e361</commitId><timestamp>1789603930000</timestamp><author><absoluteUrl>https://ci-builds.apache.org/user/github</absoluteUrl><fullName>github</fullName></author><authorEmail>noreply@github.com</authorEmail><comment>SOLR-17316: fix ApiTool and PackageUtils to fail on non-2xx responses (#4914)

`bin/solr api` and the package manager's collection-agnostic API calls now fail on a non-2xx response instead of printing it as if it had succeeded.

InputStreamResponseParser now incorporates a "reason" with the status.  A checkStatus() method helps callers handle errors.

Co-authored-by: Claude Sonnet 5 &lt;noreply@anthropic.com&gt;
</comment><date>2026-09-16 20:12:10 -0400</date><id>10a2cb044e0320f0b63be7917f2742f5fff5e361</id><msg>SOLR-17316: fix ApiTool and PackageUtils to fail on non-2xx responses (#4914)</msg><path><editType>edit</editType><file>solr/core/src/java/org/apache/solr/packagemanager/PackageUtils.java</file></path><path><editType>edit</editType><file>solr/core/src/java/org/apache/solr/cli/ApiTool.java</file></path><path><editType>add</editType><file>changelog/unreleased/SOLR-17316-input-stream-status-check.yml</file></path><path><editType>edit</editType><file>solr/solrj-streaming/src/java/org/apache/solr/client/solrj/io/stream/JSONTupleStream.java</file></path><path><editType>edit</editType><file>solr/solrj/src/test/org/apache/solr/client/solrj/response/InputStreamResponseParserTest.java</file></path><path><editType>edit</editType><file>solr/core/src/java/org/apache/solr/cloud/api/collections/SplitShardCmd.java</file></path><path><editType>edit</editType><file>solr/solrj-zookeeper/src/java/org/apache/solr/client/solrj/impl/NodeValueFetcher.java</file></path><path><editType>edit</editType><file>solr/solrj/src/java/org/apache/solr/client/solrj/response/InputStreamResponseParser.java</file></path><path><editType>edit</editType><file>solr/solrj/src/java/org/apache/solr/client/solrj/impl/HttpSolrClient.java</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>solr/solrj/src/java/org/apache/solr/client/solrj/response/InputStreamResponseParser.java</affectedPath><commitId>188ef728c8d80688a1d873e0829b6840cc4021e1</commitId><timestamp>1789604292000</timestamp><author><absoluteUrl>https://ci-builds.apache.org/user/dsmiley</absoluteUrl><fullName>David Smiley</fullName></author><authorEmail>dsmiley@apache.org</authorEmail><comment>SOLR-17316: tidy
</comment><date>2026-09-16 20:18:12 -0400</date><id>188ef728c8d80688a1d873e0829b6840cc4021e1</id><msg>SOLR-17316: tidy</msg><path><editType>edit</editType><file>solr/solrj/src/java/org/apache/solr/client/solrj/response/InputStreamResponseParser.java</file></path></item><kind>git</kind></changeSet><culprit><absoluteUrl>https://ci-builds.apache.org/user/github</absoluteUrl><fullName>github</fullName></culprit><culprit><absoluteUrl>https://ci-builds.apache.org/user/dsmiley</absoluteUrl><fullName>David Smiley</fullName></culprit></freeStyleBuild>