Hello, Thank you for your reply. I am using IoTivity framework 1.0.1 and OCF Certification Test Tool 0.4.300.0. I am an intern at Honeywell Technology solutions working on using the IoTivity framework to switch on a Light Resource.
I ran the OCF Certification Test Tool on the example program - simpleserver provided by the IoTivity framework 1.0.1 package. The test failed. I have attached the CTT log file for the "CT1.1.1CoAP-Based Resource Discovery" performed on the simpleserver. The simpleserver program terminates when testing the "RETRIVE message based on CoAP" and "RETRIVE message with observe indication based on CoAP - NOTIFY". For other test cases of OIC Resource Model, it fails. Could u please go through and let me know why the OCF Certification Test Tool test case fails on an example provided by IoTivity itself. Hoping for a reply as soon as possible. Regards, Ragul Bhagwanth On Thu, Jun 23, 2016 at 11:23 PM, Jason Smith <lab_mgr at openconnectivity.org> wrote: > Ragul ? > > > > Thank you for your email, and sorry you are having troubles with the OCF > CTT. In order to provide assistance, I need some additional information > from you: > > - What OCF member company do you represent? > > - What errors did you receive from the CTT? > > - Can you provide the CTT log file? > > - Are you using the most recent version of the CTT (an update > was released earlier this week)? > > > > Once you?re able to provide the above information, we can determine what > the issue is. > > > > Thank you and best regards, > > Jason > > > > Jason Smith > > Certification Lab Manager > > Open Connectivity Foundation > > lab_mgr at openconnectivity.org > > > > > > *From:* Ragul Bhagwanth [mailto:ugetragul at gmail.com <ugetragul at > gmail.com>] > > *Sent:* Thursday, June 23, 2016 1:48 AM > *To:* admin at openconnectivity.org > *Subject:* Regarding IoTivity > > > > Hello, > > > > I am new to IoTivity and would appreciate your help. > > The OCF Certification test tool prompts FAILED when testing the simple > server (example program) > > in the IoTivity framework package. > > > > Please do let me know why the OCF Certification test tool fails at the > example program itself. > > > > Hoping for a reply as soon as possible. > > > > Thank you. > > > > Regards, > > Ragul Bhagwanth > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160624/1de9d1fa/attachment.html> -------------- next part -------------- 11:40:35 INFO Test case "CT1.1.1 CoAP-Based Resource Discovery" started 11:40:35 INFO Timestamp: 2016-06-24 11:40:35. Tool version: 0.4.300.0 11:40:36 INFO 11:40:36 INFO ======= Step1 - testing for Multicast method with default interface ======= 11:40:36 INFO 11:40:36 INFO Sending multicast request with /oic/res 11:40:36 INFO Prompting "Waiting 60 seconds for CoAP responses..." 11:40:36 INFO Prompt timeout: 60s 11:40:36 INFO Prompting "Please wait..." 11:40:36 INFO Prompt timeout: 5s 11:40:41 INFO CT1.1.1_Check_20: Received 1 response(s) for correct request 11:40:41 INFO CT1.1.1_Check_28: Received expected response code 2.05 Content (69) 11:40:41 INFO CT1.1.1_Check_22: The IUT indicates support for CBOR and payload encoding uses CBOR 11:40:41 ERROR CT1.1.1_Check_6: Bad type(s) of property 'rt' should be array but is <type 'str'>. ([{'links': [{'href': '/oic/d', 'rt': 'oic.wk.d', 'if': 'oic.if.baseline oic.if.r', 'p': {'bm': 1}}, {'href': '/oic/p... 11:40:41 ERROR CT1.1.1_Check_23: Bad type(s) of property 'rt' should be array but is <type 'str'>. ([{'links': [{'href': '/oic/d', 'rt': 'oic.wk.d', 'if': 'oic.if.baseline oic.if.r', 'p': {'bm': 1}}, {'href': '/oic/... 11:40:41 ERROR CT1.1.1_Check_2: Not all discovered OIC-defined Resource Types match those declared in the PICS Missing in PICS ['oic.d.light', 'oic.r.switch.binary'] Missing in resources ['oic.d.light', 'oic.r.swit... 11:40:41 INFO CT1.1.1_Check_3: URI (href), Resource Type (rt) and Interface (if) are defined 11:40:41 INFO CT1.1.1_Check_5: The URI of the link for every OIC Resource is unique . 11:40:41 INFO CT1.1.1_Check_12: Each OIC Resources supports the Baseline interface 11:40:41 ERROR Validation Error: 'oic.if.baseline oic.if.r' is not of type 'array' Failed validating 'type' in schema['items']['properties']['links']['items']['properties']['if']: {'description': 'ReadOnly, The... 11:40:41 ERROR CT1.1.1_Check_31: Validation of the response against 'oic.wk.res' schema failed 11:40:41 INFO CT1.1.1_Check_36: IUT do not implement any Resource Type in the OIC namespace that have not beed defined. 11:40:41 ERROR CT1.1.1_Check_32: Unknown Smart Home Device ['oic.wk.d']. But marked as 'Smart Home' in PICS Supported Vertical Profile. 11:40:41 ERROR CT1.1.1_Check_33: Verification with ID "CT1.1.1_Check_33" threw the exception: Local variable 'deviceType' referenced before assignment. 11:40:41 INFO CT1.1.1_Check_4: Prefix /oic/ in pre-defined OIC Resource 11:40:41 ERROR CT1.1.1_Check_7: Resource Type property is not an array 11:40:41 ERROR CT1.1.1_Check_8: Resource Type property is not an array 11:40:41 ERROR CT1.1.1_Check_10: Interface Property value is not an array {'href': '/oic/d', 'rt': 'oic.wk.d', 'if': 'oic.if.baseline oic.if.r', 'p': {'bm': 1}} 11:40:41 ERROR CT1.1.1_Check_13: Interface Property value is not an array {'href': '/oic/d', 'rt': 'oic.wk.d', 'if': 'oic.if.baseline oic.if.r', 'p': {'bm': 1}} 11:40:41 INFO CT1.1.1_Check_17: The Policy property is valid. 11:40:41 INFO CT1.1.1_Check_18: OIC Resource defined as discoverable was in the response 11:40:41 INFO CT1.1.1_Check_4: Prefix /oic/ in pre-defined OIC Resource 11:40:41 ERROR CT1.1.1_Check_7: Resource Type property is not an array 11:40:41 ERROR CT1.1.1_Check_8: Resource Type property is not an array 11:40:41 ERROR CT1.1.1_Check_10: Interface Property value is not an array {'href': '/oic/p', 'rt': 'oic.wk.p', 'if': 'oic.if.baseline oic.if.r', 'p': {'bm': 1}} 11:40:41 ERROR CT1.1.1_Check_13: Interface Property value is not an array {'href': '/oic/p', 'rt': 'oic.wk.p', 'if': 'oic.if.baseline oic.if.r', 'p': {'bm': 1}} 11:40:41 INFO CT1.1.1_Check_17: The Policy property is valid. 11:40:41 INFO CT1.1.1_Check_18: OIC Resource defined as discoverable was in the response 11:40:41 INFO CT1.1.1_Check_4: Resource Types with no pre-defined URI 11:40:41 ERROR CT1.1.1_Check_7: Resource Type property is not an array 11:40:41 ERROR CT1.1.1_Check_8: Resource Type property is not an array 11:40:41 ERROR CT1.1.1_Check_10: Interface Property value is not an array {'href': '/a/light', 'rt': 'core.light core.brightlight', 'if': 'oic.if.baseline oic.if.ll', 'p': {'bm': 3}} 11:40:41 ERROR CT1.1.1_Check_13: Interface Property value is not an array {'href': '/a/light', 'rt': 'core.light core.brightlight', 'if': 'oic.if.baseline oic.if.ll', 'p': {'bm': 3}} 11:40:41 INFO CT1.1.1_Check_17: The Policy property is valid. 11:40:41 INFO CT1.1.1_Check_18: OIC Resource defined as discoverable was in the response 11:40:41 INFO CT1.1.1_Check_1: /oic/p and /oic/d included 11:40:41 INFO 11:40:41 INFO ======= Step6 - testing for Multicast method with interface: oic.if.ll ======= 11:40:41 INFO 11:40:41 INFO Sending multicast request with /oic/res?if=oic.if.ll 11:40:41 INFO Prompting "Waiting 60 seconds for CoAP responses..." 11:40:41 INFO Prompt timeout: 60s 11:40:51 INFO Prompting "Please wait..." 11:40:51 INFO Prompt timeout: 5s 11:40:56 INFO CT1.1.1_Check_20: Received 1 response(s) for correct request 11:40:56 INFO CT1.1.1_Check_28: Received expected response code 2.05 Content (69) 11:40:56 INFO CT1.1.1_Check_22: The IUT indicates support for CBOR and payload encoding uses CBOR 11:40:56 ERROR CT1.1.1_Check_6: Bad type(s) of property 'rt' should be array but is <type 'str'>. ([{'links': [{'href': '/a/light', 'rt': 'core.light core.brightlight', 'if': 'oic.if.baseline oic.if.ll', 'p': {'bm':... 11:40:56 ERROR CT1.1.1_Check_23: Bad type(s) of property 'rt' should be array but is <type 'str'>. ([{'links': [{'href': '/a/light', 'rt': 'core.light core.brightlight', 'if': 'oic.if.baseline oic.if.ll', 'p': {'bm'... 11:40:56 ERROR CT1.1.1_Check_2: Not all discovered OIC-defined Resource Types match those declared in the PICS Missing in PICS ['oic.d.light', 'oic.r.switch.binary'] Missing in resources ['oic.d.light', 'oic.r.swit... 11:40:56 INFO CT1.1.1_Check_3: URI (href), Resource Type (rt) and Interface (if) are defined 11:40:56 INFO CT1.1.1_Check_5: The URI of the link for every OIC Resource is unique . 11:40:56 INFO CT1.1.1_Check_12: Each OIC Resources supports the Baseline interface 11:40:56 ERROR Validation Error: 'oic.if.baseline oic.if.ll' is not of type 'array' Failed validating 'type' in schema['items']['properties']['links']['items']['properties']['if']: {'description': 'ReadOnly, Th... 11:40:56 ERROR CT1.1.1_Check_31: Validation of the response against 'oic.wk.res' schema failed 11:40:56 INFO CT1.1.1_Check_36: IUT do not implement any Resource Type in the OIC namespace that have not beed defined. 11:40:56 ERROR CT1.1.1_Check_32: Could not find rt property in of link with /oic/d href. [{'href': '/a/light', 'rt': 'core.light core.brightlight', 'if': 'oic.if.baseline oic.if.ll', 'p': {'bm': 3}}] 11:40:56 ERROR CT1.1.1_Check_33: Could not find rt property in of link with /oic/d href. [{'href': '/a/light', 'rt': 'core.light core.brightlight', 'if': 'oic.if.baseline oic.if.ll', 'p': {'bm': 3}}] 11:40:56 INFO CT1.1.1_Check_4: Resource Types with no pre-defined URI 11:40:56 ERROR CT1.1.1_Check_7: Resource Type property is not an array 11:40:56 ERROR CT1.1.1_Check_8: Resource Type property is not an array 11:40:56 ERROR CT1.1.1_Check_10: Interface Property value is not an array {'href': '/a/light', 'rt': 'core.light core.brightlight', 'if': 'oic.if.baseline oic.if.ll', 'p': {'bm': 3}} 11:40:56 ERROR CT1.1.1_Check_13: Interface Property value is not an array {'href': '/a/light', 'rt': 'core.light core.brightlight', 'if': 'oic.if.baseline oic.if.ll', 'p': {'bm': 3}} 11:40:56 INFO CT1.1.1_Check_17: The Policy property is valid. 11:40:56 INFO CT1.1.1_Check_18: OIC Resource defined as discoverable was in the response 11:40:56 INFO 11:40:56 INFO ======= Step6 - testing for Multicast method with interface: oic.if.baseline ======= 11:40:56 INFO 11:40:56 INFO Sending multicast request with /oic/res?if=oic.if.baseline 11:40:56 INFO Prompting "Waiting 60 seconds for CoAP responses..." 11:40:56 INFO Prompt timeout: 60s 11:40:56 INFO Prompting "Please wait..." 11:40:56 INFO Prompt timeout: 5s 11:41:01 INFO CT1.1.1_Check_20: Received 1 response(s) for correct request 11:41:01 INFO CT1.1.1_Check_28: Received expected response code 2.05 Content (69) 11:41:01 INFO CT1.1.1_Check_22: The IUT indicates support for CBOR and payload encoding uses CBOR 11:41:01 ERROR CT1.1.1_Check_6: Bad type(s) of property 'rt' should be array but is <type 'str'>. ([{'links': [{'href': '/oic/d', 'rt': 'oic.wk.d', 'if': 'oic.if.baseline oic.if.r', 'p': {'bm': 1}}, {'href': '/oic/p... 11:41:01 ERROR CT1.1.1_Check_23: Bad type(s) of property 'rt' should be array but is <type 'str'>. ([{'links': [{'href': '/oic/d', 'rt': 'oic.wk.d', 'if': 'oic.if.baseline oic.if.r', 'p': {'bm': 1}}, {'href': '/oic/... 11:41:01 ERROR CT1.1.1_Check_2: Not all discovered OIC-defined Resource Types match those declared in the PICS Missing in PICS ['oic.d.light', 'oic.r.switch.binary'] Missing in resources ['oic.d.light', 'oic.r.swit... 11:41:01 INFO CT1.1.1_Check_3: URI (href), Resource Type (rt) and Interface (if) are defined 11:41:01 INFO CT1.1.1_Check_5: The URI of the link for every OIC Resource is unique . 11:41:01 INFO CT1.1.1_Check_12: Each OIC Resources supports the Baseline interface 11:41:01 ERROR Validation Error: 'oic.if.baseline oic.if.r' is not of type 'array' Failed validating 'type' in schema['items']['properties']['links']['items']['properties']['if']: {'description': 'ReadOnly, The... 11:41:01 ERROR CT1.1.1_Check_31: Validation of the response against 'oic.wk.res' schema failed 11:41:01 INFO CT1.1.1_Check_36: IUT do not implement any Resource Type in the OIC namespace that have not beed defined. 11:41:01 ERROR CT1.1.1_Check_32: Unknown Smart Home Device ['oic.wk.d']. But marked as 'Smart Home' in PICS Supported Vertical Profile. 11:41:01 ERROR CT1.1.1_Check_33: Verification with ID "CT1.1.1_Check_33" threw the exception: Local variable 'deviceType' referenced before assignment. 11:41:01 INFO CT1.1.1_Check_4: Prefix /oic/ in pre-defined OIC Resource 11:41:01 ERROR CT1.1.1_Check_7: Resource Type property is not an array 11:41:01 ERROR CT1.1.1_Check_8: Resource Type property is not an array 11:41:01 ERROR CT1.1.1_Check_10: Interface Property value is not an array {'href': '/oic/d', 'rt': 'oic.wk.d', 'if': 'oic.if.baseline oic.if.r', 'p': {'bm': 1}} 11:41:01 ERROR CT1.1.1_Check_13: Interface Property value is not an array {'href': '/oic/d', 'rt': 'oic.wk.d', 'if': 'oic.if.baseline oic.if.r', 'p': {'bm': 1}} 11:41:01 INFO CT1.1.1_Check_17: The Policy property is valid. 11:41:01 INFO CT1.1.1_Check_18: OIC Resource defined as discoverable was in the response 11:41:01 INFO CT1.1.1_Check_4: Prefix /oic/ in pre-defined OIC Resource 11:41:01 ERROR CT1.1.1_Check_7: Resource Type property is not an array 11:41:01 ERROR CT1.1.1_Check_8: Resource Type property is not an array 11:41:01 ERROR CT1.1.1_Check_10: Interface Property value is not an array {'href': '/oic/p', 'rt': 'oic.wk.p', 'if': 'oic.if.baseline oic.if.r', 'p': {'bm': 1}} 11:41:01 ERROR CT1.1.1_Check_13: Interface Property value is not an array {'href': '/oic/p', 'rt': 'oic.wk.p', 'if': 'oic.if.baseline oic.if.r', 'p': {'bm': 1}} 11:41:01 INFO CT1.1.1_Check_17: The Policy property is valid. 11:41:01 INFO CT1.1.1_Check_18: OIC Resource defined as discoverable was in the response 11:41:01 INFO CT1.1.1_Check_4: Resource Types with no pre-defined URI 11:41:01 ERROR CT1.1.1_Check_7: Resource Type property is not an array 11:41:01 ERROR CT1.1.1_Check_8: Resource Type property is not an array 11:41:01 ERROR CT1.1.1_Check_10: Interface Property value is not an array {'href': '/a/light', 'rt': 'core.light core.brightlight', 'if': 'oic.if.baseline oic.if.ll', 'p': {'bm': 3}} 11:41:01 ERROR CT1.1.1_Check_13: Interface Property value is not an array {'href': '/a/light', 'rt': 'core.light core.brightlight', 'if': 'oic.if.baseline oic.if.ll', 'p': {'bm': 3}} 11:41:01 INFO CT1.1.1_Check_17: The Policy property is valid. 11:41:01 INFO CT1.1.1_Check_18: OIC Resource defined as discoverable was in the response 11:41:01 ERROR CT1.1.1_Check_14: In the absence of an 'if' query, the Default interface shall be used 11:41:01 INFO CT1.1.1_Check_15: Response with oic.if.baseline interface include a representation of all properties [links, di] 11:41:01 INFO 11:41:01 INFO ======= Step7 - testing for Multicast method with resource type: core.brightlight ======= 11:41:01 INFO 11:41:01 INFO Sending multicast request with /oic/res?rt=core.brightlight 11:41:01 INFO Prompting "Waiting 60 seconds for CoAP responses..." 11:41:01 INFO Prompt timeout: 60s 11:41:01 INFO Prompting "Please wait..." 11:41:01 INFO Prompt timeout: 5s 11:41:06 INFO CT1.1.1_Precondition: Received 1 response(s) for correct request 11:41:06 INFO CT1.1.1_Check_28: Received expected response code 2.05 Content (69) 11:41:06 INFO CT1.1.1_Check_22: The IUT indicates support for CBOR and payload encoding uses CBOR 11:41:06 ERROR CT1.1.1_Check_6: Bad type(s) of property 'rt' should be array but is <type 'str'>. ([{'links': [{'href': '/a/light', 'rt': 'core.light core.brightlight', 'if': 'oic.if.baseline oic.if.ll', 'p': {'bm':... 11:41:06 ERROR CT1.1.1_Check_23: Bad type(s) of property 'rt' should be array but is <type 'str'>. ([{'links': [{'href': '/a/light', 'rt': 'core.light core.brightlight', 'if': 'oic.if.baseline oic.if.ll', 'p': {'bm'... 11:41:06 INFO CT1.1.1_Check_19: RETRIVE /oic/res?rt=core.brightlight returned only resources with that rt 11:41:06 INFO CT1.1.1_Check_3: URI (href), Resource Type (rt) and Interface (if) are defined 11:41:06 INFO CT1.1.1_Check_5: The URI of the link for every OIC Resource is unique . 11:41:06 INFO CT1.1.1_Check_12: Each OIC Resources supports the Baseline interface 11:41:06 ERROR Validation Error: 'oic.if.baseline oic.if.ll' is not of type 'array' Failed validating 'type' in schema['items']['properties']['links']['items']['properties']['if']: {'description': 'ReadOnly, Th... 11:41:06 ERROR CT1.1.1_Check_31: Validation of the response against 'oic.wk.res' schema failed 11:41:06 INFO CT1.1.1_Check_36: IUT do not implement any Resource Type in the OIC namespace that have not beed defined. 11:41:06 INFO CT1.1.1_Check_4: Resource Types with no pre-defined URI 11:41:06 ERROR CT1.1.1_Check_7: Resource Type property is not an array 11:41:06 ERROR CT1.1.1_Check_8: Resource Type property is not an array 11:41:06 ERROR CT1.1.1_Check_10: Interface Property value is not an array {'href': '/a/light', 'rt': 'core.light core.brightlight', 'if': 'oic.if.baseline oic.if.ll', 'p': {'bm': 3}} 11:41:06 ERROR CT1.1.1_Check_13: Interface Property value is not an array {'href': '/a/light', 'rt': 'core.light core.brightlight', 'if': 'oic.if.baseline oic.if.ll', 'p': {'bm': 3}} 11:41:06 INFO CT1.1.1_Check_17: The Policy property is valid. 11:41:06 INFO CT1.1.1_Check_18: OIC Resource defined as discoverable was in the response 11:41:06 INFO CT1.1.1_Check_14: IUT used the default interface for request without 'if' query 11:41:06 INFO 11:41:06 INFO ======= Step7 - testing for Multicast method with resource type: core.light ======= 11:41:06 INFO 11:41:06 INFO Sending multicast request with /oic/res?rt=core.light 11:41:07 INFO Prompting "Waiting 60 seconds for CoAP responses..." 11:41:07 INFO Prompt timeout: 60s 11:41:07 INFO Prompting "Please wait..." 11:41:07 INFO Prompt timeout: 5s 11:41:12 INFO CT1.1.1_Precondition: Received 1 response(s) for correct request 11:41:12 INFO CT1.1.1_Check_28: Received expected response code 2.05 Content (69) 11:41:12 INFO CT1.1.1_Check_22: The IUT indicates support for CBOR and payload encoding uses CBOR 11:41:12 ERROR CT1.1.1_Check_6: Bad type(s) of property 'rt' should be array but is <type 'str'>. ([{'links': [{'href': '/a/light', 'rt': 'core.light core.brightlight', 'if': 'oic.if.baseline oic.if.ll', 'p': {'bm':... 11:41:12 ERROR CT1.1.1_Check_23: Bad type(s) of property 'rt' should be array but is <type 'str'>. ([{'links': [{'href': '/a/light', 'rt': 'core.light core.brightlight', 'if': 'oic.if.baseline oic.if.ll', 'p': {'bm'... 11:41:12 INFO CT1.1.1_Check_19: RETRIVE /oic/res?rt=core.light returned only resources with that rt 11:41:12 INFO CT1.1.1_Check_3: URI (href), Resource Type (rt) and Interface (if) are defined 11:41:12 INFO CT1.1.1_Check_5: The URI of the link for every OIC Resource is unique . 11:41:12 INFO CT1.1.1_Check_12: Each OIC Resources supports the Baseline interface 11:41:12 ERROR Validation Error: 'oic.if.baseline oic.if.ll' is not of type 'array' Failed validating 'type' in schema['items']['properties']['links']['items']['properties']['if']: {'description': 'ReadOnly, Th... 11:41:12 ERROR CT1.1.1_Check_31: Validation of the response against 'oic.wk.res' schema failed 11:41:12 INFO CT1.1.1_Check_36: IUT do not implement any Resource Type in the OIC namespace that have not beed defined. 11:41:12 INFO CT1.1.1_Check_4: Resource Types with no pre-defined URI 11:41:12 ERROR CT1.1.1_Check_7: Resource Type property is not an array 11:41:12 ERROR CT1.1.1_Check_8: Resource Type property is not an array 11:41:12 ERROR CT1.1.1_Check_10: Interface Property value is not an array {'href': '/a/light', 'rt': 'core.light core.brightlight', 'if': 'oic.if.baseline oic.if.ll', 'p': {'bm': 3}} 11:41:12 ERROR CT1.1.1_Check_13: Interface Property value is not an array {'href': '/a/light', 'rt': 'core.light core.brightlight', 'if': 'oic.if.baseline oic.if.ll', 'p': {'bm': 3}} 11:41:12 INFO CT1.1.1_Check_17: The Policy property is valid. 11:41:12 INFO CT1.1.1_Check_18: OIC Resource defined as discoverable was in the response 11:41:12 INFO CT1.1.1_Check_14: IUT used the default interface for request without 'if' query 11:41:12 INFO 11:41:12 INFO ======= Step7 - testing for Multicast method with resource type: oic.wk.p ======= 11:41:12 INFO 11:41:12 INFO Sending multicast request with /oic/res?rt=oic.wk.p 11:41:12 INFO Prompting "Waiting 60 seconds for CoAP responses..." 11:41:12 INFO Prompt timeout: 60s 11:41:12 INFO Prompting "Please wait..." 11:41:12 INFO Prompt timeout: 5s 11:41:17 INFO CT1.1.1_Precondition: Received 1 response(s) for correct request 11:41:17 INFO CT1.1.1_Check_28: Received expected response code 2.05 Content (69) 11:41:17 INFO CT1.1.1_Check_22: The IUT indicates support for CBOR and payload encoding uses CBOR 11:41:17 ERROR CT1.1.1_Check_6: Bad type(s) of property 'rt' should be array but is <type 'str'>. ([{'links': [{'href': '/oic/p', 'rt': 'oic.wk.p', 'if': 'oic.if.baseline oic.if.r', 'p': {'bm': 1}}], 'di': 'MTExMTEx... 11:41:17 ERROR CT1.1.1_Check_23: Bad type(s) of property 'rt' should be array but is <type 'str'>. ([{'links': [{'href': '/oic/p', 'rt': 'oic.wk.p', 'if': 'oic.if.baseline oic.if.r', 'p': {'bm': 1}}], 'di': 'MTExMTE... 11:41:17 INFO CT1.1.1_Check_19: RETRIVE /oic/res?rt=oic.wk.p returned only resources with that rt 11:41:17 INFO CT1.1.1_Check_3: URI (href), Resource Type (rt) and Interface (if) are defined 11:41:17 INFO CT1.1.1_Check_5: The URI of the link for every OIC Resource is unique . 11:41:17 INFO CT1.1.1_Check_12: Each OIC Resources supports the Baseline interface 11:41:17 ERROR Validation Error: 'oic.if.baseline oic.if.r' is not of type 'array' Failed validating 'type' in schema['items']['properties']['links']['items']['properties']['if']: {'description': 'ReadOnly, The... 11:41:17 ERROR CT1.1.1_Check_31: Validation of the response against 'oic.wk.res' schema failed 11:41:17 INFO CT1.1.1_Check_36: IUT do not implement any Resource Type in the OIC namespace that have not beed defined. 11:41:17 INFO CT1.1.1_Check_4: Prefix /oic/ in pre-defined OIC Resource 11:41:17 ERROR CT1.1.1_Check_7: Resource Type property is not an array 11:41:17 ERROR CT1.1.1_Check_8: Resource Type property is not an array 11:41:17 ERROR CT1.1.1_Check_10: Interface Property value is not an array {'href': '/oic/p', 'rt': 'oic.wk.p', 'if': 'oic.if.baseline oic.if.r', 'p': {'bm': 1}} 11:41:17 ERROR CT1.1.1_Check_13: Interface Property value is not an array {'href': '/oic/p', 'rt': 'oic.wk.p', 'if': 'oic.if.baseline oic.if.r', 'p': {'bm': 1}} 11:41:17 INFO CT1.1.1_Check_17: The Policy property is valid. 11:41:17 INFO CT1.1.1_Check_18: OIC Resource defined as discoverable was in the response 11:41:17 INFO CT1.1.1_Check_14: IUT used the default interface for request without 'if' query 11:41:17 INFO 11:41:17 INFO ======= Step7 - testing for Multicast method with resource type: oic.wk.d ======= 11:41:17 INFO 11:41:17 INFO Sending multicast request with /oic/res?rt=oic.wk.d 11:41:17 INFO Prompting "Waiting 60 seconds for CoAP responses..." 11:41:17 INFO Prompt timeout: 60s 11:41:17 INFO Prompting "Please wait..." 11:41:17 INFO Prompt timeout: 5s 11:41:22 INFO CT1.1.1_Precondition: Received 1 response(s) for correct request 11:41:22 INFO CT1.1.1_Check_28: Received expected response code 2.05 Content (69) 11:41:22 INFO CT1.1.1_Check_22: The IUT indicates support for CBOR and payload encoding uses CBOR 11:41:22 ERROR CT1.1.1_Check_6: Bad type(s) of property 'rt' should be array but is <type 'str'>. ([{'links': [{'href': '/oic/d', 'rt': 'oic.wk.d', 'if': 'oic.if.baseline oic.if.r', 'p': {'bm': 1}}], 'di': 'MTExMTEx... 11:41:22 ERROR CT1.1.1_Check_23: Bad type(s) of property 'rt' should be array but is <type 'str'>. ([{'links': [{'href': '/oic/d', 'rt': 'oic.wk.d', 'if': 'oic.if.baseline oic.if.r', 'p': {'bm': 1}}], 'di': 'MTExMTE... 11:41:22 INFO CT1.1.1_Check_19: RETRIVE /oic/res?rt=oic.wk.d returned only resources with that rt 11:41:22 INFO CT1.1.1_Check_3: URI (href), Resource Type (rt) and Interface (if) are defined 11:41:22 INFO CT1.1.1_Check_5: The URI of the link for every OIC Resource is unique . 11:41:22 INFO CT1.1.1_Check_12: Each OIC Resources supports the Baseline interface 11:41:22 ERROR Validation Error: 'oic.if.baseline oic.if.r' is not of type 'array' Failed validating 'type' in schema['items']['properties']['links']['items']['properties']['if']: {'description': 'ReadOnly, The... 11:41:22 ERROR CT1.1.1_Check_31: Validation of the response against 'oic.wk.res' schema failed 11:41:22 INFO CT1.1.1_Check_36: IUT do not implement any Resource Type in the OIC namespace that have not beed defined. 11:41:22 INFO CT1.1.1_Check_4: Prefix /oic/ in pre-defined OIC Resource 11:41:22 ERROR CT1.1.1_Check_7: Resource Type property is not an array 11:41:22 ERROR CT1.1.1_Check_8: Resource Type property is not an array 11:41:22 ERROR CT1.1.1_Check_10: Interface Property value is not an array {'href': '/oic/d', 'rt': 'oic.wk.d', 'if': 'oic.if.baseline oic.if.r', 'p': {'bm': 1}} 11:41:22 ERROR CT1.1.1_Check_13: Interface Property value is not an array {'href': '/oic/d', 'rt': 'oic.wk.d', 'if': 'oic.if.baseline oic.if.r', 'p': {'bm': 1}} 11:41:22 INFO CT1.1.1_Check_17: The Policy property is valid. 11:41:22 INFO CT1.1.1_Check_18: OIC Resource defined as discoverable was in the response 11:41:22 INFO CT1.1.1_Check_14: IUT used the default interface for request without 'if' query 11:41:22 INFO Sending multicast request with /oic/res?rt=oic.r.invalid 11:41:22 INFO Prompting "Waiting 10 seconds for CoAP responses..." 11:41:22 INFO Prompt timeout: 10s 11:41:22 INFO Prompting "Please wait..." 11:41:22 INFO Prompt timeout: 5s 11:41:27 WARNING CT1.1.1_Check_29: Received 1 response(s) for invalid request 11:41:27 INFO 11:41:27 INFO ======= Step1 - testing for Unicast method with default interface ======= 11:41:27 INFO 11:41:27 INFO Sending unicast request with /oic/res 11:41:27 INFO Prompting "Waiting 60 seconds for CoAP responses..." 11:41:27 INFO Prompt timeout: 60s 11:41:27 INFO Prompting "Please wait..." 11:41:27 INFO Prompt timeout: 5s 11:41:32 INFO CT1.1.1_Check_20: Received 1 response(s) for correct request 11:41:32 INFO CT1.1.1_Check_24: Received 1 response(s) for correct request 11:41:32 INFO CT1.1.1_Check_28: Received expected response code 2.05 Content (69) 11:41:32 INFO CT1.1.1_Check_22: The IUT indicates support for CBOR and payload encoding uses CBOR 11:41:32 ERROR CT1.1.1_Check_6: Bad type(s) of property 'rt' should be array but is <type 'str'>. ([{'links': [{'href': '/oic/d', 'rt': 'oic.wk.d', 'if': 'oic.if.baseline oic.if.r', 'p': {'bm': 1}}, {'href': '/oic/p... 11:41:32 ERROR CT1.1.1_Check_23: Bad type(s) of property 'rt' should be array but is <type 'str'>. ([{'links': [{'href': '/oic/d', 'rt': 'oic.wk.d', 'if': 'oic.if.baseline oic.if.r', 'p': {'bm': 1}}, {'href': '/oic/... 11:41:32 ERROR CT1.1.1_Check_2: Not all discovered OIC-defined Resource Types match those declared in the PICS Missing in PICS ['oic.d.light', 'oic.r.switch.binary'] Missing in resources ['oic.d.light', 'oic.r.swit... 11:41:32 INFO CT1.1.1_Check_3: URI (href), Resource Type (rt) and Interface (if) are defined 11:41:32 INFO CT1.1.1_Check_5: The URI of the link for every OIC Resource is unique . 11:41:32 INFO CT1.1.1_Check_12: Each OIC Resources supports the Baseline interface 11:41:32 ERROR Validation Error: 'oic.if.baseline oic.if.r' is not of type 'array' Failed validating 'type' in schema['items']['properties']['links']['items']['properties']['if']: {'description': 'ReadOnly, The... 11:41:32 ERROR CT1.1.1_Check_31: Validation of the response against 'oic.wk.res' schema failed 11:41:32 INFO CT1.1.1_Check_36: IUT do not implement any Resource Type in the OIC namespace that have not beed defined. 11:41:32 ERROR CT1.1.1_Check_32: Unknown Smart Home Device ['oic.wk.d']. But marked as 'Smart Home' in PICS Supported Vertical Profile. 11:41:32 ERROR CT1.1.1_Check_33: Verification with ID "CT1.1.1_Check_33" threw the exception: Local variable 'deviceType' referenced before assignment. 11:41:32 INFO CT1.1.1_Check_4: Prefix /oic/ in pre-defined OIC Resource 11:41:32 ERROR CT1.1.1_Check_7: Resource Type property is not an array 11:41:32 ERROR CT1.1.1_Check_8: Resource Type property is not an array 11:41:32 ERROR CT1.1.1_Check_10: Interface Property value is not an array {'href': '/oic/d', 'rt': 'oic.wk.d', 'if': 'oic.if.baseline oic.if.r', 'p': {'bm': 1}} 11:41:32 ERROR CT1.1.1_Check_13: Interface Property value is not an array {'href': '/oic/d', 'rt': 'oic.wk.d', 'if': 'oic.if.baseline oic.if.r', 'p': {'bm': 1}} 11:41:32 INFO CT1.1.1_Check_17: The Policy property is valid. 11:41:32 INFO CT1.1.1_Check_18: OIC Resource defined as discoverable was in the response 11:41:32 INFO CT1.1.1_Check_4: Prefix /oic/ in pre-defined OIC Resource 11:41:32 ERROR CT1.1.1_Check_7: Resource Type property is not an array 11:41:32 ERROR CT1.1.1_Check_8: Resource Type property is not an array 11:41:32 ERROR CT1.1.1_Check_10: Interface Property value is not an array {'href': '/oic/p', 'rt': 'oic.wk.p', 'if': 'oic.if.baseline oic.if.r', 'p': {'bm': 1}} 11:41:32 ERROR CT1.1.1_Check_13: Interface Property value is not an array {'href': '/oic/p', 'rt': 'oic.wk.p', 'if': 'oic.if.baseline oic.if.r', 'p': {'bm': 1}} 11:41:32 INFO CT1.1.1_Check_17: The Policy property is valid. 11:41:32 INFO CT1.1.1_Check_18: OIC Resource defined as discoverable was in the response 11:41:32 INFO CT1.1.1_Check_4: Resource Types with no pre-defined URI 11:41:32 ERROR CT1.1.1_Check_7: Resource Type property is not an array 11:41:32 ERROR CT1.1.1_Check_8: Resource Type property is not an array 11:41:32 ERROR CT1.1.1_Check_10: Interface Property value is not an array {'href': '/a/light', 'rt': 'core.light core.brightlight', 'if': 'oic.if.baseline oic.if.ll', 'p': {'bm': 3}} 11:41:32 ERROR CT1.1.1_Check_13: Interface Property value is not an array {'href': '/a/light', 'rt': 'core.light core.brightlight', 'if': 'oic.if.baseline oic.if.ll', 'p': {'bm': 3}} 11:41:32 INFO CT1.1.1_Check_17: The Policy property is valid. 11:41:32 INFO CT1.1.1_Check_18: OIC Resource defined as discoverable was in the response 11:41:32 INFO CT1.1.1_Check_1: /oic/p and /oic/d included 11:41:32 INFO 11:41:32 INFO ======= Step6 - testing for Unicast method with interface: oic.if.ll ======= 11:41:32 INFO 11:41:32 INFO Sending unicast request with /oic/res?if=oic.if.ll 11:41:32 INFO Prompting "Waiting 60 seconds for CoAP responses..." 11:41:32 INFO Prompt timeout: 60s 11:41:32 INFO Prompting "Please wait..." 11:41:32 INFO Prompt timeout: 5s 11:41:37 INFO CT1.1.1_Check_20: Received 1 response(s) for correct request 11:41:37 INFO CT1.1.1_Check_24: Received 1 response(s) for correct request 11:41:37 INFO CT1.1.1_Check_28: Received expected response code 2.05 Content (69) 11:41:37 INFO CT1.1.1_Check_22: The IUT indicates support for CBOR and payload encoding uses CBOR 11:41:37 ERROR CT1.1.1_Check_6: Bad type(s) of property 'rt' should be array but is <type 'str'>. ([{'links': [{'href': '/a/light', 'rt': 'core.light core.brightlight', 'if': 'oic.if.baseline oic.if.ll', 'p': {'bm':... 11:41:37 ERROR CT1.1.1_Check_23: Bad type(s) of property 'rt' should be array but is <type 'str'>. ([{'links': [{'href': '/a/light', 'rt': 'core.light core.brightlight', 'if': 'oic.if.baseline oic.if.ll', 'p': {'bm'... 11:41:37 ERROR CT1.1.1_Check_2: Not all discovered OIC-defined Resource Types match those declared in the PICS Missing in PICS ['oic.d.light', 'oic.r.switch.binary'] Missing in resources ['oic.d.light', 'oic.r.swit... 11:41:37 INFO CT1.1.1_Check_3: URI (href), Resource Type (rt) and Interface (if) are defined 11:41:37 INFO CT1.1.1_Check_5: The URI of the link for every OIC Resource is unique . 11:41:37 INFO CT1.1.1_Check_12: Each OIC Resources supports the Baseline interface 11:41:38 ERROR Validation Error: 'oic.if.baseline oic.if.ll' is not of type 'array' Failed validating 'type' in schema['items']['properties']['links']['items']['properties']['if']: {'description': 'ReadOnly, Th... 11:41:38 ERROR CT1.1.1_Check_31: Validation of the response against 'oic.wk.res' schema failed 11:41:38 INFO CT1.1.1_Check_36: IUT do not implement any Resource Type in the OIC namespace that have not beed defined. 11:41:38 ERROR CT1.1.1_Check_32: Could not find rt property in of link with /oic/d href. [{'href': '/a/light', 'rt': 'core.light core.brightlight', 'if': 'oic.if.baseline oic.if.ll', 'p': {'bm': 3}}] 11:41:38 ERROR CT1.1.1_Check_33: Could not find rt property in of link with /oic/d href. [{'href': '/a/light', 'rt': 'core.light core.brightlight', 'if': 'oic.if.baseline oic.if.ll', 'p': {'bm': 3}}] 11:41:38 INFO CT1.1.1_Check_4: Resource Types with no pre-defined URI 11:41:38 ERROR CT1.1.1_Check_7: Resource Type property is not an array 11:41:38 ERROR CT1.1.1_Check_8: Resource Type property is not an array 11:41:38 ERROR CT1.1.1_Check_10: Interface Property value is not an array {'href': '/a/light', 'rt': 'core.light core.brightlight', 'if': 'oic.if.baseline oic.if.ll', 'p': {'bm': 3}} 11:41:38 ERROR CT1.1.1_Check_13: Interface Property value is not an array {'href': '/a/light', 'rt': 'core.light core.brightlight', 'if': 'oic.if.baseline oic.if.ll', 'p': {'bm': 3}} 11:41:38 INFO CT1.1.1_Check_17: The Policy property is valid. 11:41:38 INFO CT1.1.1_Check_18: OIC Resource defined as discoverable was in the response 11:41:38 INFO 11:41:38 INFO ======= Step6 - testing for Unicast method with interface: oic.if.baseline ======= 11:41:38 INFO 11:41:38 INFO Sending unicast request with /oic/res?if=oic.if.baseline 11:41:38 INFO Prompting "Waiting 60 seconds for CoAP responses..." 11:41:38 INFO Prompt timeout: 60s 11:41:38 INFO Prompting "Please wait..." 11:41:38 INFO Prompt timeout: 5s 11:41:43 INFO CT1.1.1_Check_20: Received 1 response(s) for correct request 11:41:43 INFO CT1.1.1_Check_24: Received 1 response(s) for correct request 11:41:43 INFO CT1.1.1_Check_28: Received expected response code 2.05 Content (69) 11:41:43 INFO CT1.1.1_Check_22: The IUT indicates support for CBOR and payload encoding uses CBOR 11:41:43 ERROR CT1.1.1_Check_6: Bad type(s) of property 'rt' should be array but is <type 'str'>. ([{'links': [{'href': '/oic/d', 'rt': 'oic.wk.d', 'if': 'oic.if.baseline oic.if.r', 'p': {'bm': 1}}, {'href': '/oic/p... 11:41:43 ERROR CT1.1.1_Check_23: Bad type(s) of property 'rt' should be array but is <type 'str'>. ([{'links': [{'href': '/oic/d', 'rt': 'oic.wk.d', 'if': 'oic.if.baseline oic.if.r', 'p': {'bm': 1}}, {'href': '/oic/... 11:41:43 ERROR CT1.1.1_Check_2: Not all discovered OIC-defined Resource Types match those declared in the PICS Missing in PICS ['oic.d.light', 'oic.r.switch.binary'] Missing in resources ['oic.d.light', 'oic.r.swit... 11:41:43 INFO CT1.1.1_Check_3: URI (href), Resource Type (rt) and Interface (if) are defined 11:41:43 INFO CT1.1.1_Check_5: The URI of the link for every OIC Resource is unique . 11:41:43 INFO CT1.1.1_Check_12: Each OIC Resources supports the Baseline interface 11:41:43 ERROR Validation Error: 'oic.if.baseline oic.if.r' is not of type 'array' Failed validating 'type' in schema['items']['properties']['links']['items']['properties']['if']: {'description': 'ReadOnly, The... 11:41:43 ERROR CT1.1.1_Check_31: Validation of the response against 'oic.wk.res' schema failed 11:41:43 INFO CT1.1.1_Check_36: IUT do not implement any Resource Type in the OIC namespace that have not beed defined. 11:41:43 ERROR CT1.1.1_Check_32: Unknown Smart Home Device ['oic.wk.d']. But marked as 'Smart Home' in PICS Supported Vertical Profile. 11:41:43 ERROR CT1.1.1_Check_33: Verification with ID "CT1.1.1_Check_33" threw the exception: Local variable 'deviceType' referenced before assignment. 11:41:43 INFO CT1.1.1_Check_4: Prefix /oic/ in pre-defined OIC Resource 11:41:43 ERROR CT1.1.1_Check_7: Resource Type property is not an array 11:41:43 ERROR CT1.1.1_Check_8: Resource Type property is not an array 11:41:43 ERROR CT1.1.1_Check_10: Interface Property value is not an array {'href': '/oic/d', 'rt': 'oic.wk.d', 'if': 'oic.if.baseline oic.if.r', 'p': {'bm': 1}} 11:41:43 ERROR CT1.1.1_Check_13: Interface Property value is not an array {'href': '/oic/d', 'rt': 'oic.wk.d', 'if': 'oic.if.baseline oic.if.r', 'p': {'bm': 1}} 11:41:43 INFO CT1.1.1_Check_17: The Policy property is valid. 11:41:43 INFO CT1.1.1_Check_18: OIC Resource defined as discoverable was in the response 11:41:43 INFO CT1.1.1_Check_4: Prefix /oic/ in pre-defined OIC Resource 11:41:43 ERROR CT1.1.1_Check_7: Resource Type property is not an array 11:41:43 ERROR CT1.1.1_Check_8: Resource Type property is not an array 11:41:43 ERROR CT1.1.1_Check_10: Interface Property value is not an array {'href': '/oic/p', 'rt': 'oic.wk.p', 'if': 'oic.if.baseline oic.if.r', 'p': {'bm': 1}} 11:41:43 ERROR CT1.1.1_Check_13: Interface Property value is not an array {'href': '/oic/p', 'rt': 'oic.wk.p', 'if': 'oic.if.baseline oic.if.r', 'p': {'bm': 1}} 11:41:43 INFO CT1.1.1_Check_17: The Policy property is valid. 11:41:43 INFO CT1.1.1_Check_18: OIC Resource defined as discoverable was in the response 11:41:43 INFO CT1.1.1_Check_4: Resource Types with no pre-defined URI 11:41:43 ERROR CT1.1.1_Check_7: Resource Type property is not an array 11:41:43 ERROR CT1.1.1_Check_8: Resource Type property is not an array 11:41:43 ERROR CT1.1.1_Check_10: Interface Property value is not an array {'href': '/a/light', 'rt': 'core.light core.brightlight', 'if': 'oic.if.baseline oic.if.ll', 'p': {'bm': 3}} 11:41:43 ERROR CT1.1.1_Check_13: Interface Property value is not an array {'href': '/a/light', 'rt': 'core.light core.brightlight', 'if': 'oic.if.baseline oic.if.ll', 'p': {'bm': 3}} 11:41:43 INFO CT1.1.1_Check_17: The Policy property is valid. 11:41:43 INFO CT1.1.1_Check_18: OIC Resource defined as discoverable was in the response 11:41:43 ERROR CT1.1.1_Check_14: In the absence of an 'if' query, the Default interface shall be used 11:41:43 INFO CT1.1.1_Check_15: Response with oic.if.baseline interface include a representation of all properties [links, di] 11:41:43 INFO 11:41:43 INFO ======= Step7 - testing for Unicast method with resource type: core.brightlight ======= 11:41:43 INFO 11:41:43 INFO Sending unicast request with /oic/res?rt=core.brightlight 11:41:43 INFO Prompting "Waiting 60 seconds for CoAP responses..." 11:41:43 INFO Prompt timeout: 60s 11:41:43 INFO Prompting "Please wait..." 11:41:43 INFO Prompt timeout: 5s 11:41:48 INFO CT1.1.1_Check_24: Received 1 response(s) for correct request 11:41:48 INFO CT1.1.1_Check_28: Received expected response code 2.05 Content (69) 11:41:48 INFO CT1.1.1_Check_22: The IUT indicates support for CBOR and payload encoding uses CBOR 11:41:48 ERROR CT1.1.1_Check_6: Bad type(s) of property 'rt' should be array but is <type 'str'>. ([{'links': [{'href': '/a/light', 'rt': 'core.light core.brightlight', 'if': 'oic.if.baseline oic.if.ll', 'p': {'bm':... 11:41:48 ERROR CT1.1.1_Check_23: Bad type(s) of property 'rt' should be array but is <type 'str'>. ([{'links': [{'href': '/a/light', 'rt': 'core.light core.brightlight', 'if': 'oic.if.baseline oic.if.ll', 'p': {'bm'... 11:41:48 INFO CT1.1.1_Check_19: RETRIVE /oic/res?rt=core.brightlight returned only resources with that rt 11:41:48 INFO CT1.1.1_Check_3: URI (href), Resource Type (rt) and Interface (if) are defined 11:41:48 INFO CT1.1.1_Check_5: The URI of the link for every OIC Resource is unique . 11:41:48 INFO CT1.1.1_Check_12: Each OIC Resources supports the Baseline interface 11:41:48 ERROR Validation Error: 'oic.if.baseline oic.if.ll' is not of type 'array' Failed validating 'type' in schema['items']['properties']['links']['items']['properties']['if']: {'description': 'ReadOnly, Th... 11:41:48 ERROR CT1.1.1_Check_31: Validation of the response against 'oic.wk.res' schema failed 11:41:48 INFO CT1.1.1_Check_36: IUT do not implement any Resource Type in the OIC namespace that have not beed defined. 11:41:48 INFO CT1.1.1_Check_4: Resource Types with no pre-defined URI 11:41:48 ERROR CT1.1.1_Check_7: Resource Type property is not an array 11:41:48 ERROR CT1.1.1_Check_8: Resource Type property is not an array 11:41:48 ERROR CT1.1.1_Check_10: Interface Property value is not an array {'href': '/a/light', 'rt': 'core.light core.brightlight', 'if': 'oic.if.baseline oic.if.ll', 'p': {'bm': 3}} 11:41:48 ERROR CT1.1.1_Check_13: Interface Property value is not an array {'href': '/a/light', 'rt': 'core.light core.brightlight', 'if': 'oic.if.baseline oic.if.ll', 'p': {'bm': 3}} 11:41:48 INFO CT1.1.1_Check_17: The Policy property is valid. 11:41:48 INFO CT1.1.1_Check_18: OIC Resource defined as discoverable was in the response 11:41:48 INFO CT1.1.1_Check_14: IUT used the default interface for request without 'if' query 11:41:48 INFO 11:41:48 INFO ======= Step7 - testing for Unicast method with resource type: core.light ======= 11:41:48 INFO 11:41:48 INFO Sending unicast request with /oic/res?rt=core.light 11:41:48 INFO Prompting "Waiting 60 seconds for CoAP responses..." 11:41:48 INFO Prompt timeout: 60s 11:41:48 INFO Prompting "Please wait..." 11:41:48 INFO Prompt timeout: 5s 11:41:53 INFO CT1.1.1_Check_24: Received 1 response(s) for correct request 11:41:53 INFO CT1.1.1_Check_28: Received expected response code 2.05 Content (69) 11:41:53 INFO CT1.1.1_Check_22: The IUT indicates support for CBOR and payload encoding uses CBOR 11:41:53 ERROR CT1.1.1_Check_6: Bad type(s) of property 'rt' should be array but is <type 'str'>. ([{'links': [{'href': '/a/light', 'rt': 'core.light core.brightlight', 'if': 'oic.if.baseline oic.if.ll', 'p': {'bm':... 11:41:53 ERROR CT1.1.1_Check_23: Bad type(s) of property 'rt' should be array but is <type 'str'>. ([{'links': [{'href': '/a/light', 'rt': 'core.light core.brightlight', 'if': 'oic.if.baseline oic.if.ll', 'p': {'bm'... 11:41:53 INFO CT1.1.1_Check_19: RETRIVE /oic/res?rt=core.light returned only resources with that rt 11:41:53 INFO CT1.1.1_Check_3: URI (href), Resource Type (rt) and Interface (if) are defined 11:41:53 INFO CT1.1.1_Check_5: The URI of the link for every OIC Resource is unique . 11:41:53 INFO CT1.1.1_Check_12: Each OIC Resources supports the Baseline interface 11:41:53 ERROR Validation Error: 'oic.if.baseline oic.if.ll' is not of type 'array' Failed validating 'type' in schema['items']['properties']['links']['items']['properties']['if']: {'description': 'ReadOnly, Th... 11:41:53 ERROR CT1.1.1_Check_31: Validation of the response against 'oic.wk.res' schema failed 11:41:53 INFO CT1.1.1_Check_36: IUT do not implement any Resource Type in the OIC namespace that have not beed defined. 11:41:53 INFO CT1.1.1_Check_4: Resource Types with no pre-defined URI 11:41:53 ERROR CT1.1.1_Check_7: Resource Type property is not an array 11:41:53 ERROR CT1.1.1_Check_8: Resource Type property is not an array 11:41:53 ERROR CT1.1.1_Check_10: Interface Property value is not an array {'href': '/a/light', 'rt': 'core.light core.brightlight', 'if': 'oic.if.baseline oic.if.ll', 'p': {'bm': 3}} 11:41:53 ERROR CT1.1.1_Check_13: Interface Property value is not an array {'href': '/a/light', 'rt': 'core.light core.brightlight', 'if': 'oic.if.baseline oic.if.ll', 'p': {'bm': 3}} 11:41:53 INFO CT1.1.1_Check_17: The Policy property is valid. 11:41:53 INFO CT1.1.1_Check_18: OIC Resource defined as discoverable was in the response 11:41:53 INFO CT1.1.1_Check_14: IUT used the default interface for request without 'if' query 11:41:53 INFO 11:41:53 INFO ======= Step7 - testing for Unicast method with resource type: oic.wk.p ======= 11:41:53 INFO 11:41:53 INFO Sending unicast request with /oic/res?rt=oic.wk.p 11:41:53 INFO Prompting "Waiting 60 seconds for CoAP responses..." 11:41:53 INFO Prompt timeout: 60s 11:41:53 INFO Prompting "Please wait..." 11:41:53 INFO Prompt timeout: 5s 11:41:58 INFO CT1.1.1_Check_24: Received 1 response(s) for correct request 11:41:58 INFO CT1.1.1_Check_28: Received expected response code 2.05 Content (69) 11:41:58 INFO CT1.1.1_Check_22: The IUT indicates support for CBOR and payload encoding uses CBOR 11:41:58 ERROR CT1.1.1_Check_6: Bad type(s) of property 'rt' should be array but is <type 'str'>. ([{'links': [{'href': '/oic/p', 'rt': 'oic.wk.p', 'if': 'oic.if.baseline oic.if.r', 'p': {'bm': 1}}], 'di': 'MTExMTEx... 11:41:58 ERROR CT1.1.1_Check_23: Bad type(s) of property 'rt' should be array but is <type 'str'>. ([{'links': [{'href': '/oic/p', 'rt': 'oic.wk.p', 'if': 'oic.if.baseline oic.if.r', 'p': {'bm': 1}}], 'di': 'MTExMTE... 11:41:58 INFO CT1.1.1_Check_19: RETRIVE /oic/res?rt=oic.wk.p returned only resources with that rt 11:41:58 INFO CT1.1.1_Check_3: URI (href), Resource Type (rt) and Interface (if) are defined 11:41:58 INFO CT1.1.1_Check_5: The URI of the link for every OIC Resource is unique . 11:41:58 INFO CT1.1.1_Check_12: Each OIC Resources supports the Baseline interface 11:41:58 ERROR Validation Error: 'oic.if.baseline oic.if.r' is not of type 'array' Failed validating 'type' in schema['items']['properties']['links']['items']['properties']['if']: {'description': 'ReadOnly, The... 11:41:58 ERROR CT1.1.1_Check_31: Validation of the response against 'oic.wk.res' schema failed 11:41:58 INFO CT1.1.1_Check_36: IUT do not implement any Resource Type in the OIC namespace that have not beed defined. 11:41:58 INFO CT1.1.1_Check_4: Prefix /oic/ in pre-defined OIC Resource 11:41:58 ERROR CT1.1.1_Check_7: Resource Type property is not an array 11:41:58 ERROR CT1.1.1_Check_8: Resource Type property is not an array 11:41:58 ERROR CT1.1.1_Check_10: Interface Property value is not an array {'href': '/oic/p', 'rt': 'oic.wk.p', 'if': 'oic.if.baseline oic.if.r', 'p': {'bm': 1}} 11:41:58 ERROR CT1.1.1_Check_13: Interface Property value is not an array {'href': '/oic/p', 'rt': 'oic.wk.p', 'if': 'oic.if.baseline oic.if.r', 'p': {'bm': 1}} 11:41:58 INFO CT1.1.1_Check_17: The Policy property is valid. 11:41:58 INFO CT1.1.1_Check_18: OIC Resource defined as discoverable was in the response 11:41:58 INFO CT1.1.1_Check_14: IUT used the default interface for request without 'if' query 11:41:58 INFO 11:41:58 INFO ======= Step7 - testing for Unicast method with resource type: oic.wk.d ======= 11:41:58 INFO 11:41:58 INFO Sending unicast request with /oic/res?rt=oic.wk.d 11:41:59 INFO Prompting "Waiting 60 seconds for CoAP responses..." 11:41:59 INFO Prompt timeout: 60s 11:41:59 INFO Prompting "Please wait..." 11:41:59 INFO Prompt timeout: 5s 11:42:04 INFO CT1.1.1_Check_24: Received 1 response(s) for correct request 11:42:04 INFO CT1.1.1_Check_28: Received expected response code 2.05 Content (69) 11:42:04 INFO CT1.1.1_Check_22: The IUT indicates support for CBOR and payload encoding uses CBOR 11:42:04 ERROR CT1.1.1_Check_6: Bad type(s) of property 'rt' should be array but is <type 'str'>. ([{'links': [{'href': '/oic/d', 'rt': 'oic.wk.d', 'if': 'oic.if.baseline oic.if.r', 'p': {'bm': 1}}], 'di': 'MTExMTEx... 11:42:04 ERROR CT1.1.1_Check_23: Bad type(s) of property 'rt' should be array but is <type 'str'>. ([{'links': [{'href': '/oic/d', 'rt': 'oic.wk.d', 'if': 'oic.if.baseline oic.if.r', 'p': {'bm': 1}}], 'di': 'MTExMTE... 11:42:04 INFO CT1.1.1_Check_19: RETRIVE /oic/res?rt=oic.wk.d returned only resources with that rt 11:42:04 INFO CT1.1.1_Check_3: URI (href), Resource Type (rt) and Interface (if) are defined 11:42:04 INFO CT1.1.1_Check_5: The URI of the link for every OIC Resource is unique . 11:42:04 INFO CT1.1.1_Check_12: Each OIC Resources supports the Baseline interface 11:42:04 ERROR Validation Error: 'oic.if.baseline oic.if.r' is not of type 'array' Failed validating 'type' in schema['items']['properties']['links']['items']['properties']['if']: {'description': 'ReadOnly, The... 11:42:04 ERROR CT1.1.1_Check_31: Validation of the response against 'oic.wk.res' schema failed 11:42:04 INFO CT1.1.1_Check_36: IUT do not implement any Resource Type in the OIC namespace that have not beed defined. 11:42:04 INFO CT1.1.1_Check_4: Prefix /oic/ in pre-defined OIC Resource 11:42:04 ERROR CT1.1.1_Check_7: Resource Type property is not an array 11:42:04 ERROR CT1.1.1_Check_8: Resource Type property is not an array 11:42:04 ERROR CT1.1.1_Check_10: Interface Property value is not an array {'href': '/oic/d', 'rt': 'oic.wk.d', 'if': 'oic.if.baseline oic.if.r', 'p': {'bm': 1}} 11:42:04 ERROR CT1.1.1_Check_13: Interface Property value is not an array {'href': '/oic/d', 'rt': 'oic.wk.d', 'if': 'oic.if.baseline oic.if.r', 'p': {'bm': 1}} 11:42:04 INFO CT1.1.1_Check_17: The Policy property is valid. 11:42:04 INFO CT1.1.1_Check_18: OIC Resource defined as discoverable was in the response 11:42:04 INFO CT1.1.1_Check_14: IUT used the default interface for request without 'if' query 11:42:04 INFO Sending unicast request with /oic/res?rt=oic.r.invalid 11:42:04 INFO Prompting "Waiting 10 seconds for CoAP responses..." 11:42:04 INFO Prompt timeout: 10s 11:42:04 INFO Prompting "Please wait..." 11:42:04 INFO Prompt timeout: 5s 11:42:09 INFO CT1.1.1_Precondition: Received 1 response(s) for invalid request 11:42:09 INFO CT1.1.1_Check_30: Received response code (132) of 4.xx as expected 11:42:09 INFO CT1.1.1_Check_26: Messages contains proper Content-Format option 11:42:09 INFO CT1.1.1_Check_27: All messages meets criteria of block-wise transfer and do not exceed the size of CoAP datagram 11:42:09 INFO CT1.1.1_Check_21: All messages passed follows with message flows rules. 11:42:09 ERROR Test case result: FAILED 11:42:09 INFO Execution of test case "CT1.1.1" completed. Timestamp: 2016-06-24 11:42:09 -------------- next part -------------- A non-text attachment was scrubbed... Name: CoAp Discovery test on simpleserver.uctt Type: text/xml Size: 442436 bytes Desc: not available URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160624/1de9d1fa/attachment.xml>
