This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DEVICE-3-1-8 SYSTEM COMMAND REBOOT

Hello sir,


this test is some time pass and some time fail

what is issue.

when fail getting log Failed to receive ProbeMatches message

  • why are not received ProbeMatches message in onvif tools
  • Hi Babbelal,

    What is your processor? What is your SDK and which version? Can you provide more details regarding this test?

    BR
    Pavel
  • ipnc rdk 3.8 and Dm8127 processor

    please reply
  • ipnc rdk 3.8 and Dm1827 processor
  • Can you provide more details regarding this test?
  • test case:-DEVICE-3-1-8 SYSTEM COMMAND REBOOT

    in case Pass:-
    DEVICE-3-1-8 SYSTEM COMMAND REBOOT
    TestResult
    STEP 1 - Send System Reboot message
    STEP PASSED
    STEP 2 - Waiting for Hello message...
    STEP PASSED
    STEP 3 - Waiting for Hello message from the DUT
    STEP PASSED
    STEP 4 - 5 seconds timeout after Hello
    STEP PASSED
    STEP 5 - Probe device
    STEP PASSED
    STEP 6 - Validate probe match
    STEP PASSED
    TEST PASSED

    and my log is:-
    in [onvif] soap_serve_request ....Probe...
    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@fun = soap_serve_request,line number = 73
    ####### soap_send___d__ProbeMatches : 275 v1 =0
    ####### soap_send___d__ProbeMatches : 277 v2 =0
    ####### soap_send___d__ProbeMatches : 279 v3 =0
    ####### soap_send___d__ProbeMatches : 281 v4 =0
    ####### soap_send___d__ProbeMatches : 283 v5 =0
    ####### soap_send___d__ProbeMatches : 285 v6 =0
    ####### soap_send___d__ProbeMatches : 287 v7 =0
    ####### soap_send___d__ProbeMatches : 289 v8 =0
    fun = __d__Probe line = 1318 err = 0
    fun = udp_probe,line number = 505


    in case fail:-
    DEVICE-3-1-8 SYSTEM COMMAND REBOOT
    TestResult
    STEP 1 - Send System Reboot message
    STEP PASSED
    STEP 2 - Waiting for Hello message...
    STEP PASSED
    STEP 3 - Waiting for Hello message from the DUT
    STEP PASSED
    STEP 4 - 5 seconds timeout after Hello
    STEP PASSED
    STEP 5 - Probe device
    Failed to receive ProbeMatches message
    STEP Failed
    STEP 6 - Validate probe match
    STEP PASSED
    TEST PASSED

    my log is:-

    in [onvif] soap_serve_request ....Probe...
    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@fun = soap_serve_request,line number = 73
    ####### soap_send___d__ProbeMatches : 275 v1 =0
    ####### soap_send___d__ProbeMatches : 277 v2 =0
    ####### soap_send___d__ProbeMatches : 279 v3 =0
    ####### soap_send___d__ProbeMatches : 281 v4 =0
    ####### soap_send___d__ProbeMatches : 283 v5 =0
    ####### soap_send___d__ProbeMatches : 285 v6 =0
    ####### soap_send___d__ProbeMatches : 287 v7 =0
    ####### soap_send___d__ProbeMatches : 289 v8 =-1
    fun = __d__Probe line = 1318 err = -1
    fun = udp_probe,line number = 505





    /***************************************** my code is ***************************/
    SOAP_FMAC5 int SOAP_FMAC6 soap_send___d__ProbeMatches(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct d__ProbeMatchesType *d__ProbeMatches)
    { struct __d__ProbeMatches soap_tmp___d__ProbeMatches;
    if (soap_action == NULL)
    soap_action = "docs.oasis-open.org/.../ProbeMatches";
    soap->encodingStyle = NULL;

    soap_tmp___d__ProbeMatches.d__ProbeMatches = d__ProbeMatches;
    soap_begin(soap);
    soap_serializeheader(soap);
    soap_serialize___d__ProbeMatches(soap, &soap_tmp___d__ProbeMatches);
    if (soap_begin_count(soap))
    return soap->error;
    if (soap->mode & SOAP_IO_LENGTH)
    { if (soap_envelope_begin_out(soap)
    || soap_putheader(soap)
    || soap_body_begin_out(soap)
    || soap_put___d__ProbeMatches(soap, &soap_tmp___d__ProbeMatches, "-d:ProbeMatches", NULL)
    || soap_body_end_out(soap)
    || soap_envelope_end_out(soap))
    return soap->error;
    }
    if (soap_end_count(soap))
    return soap->error;


    =================================================================
    int v1,v2,v3,v4,v5,v6,v7,v8;
    v1 = soap_connect(soap, soap_endpoint, soap_action);
    fprintf(stderr,"####### %s : %d v1 =%d\n",__func__,__LINE__,v1);
    v2= soap_envelope_begin_out(soap);
    fprintf(stderr,"####### %s : %d v2 =%d\n",__func__,__LINE__,v2);
    v3 =soap_putheader(soap);
    fprintf(stderr,"####### %s : %d v3 =%d\n",__func__,__LINE__,v3);
    v4 = soap_body_begin_out(soap);
    fprintf(stderr,"####### %s : %d v4 =%d\n",__func__,__LINE__,v4);
    v5 = soap_put___d__ProbeMatches(soap, &soap_tmp___d__ProbeMatches, "-d:ProbeMatches", NULL);
    fprintf(stderr,"####### %s : %d v5 =%d\n",__func__,__LINE__,v5);
    v6 =soap_body_end_out(soap);
    fprintf(stderr,"####### %s : %d v6 =%d\n",__func__,__LINE__,v6);
    v7 = soap_envelope_end_out(soap);
    fprintf(stderr,"####### %s : %d v7 =%d\n",__func__,__LINE__,v7);
    v8 =soap_end_send(soap);
    fprintf(stderr,"####### %s : %d v8 =%d\n",__func__,__LINE__,v8);

    if (v1 || v2 ||v3 || v4 || v5 || v6 || v7 || v8)
    {
    fprintf(stderr,"####### %s : %d\n",__func__,__LINE__);
    return soap_closesock(soap);
    }
    return SOAP_OK;
    }
    /******************************************************************************/
  • I will notify IPNC RDK team for help.

    BR
    Pavel
  • hello sir ,

    please help me that some time this test are fail