You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Lucene/Solr QA (JIRA)" <ji...@apache.org> on 2018/06/06 20:16:00 UTC

[jira] [Commented] (SOLR-12449) Response /autoscaling/diagnostics shows improper json

    [ https://issues.apache.org/jira/browse/SOLR-12449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16503863#comment-16503863 ] 

Lucene/Solr QA commented on SOLR-12449:
---------------------------------------

| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
|| || || || {color:brown} Prechecks {color} ||
| {color:green}+1{color} | {color:green} test4tests {color} | {color:green}  0m  0s{color} | {color:green} The patch appears to include 2 new or modified test files. {color} |
|| || || || {color:brown} master Compile Tests {color} ||
| {color:green}+1{color} | {color:green} compile {color} | {color:green}  5m 54s{color} | {color:green} master passed {color} |
|| || || || {color:brown} Patch Compile Tests {color} ||
| {color:green}+1{color} | {color:green} compile {color} | {color:green}  5m 50s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} javac {color} | {color:green}  5m 50s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} Release audit (RAT) {color} | {color:green}  5m  1s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} Check forbidden APIs {color} | {color:green}  4m 47s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} Validate source patterns {color} | {color:green}  4m 47s{color} | {color:green} the patch passed {color} |
|| || || || {color:brown} Other Tests {color} ||
| {color:red}-1{color} | {color:red} unit {color} | {color:red}127m 48s{color} | {color:red} core in the patch failed. {color} |
| {color:green}+1{color} | {color:green} unit {color} | {color:green} 14m 28s{color} | {color:green} solrj in the patch passed. {color} |
| {color:black}{color} | {color:black} {color} | {color:black}161m 40s{color} | {color:black} {color} |
\\
\\
|| Reason || Tests ||
| Failed junit tests | solr.handler.tagger.Tagger2Test |
|   | solr.cloud.autoscaling.SearchRateTriggerIntegrationTest |
|   | solr.update.MaxSizeAutoCommitTest |
|   | solr.cloud.autoscaling.sim.TestTriggerIntegration |
|   | solr.cloud.autoscaling.sim.TestLargeCluster |
|   | solr.cloud.autoscaling.SearchRateTriggerTest |
\\
\\
|| Subsystem || Report/Notes ||
| JIRA Issue | SOLR-12449 |
| JIRA Patch URL | https://issues.apache.org/jira/secure/attachment/12926571/SOLR-12449.patch |
| Optional Tests |  compile  javac  unit  ratsources  checkforbiddenapis  validatesourcepatterns  |
| uname | Linux lucene2-us-west.apache.org 4.4.0-112-generic #135-Ubuntu SMP Fri Jan 19 11:48:36 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux |
| Build tool | ant |
| Personality | /home/jenkins/jenkins-slave/workspace/PreCommit-SOLR-Build/sourcedir/dev-tools/test-patch/lucene-solr-yetus-personality.sh |
| git revision | master / d163159 |
| ant | version: Apache Ant(TM) version 1.9.6 compiled on July 8 2015 |
| Default Java | 1.8.0_172 |
| unit | https://builds.apache.org/job/PreCommit-SOLR-Build/113/artifact/out/patch-unit-solr_core.txt |
|  Test Results | https://builds.apache.org/job/PreCommit-SOLR-Build/113/testReport/ |
| modules | C: solr/core solr/solrj U: solr |
| Console output | https://builds.apache.org/job/PreCommit-SOLR-Build/113/console |
| Powered by | Apache Yetus 0.7.0   http://yetus.apache.org |


This message was automatically generated.



> Response /autoscaling/diagnostics shows improper json
> -----------------------------------------------------
>
>                 Key: SOLR-12449
>                 URL: https://issues.apache.org/jira/browse/SOLR-12449
>             Project: Solr
>          Issue Type: Sub-task
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: AutoScaling
>            Reporter: Noble Paul
>            Assignee: Noble Paul
>            Priority: Major
>         Attachments: SOLR-12449.patch
>
>
> the value for the key "replica" is a serialized json itself
> {{"replica":"org.apache.solr.client.solrj.cloud.autoscaling.ReplicaCount:}}{{
> {\n \"NRT\":2,\n \"PULL\":0,\n \"TLOG\":0,\n \"count\":2}
> }}
> "
> {code:java}
> {
>   "violations":[{
>       "collection":"c1",
>       "shard":"s1",
>       "tagKey":"8983",
>       "violation":{
>         "replica":"org.apache.solr.client.solrj.cloud.autoscaling.ReplicaCount:{\n  \"NRT\":2,\n  \"PULL\":0,\n  \"TLOG\":0,\n  \"count\":2}",
>         "delta":-2},
>       "clause":{
>         "replica":0,
>         "shard":"#EACH",
>         "port":"8983",
>         "collection":"c1"}},
>     {
>       "collection":"c1",
>       "shard":"s2",
>       "tagKey":"8983",
>       "violation":{
>         "replica":"org.apache.solr.client.solrj.cloud.autoscaling.ReplicaCount:{\n  \"NRT\":2,\n  \"PULL\":0,\n  \"TLOG\":0,\n  \"count\":2}",
>         "delta":-2},
>       "clause":{
>         "replica":0,
>         "shard":"#EACH",
>         "port":"8983",
>         "collection":"c1"}}]}
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org