2023-04-12 01:33:28,012 p=13532 u=pservice |  TASK [general/check/conf : Check generated "cnc.json" file by schema with json validator] *************************************************************************************************************
2023-04-12 01:33:28,014 p=13532 u=pservice |  task path: /opt/pservice/ansible/cnc_7_35_1/install/common/general/check/conf/tasks/main.yml:28
2023-04-12 01:33:28,017 p=13532 u=pservice |  fatal: [cnc_subs_test1 -> localhost]: FAILED! => {
    "changed": true,
    "cmd": "command java -Xms200m -jar /opt/pservice/ansible/cnc_7_35_1/install/common/general/check/conf/../schema/files/json-schema-validator-2.2.6-lib.jar /opt/pservice/ansible/cnc_7_35_1/install/schemas/cnc-schema.json /tmp/ansible-20230412013313_266901/cnc.json\n",
    "delta": "0:00:02.484339",
    "end": "2023-04-12 01:33:27.811874",
    "invocation": {
        "module_args": {
            "_raw_params": "command java -Xms200m -jar /opt/pservice/ansible/cnc_7_35_1/install/common/general/check/conf/../schema/files/json-schema-validator-2.2.6-lib.jar /opt/pservice/ansible/cnc_7_35_1/install/schemas/cnc-schema.json /tmp/ansible-20230412013313_266901/cnc.json\n",
            "_uses_shell": true,
            "argv": null,
            "chdir": null,
            "creates": null,
            "executable": null,
            "removes": null,
            "stdin": null,
            "stdin_add_newline": true,
            "strip_empty_ends": true,
            "warn": true
        }
    },
    "msg": "non-zero return code",
    "rc": 100,
    "start": "2023-04-12 01:33:25.327535",
    "stderr": "",
    "stderr_lines": [],
    "stdout": "--- BEGIN /tmp/ansible-20230412013313_266901/cnc.json---\nvalidation: FAILURE\n[ {\n  \"level\" : \"error\",\n  \"schema\" : {\n    \"loadingURI\" : \"file:/opt/pservice/ansible/cnc_7_35_1/install/schemas/cnc-schema.json#\",\n    \"pointer\" : \"/properties/cnc/properties/rabbit_port\"\n  },\n  \"instance\" : {\n    \"pointer\" : \"/cnc/rabbit_port\"\n  },\n  \"domain\" : \"validation\",\n  \"keyword\" : \"type\",\n  \"message\" : \"instance type (string) does not match any allowed primitive type (allowed: [\\\"integer\\\"])\",\n  \"found\" : \"string\",\n  \"expected\" : [ \"integer\" ]\n}, {\n  \"level\" : \"error\",\n  \"schema\" : {\n    \"loadingURI\" : \"file:/opt/pservice/ansible/cnc_7_35_1/install/schemas/cnc-schema.json#\",\n    \"pointer\" : \"/properties/cnc/properties/zookeeper_connection_nodes/items/properties/port\"\n  },\n  \"instance\" : {\n    \"pointer\" : \"/cnc/zookeeper_connection_nodes/0/port\"\n  },\n  \"domain\" : \"validation\",\n  \"keyword\" : \"type\",\n  \"message\" : \"instance type (string) does not match any allowed primitive type (allowed: [\\\"integer\\\"])\",\n  \"found\" : \"string\",\n  \"expected\" : [ \"integer\" ]\n} ]\n--- END /tmp/ansible-20230412013313_266901/cnc.json---",
    "stdout_lines": [
        "--- BEGIN /tmp/ansible-20230412013313_266901/cnc.json---",
        "validation: FAILURE",
        "[ {",
        "  \"level\" : \"error\",",
        "  \"schema\" : {",
        "    \"loadingURI\" : \"file:/opt/pservice/ansible/cnc_7_35_1/install/schemas/cnc-schema.json#\",",
        "    \"pointer\" : \"/properties/cnc/properties/rabbit_port\"",
        "  },",
        "  \"instance\" : {",
        "    \"pointer\" : \"/cnc/rabbit_port\"",
        "  },",
        "  \"domain\" : \"validation\",",
        "  \"keyword\" : \"type\",",
        "  \"message\" : \"instance type (string) does not match any allowed primitive type (allowed: [\\\"integer\\\"])\",",
        "  \"found\" : \"string\",",
        "  \"expected\" : [ \"integer\" ]",
        "}, {",
        "  \"level\" : \"error\",",
        "  \"schema\" : {",
        "    \"loadingURI\" : \"file:/opt/pservice/ansible/cnc_7_35_1/install/schemas/cnc-schema.json#\",",
        "    \"pointer\" : \"/properties/cnc/properties/zookeeper_connection_nodes/items/properties/port\"",
        "  },",
        "  \"instance\" : {",
        "    \"pointer\" : \"/cnc/zookeeper_connection_nodes/0/port\"",
        "  },",
        "  \"domain\" : \"validation\",",
        "  \"keyword\" : \"type\",",
        "  \"message\" : \"instance type (string) does not match any allowed primitive type (allowed: [\\\"integer\\\"])\",",
        "  \"found\" : \"string\",",
        "  \"expected\" : [ \"integer\" ]",
        "} ]",
        "--- END /tmp/ansible-20230412013313_266901/cnc.json---"
    ]
}